• Visit Rebornbuddy
  • Visit Panda Profiles
  • Visit LLamamMagic
  • [Stuck]Pluging

    Discussion in 'Plugins' started by dark wolf, Apr 30, 2015.

    1. dark wolf

      dark wolf New Member

      Joined:
      Mar 11, 2015
      Messages:
      95
      Likes Received:
      2
      Trophy Points:
      0
      Hi,
      You are right you could end up in an infinite loop.
      Ther issue with this plugin is that depending on the scenario you are using it a different approach would be maybe needed.
      And it will be nearly impossible to fit all. But I am currently developing the nex version which will try to take this stuff into account
       
    2. Sincerely

      Sincerely Member

      Joined:
      Mar 30, 2014
      Messages:
      473
      Likes Received:
      0
      Trophy Points:
      16
      so if it dosent get stuck in a loop will it continue with the profile that was loaded i think i read yes but i wanna be sure
       
    3. dark wolf

      dark wolf New Member

      Joined:
      Mar 11, 2015
      Messages:
      95
      Likes Received:
      2
      Trophy Points:
      0
      Depends on the profile.
      If the profile can handle a teleport to the nearest Arethyte then yes.
       
    4. Cloud30000

      Cloud30000 New Member

      Joined:
      May 9, 2015
      Messages:
      298
      Likes Received:
      7
      Trophy Points:
      0
      I have some suggestions for options to add to make it a bit more customizable to the situation:

      Teleport after [x] stucks with less then [y] seconds between them: User can choose the time period before the stuck counter resets after not detecting a stuck, and the amount of consecutive stucks within that time period before attempting to teleport

      Stop bot after [x] failed teleports: This is a user selectable backup if teleporting fails for any reason, such as combat of unable to dismount to stop the bot from infinitely running/jumping in stuck position

      Stop bot after teleport [true/false]: To allow the user to decide if they want to shut down after a teleport or not

      Stop bot after [x] teleports within [y] seconds: User selectable to prevent an infinite teleport loop

      I can provide suedocode for these as well if you like
       
    5. Cloud30000

      Cloud30000 New Member

      Joined:
      May 9, 2015
      Messages:
      298
      Likes Received:
      7
      Trophy Points:
      0
      I see a number of "System.IO.File.AppendAllText(@"I:\reborn\stuck.txt", "Second indication that we are stuck now lets take actions");"

      Are you using static file locations? These may not play well on systems with no 'I' drive. Try system defined variable names, like "<Documents>\reborn\stuck.txt" or similar with correct write permissions.
       
    6. dark wolf

      dark wolf New Member

      Joined:
      Mar 11, 2015
      Messages:
      95
      Likes Received:
      2
      Trophy Points:
      0
      that was in a very old first version in. And removed about a month ago. Are you sure you have the right version?
       
    7. dark wolf

      dark wolf New Member

      Joined:
      Mar 11, 2015
      Messages:
      95
      Likes Received:
      2
      Trophy Points:
      0
      Thanks for the input. I will add it to the next version. If you want to extend it yourself. Also fine. But plz pm me the your version that i can up it at the 1st page. Of course with credit to you.
       
    8. Cloud30000

      Cloud30000 New Member

      Joined:
      May 9, 2015
      Messages:
      298
      Likes Received:
      7
      Trophy Points:
      0
      I'm not sure; looking at the naming convention, I thought the stuck.zip was the first (unversioned) attempt, with the next being stuckv0.1.2 and the most recent being stuckv0.1.4. Which one is actually stuckv1.0.0?

      I'll start looking into expanding it; unfortunately, I don't have the resharper license yet, so my Visual Studio IDE isn't autolinking the class properties correctly, which is making manually searching every class and it's inheritance take a substantial amount of time.
       
    9. Nesbes

      Nesbes New Member

      Joined:
      May 15, 2015
      Messages:
      16
      Likes Received:
      0
      Trophy Points:
      1
      Hi dark.
      So i thought i can make your plugin workin by myself but it seems i cant :p.
      I reinstalled your plugin. Old Version gone. 1.5v added.
      Everytime it trys to take actions there is an error on Line 92 or Line 116 (mostly 92)
      Log below.

      For me its obvious that (System.IO.File.AppendAllText(@"I:\reborn\stuck.txt) at Line 92 is the problem.

      So i made a new txt file located at D:\reborn\stuck.txt and changed it.
      The error above is gone but the plugin still dont want to take actions.
      The log is below and its endless but i shortened a bit.
      Same errors with eng client. so thats not the problem. (because its a non eng log)

      Default (with I:\reborn\stuck.txt in stuck.cs)
      View attachment 6860 2015-06-09 17.53.txt

      Changed (with D:\reborn\stuck.txt in stuck.cs) (doesnt take actions)
      View attachment 5520 2015-06-09 21.31.txt

      So its just spamming
      [19:22:57.435 N] First Indication for Stuck
      [19:22:57.489 N] Reseting stuckwatch after 3
      [19:22:57.489 N] Update location Stage 0

      now/than. Maybe its just a settings problem but i tried so much. Iam out of ideas :)

      Any help would be nice :)
       
      Last edited: Jun 9, 2015
    10. dark wolf

      dark wolf New Member

      Joined:
      Mar 11, 2015
      Messages:
      95
      Likes Received:
      2
      Trophy Points:
      0
      Thanks
      So the missing file was my bad. just uploaded a new version.
      I used it for debugging. So this problem is gone.

      The second part is a setting issue. You shoud set the reset counter to something like 60 seconds.
      With a setting that low you will reset all stuck indications within 3 seconds. Giving that the stage 2 takes around 10 -15 seconds to verify that we are stuck three is too low.
      I will soon update the first page adding this information.
       
    11. Nesbes

      Nesbes New Member

      Joined:
      May 15, 2015
      Messages:
      16
      Likes Received:
      0
      Trophy Points:
      1
      Oh this sounds good :) Thank you for your fast help. English isnt my language so i didnt fully understood the stuck settings. It was set to "0" by default so i thought 0 = Default setting :)
      If you update the first page and add some/these explaination/s about the settings would be great :p


      Edit: Plugin working like a BOSS now!
      Big thx again for this and Patrol :)
       
      Last edited: Jun 9, 2015
    12. Nesbes

      Nesbes New Member

      Joined:
      May 15, 2015
      Messages:
      16
      Likes Received:
      0
      Trophy Points:
      1
      Not working anymore
       

      Attached Files:

      Last edited: Dec 29, 2015
    13. scorpinot

      scorpinot Member

      Joined:
      Oct 1, 2014
      Messages:
      133
      Likes Received:
      1
      Trophy Points:
      18
      Anyone run this with the 1-50 questing profile? How'd it go?
       
    14. shadowrukia

      shadowrukia New Member

      Joined:
      Apr 18, 2014
      Messages:
      193
      Likes Received:
      0
      Trophy Points:
      0
      DIdnt work for me
       
    15. dark wolf

      dark wolf New Member

      Joined:
      Mar 11, 2015
      Messages:
      95
      Likes Received:
      2
      Trophy Points:
      0
      you get stuck in the quest profile? this should not happen.
       
    16. dark wolf

      dark wolf New Member

      Joined:
      Mar 11, 2015
      Messages:
      95
      Likes Received:
      2
      Trophy Points:
      0
      please let me know the details.thx
       

    Share This Page