• Visit Rebornbuddy
  • Visit Panda Profiles
  • Visit LLamamMagic
  • HB ARCHIVES: HBRelog--DO NOT DELETE

    Discussion in 'Archives' started by chinajade, Feb 7, 2012.

    1. gogimogi

      gogimogi New Member

      Joined:
      Feb 23, 2012
      Messages:
      5
      Likes Received:
      0
      Trophy Points:
      1
      getting the same error as terrorforprez, there was extended maint yesterday, so maybe some coding was changed?
       
    2. MWZflyer

      MWZflyer New Member

      Joined:
      Mar 12, 2011
      Messages:
      139
      Likes Received:
      0
      Trophy Points:
      0
    3. illmatic2k

      illmatic2k New Member

      Joined:
      Feb 4, 2012
      Messages:
      20
      Likes Received:
      1
      Trophy Points:
      3
      I've got the same error and I did some research and have a solution for it.

      What's happening?:
      If you taking a look in Global.Settings.cs you can find the followed:
      Code:
      public string SettingsPath
              {
                  get
                  {
                      return Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData) +
                          "\\HighVoltz\\HBRelog\\Setting.xml";
                  }
              }
      That means the settings will be stored in "%APPDATA%\HighVoltz\HBRelog\Setting.xml".
      If you have a little bit slow PC or running multiple Bots, HBRelog can crash exactly in that moment, when it is reading the "Settings.xml". This fact cause that "Settings.xml" will be empty and an empty "Settings.xml" will produce this error.

      Reproducable?:
      Yes if you stress your PC and kill the HPRelog process in the right moment (will need some tries) this error will happend and HBRelog can not be started anymore.

      quick and dirty solution:
      Simply delete the whole "HighVoltz" folder in "%APPDATA%\HighVoltz". In my case it was "C:/User/<myusername>/AppData/Roaming/HighVoltz".
      Note: "AppData" is a hidden folder so you need to activate the option to see hiden folders (it is under WindowsExplorer: Extra(or ALT+x) -> folderoptions -> View (second tab) -> (little bit down the list) show hidden files, folders and drives) ( I dont have an english version of windows so corect me if something is wrong).
      The bad news at this point is that all your saved settings are lost :(. I didnt had the case that anything would be stayed in "Settings.xml".

      better solution:
      I am sorry but i cant programm c# so i couldnt give you a finished solution but i have an idea how to pretend that problem. Everytime HBRelog is accessing the "Settings.xml" it should be save a copy befor it is using it and before the copy task it should be checking if the "Settings.xml" is empty. If yes -> rename the backuped "Settings.xml"
       
      highvoltz likes this.
    4. zeldrak

      zeldrak Well-Known Member

      Joined:
      Oct 25, 2010
      Messages:
      3,516
      Likes Received:
      25
      Trophy Points:
      48
      Highvoltz --

      I tried using this app, and I got everything set up properly, logged in, and then it went a little crazy. I noticed that it kept opening, logging in, opening HB, then closing them both down and doing it all over again. It was looping the opening, logging in, starting of HB, etc. I had to manually shut both WoW and the app down.

      Log:
       

      Attached Files:

    5. terrorforprez

      terrorforprez New Member

      Joined:
      Mar 20, 2011
      Messages:
      179
      Likes Received:
      0
      Trophy Points:
      0
      Thank you very much Illmatic2k, but i think it is a bad sign when i cant find my appdata folder :/

      I am computer literate and i know what im doing, but i am unsure what to do next because the folder is not there.

      Thanks again!
      Terrorforprez
       
    6. highvoltz

      highvoltz Well-Known Member

      Joined:
      Mar 22, 2010
      Messages:
      1,729
      Likes Received:
      141
      Trophy Points:
      63
      Open Windows Explorer and in the folder path at the top copy and paste
      %APPDATA%\HighVoltz\HBRelog and it should take you to the folder where HBRelog stores its 'Setting.xml' file. Once you're there you'll have to delete the file and re-add the profiles in HBRelog once you start it up again. I would recommend making a copy of the Setting.xml file as a precaution in case this happens again.
       
    7. highvoltz

      highvoltz Well-Known Member

      Joined:
      Mar 22, 2010
      Messages:
      1,729
      Likes Received:
      141
      Trophy Points:
      63
      HBRelog Version 1.0.0.77
      I made an attempt at fixing the issue with HBRelog settings getting corrupted. Settings were saved on process exit/crash and the event handlers are given a 2 second time frame total to perform any actions such as saving a file so if it wasn't finished saving the settings within 2 seconds than it could have corrupted the file. This shouldn't happen under normal conditions but could happen if HBrelog was exited at a time the system was under a heavy load. The settings will still save when HBRelog is closed down but I'm using another event handler that doesn't have a execution time restriction.
       
      Last edited: Apr 5, 2012
    8. highvoltz

      highvoltz Well-Known Member

      Joined:
      Mar 22, 2010
      Messages:
      1,729
      Likes Received:
      141
      Trophy Points:
      63
      Sorry there's not enough info in the log file. Please use the HBRelog debug version found here and attach the log it generates and also attach a HB log.
       
    9. Crown

      Crown New Member

      Joined:
      Jan 15, 2010
      Messages:
      532
      Likes Received:
      1
      Trophy Points:
      0
      what are the custom settings for the delays in HB?
       
      Last edited: Apr 5, 2012
    10. terrorforprez

      terrorforprez New Member

      Joined:
      Mar 20, 2011
      Messages:
      179
      Likes Received:
      0
      Trophy Points:
      0
      Thank you for the help, but i still cannot find the settings.xml. Will i be able to find it if i uninstalled/reinstalled HBrelog?

      Thanks,
      Terrorforprez
       
    11. chtpm

      chtpm Member

      Joined:
      Nov 26, 2011
      Messages:
      649
      Likes Received:
      6
      Trophy Points:
      18
      Is there a way to add pause on "tasks". I have a profile that works just for a few minutes depending on the char and then logs out but obiously hbrelogger will log me in again and I dont want that. I have autostart enabled so when I turn pc all my bots start working and after 30 min they all should be over if hbrelogger didnt restarted them in an infinite loop. Of course I can just manually press pause on each bot but I rather have the option for auto pause. After that I guess I have to figure out a way to have my computer turn on and off on its own and make me breakfast :)
       
    12. illmatic2k

      illmatic2k New Member

      Joined:
      Feb 4, 2012
      Messages:
      20
      Likes Received:
      1
      Trophy Points:
      3
      He has to delete the whole HighVoltz folder :eek:. Only the file will cause the same error.

      Thanks you very much!!! Fast support like a charm!

      Thats a delay (yeah stupid explanation I know) but you need this option if you start several wow instances or better be said if you start several entries in HBRelog. On slow PCs and on some chipsets/graphic cards can this action be causing a crash. So he will wait the time in the option to wait between starting 2 instances of wow. Only interessting if you want to multibot.

      No I am sorry because only the HBRelog execution files will be deleted. Which windows you have?
      Does the way of HighVoltz wich the addresse copy also doesnt work?
      (open windows explorer and enter in the above address line "%APPDATA%" (without the ") and delete the HighVoltz folder)

      HBRelog is checking all the time if the character is online or better be said Honorbuddy can work properly. If not HBRelog will start over the instance.
      The quick solution for you will be to remove the "logout" routine in your profile and let HBRelog do that work.
      Otherwise HighVoltz or some oder c# programmer can add a new task option like a static loop --> every ## minute the instance should be restartet and should not monitored

      principle for programmers:
      - add the new option "static loop" with the time format
      - put the whole "check_running" stuff in ->
      if [taskoption != "statis_loop"]
      {
      do the normal stuff
      }

      And before I forgot anyone an idea why the resize/grab doesnt work on two screens? (didnt test it on 1 screen i know shame on me :( )
       
    13. Detor

      Detor New Member

      Joined:
      Feb 1, 2012
      Messages:
      10
      Likes Received:
      0
      Trophy Points:
      1
      Hello, have problem =)

      HBReloger keep restarting HB when it switch on AH bank char and start Professionbuddy with AHbot. HB normaly work, it start getting mails but HBReloger each time kill it and try to restart.

      In log there is message
      Closing honorbuddy because its took too long to attach
      - but HB work fine
       
    14. terrorforprez

      terrorforprez New Member

      Joined:
      Mar 20, 2011
      Messages:
      179
      Likes Received:
      0
      Trophy Points:
      0
      I have Windows Vista 64-bit. And there is no HighVoltz folder at all, nor an APPDATA folder in my computer. Still having troubles with it :/

      Thanks!
      Terrorforprez
       
    15. illmatic2k

      illmatic2k New Member

      Joined:
      Feb 4, 2012
      Messages:
      20
      Likes Received:
      1
      Trophy Points:
      3
      Do you use a wow instance with full graphical details? if yes: make a copy of your wow folder, remove any addons, set the graphical details all to minimal and use this wow for boting.
      ( I am not completly sure if to minimal size the wow window also give you some more ressource)
      If this also dont work maybe your PC is to slow?
      My understanding of HBRelog is that he is checking that the charakter is online and honorbuddy is working correctly. If one of these things dont be good it will simply restart the whole instance. The checking is not instant so you have a couple of seconds for the relog.
      Otherwise you can play a little bit around with the task options to construct a relog and the AHBot loading over HBRelog.
      e.g.:
      Wait --> let the bot farm and set the time per zone over the maximal time of the task option
      StopProfile
      Logon --> login new to the same account but with a different character (banker)
      ChangeProfile --> change to your banker/AH profile (best will be one without a change character)
      StartProfile
      Wait --> ## minute for banker to do some stuff
      StopProfile
      Logon --> login new to same account but with a different character (farmer)
      ChangeProfile --> to your farmprofile
      StartProfile

      Note: if you want to have zoneswitchen in your farmprofile simply deactivate "switching to banker" and let HBRelog do the work




      The AppData folder should be in "Documents" on your vista. Please check it
      source: AppData Folder in Windows Vista ? Tech Help
       
    16. terrorforprez

      terrorforprez New Member

      Joined:
      Mar 20, 2011
      Messages:
      179
      Likes Received:
      0
      Trophy Points:
      0
      Wow, i did not know this was possible :)

      Thank you very much, it works!
       
    17. Detor

      Detor New Member

      Joined:
      Feb 1, 2012
      Messages:
      10
      Likes Received:
      0
      Trophy Points:
      1
      Every think was setup as u say (no addons, lowest graphic), computer is good quadcore, 16gb ram.
      Tasks is also setup well it switching betwen farmer (4h wait) to bank (15min wait) when it switch to farmer its normaly start wow, login, start hb and start farm, but when it switch banker its start wow, login, start hb, start AHbot profile (bot start running and get some mails from box but after 10-20s hbrelog shut down HB and restart it (and again, and again till 15minutes wait time pass)
      Runing on Windows XP 32

      On my second computer windows 7 64 everything looks ok
       
    18. illmatic2k

      illmatic2k New Member

      Joined:
      Feb 4, 2012
      Messages:
      20
      Likes Received:
      1
      Trophy Points:
      3
      OT: 16gb ram on a 32 bit windows? :confused: Switch to a 64 bit. 32 bit can only good addresse until 4GB after that you will loose many many of the ram for adressing himself.

      Can you please post a logfile of HB, so that we can see what HB is telling HBRelog.
      Are you using a privat profile? If no then give me a link to the profile which you are using.
      Have you tested the other workaround with the HBRelog task options?

      Edit: Can you also please set the farm time to 2 minutes and run HB until he is farming again and post the log.
       
      Last edited: Apr 6, 2012
    19. gehoornde

      gehoornde New Member

      Joined:
      May 24, 2010
      Messages:
      98
      Likes Received:
      2
      Trophy Points:
      0
      Damn, this is awesome! I didn't know my pc was this fast. When I manually log in and all it takes a long time to load and all, this piece of software does it in 10 seconds.
       
    20. Detor

      Detor New Member

      Joined:
      Feb 1, 2012
      Messages:
      10
      Likes Received:
      0
      Trophy Points:
      1
      I am using it on virtual machine, now i fix it reinstal windows on all virtual machines and use old honor buddy witch i fully update. Looks like it doesnt work only on new instalation of HB or not svn update professionbuddy.
       

    Share This Page