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

Register a free account today to become a member! Once signed in, you'll be able to participate on this site by adding your own topics and posts, as well as connect with other members through your own private inbox!

Any way to start automatically after Tuesday Maintenance?

mrballs

New Member
Joined
Jul 25, 2017
Messages
1
Hey guys, sorry if this is a simple solution and I'm just not seeing it, but I'm having trouble getting the bot to run on Tuesdays after maintenance. The thing is, I have to leave for work during the downtime and can't tell the bot to start up after maintenance until I get home.

I've tried using HBRelog and it will try to log in a few times during realm down and then stop.

Is there any way to get it to wait and then log in after maintenance is done?
 
Since a few years, we cannot check anymore if the WoW servers are up or under maintenance. For this, if im not wrong, we needed unique developer identifier from dev.battle.net to be able to queue the battle.net API online.
 
no offense man, but running the tool unmonitored is very dangerous for the health of your account..
 
This is the AutoIt script I am using to solve this issue:

PHP:
#include <INet.au3>
#include <Misc.au3>
#include <Date.au3>

Opt("TrayIconHide", 1)

Local $dll = DllOpen("user32.dll")
Local $_wow = "World of Warcraft"
Local $_checkTime = _NowCalc()
Local $_checkInterval = 2
Local $_activeCount = 0
Local $_winActive = WinActive($_wow)
Local $_timeNoSync = _NowCalc()
Local $_noSyncInterval = 300
Local $_timeLog = _NowCalc()

while true

; <!-- WoW -->
   if WinActive($_wow) <> $_winActive then
       If _DateDiff('s', $_checkTime, _NowCalc()) < $_checkInterval Then
           $_activeCount += 1
       Else
           $_activeCount = 0
       EndIf

       $_checkTime = _NowCalc()
       $_winActive = WinActive($_wow)
   EndIf

   if ProcessExists("hbrelog.exe") == 0 or (ProcessExists("hbrelog.exe") and ProcessExists("wow.exe") and ProcessExists("honorbuddy.exe")) Then
       $_timeNoSync = _NowCalc()
   EndIf

   Local $_deltaNoSync = _DateDiff('s', $_timeNoSync, _NowCalc())
   if $_activeCount >= 10 or (ProcessExists("hbrelog.exe") and $_deltaNoSync >= $_noSyncInterval) Then
       if $_activeCount >= 10 then
           $_activeCount = 0
       EndIf

       if ProcessExists("hbrelog.exe") and _DateDiff('s', $_timeNoSync, _NowCalc()) >= $_noSyncInterval Then
           $_timeNoSync = _NowCalc()
       EndIf

       ProcessClose("hbrelog.exe")
       ProcessClose("honorbuddy.exe")
       ProcessClose("wow.exe")

       While ProcessExists("hbrelog.exe") <> 0
           Sleep(50)
       WEnd

       Run("L:\WoW\HB\_HBRelog\hbrelog.exe /autostart")
   EndIf

   if _IsPressed("72",$dll) AND _IsPressed("12",$dll) then
       ProcessClose("hbrelog.exe")
   EndIf
; <!-- // WoW -->

WEnd


DllClose($dll)

What it does:
- in case hbrelog.exe is running, it will check if wow.exe and honorbuddy.exe are running as well
- in case those 3 processes haven't been running at the same time for about 5 minutes, HBRelog gets terminated and started again with checked profile
- if HBRelog is stuck in a loop causing wow window to continuosly being activated, HBRelog gets terminated and restartes as well

This way you won't have any downtimes
In case HBRelog is stuck withing a loop, ALT+F3 will terminate it immediately
 
Last edited:
Back
Top