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

HBRelog not closing HonorBuddy correctly #29

Open KSUMatt opened 8 years ago

KSUMatt commented 8 years ago

When switching characters (HBRelog closes WoW.exe, closes Honorbuddy.exe), it's not closing Honorbuddy.exe correctly (does the kill command instead of close main window). This causes large delays when switching characters because HonorBuddy servers don't release the key for a few minutes to be used in another session (Max number of session reached, I only have 1 key).

I looked over the code, and I can duplicate this using my own simple Process finder that attempts to call CloseMainWindow. For whatever reason, it takes two calls to CloseMainWindow() for HonorBuddy to close. I do not know why. I may look into this for a little longer and attempt to make a pull request.

I am running on Windows 10. I am 100% sure I'm running HBRelog in administrator mode.