What's new
  • Visit Rebornbuddy
  • Visit Panda Profiles
  • Visit LLamamMagic
  • Visit Resources
  • Visit Downloads
  • Visit Portal

Stuck detection error

krzys

Member
Joined
Jul 23, 2012
Messages
124
Reaction score
1
Sometimes when stuck, stuckdetection gives me this error, any idea whats wrong ?

Code:
Exception during plugin Tick.System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index
   at System.ThrowHelper.ThrowArgumentOutOfRangeException()
   at System.Collections.Generic.List`1.get_Item(Int32 index)
   at StuckDetection.StuckDetection.Tick() in c:\Users\botuuufds\Desktop\ebe 2.0\Plugins\StuckDetection\StuckDetection.cs:line 181
   at Loki.Bot.PluginManager.*‬‪*‏‪*‬*‪*‪*‏‬‪‬​‫‏***‎*‬**​*(IPlugin )
 
Sometimes when stuck, stuckdetection gives me this error, any idea whats wrong ?

Code:
Exception during plugin Tick.System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index
   at System.ThrowHelper.ThrowArgumentOutOfRangeException()
   at System.Collections.Generic.List`1.get_Item(Int32 index)
   at StuckDetection.StuckDetection.Tick() in c:\Users\botuuufds\Desktop\ebe 2.0\Plugins\StuckDetection\StuckDetection.cs:line 181
   at Loki.Bot.PluginManager.*‬‪*‏‪*‬*‪*‪*‏‬‪‬​‫‏***‎*‬**​*(IPlugin )
Did you modify the code for the plugin?
Open Notepad or notepad++
Prss Ctrl+G, enter 181
Paste me what it says.
 
as far as i remember i didnt touch stuckdetection plugin , only some setting like min bounds 20 instead of 60, postreshhold 2 instead of 3, etc

line 181

Code:
                        if (_bounds[0].X < xBoundsThreshold && _bounds[1].X < xBoundsThreshold &&
 
Last edited:
ya ok In your stuck detection settings, what did you set the bound to? It can't be a negative or empty value
 
here are the settings
99m.jpg
 
here are the settings
99m.jpg
Hum that's weird, I'll run like 10 bots with that setting and see if I get the same issue.
Are you using the "Leave Frame" option, under OldGrindBot? I believe.
Also, Lockstep, or Predictive and Low Fps?
 
I have noticed this only once, its possible that after 20min bot just exit to title screen and thats why i dont see it stuck just going strong, also i think this error doesnt always happen
Im running default settings in OldRoutine and OldGrindbot,
Leave frame=not enabled
Lockstep mode
Low fps and im not using any lowfpshelpers, just lowest settings+common vm settings
I think that i didint have this error before, im 100% sure i didnt have it before 2.0, maybe something messed with files after updates or smth, sometimes shit happens, i would have to try fresh copy
Also im not sure how MaxTimesInInstance work, for example its set to 20min
after 20min it triggers stuckdetectionmethod=logOutToTitle, re-enter map (im using maprunner ofc) , and counts again from 0 to 20 ?
also im not sure about my settings, but with default if my char is stuck, its trying to unstuck way too long, i would like to trigger StuckDetectionMethod faster
Adding option to enter to portal and re-enter map, instead of relog would be very nice, it could help with map times

I imagine something like this:
stuckdetectionmethod=re-enter map
maxTimeInInstance=10min
low possition treshholds

so if ur doing map for 10min, bot will just re-enter map, nothing should happens, u will just loose 1 portal
if you are killing boss too long ( long i mean like 7-10sec fights) u re-enter map = nothing bad should happens too, u will use 1 portal and refill ur flasks (there are some immortal shitmobs in warbands league, i dunno exacly how do they work but my bots already met them ;p )
But if you are pernamently stuck, with fast detection trigger, bot re-enters map until u have no portals left = so it will open new map, instead of relogging and running from start

also with so much map drop, nice option to have would be for example
stuckdetectionmethod=create new map
so i would be able to set time in instace for like 10min, after 10min=portal, new map, even if stucked or not, even with 70% map cleared
this would help with running maps back and forth, wasting time not killing mobs, which happens sometimes also

just my 5 cents...;p
 
Last edited:
Back
Top