-
Posts
332 -
Joined
Content Type
Forums
Articles
Bug Tracker
Downloads
Store
Posts posted by Apexx
-
-
Hello, is it possible to add a collection of strings from the settings? I am getting the error, "Constructor on type 'System.String' not found".
-
I have dabbled a little bit with it, but I was not very successful myself. Maybe you need a draw event and then pulse the radar?
Radar3D.OnDrawEvent += () => { // draw };
Radar3D.Pulse();
I believe you want the OnDrawEvent inside the Initialize() method.
-
Is this XML or C#?
C#:
public void Initialize() // When product started, initialize and launch Fightclass { WatchForEvents(); }
public class Main: ICustomClass { internal void WatchForEvents() { EventsLuaWithArgs.OnEventsLuaWithArgs += (LuaEventsId id, List<string> args) => { if (id == LuaEventsId.PLAYER_REGEN_ENABLED && ObjectManager.Me.HealthPercent <= wManager.wManagerSetting.CurrentSetting.FoodPercent) { Lua.RunMacroText("/cancelaura [stance:1] Dire Bear Form; [stance:2] Aquatic Form; [stance:3] Cat Form; [stance:4] Travel Form; [stance:5] Moonkin Form"); } }; } }
This has not been tested, and I am not sure if Vanilla WoW uses the same LuaEventID. This is just an idea.
-
Hi thanks for reading this thread post. I was wondering if Me.IsCast works for channeled spells like, Volley.
My goal is to throw a while loop in my fight class, if I am casting Volley to run a Thread.Sleep(10) until cast time is diminished.Also, a question in regards to checks like, Me.Pacified. What exactly does Pacify mean here? Is there an ultimate check if the player
is completely incapable of casting spells? I have added a few like, Me.HaveBuff("Sleep") etc, but the list would be huge for every
spell that renders the player unable to perform attacks. The idea is to stop the bot from trying to cast spells while under those types
of spell debuffs.Thanks everyone!
-
Hi, I was wondering if I record paths that overlap each other inside Quester, KillAndLoot Type if the bot will choose random hotspots? I do not see any hotspot for pathing inside Quest Editor Quest Type KillAndLoot.
-
This might work.
if (ObjectManager.Target.Level >= (ObjectManager.Me.Level + 2)) { // Do something }
-
-
Auto Attack/Auto Shot was never enabled on my client.
-
-
Oh, alright! Well, I will leave it there if people would like to learn from it.
-
Beast Mastery Fight Class Template [Derived from How to create an Fight Class (developer only)]
Beast Mastery Hunter Fight ClassIt's probably not optimized, because I slapped it together quickly.
-
-
-
I believe the main issue is that once it initiates Auto Attack it interrupts Auto Shot. My character will shoot range just fine, then pull out the weapon
and get ready for melee attack even though the target unit is still 30 yards out. -
Okay, here's a snapshot of the last tidbits of the log file:
19:13:52 - [BMHunter] Is initialized. 19:13:52 - [BMHunter] Is started. [D] 19:13:52 - PetPassiveMode() Enabled 19:13:52 - [Butler] Butler version 1.3 is loaded and ready [D] 19:13:54 - [Butler] acknowledging item "Charger's Armor" id 15479 with a value of 115 [D] 19:13:54 - [Butler] acknowledging item "Ranger's Vest" id 23266 with a value of 55 19:13:55 - [Butler] item "Charger's Armor" id 15479 blacklisted [D] 19:13:55 - [Butler] acknowledging item "Sharp Arrow" id 2515 with a value of 5.833333 19:13:56 - [Butler] item "Sharp Arrow" id 2515 blacklisted [D] 19:13:57 - [Butler] acknowledging item "Charger's Handwraps" id 15476 with a value of 64 [D] 19:13:57 - [Butler] acknowledging item "Embossed Leather Gloves" id 4239 with a value of 241 19:14:00 - [Fight] Player Attack Zhevra Runner (lvl 13) [F] 19:14:00 - [Spell] Cast Hunter's Mark (Hunter's Mark) [F] 19:14:00 - [Spell] Cast Serpent Sting (Serpent Sting) [D] 19:14:01 - AUTO ATTACK ENABLED. [D] 19:14:01 - Zhevra Runner GetDistance = 28.04692 [D] 19:14:02 - PetDefensiveMode() Enabled [F] 19:14:02 - [Spell] Cast Serpent Sting (Serpent Sting) [F] 19:14:04 - [Spell] Cast Arcane Shot (Arcane Shot) [D] 19:14:04 - AUTO ATTACK ENABLED. [D] 19:14:04 - Zhevra Runner GetDistance = 9.811253 [F] 19:14:06 - /castsequence !Auto Shot, !Auto Shot [F] 19:14:07 - /castsequence !Auto Shot, !Auto Shot [D] 19:14:07 - AUTO ATTACK ENABLED. [D] 19:14:07 - Zhevra Runner GetDistance = 9.811253 [F] 19:14:07 - /castsequence !Auto Shot, !Auto Shot [F] 19:14:08 - /castsequence !Auto Shot, !Auto Shot [F] 19:14:08 - [Spell] Cast Serpent Sting (Serpent Sting) [D] 19:14:08 - PetPassiveMode() Enabled
If it's the correct way to determine Auto Attack initiating, it would be nice to disable this feature for range classes until the target is within melee range.
I appreciate your help @Avvi -
-
-
It doesn't seem to be returning any log. I have tried changing the string from "Auto-Attack" to "Auto Attack" and just "Attack".
I have tried changing "UNIT_SPELLCAST_START" TO "UNIT_SPELLCAST_SENT". -
The spellbook shows "Auto Attack" (ID 6603), but the ability on my action bar reads, "Attack".
The addon, "SpellID" returns 6603 in the tooltip for Auto Attack, but does not return any ID for the ability, "Attack" on my action bar.Are they the same?Dragging the "Auto Attack" ability to my action bar, changed the name to "Attack" and does not show spell ID information.
How would you suggest testing if Auto Attack is activated?
-
Looking at the ability that is interrupting Auto Shot again, my thread title might be misleading. The standard "Attack" skill is the one flashing against Auto Shot in the animated .gif above.
I have the addon, "SpellID" that shows the obvious - spell ID in tooltips, and Attack is not returning any ID. I don't think I would be able to test if "Attack" is activated.I will try and disable any close proximity melee abilities from the fight class and see what happens...
-
-
-
I have seen this issue proposed all over the forums, but have yet to see an actual fix or comment regarding a possible workaround.
Hunter's use Auto Shot as a good chunk of damage output, but WRobot likes to use "Attack" on its own, which causes conflicts,
interrupting Auto Shot. Here's a quick .gif I put together showing just the issue.
SpoilerIt looks extremely bot-ish. It would be great to see some light shed on this subject.
-
Is there a way to check using C#, if the hunter player even has a pet? I would like to include pet mending, reviving, and calling inside my fight class, but
if the hunter does not even own a pet yet, how can I bypass the abilities inside the fight class if there is no pet?
QuoteDigits 4-10 - A constant value unique to the individual pet: like a player's unique ID it is constant across multiple sessions.
I was wondering if I could just check if GUID != 0?
String Collection Editor Error
in WRobot for Wow Wrath of the Lich King - Help and support
Posted
Initial SettingAttribute
Modified to allow a list of strings entering each item on its own line:
Finished result: