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

Botting Timer Automation

mkmach

New Member
Joined
Jan 15, 2010
Messages
27
Reaction score
0
Is it possible to implement a simple input system for DB where say if you wanted to only bot 8 hours, the bot would automatically shut down and close Diablo? I think things like this would save everybody time and reduce some risk when it comes to botting.

If this issue has already been addressed, please kindly advise.

Long live my monk
 
maybe a scheduled task should do the job you need, look for taskkill.exe
 
Code:
Option Explicit
Dim objWMIService, objProcess, colProcess
Dim Computer, ProcessKill1, ProcessKill2

WScript.Sleep(1000*60*60*2)

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 & "At time " _ 
& Time() & " terminated processes: " & ProcessKill1 & " and " & ProcessKill2 & Computer

WScript.Quit
I used it for some time in the past.
You can miss items dropped exactly when timer goes down but well...

Just change 2 at line 5 into whatever you want - it's the hour representation when processes will be killed - and save above code as vbs file.
Run in after starting bot and you are all set - DB and D3 will be closed after certain period of time.
 
I think the YAR scheduler has this built in, but, I've actually never tried it :)
 
Ive tried it and it works. Shuts down diablo3 and db but you have to stop it at 1hour intervals.
 
Back
Top