Jump to content

Marsbar

Elite user
  • Posts

    411
  • Joined

  • Last visited

Everything posted by Marsbar

  1. Would something like this work? if(ObjectManager.GetWoWUnitAttackables().Any(x=> x.Position.DistanceTo(ObjectManager.Me.Position) < 20)) { MovementManager.StopMove(); Fight.StartFight(ObjectManager.GetWoWUnitAttackables().OrderBy(x => x.Position.DistanceTo(ObjectManager.Me.Position)).FirstOrDefault().Guid); } Edit: Untested, just a suggestion, also changed getwowunit to attackables Edit2: looking at the above the if statement i have is bad, you probably already have a filter though
  2. https://wrobot.eu/files/file/1664-free-requesthandler/
  3. Open up the devtools, switch it to C# and run the below. It should then show you all your quest IDs in the log. foreach(var q in Quest.GetLogQuestId()) { Logging.Write(q.ID.ToString()); } Don't know about the devtools? Read this.
  4. add using System.Linq; to the top of your file The reason in this case is to avoid having a food list. That code tries to feed the pet any item in the main backpack, until it is no longer hungry. It is however EXTREMELY inefficient the way it's been written and should be removed from your FC. Are you sure it isn't dismounting because of something else? You can add little Logging.Write("I made it here"); checks to your code to make sure it got into that statement. I thought someone updated FNV's pet feeder plugin? That likely also only contains foods for vanilla though.
  5. Try this one for horde: https://wrobot.eu/files/file/1163-merox-free-horde-questing-1-30/ Note though that in vanilla you cannot track completed quests automatically meaning if you start this quest profile at lvl 9 it will attempt to do the low level quests again. It's best to start with a fresh character. In terms of the fightclass, of course its going to go into melee if it doesnt have a pet to stay ranged?
  6. So you said you play hunter right? Try this fightclass: https://wrobot.eu/files/file/1483-hunter-1-60-by-eeny/ If you're on alliance use this quester: https://wrobot.eu/files/file/1552-fnv316-1-45-quester-profile-pack-alliance-vanilla/ Also have a look through the advanced general settings and set them up how you like.
  7. There are enough free resources to get you started. What expansion are you playing on?
  8. It should do. Try casting something [@focus]. I think it just sets the memory focus so it doesn't display the focus ingame - I may be wrong there though.. Also there is no focus target on vanilla.
  9. Ah sorry, I assumed because I saw that massive thread sleep in there. Doing a thread sleep for 14 seconds means your whole fightclass does nothing for that duration! I guess just double check the buff the pet receives when you mend it, that !havebuff should stop it from being spammed (it also can't spam it if theres a 14 sec sleep lol). Where do you write your code? The call pet you posted ends in { instead of }. Pet.IsValid should work. I assume you meant to say you don't understand. Paste your current feed pet function and I'll show you.
  10. Lets throw some misconceptions out of the window: Yes. It may slow your rotation very slightly(as it says in that post maybe 80ms) but nothing you really want to worry about. Go ahead with your LUA. This doesn't make a difference, space or no space, the code does the same thing. That code snippet wont work (FoodList & FruitList? also the method FeedByType() isn't even in the snippet) and doesn't have the solution to his problem (using the food after picking it up). Also wont make a difference in this case. In terms of answers to your questions: Mend pet spam - you'll want to add a condition to check if you're currently channeling (mend pet is a channel not a cast), the Usefuls.WaitIsCasting() should also do the trick though. Pet feeding - From the looks of it you're using eenys vanilla FC, the lua api changed a bit since vanilla, thats why it doesn't work on wotlk Use the UseItem method and it should work eg: SpellManager.CastSpellByNameLUA("Feed Pet"); ItemsManager.UseItem("Some Food Name"); Serpent & hunters - looks fine to me, should work. Pet management - you could do something like the below and add it into the main rotation (untested): internal void PetCombat() { var aggroUnits = ObjectManager.GetUnitAttackPlayer().Where(x => x.TargetObject == ObjectManager.Me); if (aggroUnits.Count() >0) { ObjectManager.Me.FocusGuid = aggroUnits.First().Guid; Lua.RunMacroText("/petattack [@focus]"); } }
  11. As long as the client hasn't been modified it should work just fine. Doing dungeons with it will be difficult to set up though and it'll be unlikely that anyone has made any content for that server on these forums meaning you'll have to work on the profiles yourself. If you don't feel comfortable doing it in the trial time I don't think you'll be able to do it after purchase.
  12. Have you looked through the downloads section? 2 examples: free: https://wrobot.eu/files/file/1436-demon-affliction-lock-1-60-by-eeny/ paid: https://wrobot.eu/files/file/1722-paid-afflictiondemonology-warlock-1-60/
  13. I'm wondering if I can create my own instance of the Map that's built into WRobot. I want to manually be able to focus it to a place but I'm not sure how to add it into a window. @Droidz When playing around I did something like this: MiniMapGenerator.MinimapImage map = new MiniMapGenerator.MinimapImage("Eastern Kingdoms", 200, 200, (int)npc.PositionX - 100, (int)npc.PositionX + 100, (int)npc.PositionY - 100, (int)npc.PositionY + 100); MiniMapGenerator.LandmarkMiniMap b = new MiniMapGenerator.LandmarkMiniMap(new robotManager.Helpful.Vector3(npc.PositionX, npc.PositionY, npc.PositionZ), "1234", System.Drawing.Color.Purple); MiniMapGenerator.LandmarksMiniMap c = new MiniMapGenerator.LandmarksMiniMap(); c.Add(b); map.Generate(); Any ideas?
  14. What expansion are you on? Your LUA looks incorrect. Using https://vanilla-wow.fandom.com/wiki/API_UnitDebuff as an example, debufftype would be the 5th property, not the 3rd like in your example. In lua you need to declare all the other properties before the one you want so you could do local _, _, _, _, debuffType = UnitDebuff('player', i)
  15. That's why you should run a little bit of LUA in your C#. There isn't an in built C# function for this. LUA is definitely the best way as it returns the specific debuff type.
  16. That looks like a fun little project! What if you have more than 1 fightclass per wow class though? Good luck!
  17. Yes, you can stop this. General settings -> Security
  18. Yes, but the code must use the WRobot interface of a plugin. It can be a .cs file or a .dll file
  19. Hi.. People often attempt to get into making stuff in C# for wrobot but often don't know where to begin. In this video tutorial I attempt to explain some of the basics of fightclass development in visual studio. I've attached the solution I was showing in the video to this post. ps. Sorry about my voice and my coughing, I'm currently a bit ill ? watching it back I also didn't touch on quite a few points. Let me know if you have questions and I can either do another video or just write out the answers. I'll do a video on plugin creation (which I find more interesting) soon™ FightClassTutorial.zip
  20. No point arguing with this guy further. His claim will be rejected.
  21. Read the terms and conditions that you agreed to? https://wrobot.eu/privacypolicy/ You have consumed the product by using it.
  22. I have no idea how you could think he deserves a refund. There's plenty of information on the site to get a grasp on how to use the bot. There's also plenty of ban threads where people talk about their experiences on various servers. If he went ahead and just ran some random public profile without monitoring his bot for the first few hours of use it's definitely his own fault. Also can you elaborate on what kind of information or tutorial you feel like is missing? Maybe we as community can work on that.
  23. Not sure if there's an easier way but you could go on a db site, filter by a zone then order by React and make sure A and H are both yellow. eg. http://classicdb.ch/?npcs&filter=zone=[45];#0-4+1 In that list you can see I filtered by Arathi and can see the Mesa Buzzard as a potential target http://classicdb.ch/?npc=2579 There are better ways to do this via a DB but this would probably be the simplest/quickest route for you.
  24. Yeah I saw that, very useful. I was more wondering about the actual states interface implementation of Before/NextStates rather than the events though.
×
×
  • Create New...