• Visit Rebornbuddy
  • Visit Panda Profiles
  • Visit LLamamMagic
  • [Plugin] Squire - A Battleground Follower Plugin

    Discussion in 'Archives' started by bobby53, Nov 15, 2010.

    1. DaSoul

      DaSoul Well-Known Member

      Joined:
      Jan 15, 2010
      Messages:
      2,827
      Likes Received:
      47
      Trophy Points:
      48
      Hi Bobby,

      i'm just watching my shaman via teamviewer XD and now i saw something that happend a few times now.

      is it possible that your coding:

      Code:
      if (lastLeadMovement < System.Environment.TickCount)
      {
      slog("leader still for {0} seconds, blacklisting for {1} seconds", SquireSettings.Instance.StillTimeout, SquireSettings.Instance.BlacklistTime);
      Blacklist.Add(leader, TimeSpan.FromSeconds(SquireSettings.Instance.BlacklistTime));
      leader = null;
      continue;
      doesn't work properly? It shall continue finding another leader (or if not available continue with profile) if leader doesn't move within timespan.fromseconds{0} seconds? right?

      Cause the person he chooses to follow keeps standing arround / casting on enemies and my char just stands arround as my target isn't moving until i get kicked out of the bg with deserteur debuff.
       
    2. bobby53

      bobby53 New Member

      Joined:
      Jan 15, 2010
      Messages:
      4,040
      Likes Received:
      178
      Trophy Points:
      0
      DaSoul, That is a well written description of a problem, but I already have the code so the copy/paste isn't necessary. A log file would be more useful. I'll keep an eye out for it you would like me to look into it, otherwise I'll assume its resolved by checking your settings file. Thanks, Bobby53
       
    3. bobby53

      bobby53 New Member

      Joined:
      Jan 15, 2010
      Messages:
      4,040
      Likes Received:
      178
      Trophy Points:
      0
      richarddoran, Yes, I'll add that.
       
    4. osimueller

      osimueller New Member

      Joined:
      Jul 20, 2011
      Messages:
      1
      Likes Received:
      0
      Trophy Points:
      0
      Hi,

      I've been running the BG Bot for some time and getting since yesterday the following error in EoS. I know that EoS is officially not supported, before the Plugin just ignored this BG and the standard behaviour of HB have been used automatically, but now the bot goes crazy and the character won't move properly when the plugin is activated. Just jumping of the starting point and trying to get back, which is impossible.

      Code:
      [SIZE=1][06:29:49:836] Activity: Accepting battlefield port...[/SIZE]
      [SIZE=1][06:30:14:803] Best: Flag, <2174.3, 1568.837, 1159.97>, IsHorde: False, LastPlayerCount: 0, IsDefault: True[/SIZE]
      [SIZE=1][06:30:15:713] Activity: Loading Tile/s[/SIZE]
      [SIZE=1][06:30:29:835] Best: Flag, <2174.3, 1568.837, 1159.97>, IsHorde: False, LastPlayerCount: 0, IsDefault: True[/SIZE]
      [SIZE=1][06:32:05:883] Spell_C::CastSpell(32239, 0, 0x0, 0) [1][/SIZE]
      [SIZE=1][06:32:08:193] Activity: Moving to Flag[/SIZE]
      [SIZE=1][06:32:08:227] Activity: Loading Tile/s[/SIZE]
      [SIZE=1][06:32:09:199] <Squire> Pulse[/SIZE]
      [SIZE=1][06:32:36:994] Stop called![/SIZE]
      [SIZE=1][06:32:37:031] Activity: Honorbuddy Stopped[/SIZE]
      [SIZE=1][06:32:37:053] >>> EXCEPTION[/SIZE]
      [SIZE=1][06:32:37:131] System.Threading.ThreadAbortException: Thread was being aborted.[/SIZE]
      [SIZE=1]   at System.Threading.WaitHandle.WaitOneNative(SafeWaitHandle waitHandle, UInt32 millisecondsTimeout, Boolean hasThreadAffinity, Boolean exitContext)[/SIZE]
      [SIZE=1]   at System.Threading.WaitHandle.WaitOne(Int64 timeout, Boolean exitContext)[/SIZE]
      [SIZE=1]   at System.Threading.WaitHandle.WaitOne(Int32 millisecondsTimeout, Boolean exitContext)[/SIZE]
      [SIZE=1]   at (Object , Int32 , Boolean )[/SIZE]
      [SIZE=1]   at BlueMagic.ExecutorRand.Execute()[/SIZE]
      [SIZE=1]   at Styx.WoWInternals.Lua.GetReturnValues(String lua, String scriptName)[/SIZE]
      [SIZE=1]   at Styx.WoWInternals.Lua.GetReturnVal[T](String lua, UInt32 retVal)[/SIZE]
      [SIZE=1]   at Styx.WoWInternals.WoWObjects.LocalPlayer.get_IsIndoors()[/SIZE]
      [SIZE=1]   at Bobby53.Squire.Pulse() in c:\Users\Sepp\Desktop\clean\Plugins\Squire\Squire.cs:line 182[/SIZE]
      [SIZE=1][06:32:37:135] System.Threading.ThreadAbortException: Thread was being aborted.[/SIZE]
      [SIZE=1]   at Bobby53.Squire.Pulse() in c:\Users\Sepp\Desktop\clean\Plugins\Squire\Squire.cs:line 244[/SIZE]
      [SIZE=1]   at Styx.Plugins.PluginWrapper.Pulse()[/SIZE]
      [SIZE=1]   at Styx.Plugins.PluginManager.Pulse()[/SIZE]
      [SIZE=1]   at Styx.WoWPulsator.Pulse(PulseFlags flags)[/SIZE]
      [SIZE=1]   at Styx.Logic.BehaviorTree.TreeRoot.Tick()[/SIZE]
      [SIZE=1]   at Styx.Logic.BehaviorTree.TreeRoot.Run()[/SIZE]
      [SIZE=1][06:32:37:136] System.Threading.ThreadAbortException: Thread was being aborted.[/SIZE]
      [SIZE=1]   at Styx.Logic.BehaviorTree.TreeRoot.Run()[/SIZE]
      
      Full log is attached.
       

      Attached Files:

    5. bobby53

      bobby53 New Member

      Joined:
      Jan 15, 2010
      Messages:
      4,040
      Likes Received:
      178
      Trophy Points:
      0
      osimueller, Squire is meant to be used with the PVP bot, not the BG Bot. The issue is that BG Bot is insistent about where it will move too (which is the whole point) and Squire will end up competing with it. I'll check the battleground detection logic because it should ignore EotS and provide only default HB behavior. Either something has changed in HB or you hit an anomaly that will likely be resolved by rebooting and/or reinstall of HB and components. Thanks for the complete log and the post, Bobby53

      PS: I'll add a check for the PVP Bot as well so a message is issued if its not being used and default behavior provided so at least Squire stays out of the way if paired with something else.
       
      Last edited: Aug 11, 2011
    6. TheEnglishGuy

      TheEnglishGuy New Member

      Joined:
      Jul 28, 2011
      Messages:
      15
      Likes Received:
      0
      Trophy Points:
      0
      Hi all,

      I want to pvp with my Disc priest to get to 85 and have JP capped when I reach 85.
      But I dont understand what I all need to let my priest do the bg... like ab or av.

      I downloaded this plug- in and I downloaded fpsware cc.
      I also download an AB / AV profile.

      But if I go in a bg now it doesn't heal etc... What is going wrong or what should I download too?

      theEnglishGuy
       
    7. richarddoran

      richarddoran New Member

      Joined:
      Mar 11, 2010
      Messages:
      508
      Likes Received:
      3
      Trophy Points:
      0
      Just an FYI, I've been successfully using Squire with BG Bot, even though it's meant for PVP Bot. Sometimes it conflicts in EotS when jumping off the rock, so I have to stop/start it otherwise it gets stuck running into a rock, but other times it jumps off just fine. I think it gets confused when the person it's trying to follow is another AFK bot that stands still on the rock, of if the player it's following takes longer than normal, BG bot tells the bot to jump off, then Squire tells it to get closer, and it's stuck.

      I use BG Bot for Random Battlegrounds, so the bot works better on BGs that Squire doesn't support. I'll use PvP bot when i'm doing a BG Weekend (like this weekend is AB)
       
    8. Wuvluv

      Wuvluv New Member

      Joined:
      Aug 10, 2011
      Messages:
      51
      Likes Received:
      0
      Trophy Points:
      0
      Same here.
       
    9. bobby53

      bobby53 New Member

      Joined:
      Jan 15, 2010
      Messages:
      4,040
      Likes Received:
      178
      Trophy Points:
      0
      TheEnglishGuy, Thanks for the post. Please attach a complete debug log for the session and I'll look into it further for you. Thanks and good luck with your priest, Bobby53

      Same
       
    10. Wuvluv

      Wuvluv New Member

      Joined:
      Aug 10, 2011
      Messages:
      51
      Likes Received:
      0
      Trophy Points:
      0
      Im going to assume that it's not Squire but rather the CC I am using that chooses to never target players nor enemys and is just a spectator in the whole brawl.
      There seems to be no PVP Healing oriented CC's. Other than the CC's it seems as if Squire is working stellar. It goes to the big groups of enemys and, if the CC's chose to heal etc, would heal the entire raid.
       
    11. TheEnglishGuy

      TheEnglishGuy New Member

      Joined:
      Jul 28, 2011
      Messages:
      15
      Likes Received:
      0
      Trophy Points:
      0
      ye seems there is no pvp healing CC. Is there a good Pvp shadow priest CC?
       
    12. Wuvluv

      Wuvluv New Member

      Joined:
      Aug 10, 2011
      Messages:
      51
      Likes Received:
      0
      Trophy Points:
      0
      Bobby one request, the plugin seems to overwrite CC's innate healing and targeting and refuses to do basically anything unless it is forced into combat/attacked. This doesn't seem to be the case with your amazing Shamwow CC so I ask: What's our classes CC's missing?
       
    13. TheBotman

      TheBotman New Member

      Joined:
      Feb 24, 2011
      Messages:
      13
      Likes Received:
      0
      Trophy Points:
      0
      Hack as in:

      ?A solution to a problem, doing a task, or fixing a system (whether hardware or software) that is inefficient, inelegant, or even unfathomable, but which nevertheless (more or less) works?

      Not hack as in:

      I ST3LZ U SH1T WTh MY L33t SKLZ

      -Botman
       
    14. Altoids

      Altoids New Member

      Joined:
      Jul 21, 2011
      Messages:
      936
      Likes Received:
      8
      Trophy Points:
      0
      I think it's more that he's included additional info into his ShamWow coding that's not in the other CCs because of a noted limitation/conflict with the HB core itself. Don't quote me on it, but I think I remember him mentioning that somewhere in his Shamwow thread.
       
    15. richarddoran

      richarddoran New Member

      Joined:
      Mar 11, 2010
      Messages:
      508
      Likes Received:
      3
      Trophy Points:
      0
      Still bugging out in PvP bot, as well as BG bot (less often in BG Bot however) at the beginning, when it needs to jump off of the platform. It jumps off, then tries (unsuccessfully, indefinitely) to get back up. I have to babysit it, and stop/start the bot once it's on the ground. Works fine with Squire disabled. It still very often think it's stuck, and initiates an unstick routine, but this is just a minor issue (though it did kill me once when I was near the edge of a cliff, strafed right off...)
       

      Attached Files:

    16. TigerX

      TigerX New Member

      Joined:
      Jan 15, 2010
      Messages:
      133
      Likes Received:
      1
      Trophy Points:
      0
      Getting lots of stop and go movement, Cannot find anything about it in the logs either.
       
    17. Stree

      Stree New Member

      Joined:
      Jun 9, 2011
      Messages:
      276
      Likes Received:
      2
      Trophy Points:
      0
      Will have to give this a shot on my shaman.
       
    18. cm2003

      cm2003 New Member

      Joined:
      Jul 16, 2011
      Messages:
      260
      Likes Received:
      1
      Trophy Points:
      0
      For me it's also not working fine :(
      The bot just goes crazy.
       
    19. Stree

      Stree New Member

      Joined:
      Jun 9, 2011
      Messages:
      276
      Likes Received:
      2
      Trophy Points:
      0
      Should post ur log and im sure bobby will tell you whats wrong
       
    20. cm2003

      cm2003 New Member

      Joined:
      Jul 16, 2011
      Messages:
      260
      Likes Received:
      1
      Trophy Points:
      0
      Attached is my log, I've just created.
      It's from AV and what happened till I stopped the bot is, that the bot was trying to follow a guy who was close to the aliance boss.
      But instead of going to him he was running to the "mountain" next to the northern bunker, turning around and running back to the half of the bridge, turning around again and running back to the "mountain". He returned this all the time, sometimes with dismounting to cast a Mark of the Wild (even if it was still at 50-55min).

      This was one scenario, but it often happens, that the bot is doing crazy shit like running, turning 180?, running 2 steps back, turning 180?, running forward again to do the same procedure around 20 meters further again :)

      Here my settings (default settings)
      Code:
      <?xml version="1.0" encoding="utf-8"?>
      <SquireSettings>
        <Strategy>Auto</Strategy>
        <Method>Density</Method>
        <LeaderScanRange>1000</LeaderScanRange>
        <LeaderOutOfRange>200</LeaderOutOfRange>
        <FollowDistanceMelee>10</FollowDistanceMelee>
        <FollowDistanceRanged>30</FollowDistanceRanged>
        <StillTimeout>25</StillTimeout>
        <BlacklistTime>120</BlacklistTime>
        <MoveDelayMS>1000</MoveDelayMS>
        <FollowMinDensity>3</FollowMinDensity>
      </SquireSettings>
      I'm feral druid using FPSware Druid CC.

      I appreciate any help!

      -edit-
      Another log, because this was crazy too...
      After some tries with the bridge (as described above) the bot was finally passing and went into the room of the alliance boss, where we were waiting. After a while the boss has been pulled by a tank and my focus target started to deal damage. The bot was just standing their for around 20 seconds. After that it was casting a heal and went out of the room, to get crazy again (running close to southern bunker turning around and going to the boss room).
      It just won't fight as it looks like :(
      Hopefully you can help me :)
       

      Attached Files:

      Last edited: Aug 27, 2011

    Share This Page