aash / HBRelog

This program is for use with Honorbuddy (an automation tool for World of warcraft). It launches World of Warcraft, logs into the game and then launches Honorbuddy. If Wow or Honorbuddy crashes or disconnects the whole process is repeated.
GNU General Public License v3.0
5 stars 0 forks source link

Honorbuddy is not autostarted. HBRelog starts and kills HB after a while #4

Closed Opply closed 9 years ago

Opply commented 9 years ago

Honorbuddy is not autostarted (missing /autostart maybe?).

HBRelog starts and kills HB after a while. Does not seem to get that HB is started.

I turned off "check for HB's Reponnsiveness" and added the /autostart as a HB commandline argument. Now the bot is started on boot, but HBRelog still kills it after a little while.

HBRelog runs as Admin.

[08/12/2015 11:22:57] HBRelog Version 1.1.3 [08/12/2015 11:22:57] *** Settings \ [08/12/2015 11:22:57] Auto AcceptTosEula: False [08/12/2015 11:22:57] Auto Start: False [08/12/2015 11:22:57] Auto Update HB: True [08/12/2015 11:22:57] Check Hb's Responsiveness: True [08/12/2015 11:22:57] Check Realm Status: False [08/12/2015 11:22:57] HB Delay: 3 [08/12/2015 11:22:57] Login Delay: 0 [08/12/2015 11:22:57] Minimize Hb On Startup: False [08/12/2015 11:22:57] Set GameWindow Title: False [08/12/2015 11:22:57] Wow Start Delay: 0 [08/12/2015 11:23:03] Garrison: *** Tasks *** [08/12/2015 11:23:03] Garrison: Wait: 60 minutes [08/12/2015 11:23:03] Garrison: Logon [08/12/2015 11:23:03] Garrison: Wait: 60 minutes [08/12/2015 11:23:03] Garrison: Logon [08/12/2015 11:23:03] Garrison: Wait: 60 minutes [08/12/2015 11:23:03] Garrison: Logon [08/12/2015 11:23:03] Garrison: Wait: 60 minutes [08/12/2015 11:23:03] Garrison: Logon [08/12/2015 11:23:03] Garrison: Wait: 60 minutes [08/12/2015 11:23:03] Garrison: Logon [08/12/2015 11:23:03] Garrison: Wait: 60 minutes [08/12/2015 11:23:03] Garrison: Logon [08/12/2015 11:23:03] Garrison: Wait: 60 minutes [08/12/2015 11:23:03] Garrison: Logon [08/12/2015 11:23:03] Garrison: Wait: 60 minutes [08/12/2015 11:23:03] Garrison: ***** End of Task list *** [08/12/2015 11:23:03] Garrison: Starting C:\Games\World of Warcraft\Wow.exe [08/12/2015 11:23:04] Garrison: Waiting for Wow to start [08/12/2015 11:23:09] Garrison: Wow is ready to login. [08/12/2015 11:23:13] Garrison: Sending letters to AccountLoginPasswordEdit [08/12/2015 11:23:15] Garrison: Connecting... [08/12/2015 11:23:42] Garrison: Login sequence complete [08/12/2015 11:23:42] Checking for new Honorbuddy update [08/12/2015 11:23:42] Honorbuddy is up-to-date [08/12/2015 11:23:43] Garrison: starting C:\Users\opply\Downloads\Honorbuddy 2.5.14236.796\Honorbuddy.exe [08/12/2015 11:25:43] Garrison: Closing Honorbuddy because it took too long to attach [08/12/2015 11:25:44] Garrison: Attempting to close Honorbuddy [08/12/2015 11:25:44] Garrison: Closing Honorbuddy because it took too long to attach [08/12/2015 11:25:44] Garrison: Successfully closed Honorbuddy gracefully [08/12/2015 11:25:45] Garrison: starting C:\Users\opply\Downloads\Honorbuddy 2.5.14236.796\Honorbuddy.exe [08/12/2015 11:27:46] Garrison: Closing Honorbuddy because it took too long to attach [08/12/2015 11:27:46] Garrison: Attempting to close Honorbuddy [08/12/2015 11:27:47] Garrison: Closing Honorbuddy because it took too long to attach [08/12/2015 11:27:47] Garrison: Successfully closed Honorbuddy gracefully [08/12/2015 11:27:48] Garrison: starting C:\Users\opply\Downloads\Honorbuddy 2.5.14236.796\Honorbuddy.exe [08/12/2015 11:27:48] Garrison: Attempting to close Honorbuddy

czullo commented 9 years ago

yep same here it starts honorbuddy but wont "press" login button

aash commented 9 years ago

Did you specified the HB key (Bot -> Honorbuddy option)? screen

czullo commented 9 years ago

No, because on original hbrelog its dont requie key here, should i enter it? Ok it works i mean honorbuddy windows apear but reloger dont press "start" button on honorbuddy

Also autoreloging after task is done (GarrisonBoss) is not working too..

aash commented 9 years ago

I've fixed it 3c5c5d4aae4459309d6b7eda5e255ed94841480c and tested on my 5 man setup. Seem to be working. Please check it out.

@czullo: Not correct. Look, when original HBRelog start honorbuddy.exe first time, dialog with login button does not show up because honorbuddy.exe started with /autostart option by default. Honorbuddy.exe itself remembers last entered key so there's no problem. But if you would have two or more keys you would definitely stack at the problem: you start first instance of honorbuddy.exe, it uses saved key -- no problem; then you start second instance of honorbuddy.exe and you got "Max sessions" problem because the saved key is already in use. To overcome this problem you should use "honorbuddy key" option to explicitly specify which profile uses which key. For now /autostart + /hbkey options does not work properly. If you provide /autostart option to honorbuddy.exe then it just ignore /hbkey specification. To workaround it I've implemented special way to auto start bot, you should pop checkbox "Auto start bot" under the "Bot" options category. And also clear Honorbuddy Args option.