• Visit Rebornbuddy
  • Visit Panda Profiles
  • Visit LLamamMagic
  • [Plugin] KeepOnMoving - Stuck handling and more

    Discussion in 'Movement' started by mh66, Jul 9, 2016.

    ?

    What do you intend to use/already use⌠ KEEP oи MOVING ⌡ for?

    1. Leveling chars with Questing Bot?

      27 vote(s)
      55.1%
    2. GatherBuddy2

      23 vote(s)
      46.9%
    3. Other

      10 vote(s)
      20.4%
    Multiple votes are allowed.
    1. mh66

      mh66 Community Developer

      Joined:
      Jun 21, 2016
      Messages:
      1,050
      Likes Received:
      64
      Trophy Points:
      48
      1. Works as intended. After 5.5 minutes KoM starts reloading profile and UNSTUCK procedure

      Code:
      [10:17:22.252 D] 
      
      ----- KoM-LOG -----
      Start: <1660.239, 5633.334, 37.005> (18.5 - 48.2)
      DistanceFactor 1.3
      MapId: 1220
      Zone: Troll Raid, Suramar, Falanaar
      Profile: SynTacTix - Legion Gatherer - Suramar - Mining_Herb - Route 3 ($Rev: 0051$)
      BotPoi: Type: None, Loc: <0, 0, 0>, NavType: Run
      TreeRoot: InteractWith-Intera: In Progress (no associated quest)
      Interacting with Felslate, Leystone Ore, MobId(124444), MobId(253280), MobId(241743), MobId(245325), MobId(245324), Leystone Deposit, MobId(255344), MobId(129289), MobId(129288), MobId(129287), MobId(129286), MobId(129285), MobId(129284), MobId(128304), Starlight Rose, MobId(124104), MobId(124103), MobId(124102), MobId(124101), MobId(244774), MobId(241641), MobId(244777), MobId(244776), MobId(244775), Felwort, MobId(248008), MobId(248006), MobId(248003), MobId(244786)
          [Ref: "SynTacTix - Legion Gatherer - Suramar - Mining_Herb - Route 3 ($Rev: 0051$)" @line 389]
      ----- KOM-LOG -----
      
      
      [10:17:22.253 D] Loading profile from store:///[SynTacTix] Legion - Gatherer/Legion - Gatherer/QuestingBot/Use ArtifactPower/Suramar/Level 110/[QUEST][N] Mining_Herb - Route 3.xml
      [10:17:22.257 N]      ⌠ KEEP oи MOVING ⌡ MOTIONLESS! Bring back movement...
      [10:17:22.263 N]      ⌠ KEEP oи MOVING ⌡ Reload profile...
      
      2. There are a bunch of errors message regarding IssueMailer. You may want to check if your smtp is working properly

      Code:
      [10:14:53.969 D] System.Net.Mail.SmtpException: The SMTP server requires a secure connection or the client was not authenticated. The server response was: 5.5.1 Authentication Required. Learn more at
         at System.Net.Mail.MailCommand.CheckResponse(SmtpStatusCode statusCode, String response)
         at System.Net.Mail.MailCommand.Send(SmtpConnection conn, Byte[] command, MailAddress from, Boolean allowUnicode)
         at System.Net.Mail.SmtpTransport.SendMail(MailAddress sender, MailAddressCollection recipients, String deliveryNotify, Boolean allowUnicode, SmtpFailedRecipientException& exception)
         at System.Net.Mail.SmtpClient.Send(MailMessage message)
         at IssueMailer.Main.SendMail(String s, String b) in C:\Users\laurence\Desktop\HB\Plugins\IssueMailer\Main.cs:line 78
         at IssueMailer.Main.Pulse() in C:\Users\laurence\Desktop\HB\Plugins\IssueMailer\Main.cs:line 129
         at Styx.Plugins.PluginWrapper.Pulse()
      
      3. You may want to report this to mesh error thread, as there are a lot of navigation errors

      Code:
      [10:18:00.737 D] [LootHelper] Running Logic @ 10/18/2016 11:18:00
      [10:18:00.743 D] [Flightor] Failed ground nav from <1660.061, 5634.846, 36.81332> to <1671.625, 5336.43, 64.19052> with status PathGenerationFailed
      [10:18:00.768 D] [LootHelper] Running Logic @ 10/18/2016 11:18:00
      [10:18:00.775 D] [Flightor] Failed ground nav from <1660.061, 5634.846, 36.81332> to <1671.625, 5336.43, 64.19052> with status PathGenerationFailed
      [10:18:00.803 D] [LootHelper] Running Logic @ 10/18/2016 11:18:00
      [10:18:00.808 D] [Flightor] Failed ground nav from <1660.061, 5634.846, 36.81332> to <1671.625, 5336.43, 64.19052> with status PathGenerationFailed
      [10:18:00.833 D] [LootHelper] Running Logic @ 10/18/2016 11:18:00
      [10:18:00.838 D] [Flightor] Failed ground nav from <1660.061, 5634.846, 36.81332> to <1671.625, 5336.43, 64.19052> with status PathGenerationFailed
      [10:18:00.868 D] [LootHelper] Running Logic @ 10/18/2016 11:18:00
      [10:18:00.872 D] [Flightor] Failed ground nav from <1660.061, 5634.846, 36.81332> to <1671.625, 5336.43, 64.19052> with status PathGenerationFailed
      [10:18:00.908 D] [LootHelper] Running Logic @ 10/18/2016 11:18:00
      [10:18:00.913 D] [Flightor] Failed ground nav from <1660.061, 5634.846, 36.81332> to <1671.625, 5336.43, 64.19052> with status PathGenerationFailed
      [10:18:00.936 D] [LootHelper] Running Logic @ 10/18/2016 11:18:00
      [10:18:00.940 D] [Flightor] Failed ground nav from <1660.061, 5634.846, 36.81332> to <1671.625, 5336.43, 64.19052> with status PathGenerationFailed
      [10:18:00.974 D] [LootHelper] Running Logic @ 10/18/2016 11:18:00
      [10:18:00.981 D] [Flightor] Failed ground nav from <1660.061, 5634.846, 36.81332> to <1671.625, 5336.43, 64.19052> with status PathGenerationFailed
      [10:18:01.004 D] [LootHelper] Running Logic @ 10/18/2016 11:18:01
      [10:18:01.009 D] [Flightor] Failed ground nav from <1660.061, 5634.846, 36.81332> to <1671.625, 5336.43, 64.19052> with status PathGenerationFailed
      [10:18:01.034 D] [LootHelper] Running Logic @ 10/18/2016 11:18:01
      [10:18:01.039 D] [Flightor] Failed ground nav from <1660.061, 5634.846, 36.81332> to <1671.625, 5336.43, 64.19052> with status PathGenerationFailed
      [10:18:01.068 D] [LootHelper] Running Logic @ 10/18/2016 11:18:01
      [10:18:01.073 D] [Flightor] Failed ground nav from <1660.061, 5634.846, 36.81332> to <1671.625, 5336.43, 64.19052> with status PathGenerationFailed
      [10:18:01.100 D] [LootHelper] Running Logic @ 10/18/2016 11:18:01
      [10:18:01.107 D] [Flightor] Failed ground nav from <1660.061, 5634.846, 36.81332> to <1671.625, 5336.43, 64.19052> with status PathGenerationFailed
      [10:18:01.132 D] [LootHelper] Running Logic @ 10/18/2016 11:18:01
      [10:18:01.137 D] [Flightor] Failed ground nav from <1660.061, 5634.846, 36.81332> to <1671.625, 5336.43, 64.19052> with status PathGenerationFailed
      [10:18:01.198 D] [LootHelper] Running Logic @ 10/18/2016 11:18:01
      [10:18:01.203 D] [Flightor] Failed ground nav from <1660.061, 5634.846, 36.81332> to <1671.625, 5336.43, 64.19052> with status PathGenerationFailed
      [10:18:01.231 D] [LootHelper] Running Logic @ 10/18/2016 11:18:01
      [10:18:01.237 D] [Flightor] Failed ground nav from <1660.061, 5634.846, 36.81332> to <1671.625, 5336.43, 64.19052> with status PathGenerationFailed
      [10:18:01.265 D] [LootHelper] Running Logic @ 10/18/2016 11:18:01
      [10:18:01.270 D] [Flightor] Failed ground nav from <1660.061, 5634.846, 36.81332> to <1671.625, 5336.43, 64.19052> with status PathGenerationFailed
      [10:18:01.298 D] [LootHelper] Running Logic @ 10/18/2016 11:18:01
      [10:18:01.303 D] [Flightor] Failed ground nav from <1660.061, 5634.846, 36.81332> to <1671.625, 5336.43, 64.19052> with status PathGenerationFailed
      [10:18:01.330 D] [LootHelper] Running Logic @ 10/18/2016 11:18:01
      [10:18:01.337 D] [Flightor] Failed ground nav from <1660.061, 5634.846, 36.81332> to <1671.625, 5336.43, 64.19052> with status PathGenerationFailed
      [10:18:01.364 D] [LootHelper] Running Logic @ 10/18/2016 11:18:01
      
       
    2. marrvin

      marrvin Member

      Joined:
      Aug 26, 2012
      Messages:
      230
      Likes Received:
      15
      Trophy Points:
      18
      Actually it is working.
      You just have to wait a couple of minutes.

      My bot was standing in one of the many famous "Troll Raid" positions in Stormheim.

      Unstuck Stage 1 fired after like 5 minutes w/o motion and Stage 2 short after used flight master whistle.


      @mh66:
      can you make the initial "bot is stuck" timeframe of 5.5 Minutes configurable in the UI ?

      And thank you for that plugin !!!
       
      Last edited: Oct 18, 2016
    3. mh66

      mh66 Community Developer

      Joined:
      Jun 21, 2016
      Messages:
      1,050
      Likes Received:
      64
      Trophy Points:
      48
      I have thought about it and I think next release will have an extra setting for that. Nevertheless it shouldn't be set below 5.5 minutes while in questing mode as this will cause a lot of issues while - for example - waiting for transportation or user input.
       
      Last edited: Oct 18, 2016
    4. mh66

      mh66 Community Developer

      Joined:
      Jun 21, 2016
      Messages:
      1,050
      Likes Received:
      64
      Trophy Points:
      48
      [​IMG]

      Code:
      [B][SIZE=3][COLOR="#4898ED"]v2.33[/COLOR][/SIZE][/B]
      - Issue fixed: HEARTH and RELOAD procedure will not interfere with HB's actions anymnore
      - MOTIONLESS timer can now be adjusted
      - Some more logging information added
      - Aesthetic properties of settings menu changed
      
       
    5. marrvin

      marrvin Member

      Joined:
      Aug 26, 2012
      Messages:
      230
      Likes Received:
      15
      Trophy Points:
      18
      Thank you for the update - MOTIONLESS now adjustable - great ! I just read the tooltip :)

      Please, Please do not beat me:

      If shorter times can lead to problems with default questing profile I suggest to split the timer: "MOTIONLESS - questing" and "MOTIONLESS - other" (I am sure you can detect current botbase ;-)
      Because with GB2 or Grindbot I want to use much shorter timers, but understand that too short timers will break some forced pauses in 1-110 questing profiles.

      -- marrvin
       
    6. mh66

      mh66 Community Developer

      Joined:
      Jun 21, 2016
      Messages:
      1,050
      Likes Received:
      64
      Trophy Points:
      48
      That's a very good idea. I think I will add a setting for other botbases only. When using Quest Bot motionless timer will always be set to 5.5 minutes.
       
      marrvin likes this.
    7. mh66

      mh66 Community Developer

      Joined:
      Jun 21, 2016
      Messages:
      1,050
      Likes Received:
      64
      Trophy Points:
      48
      [​IMG]

      Code:
      [B][SIZE=3][COLOR="#4898ED"]v2.36[/COLOR][/SIZE][/B]
      - Issue fixed: ZoneId/MapId should now be correct after reloading profile
      - MOTIONLESS timer can now be adjusted for all profiles/botbases except "Questing Profile Pack" shipped with HB or from store
      - Settings are now saved in HB's "Settings" directory. Your settings will reset to default.
      
       
      Last edited: Oct 21, 2016
    8. marrvin

      marrvin Member

      Joined:
      Aug 26, 2012
      Messages:
      230
      Likes Received:
      15
      Trophy Points:
      18
      thank you for the update.
      Unfortunately I ALWAYS use the questing profile from Echo's SVN (as it is updated more frequently). So maybe your first idea (fixed timer if botbase = questing) is better :D

      OR maybe a diffenrent solution: if the string "quest" is in the profile path/name, both local path or store path .

      Thank you for considering :)

      -- marrvin
       
    9. mh66

      mh66 Community Developer

      Joined:
      Jun 21, 2016
      Messages:
      1,050
      Likes Received:
      64
      Trophy Points:
      48
      You could overwrite default questing profiles shipped with HB with the ones from echo's svn (same directory). This will solve this issue

      Support for Questing Pack from BuddyStore will be added in next release; just a few minutes ago, I had the same idea. :)
       
    10. marrvin

      marrvin Member

      Joined:
      Aug 26, 2012
      Messages:
      230
      Likes Received:
      15
      Trophy Points:
      18
      Thank you for this advise ! :)

      Now I got another problem: I still get stuck forever inside caves etc.

      KOM obviously does not check if "Flight Master's Whistle" is usable (i.e. it does not work if toon is indoors)
      Unfortunatley it will not "skip" its useage , and will not use alternate hearthings. :rolleyes:


      FYI; My stetting is as follow:

      Use Dalaran HS: NO
      Use Whistle: YES
      Use Garroson HS: NO
      Use HS: YES
      stop after hearth: no
      stop instead hearth: no


      -- marrvin
       
    11. mh66

      mh66 Community Developer

      Joined:
      Jun 21, 2016
      Messages:
      1,050
      Likes Received:
      64
      Trophy Points:
      48
      Thank you for letting me know. I am working on some minor improvements and will add this one to my list.

      For solving this issue, please change this line:

      PHP:
      if (whistle != null && Me.CurrentMap.ExpansionId == && Me.MapId != 1014 && Me.MapId != 1021) {
      into this

      PHP:
      if (whistle != null && Me.CurrentMap.ExpansionId == && Me.MapId != 1014 && Me.MapId != 1021 && whistle.Usable) {
      (Note: This line occurs 2 times. At line 444 and 480)

      As I don't have bough legion yet, I cannot test it. Please let me know if
      PHP:
      whistle.Usable
      will solve it.
       
      Last edited: Oct 26, 2016
    12. marrvin

      marrvin Member

      Joined:
      Aug 26, 2012
      Messages:
      230
      Likes Received:
      15
      Trophy Points:
      18
      thank you or your code! will test it ASAP !!
       
    13. mh66

      mh66 Community Developer

      Joined:
      Jun 21, 2016
      Messages:
      1,050
      Likes Received:
      64
      Trophy Points:
      48
      Would be kind, if you could do this:

      Change this line

      PHP:
      if (hearth && !Me.Combat) {
      into this

      PHP:
      if (true) {
      ,place your char inside a cave and start HB. This will force KoM to run hearth procedure immediately without being stuck/motionless. If
      PHP:
      whistle.Usable
      works, your char should use hearthstone.

      Let me know which one works. :)
       
      Last edited: Oct 26, 2016
    14. mh66

      mh66 Community Developer

      Joined:
      Jun 21, 2016
      Messages:
      1,050
      Likes Received:
      64
      Trophy Points:
      48
      [​IMG]

      Code:
      [B][SIZE=3][COLOR="#4898ED"]v2.44[/COLOR][/SIZE][/B]
      - Issue fixed: If char is standing in something that will prevent hearth cast (like fire), he will step aside
      - Issue fixed: Hearthing back to OG/SW with level 85 now works
      - Issue fixed: Before using "Flight Master Whistle" [B][COLOR="#4898ED"]⌠ KoM ⌡[/COLOR][/B] will now check if it's usable
      - Feature added: [B][COLOR="#4898ED"]⌠ KoM ⌡[/COLOR][/B] will now learn "Artisan"- (280%) and "Master Riding" (310%)
      - Settings GUI got a little re-organisation
      - Some more logging information added
      - Some aesthetic properties changed when logging to HB's window
      - "Questing Profile Pack" from Buddy Store now supported
      
       
    15. marrvin

      marrvin Member

      Joined:
      Aug 26, 2012
      Messages:
      230
      Likes Received:
      15
      Trophy Points:
      18
      hi mh66

      couldn't test your code from yesterday due to patch 7.1
      I am now back to botting and will test your newest version :) especially the cave stuck.
       
    16. mh66

      mh66 Community Developer

      Joined:
      Jun 21, 2016
      Messages:
      1,050
      Likes Received:
      64
      Trophy Points:
      48
      [​IMG]

      Code:
      [B][SIZE=3][COLOR="#4898ED"]v2.46[/COLOR][/SIZE][/B]
      - Seems like HB3 has trouble picking up a quest, when another quest frame is already opened (e.g. from auto-accept quests) and stops. [B][COLOR="#4898ED"]⌠ KoM ⌡[/COLOR][/B] will close all quest frames, so you can continue questing. Note: "Infinite Mode" has to activated, so [B][COLOR="#4898ED"]⌠ KoM ⌡[/COLOR][/B] will start HB again after it has stopped.)
      - Some more logging information added
      
       
    17. mh66

      mh66 Community Developer

      Joined:
      Jun 21, 2016
      Messages:
      1,050
      Likes Received:
      64
      Trophy Points:
      48
      [​IMG]

      Code:
      [B][SIZE=3][COLOR="#4898ED"]v2.47[/COLOR][/SIZE][/B]
      - Issue fixed: QuestFrame should now be correctly deteced
      
       
    18. marrvin

      marrvin Member

      Joined:
      Aug 26, 2012
      Messages:
      230
      Likes Received:
      15
      Trophy Points:
      18
      hi mh66,

      I could now witness an unstuck inside a cave: here is my result of the "usable" check of flight master whistle:

      it...worked! ... centuries past ..... slowly..it...changed us.... :)

      thank you! that plugin is getting better and better!

      -- marrvin
       
    19. crashik

      crashik New Member

      Joined:
      Aug 17, 2011
      Messages:
      25
      Likes Received:
      0
      Trophy Points:
      1
      now when run HB with this plugin in dungeon/raid, it was stop responding whith this message. Failed to create an instance of KeepOnMoving.KeepOnMoving
      Code:
      [16:00:25.085 N] Failed to create an instance of KeepOnMoving.KeepOnMoving
      [16:00:25.094 D] System.Reflection.TargetInvocationException: Адресат вызова создал исключение. ---> System.TypeInitializationException: Инициализатор типа "KeepOnMoving.KeepOnMoving" выдал исключение. ---> System.ArgumentException: Lua code failed to run! Status: ErrRun
      Имя параметра: lua
         в Styx.WoWInternals.Lua.GetReturnValues(String lua, String scriptName)
         в Styx.WoWInternals.Lua.GetReturnVal[T](String lua, UInt32 retVal)
         в KeepOnMoving.KeepOnMoving..cctor() в C:\Users\Roman\Desktop\HBBetta\Plugins\KeepOnMoving\KeepOnMoving.cs:строка 76
         --- Конец трассировки внутреннего стека исключений ---
         в KeepOnMoving.KeepOnMoving..ctor()
         --- Конец трассировки внутреннего стека исключений ---
         в System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean publicOnly, Boolean noCheck, Boolean& canBeCached, RuntimeMethodHandleInternal& ctor, Boolean& bNeedSecurityCheck)
         в System.RuntimeType.CreateInstanceSlow(Boolean publicOnly, Boolean skipCheckThis, Boolean fillCache, StackCrawlMark& stackMark)
         в System.RuntimeType.CreateInstanceDefaultCtor(Boolean publicOnly, Boolean skipCheckThis, Boolean fillCache, StackCrawlMark& stackMark)
         в System.Activator.CreateInstance(Type type, Boolean nonPublic)
         в Styx.Common.TypeLoader`1.‪‬​‪‪****‪*‪‫*‫*​‎‬‫‏*‫‪**‪**(Assembly[] )
         в Styx.Common.TypeLoader`1.Reload()
         в Styx.Common.AssemblyLoader`1.*‬‬*‫‪‎‏*‫‏‏**​‏​‫‪‪​​*‏‬‏​*‬**(IEnumerable`1 )
         в Styx.Common.AssemblyLoader`1.CreateInstances()
         в Styx.Plugins.PluginManager.(vj\,#aZSPA%8\.\&x2^$f9HXY;$.MoveNext()
      --- Конец трассировка стека из предыдущего расположения, где возникло исключение ---
         в System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
         в System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
         в MweQ\]4@=4E{X$/-\&$>gL)2;~).hUa_KNo@O!4akx_`y#I\*8X(r".x\*8vX G!g2etBua- Z!Z>7LO'.;ewccs8R\.Ql"M)nnGME9ek7\,".MoveNext()
      --- Конец трассировка стека из предыдущего расположения, где возникло исключение ---
         в System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
         в Cut?25iC\[TY5chzGVbl@C P\&%._D)/}e/\*geM/VAhJgV\.5;ygG.K`:(3MR@A$"oc=3z)`\&DI$OB\..MoveNext()
      --- Конец трассировка стека из предыдущего расположения, где возникло исключение ---
         в System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
         в System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
         в Honorbuddy.MainWindow.xG)6$U7pRD\*arL0P$a0!JClD).MoveNext()
      --- Конец трассировка стека из предыдущего расположения, где возникло исключение ---
         в System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
         в System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
         в System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task task)
         в Honorbuddy.MainWindow.Vu5xFFdW`\\'-$v6qr'_~^GJc".MoveNext()
      
       
    20. mh66

      mh66 Community Developer

      Joined:
      Jun 21, 2016
      Messages:
      1,050
      Likes Received:
      64
      Trophy Points:
      48

      Did you recompile while running HB? Closing and restarting HB should solve this.
       

    Share This Page