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
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
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
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.
that was in a very old first version in. And removed about a month ago. Are you sure you have the right version?
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.
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.
Hi dark. So i thought i can make your plugin workin by myself but it seems i cant . 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
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.
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 Edit: Plugin working like a BOSS now! Big thx again for this and Patrol