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

[Standalone] DB Guard Crash detection and Relog

sfrattini

Member
Joined
Oct 4, 2012
Messages
220
Reaction score
4
****ATTENTION****
I am not supporting this addon anymore, thanks to whoever enjoyed it.



DBeye.webp DBGuard Single Bot version
Crash Detection and relog
Current Version 1.140


Hello everybody.

I would like to share with you my personal crash detection and relog tool that I have been successfully using in the last few weeks: DBguard.
I was kind of tired of continous crashes, logout, disconnections etc.. and I have been trying several other plugins, but for some reason (either too complex or too invasive) I discarded them and decided to build my own, much more direct and intuitive.

DBguard is an AFK Pixel Crash detection based on a very simple criteria: it does verify the checksum of a pixel in a specific position of your Diablo 3 screen (more or less near the town portal icon) until it changes.
If it times out (user selectable option), it closes D3, restarts it, logs in and restarts DB.

All of this completely configurable via graphic interface.
dbguard.webp


Main Features

  • No matter what happens (disconnections, application crash, DB logout etc..), if your bot stops the tool will detect it and take actions.
  • Automatic restart and login
  • Customizable parameters and selection of profile and combat routine
  • Uses extremely minimal CPU time (<1% on my i5)
  • Screenshot and log generation, stats on crashes.
  • 64 Bit encryption for logins, password and DB key
  • Giles Stat Inspection window


Limitations

  • DBguard works only with 1 Diablo instance, no multiclient is supported
  • Currently supports only window mode 800x600 resolution, will try to extend this in the future.
  • This is a pixel detection based tool so you need to be AFK or use a 2 monitor solution if u want to use ur PC while running dbguard (but I don't see the point of doint it..)


Installation

  1. Unzip anywhere u like
  2. Disable any monitor sleep mode if enabled (this is important when doing pixel bot).
  3. Launch DBguard
  4. Configure all the 3 menu options: Diablo 3 settings, DemonBuddy settings and DBguard settings. The interface is very intuitive, anyway I will add later here a small guide.
  5. Start DBguard monitor.
    The app will check if you entered all the details, then go to verify if D3 and DB are running and eventually start them.

    A few important notes:
    Make sure D3 is in window mode, DBguard will reset it at 800x600 size and position it on the top left of your screen (position 1,1).
    So your screen should look something like this:

    screen_sample.webp

Safety

DBguard has been realized with a software automation engine called "Macro Scheduler" (Automate Windows with Macro Scheduler - Windows automation tools and automation software - Computer automation for businesses and homes - Windows macro recorder and scripting tools for Win9x/NT/ME/2000/XP/Vista/Win7).
The code is released here for proving that the passwords handling is totally safe. You can copy and paste the code in the engine and run it there if u don't feel confortable using the exe (the only difference is the key for the generation of the password which I had to mask).

I hope u enjoy it, plese let me know your feedback I will be happy to support it as much as I can!


Source code and application

[24.10] Ver 1.120
- Fixed an issue with resizing D3 Window
[27.10] Ver 1.130
- Changed the subroutine that starts DB, should fix the error some of u get (need feedback!)
- Now it is possible to stop DBguard when in countdown restart apps

[30.11] Ver 1.140
// Removed Confirmation for starting apps
// fixed forced restart on DB if dbguard is stopped
// fixed a reference error when restarting apps
// Added a Giles Stats inspection window, please link to your giles stats in the dbsettings menu


 

Attachments

Last edited:
sounds really great, thanks for ur work! will test it ASAP :D
 
@thunderdogz
thanks for session key (edit it, loal).


to author - would not it be MUCH more easy and effective, not to detect screen pixel, but to make plugin for DB that will sync with you program using mutex or anything else.
also - how it will affect your DB guard if screen resolution will change? this happens when i remotly connect to PC. and what API that software uses to when entering login information? SendMessage?
 
Last edited:
Thanks for spotting that. Didn't realise it cos I was rushing off to work while posting it. What a blunder.
 
btw, anyone manage to get this setup and running? I can't seem to get it to be able to load DB after logging into D3. It crashed after that.
 
btw, anyone manage to get this setup and running? I can't seem to get it to be able to load DB after logging into D3. It crashed after that.

Did you setup the DB parameters correctly? Send me a PM with your settings (remove the key) and I try to replicate it.
 
@thunderdogz
thanks for session key (edit it, loal).


to author - would not it be MUCH more easy and effective, not to detect screen pixel, but to make plugin for DB that will sync with you program using mutex or anything else.
also - how it will affect your DB guard if screen resolution will change? this happens when i remotly connect to PC. and what API that software uses to when entering login information? SendMessage?

If your remote desktop program changes the remote screen size then yes, u have a problem. I usually do teamviewer which does just scale the output, not the screen and it works just fine.
Regarding your first suggestion, if DB crashes in that case I would not be able to recover it..
 
If your remote desktop program changes the remote screen size then yes, u have a problem. I usually do teamviewer which does just scale the output, not the screen and it works just fine.
Regarding your first suggestion, if DB crashes in that case I would not be able to recover it..
why? if DB crashes - plugin stops working and updating sync information, if information is not updating for too long -> kill db and diablo3 and restart it like D3Guard do, the idea is totally the same except - not using pixel detection and use selfmade DB plugin to detect crashes/stucks/dc/etc. dont you think that will make D3Guard much more flexible and multi-client compatable.
 
it will be great if you're able to provide a simple guide as to how to set it up. It seems that with the default setting, the program will reset D3 and DB if the character is trying to get unstuck in the current location (spotted it when i was testing it out).
 
it will be great if you're able to provide a simple guide as to how to set it up. It seems that with the default setting, the program will reset D3 and DB if the character is trying to get unstuck in the current location (spotted it when i was testing it out).

Sure, will try to add something later today.
 
I have added a small manual, hope it helps.
Please let me know if this works for you.
 
I start the program but it closes/crashes immediately (an icon appears in systray for like 0.1 seconds then gone).

Running Windows 7 x64.
 
I start the program but it closes/crashes immediately (an icon appears in systray for like 0.1 seconds then gone).

Running Windows 7 x64.

This is strange. Are you running any virtual machine? Anyone else having the same issue?
 
ehh..how to send u the screenshot and config file? new to here..

I did PM you.

Anyone using DBguard with no problems? Let me know your feedback it is helpful for me to correct errors or add functions for next releases.

Thanks!
 
Back
Top