Open Zeddy20 opened 4 years ago
Checked on bots today, d2bot was all kinds of messed up. Got this error after d2bot crashed:
See the end of this message for details on invoking just-in-time (JIT) debugging instead of this dialog box.
** Exception Text ** System.IndexOutOfRangeException: Index was outside the bounds of the array. at D2Bot.D2Profile.Stop() at D2Bot.Main.Main_Close(Object sender, FormClosingEventArgs e) at System.Windows.Forms.Form.OnFormClosing(FormClosingEventArgs e) at System.Windows.Forms.Form.WmClose(Message& m) at System.Windows.Forms.Form.WndProc(Message& m) at D2Bot.Main.WndProc(Message& m) at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m) at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m) at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
** JIT Debugging ** To enable just-in-time (JIT) debugging, the .config file for this application or computer (machine.config) must have the jitDebugging value set in the system.windows.forms section. The application must also be compiled with debugging enabled.
For example:
When JIT debugging is enabled, any unhandled exception will be sent to the JIT debugger registered on the computer rather than be handled by this dialog box.
This seems to only be happening after bots have been running for a while already. I've seen it happen as soon as 5 days and most recently as late as 3 weeks. Only seems to happen at all when running more than 10 bots or so. Might be caused by running a handful of bots with schedules as that's the only thing out of the ordinary that I'm doing. I've compiled some notes below.
Bots get stuck with "running" status while no game.exe is running. Appears to happen after a crash followed by index was outside the bounds of the array error 1 second later.
both kinds of crashes: unexpectedly exited or d2bs not responding followed by index was outside the bounds of the array
trying to edit profile while stuck running says error in parsing editor, check inputs
-w -sleepy -lq -ftj starts hidden, 10s response time 100ms load delay
crashes happen without index array error happening too array error happens without getting stuck (mule profiles)
latest kolbot with no special scripts
clicking show/stop causes d2botsharp crash without any error