Plugin doenst close Client after Arelog stop client because of a pause.![]()
[17:30:34.140 N] Creating new game, Params: <Act:A1 Difficulty:Inferno Quest:72095 QuestStep:51 ResumeFromSave:True IsPrivate:True>
[17:30:58.722 N] [AntiIdle v0.6.1] We are idle
[17:30:58.722 N] [AntiIdle v0.6.1] Stop bot
[17:30:58.722 N] Stopping the bot.
[17:30:58.722 N] [AntiIdle v0.6.1] Bot Stop Detected
[17:30:58.759 N] Bot Thread Ended. Was this requested?
[17:30:59.734 N] [AntiIdle v0.6.1] ZetaDia.Me.IsValid
[17:30:59.734 N] [AntiIdle v0.6.1] Portal to town
[17:31:09.734 N] [AntiIdle v0.6.1] Restarter: System.Exception: Process must have frozen or gotten out of sync: InjectionFinishedEvent was never fired
at ..(String debugMessage)
at Zeta.Internals.Actors.DiaActivePlayer.UsePower(SNOPower power, Vector3 clickPos, Int32 worldDynamicId, Int32 targetACDGuid)
at Zeta.Internals.Actors.DiaActivePlayer.UseTownPortal()
at AntiIdle.AntiIdle.RestartGame() in c:\Users\Marcus\Desktop\Demonbuddy 1.0.648.160\Plugins\AntiIdle\AntiIdle.cs:line 615
[17:31:09.734 N] [AntiIdle v0.6.1] Something went wrong try again
[17:31:09.734 N] [AntiIdle v0.6.1] Reloading profile and starting bot
[17:31:10.037 N] Loaded profile Carguy's Ultimate Sarkoth v1.3c - 12ms
[17:31:12.335 N] Loaded profile Carguy's Ultimate Sarkoth v1.3c - 12ms
[17:31:12.337 N] [AntiIdle v0.6.1] Restarter: System.AccessViolationException: Could not read bytes from 348C80B0 [299]!
at Zeta.MemoryManagement.ExternalProcessReader.(IntPtr address, Int32 count, Boolean isRelative)
at Zeta.MemoryManagement.ExternalProcessReader.[T](IntPtr address, Boolean isRelative)
at Zeta.Internals.Actors.ACD.()
at Zeta.Internals.Actors.ACDItem.get_InventorySlot()
at Zeta.Internals.Actors.DiaActivePlayer.InventoryManager.(ACDItem i)
at System.Linq.Enumerable.FirstOrDefault[TSource](IEnumerable`1 source, Func`2 predicate)
at Zeta.Internals.Actors.DiaActivePlayer.InventoryManager.get_Coinage()
at AGB.Modules.FrontalLobe.HandleBotStart(IBot bot)
at Zeta.CommonBot.BotEvent.Invoke(IBot bot)
at Zeta.CommonBot.BotMain.Start()
at AntiIdle.AntiIdle.RestartGame() in c:\Users\Marcus\Desktop\Demonbuddy 1.0.648.160\Plugins\AntiIdle\AntiIdle.cs:line 677
[17:31:12.337 N] [AntiIdle v0.6.1] Something went wrong try again
[17:31:12.337 N] [AntiIdle v0.6.1] To many DB restart attempts
[17:31:12.337 N] [AntiIdle v0.6.1] Close DB
[17:31:12.385 N] [AntiIdle v0.6.1] System.ArgumentException: Process with an Id of 1828 is not running.
at System.Diagnostics.Process.GetProcessById(Int32 processId, String machineName)
at System.Diagnostics.Process.GetProcessById(Int32 processId)
at AntiIdle.AntiIdle.ShutdownDB(Boolean forceD3) in c:\Users\Marcus\Desktop\Demonbuddy 1.0.648.160\Plugins\AntiIdle\AntiIdle.cs:line 701
[17:31:12.886 N] [AntiIdle v0.6.1] To many AntiIdle actions done
[17:31:12.886 N] [AntiIdle v0.6.1] Close DB
[17:31:12.887 N] [AntiIdle v0.6.1] System.ArgumentException: Process with an Id of 1828 is not running.
at System.Diagnostics.Process.GetProcessById(Int32 processId, String machineName)
at System.Diagnostics.Process.GetProcessById(Int32 processId)
at AntiIdle.AntiIdle.ShutdownDB(Boolean forceD3) in c:\Users\Marcus\Desktop\Demonbuddy 1.0.648.160\Plugins\AntiIdle\AntiIdle.cs:line 701
[17:31:12.887 N] [AntiIdle v0.6.1] Thread closed
what does this mean?
im getting this quite often
DB: 160
Plugins, profile: AGB, Antiidle
[17:10:18.058 N] [AntiIdle v0.6.1] OnPulse: System.NullReferenceException: Object reference not set to an instance of an object.
at AntiIdle.AntiIdle.OnPulse() in c:\Users\Marcus\Desktop\Demonbuddy 1.0.648.160\Plugins\AntiIdle\AntiIdle.cs:line 220
what does this mean?
im getting this quite often
DB: 160
Plugins, profile: AGB, Antiidle
[17:10:18.058 N] [AntiIdle v0.6.1] OnPulse: System.NullReferenceException: Object reference not set to an instance of an object.
at AntiIdle.AntiIdle.OnPulse() in c:\Users\Marcus\Desktop\Demonbuddy 1.0.648.160\Plugins\AntiIdle\AntiIdle.cs:line 220
Can you tell me more details? how does ARelog pause DB ? ?
also, i have the problem when Diablo crashed, the Diablo windows is closed but the DB was not.
ARelog reopen the Diablo windows and then doing nothing, I assume it stopped because the DB bot is still there and it could not open another one
Code:[17:30:34.140 N] Creating new game, Params: <Act:A1 Difficulty:Inferno Quest:72095 QuestStep:51 ResumeFromSave:True IsPrivate:True> [17:30:58.722 N] [AntiIdle v0.6.1] We are idle [17:30:58.722 N] [AntiIdle v0.6.1] Stop bot [17:30:58.722 N] Stopping the bot. [17:30:58.722 N] [AntiIdle v0.6.1] Bot Stop Detected [17:30:58.759 N] Bot Thread Ended. Was this requested? [17:30:59.734 N] [AntiIdle v0.6.1] ZetaDia.Me.IsValid [17:30:59.734 N] [AntiIdle v0.6.1] Portal to town [17:31:09.734 N] [AntiIdle v0.6.1] Restarter: System.Exception: Process must have frozen or gotten out of sync: InjectionFinishedEvent was never fired at ..(String debugMessage) at Zeta.Internals.Actors.DiaActivePlayer.UsePower(SNOPower power, Vector3 clickPos, Int32 worldDynamicId, Int32 targetACDGuid) at Zeta.Internals.Actors.DiaActivePlayer.UseTownPortal() at AntiIdle.AntiIdle.RestartGame() in c:\Users\Marcus\Desktop\Demonbuddy 1.0.648.160\Plugins\AntiIdle\AntiIdle.cs:line 615 [17:31:09.734 N] [AntiIdle v0.6.1] Something went wrong try again [17:31:09.734 N] [AntiIdle v0.6.1] Reloading profile and starting bot [17:31:10.037 N] Loaded profile Carguy's Ultimate Sarkoth v1.3c - 12ms [17:31:12.335 N] Loaded profile Carguy's Ultimate Sarkoth v1.3c - 12ms [17:31:12.337 N] [AntiIdle v0.6.1] Restarter: System.AccessViolationException: Could not read bytes from 348C80B0 [299]! at Zeta.MemoryManagement.ExternalProcessReader.(IntPtr address, Int32 count, Boolean isRelative) at Zeta.MemoryManagement.ExternalProcessReader.[T](IntPtr address, Boolean isRelative) at Zeta.Internals.Actors.ACD.() at Zeta.Internals.Actors.ACDItem.get_InventorySlot() at Zeta.Internals.Actors.DiaActivePlayer.InventoryManager.(ACDItem i) at System.Linq.Enumerable.FirstOrDefault[TSource](IEnumerable`1 source, Func`2 predicate) at Zeta.Internals.Actors.DiaActivePlayer.InventoryManager.get_Coinage() at AGB.Modules.FrontalLobe.HandleBotStart(IBot bot) at Zeta.CommonBot.BotEvent.Invoke(IBot bot) at Zeta.CommonBot.BotMain.Start() at AntiIdle.AntiIdle.RestartGame() in c:\Users\Marcus\Desktop\Demonbuddy 1.0.648.160\Plugins\AntiIdle\AntiIdle.cs:line 677 [17:31:12.337 N] [AntiIdle v0.6.1] Something went wrong try again [17:31:12.337 N] [AntiIdle v0.6.1] To many DB restart attempts [17:31:12.337 N] [AntiIdle v0.6.1] Close DB [17:31:12.385 N] [AntiIdle v0.6.1] System.ArgumentException: Process with an Id of 1828 is not running. at System.Diagnostics.Process.GetProcessById(Int32 processId, String machineName) at System.Diagnostics.Process.GetProcessById(Int32 processId) at AntiIdle.AntiIdle.ShutdownDB(Boolean forceD3) in c:\Users\Marcus\Desktop\Demonbuddy 1.0.648.160\Plugins\AntiIdle\AntiIdle.cs:line 701 [17:31:12.886 N] [AntiIdle v0.6.1] To many AntiIdle actions done [17:31:12.886 N] [AntiIdle v0.6.1] Close DB [17:31:12.887 N] [AntiIdle v0.6.1] System.ArgumentException: Process with an Id of 1828 is not running. at System.Diagnostics.Process.GetProcessById(Int32 processId, String machineName) at System.Diagnostics.Process.GetProcessById(Int32 processId) at AntiIdle.AntiIdle.ShutdownDB(Boolean forceD3) in c:\Users\Marcus\Desktop\Demonbuddy 1.0.648.160\Plugins\AntiIdle\AntiIdle.cs:line 701 [17:31:12.887 N] [AntiIdle v0.6.1] Thread closed
I set a schedule plan for each DB Toon, After Schedule 1 are finished i set Idle for ~ 30minutes. DB logs out of D3 but let the Client open and flashing windows every time. AntiIdel doenst recognize that and doenst close client. The problem is, that ARelog cant restart D3 because the client is open
I added some more checks to detect if D3 crashed or is frozen now and testing it now. But it does not look that AntiIlde is the problem of DB not closing properly in this case ... because it tells me that my thread closed properly
[17:31:12.887 N] [AntiIdle v0.6.1] Thread closed
Ok what are you using to schedule? the 30 mins break ?
Yes f.ex.
run 2h
break 30minutes
run 1,5h
break 1,5h
run 3h
break 1,75h
loop
ARelog - Option "schedule selected"
After 1st run time, DB log out of the toon and windows idle. But on this time, after db logs out, window + db process must be close. so after the idle time, arelog see that db and d3 client are running and doenst restart that.