kolton / d2bot-with-kolbot

d2bot game manager by D3STROY3R with kolbot libs by kolton for d2bs
345 stars 334 forks source link

Bots get stuck with "running" status #2421

Open Zeddy20 opened 4 years ago

Zeddy20 commented 4 years ago

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

Zeddy20 commented 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)

** Loaded Assemblies ** mscorlib Assembly Version: 4.0.0.0 Win32 Version: 4.8.4150.0 built by: NET48REL1LAST_C CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/mscorlib.dll

D2Bot Assembly Version: 19.3.3.100 Win32 Version: 19.3.3.100 CodeBase: file:///C:/Users/Administrator/Desktop/kol/D2Bot.exe

System.Windows.Forms Assembly Version: 4.0.0.0 Win32 Version: 4.8.4150.0 built by: NET48REL1LAST_C CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll

System Assembly Version: 4.0.0.0 Win32 Version: 4.8.4001.0 built by: NET48REL1LAST_C CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll

System.Drawing Assembly Version: 4.0.0.0 Win32 Version: 4.8.3761.0 built by: NET48REL1 CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll

System.Core Assembly Version: 4.0.0.0 Win32 Version: 4.8.4121.0 built by: NET48REL1LAST_C CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll

ObjectListView Assembly Version: 2.9.1.1072 Win32 Version: 19.3.3.100 CodeBase: file:///C:/Users/Administrator/Desktop/kol/D2Bot.exe

System.Configuration Assembly Version: 4.0.0.0 Win32 Version: 4.8.3761.0 built by: NET48REL1 CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll

System.Xml Assembly Version: 4.0.0.0 Win32 Version: 4.8.3761.0 built by: NET48REL1 CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll

Newtonsoft.Json Assembly Version: 11.0.0.0 Win32 Version: 19.3.3.100 CodeBase: file:///C:/Users/Administrator/Desktop/kol/D2Bot.exe

Newtonsoft.Json Assembly Version: 11.0.0.0 Win32 Version: 19.3.3.100 CodeBase: file:///C:/Users/Administrator/Desktop/kol/D2Bot.exe

System.Numerics Assembly Version: 4.0.0.0 Win32 Version: 4.8.3761.0 built by: NET48REL1 CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Numerics/v4.0_4.0.0.0__b77a5c561934e089/System.Numerics.dll

System.Runtime.Serialization Assembly Version: 4.0.0.0 Win32 Version: 4.8.4150.0 built by: NET48REL1LAST_C CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Runtime.Serialization/v4.0_4.0.0.0__b77a5c561934e089/System.Runtime.Serialization.dll

System.Data Assembly Version: 4.0.0.0 Win32 Version: 4.8.4121.0 built by: NET48REL1LAST_C CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_32/System.Data/v4.0_4.0.0.0__b77a5c561934e089/System.Data.dll

System.Web Assembly Version: 4.0.0.0 Win32 Version: 4.8.4075.0 built by: NET48REL1LAST CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_32/System.Web/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Web.dll

Meebey.SmartIrc4net Assembly Version: 0.4.5.0 Win32 Version: 19.3.3.100 CodeBase: file:///C:/Users/Administrator/Desktop/kol/D2Bot.exe

** 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.