Drop into your plugins folder and enable. Only works for English locale unless you know C#, its super simple to edit if you do. If you wish to handle all combat and only use this plugin please use: LazyRaider(http://www.thebuddyforum.com/honorb...ider-user-controlled-raiding-heroics-raf.html) FatHead(http://www.thebuddyforum.com/honorb...e/34682-fathead-do-nothing-cc.html#post366084) If you are using a non-english locale, please use the beta plugin
Thanks for this, looks really promising, however im getting this complie error upon HB Launch: Compiler errors: File: FlagCapture.cs Line: 28 Error: 'mastahg.FlagReturner' does not implement inherited abstract member 'Styx.Plugins.PluginClass.HBPlugin.Pulse()' fyi
omg. so many thanks <3 used to use this other hack to return flags. the main feature of the hack got patched so there where no new updates. this is such a game winner for rateds. I will be so happy when WSG or TP pops up in rateds. again so much thanks. question. is it possible to pick up a dropped flag from your team. eg. your healing your tank. then your tank gets globaled by a ret rogue rofl. would be nice to pick up the dropped flag. be like rofl jks ninja'd
forgot to ask. how do i turn only this plugin on. i dont want the bot to do anything. i want 100% control of character just this plugin on. thanks
I suggest using Combat Bot with only that plugin enabled then, while manually queuing yourself into BGs.
Hello mastahg, i tried to "translate" your plugin to german but it doesnt work. the bot wont click the flag, when its dropped. iam no coder, so i really dont have a clue why its not working. could you have a look at the translated version and tell me please why it is not working? Thanks in advance! View attachment FlagCapture.cs
why does it have to be "translated" anyway? cant we just loop through the objects within a certain distance and if we have a match to our flag-id, interact with it`?
The way it works is by filtering BG chat channels for when a flag has been dropped, when that is detected it then scans for nearby flags. Edit: The reason I do it this way, was that i found using a timer or pulse was not reacting fast enough to give good enough results.
edit your cs file to log the variables PHP: String[] Parts = TheReg.Split(Message); String Player = Parts[1]; String Faction = Parts[2]; String Action = Parts[3]; maybe it's splitting wrong (array isn't filled correct), if this happens then the conditions aren't working maybe add something like that PHP: Log(String.Format("Player: {0}, Faction:{1},Action:{2}",Player,Faction,Action)); for (var x = 0; x < Parts.length; x++) { Log(String.Format("[FlagReturner] {0} {1} {2}", DateTime.Now, x, Parts[x])); } after this line PHP: Log("Flagge nicht gefunden"); Report back what is written there, maybe we can find a solution for german... if not working with translating, maybe we can add a event handler for "CHAT_MSG_BG_SYSTEM_ALLIANCE" and "CHAT_MSG_BG_SYSTEM_HORDE" this should be as fast as searching for string in Combatlog The events are fired this way: ""CHAT_MSG_BG_SYSTEM_ALLIANCE" Fired for alliance specific events in the battleground such as assaulting a graveyard. arg1 Battleground Message (eg. "The Alliance has taken the Blacksmith!") "
So is there a way to run this thru HB in the background but still maintain control of your character? I.e What ever happened to the "Do Nothing" bot?
The only lines that need editing for other languages are Code: static String Reg = "The (Horde|Alliance) Flag was (picked up|dropped) by (.+)!"; and Code: if (Faction == MyFaction && Action == "dropped" && Me.IsAlive) and maybe Code: FactionFlag = MyFaction + " Flag"; Currently this does scan the battleground chat to work, it does this by adding its even handler via Code: WoWChat.AllianceBattleground += WoWChat_Battleground; WoWChat.HordeBattleground += WoWChat_Battleground; WoWChat.NeutralBattleground += WoWChat_Battleground; I'll make a custom class for use with lazyraider that has all combat functions removed from it for people who want to control the bot and just have the flag be grabbed.