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

[StandAlone] Demonbuddy Crash Checker

sinterlkaas

New Member
Joined
Jan 17, 2012
Messages
536
Reaction score
14
Demonbuddy Crash Checker
with BuddyAuth session killer

What is this?
This is a simple console application that will search for Demonbuddy windows. They will be added to the checklist and will be monitored. When Demonbuddy is frozen CrashChecker will kill that application and find the BuddyAuth session and kill it or when Demonbuddy crashed / closed it will check if the BuddyAuth session needs to be killed.

Screenshot
CrashChecker Screenshot.webp

Reason
I am using this in combination with my AntiIdle plugin because a plugin can not detect if Demonbuddy itself is frozen and when DB crashed it does not close the session in buddyauth ..

Features
  • Demonbuddy Freeze/Crash detection
  • BuddyAuth session killer

Installation / Usage
  1. Download
  2. Extract
  3. Edit config
  4. Start Crash Checker
  5. Start Demonbuddy



Changelog

Version: 1.2.1
Bugfix: Session killer will now match the correct crashed demonbuddy on buddyauth
Bugfix: TimeDifference setting in config file did not work


Version: 1.2
Bugfix: Finds real demonbuddy windows (not every window that starts with demonbuddy)
Added: Buddyauth session killer
Added: Configuration file


Version: 1.1
Added: P/Invoke SendMessageTimeout to check if Demonbuddy is frozen
Added: Shows monitored Demonbuddy count in title bar

Version: 1.0
Initial release with a very basic way to check if Demonbuddy is frozen



Download
Version 1.2.1
Application: View attachment Demonbuddy CrashChecker [v1.2.1].zip
Source: View attachment Demonbuddy CrashChecker [v1.2.1] - Source.zip


Credits
Kane49: For his example on BuddyAuth session killer in DRelog
 
Last edited:
Hi mate,

Nice~! Can I check what sort of freeze your program handles? Is it able to handle multiple instances of DB?

Cheers!
 
yes it handles multiple instances
it is just checking if it is responding most likely the same way you deal with it in your batch file

If I find more reliable ways to check this I will add them..
thinking about sending a message to demonbuddy to check if it is responding .. if not assume it is dead
 
Last edited:
Update:
Version: 1.1
Added: P/Invoke SendMessageTimeout to check if Demonbuddy is frozen
Added: Shows monitored Demonbuddy count in title bar
 
yes it handles multiple instances
it is just checking if it is responding most likely the same way you deal with it in your batch file

If I find more reliable ways to check this I will add them..
thinking about sending a message to demonbuddy to check if it is responding .. if not assume it is dead

Great! I'll try it out later tonite! :) thanx man!
 
It might be a stupid question, but does it restart demonbuddy when it has detected a crash ?
 
It might be a stupid question, but does it restart demonbuddy when it has detected a crash ?

Nope it is not a relogger. It is more a helper to be sure DB is not frozen and to kill any forgotten session in buddyauth :)
I am using ARelog for this but any other relogger would work I guess ..
 
Nope it is not a relogger. It is more a helper to be sure DB is not frozen and to kill any forgotten session in buddyauth :)
I am using ARelog for this but any other relogger would work I guess ..
Ok, thanks for the clarification :-).
 
''edit config file'' Why do I have to input username password of demonbuddy??
Just wanting to have this as a standalone crash checker but not sure what I have to edit to make it work.

Thanks in advance:)
 
"no matching log file found"

it's keep saying this. is this normal.

but everthing is working fine except it's cant kill session

i already edit config
 
New update

Version: 1.2.1

Bugfix: Session killer will now match the correct crashed demonbuddy on buddyauth
Bugfix: TimeDifference setting in config file did not work
 
Hi guyz, I'm trying to launch demonbuddy, but it crashes, so I downloaded crashchecker, and when I try starting it, it doesn't do anything.
As far as I can see it probably depends on me not inserting Buddyauth username and password in the right spot.
Could you please tell me what's the exact point where to write down these two data?
Thank you.
 
Thanks for your great work!
I'm actually using my own checker which is not complex as yours.
here is some idea in my work that you may want to consider implement in recently laggy server situation.
<quote>
1, Session is invalid!, which will cause DB stop, you can just close it if this log happen
2, Exception's number is beyond half of the lines(drop the trace)
3, Generated path or other error loop for many times, usually it's the profile fail to switch.
</quote>
 
For some reason this is not detecting when DB starts up... I'm using ARelog to start Diablo 3 and DB.
 
could u write a plugin that detects when the game connection got lost and kills the db process when this happens?

was trying to use arelog. sometimes my i-net connection gets lost and arelog tries to relog when the connection is not back yet and gets stuck?.when i kill the db process arelog detects it and starts d3 and db new...

so if i had an plugin which kills my db process after dc arelog would do the rest?would be really awesome
could u write a plugin that detects when the game connection got lost and kills the db process when this happens?



perhaps u can help me or anyone else knows a solution...
 
I dont know if I'm doing something wrong but I followed the directions on the 1st page. After launching DB & D3 my Crash Checker says :

[10/23/2012 4:41:41 AM] - ProcessId: 7628
[10/23/2012 4:41:41 AM] - ProcessName: Demonbuddy
[10/23/2012 4:41:41 AM] - WindowTitle: Demonbuddy - BE
[10/23/2012 4:41:41 AM] ******************************
[10/23/2012 4:41:41 AM] <7628> No matching log file found yet. Waiting 3 seconds

[10/23/2012 4:41:44 AM] <7628> No matching log file found yet. Waiting 3 seconds

[10/23/2012 4:41:47 AM] <7628> No matching log file found yet. Waiting 3 seconds

[10/23/2012 4:41:50 AM] <7628> Error: No matching log file found
[10/23/2012 4:41:50 AM] <7628> Failed to find logfile

Can u tell me what I'm doing wrong?

I'm using this with DB Auto Relogger
 
I think this plugin is working but its just not finding the log files. I tested it by closing the D3 game and my DB Auto Relogger relaunched the game and I was able to log back in without Auth Failures.
 
I have the same issue that it can't find the log. Does it need to be in a specific folder in order to find the log?
 
Last edited:
Back
Top