Jump to content

Stresse

Members
  • Content Count

    33
  • Joined

  • Last visited

About Stresse

  • Rank
    Advanced Member

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. So far any effort I have made to utilize the Demon Hunters' maneuverability has looked incredibly bot-like. The following code is my attempt to find a suitably-far point to move to (to prevent the bot from using the Glide ability, only to immediately turn back because it didn't remove a waypoint passed while flying. The problem is that, without a way to determine whether or not the bot is on the ground or up in the air, there really isn't a good way to handle cases where the bot might overshoot a waypoint (or perform a simple turn while gliding). Seems like if I could figure out
  2. If I give them designations in my code, don't I run into the same issue (that I can't get their LuaId to use for the CastSpellOn method?
  3. Hahaha, it was someone else's topic, I've just been cannibalizing code from all over for a couple months now. "Learning C# By Botting", I'm here to say, should be developed as a teaching technique.
  4. Howdy y'all! My C# is finally at the point where I am starting to be able to develop full products (profiles, fightclasses, etc.). I'm working on a fightclass template (which I'll post once functional) that people can adapt for any class they want (I'm developing it for my Disc Priest, so it already has to be able to do some niche stuff). @Smokie gave some great code in this post on how to cast spells on yourself and party members (maybe other players, too, I haven't tested). SpellManager.CastSpellByNameOn("Rejuvenation", p.Name); SpellManager.CastSpellByNameOn("Rejuvena
  5. Awesome! I'll give it a shot once servers are back up. Is there a way to check if a coordinate/npc is indoors (seems like there must be, since we can "Ignore indoor/outdoor nodes" while gathering)? Because then I could do something like public static void TakeOptimalRoute(Vector3 position) { List<Vector3> roughPath= wManager.Wow.Helpers.PathFinder.FindPath(Location); Vector3 transitionPoint= new Vector3(); for (int i= 0; i< roughPath.Count; i++) { Vector3 coo = roughPath[i]; if coo.IsIndoors() // Or however I would do a check to see if the destination is indoors
  6. Hi y'all! I'm trying to figure out the various methods WRobot has for finding paths. I'm working on a profile to do the Tanaan Jungle "Tiny Terrors" and can't seem to put together a decent method for the bot to get as far as it can with the flying mount, but then using a (more) precise method to navigate to the NPC. For example string name = "Chaos Pup" Vector3 location = new Vector3(3265.077, 394.3333, 116.3515, "None"); int npcID= 94638; This NPC is in a cave. If I use... List<Vector3> pos= wManager.Wow.Helpers.PathFinder.FindPath(ObjectManager.Me.Position, lo
  7. Seems to have resolved itself now. Gosh, I keep getting so close to starting to post some code and then decide it's not ready yet. (Do you ever have that problem with the bot?)
  8. Hi! So I *just* started Pet Battling and in order to make profiles for leveling carry pets, I am working on a custom profile. As most Pet Battlers probably know (as in I've "known" it for <2 days, but I'm always behind the curve), when doing trainers you often have to use a specific set of abilities. Looking through the WoW API, I can't find any way to set abilities. Looking through the unofficial WRobot API, I also can't find a function to do thiis. Does it exist? If not, how would I got about doing this?
  9. Howdy y'all! I'm working on a little plugin to help me recruit to get that 8th Guild Bank slot (because, you know, I'm a bit spoiled 😉). I pulled the following from a pure Lua project I had been working on to do this recruitment (more) manually. Problem is, there are a shit ton of queries (and not a predictable number) and I can't think of a sane way of doing it individually. Feels like there must be a way to take the table and turn it into a Dictionary<int,string> (or just get rid of the damn indexes and turn it into a list of strings)...but I can't figure out how.
  10. Hi y'all! So I'm working on a plugin for area farming (where looting every corpses looks bot as fuck). I'm going to include the whole code (just in case there is something there causing the error. You'll note I've commented out a lot of the code so that I'm mostly just focussing on why I can't seem to get the timers to work...I've been looking at other developer's code and I can't figure out how my usage is different. using robotManager.Helpful; using System.Threading; using robotManager.Products; using wManager.Wow.Enums; using wManager.Wow.Helpers; usi
  11. Hey y'all! I'm actually SUPER bummed, because I've basically been working on this all day (learning c# as I go + I'm a bit slow...don't make fun of me). I finally had it all fixed down to only throwing one error...and now the bot won't even load the plugin. Can anyone see what's wrong? (All the log says is "Error to load plugin PATH\lootoggle.cs") using robotManager.Helpful; using System.Threading; using robotManager.Products; using wManager.Wow.Enums; using wManager.Wow.Helpers; using wManager.Wow.ObjectManager; using System; using System.Collections.Generic; using System.I
  12. Howdy y'all! The title pretty much says it, but, at the moment, the second the bot is done harvesting an herb/mineral/skinning node/object, it will immediately go to stealth mode or change into ________ (at the moment it's Moonkin, since I'm going Boom) form...even if there is another mob to skin right next to it and even though the bot is then going to immediately mount (change into Flight Form). I imagine it's a c# condition to add to the fightclass? Problem is I don't know the bot states and can't figure out how this would be done.
×
×
  • Create New...