-
Posts
19 -
Joined
-
Last visited
Reputation Activity
-
dirtyjobs reacted to Matenia in Warmane TBC 2.4.3 Thread
99% chance this is a faulty fightclass. The bot tries to cast a spell (for which movement stop is required), but can't actually cast it.
Maybe shitty pet handling.
-
dirtyjobs reacted to Droidz in Bot closing after death
Hello, if you can tell me if this problem happen again whit new update, if yes if you can share your log
-
dirtyjobs reacted to iloniegodx in Bot closing after death
Disable close bot if teleported, you can find it in general settings.
-
dirtyjobs reacted to reapler in How to find what hostile player is casting
Hello, for this behavior you need to subscribe lua events with arguments(wManager.Wow.Helpers.EventsLuaWithArgs.OnEventsLuaWithArgs).
But i belive the event 'COMBAT_LOG_EVENT_UNFILTERED' is also not working yet for 2.4.3(https://wrobot.eu/forums/topic/5519-register-combat_log-with-args/).
If it works you could add a c# code to your fightclass. It could look like this:
//example private void EventsLuaWithArgsOnOnEventsLuaWithArgs(LuaEventsId id, List<string> args) { if (id == LuaEventsId.COMBAT_LOG_EVENT_UNFILTERED && args[8] == ObjectManager.Me.Name) { if (args[2] == "Polymorph") { Logging.Write("Someone is casting Polymorph on me"); ///... } } }
Otherwise you can use 'UNIT_SPELLCAST_SENT' which should work as intend:
if (wManager.Statistics.RunningTimeInSec() < 2) { robotManager.Helpful.Logging.Write("Register OnEventsLuaWithArgs"); wManager.Wow.Helpers.EventsLuaWithArgs.OnEventsLuaWithArgs += delegate(wManager.Wow.Enums.LuaEventsId id, System.Collections.Generic.List<string> args) { if (id == wManager.Wow.Enums.LuaEventsId.UNIT_SPELLCAST_SENT && args[3] == wManager.Wow.ObjectManager.ObjectManager.Me.Name) { if (args[1] == "Polymorph" || args[1] == "Fear") { robotManager.Helpful.Logging.Write("Someone casts " + args[1] + " on me"); wManager.Wow.Helpers.SpellManager.CastSpellByNameOn("Blessing of Sacrifice", "party1"); //you could add here a task in case if you are on global cooldown to cast it later } } }; System.Threading.Thread.Sleep(2000); }
and here's an example how you can implement the c# code into your fightclass: BoS example.xml
-
dirtyjobs reacted to Bioaim in Fightclass wand issues
Bot won't cast "Shoot" anymore with this LUA Script as Condition.
-
dirtyjobs reacted to Droidz in Is it possible to make the party bot to harvest?
Hello,
Wait next update. I have added option "Harvest nodes" at Party product.
-
-
-
-
-
-
dirtyjobs reacted to nxpert in New update broke bot
Updated as prompted, now stuck with "Game version incorrect" and infinite update loop.
-
dirtyjobs reacted to Droidz in Command to party By Party Chat
After "var msg = chat.ReadMsg();" (line 34) you can add this line:
Logging.Write("Channel = " + ((int)msg.Channel) + " (message: " + msg.Msg + ")"); (this line writte in log tab the channel number, when you get channel number, you can remplace 49 in "(int)msg.Channel == 49" by your channel number)
-
-
dirtyjobs reacted to Droidz in Casting twice
Hello, use "timer" option at your healers spells (your server have probably too much latency) (by sample, if your spell is cast in 2 secondes, put in "timer" option "2500" (=2.5 secondes))