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

Log out Plugin after X # of hours

Impala

Member
Joined
Feb 19, 2011
Messages
363
Reaction score
0
A plugin(not stand alone relogger) to use after you open diablo and demonbuddy and already botting. This plugin will close diablo and demonbuddy after X # of hours are set
 
For every profile it has this :

<GameParams quest="101758" step="1" act="A3" resumeFromSave="False" isPrivate="True" numGames="-1" />

I believe the numGames="x" equals to how many times you want to run the profile. Now this will not log out or close both d3 or DB. I think is the closes thing your looking for.
 
I want it to close Diablo and DB after X number of hours running, after 3 hours of botting, close both
 
I want it to close Diablo and DB after X number of hours running, after 3 hours of botting, close both

use windows command.That is i am doing.;) In windows command , use "shut down -s -t XX ". xx means seconds.
 
use windows command.That is i am doing.;) In windows command , use "shut down -s -t XX ". xx means seconds.

where do you place that? under d3 shortcut? like how some people use -launch to skip battlenet??
 
  1. Open notepad
  2. Past this:
    Code:
    taskkill /F /IM "Diablo III.exe"
  3. Save it as a .bat file
    1. example C:\killDiablo.bat
  4. Open Task Scheduler
    1. New basic task
    2. Give it a name of "Kill Diablo 3"
    3. Give it a trigger of "One time"
    4. Set the time you'd like it to stop
    5. Action: Start a program
    6. Start a program: browse find the bat file you just made
    7. under the "Start in" option put in the path to it without the .bat on the end
      • example 1: C:\ for a file in C:\killdiablo.bat
      • example 2: I:\Diablostuff\ for a file in I:\Diablostuff\killdiablo.bat
    8. Check the Open the properties dialog box and click finish
    9. in the General tab click run with highest privileges
    10. click ok
  5. Tada, this should now kill diablo at a certain time

  • Bonus: if you consistently afk bot change "One time" to "Daily"
 
just get yar relogger and set the botting times at the end of the config

get rrrix's version
 
You can also use vbs script to close DB and D3 after certain amount of time.

Code:
Option Explicit
Dim objWMIService, objProcess, colProcess
Dim Computer, ProcessKill1, ProcessKill2

WScript.Sleep(1000*60*60*[COLOR="#FF0000"][U]2[/U][/COLOR])

Computer = "."
ProcessKill1 = "'Diablo III.exe'"
ProcessKill2 = "'Demonbuddy.exe'"

Set objWMIService = GetObject("winmgmts:" _
& "{impersonationLevel=impersonate}!\\" _ 
& Computer & "\root\cimv2") 

Set colProcess = objWMIService.ExecQuery _
("Select * from Win32_Process Where Name = " & ProcessKill1)
For Each objProcess in colProcess
objProcess.Terminate()
Next 

Set colProcess = objWMIService.ExecQuery _
("Select * from Win32_Process Where Name = " & ProcessKill2)
For Each objProcess in colProcess
objProcess.Terminate()
Next

WSCript.Echo "Data: " & Date() & vbCrLf & vbCrLf & "O godzinie " _ 
& Time() & " zakończono procesy: " & ProcessKill1 & " oraz " & ProcessKill2 & Computer

WScript.Quit
Change the highlighted number to desired amount of hours and save it as *.vbs. Run DB, run D3 and after bot is running double click the vbs file. ;)
 
how do you know if the vbs file is working? does anything pop up on your screen to say?
 
how do you know if the vbs file is working? does anything pop up on your screen to say?
If you selected the *.vbs file and pressed "Enter" it's working :P
To tell the truth, I never though about making sure it's running. Maybe you can see it in task manager? No idea though...
 
I know nothing about programming so I ask this with all honesty, is it hard to make a Plugin that will log you off of D3 and DB after X hours? For HonorBuddy, I remember I could set it to shutdown after reaching max honor or a full bag of ore/herbs. It would shutdown both HB and WoW. I would think there'd be a similar way to incorporate it into DB or make a Plugin for it.
 
Back
Top