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

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

    1. Nazaruk

      Nazaruk Member

      Joined:
      Jan 15, 2010
      Messages:
      149
      Likes Received:
      1
      Trophy Points:
      18
      I cant run more one acc, everytime i get :

      [12/18/2012 13:27:41] : Honorbuddy has crashed.. So lets restart it
      [12/18/2012 13:27:41] : Attempting to close Honorbuddy
      [12/18/2012 13:27:42] : Honorbuddy has crashed.. So lets restart it
      [12/18/2012 13:27:42] : Attempting to close Honorbuddy
      [12/18/2012 13:27:42] : Honorbuddy has crashed.. So lets restart it
      [12/18/2012 13:27:42] : Attempting to close Honorbuddy
      [12/18/2012 13:27:46] : Successfully closed Honorbuddy
      [12/18/2012 13:27:46] : Successfully closed Honorbuddy
      [12/18/2012 13:27:48] : Successfully closed Honorbuddy
      [12/18/2012 13:28:01] : starting C:\Bots\2\2.exe
      [12/18/2012 13:28:01] : starting C:\Bots\3\3.exe
      [12/18/2012 13:28:02] : starting C:\Bots\4\4.exe
      [12/18/2012 13:28:07] : WoW and HB startup sequence complete
      [12/18/2012 13:28:08] : WoW and HB startup sequence complete
      [12/18/2012 13:28:08] : WoW and HB startup sequence complete
      [12/18/2012 13:28:13] : Honorbuddy has crashed.. So lets restart it
      [12/18/2012 13:28:13] : Attempting to close Honorbuddy
      [12/18/2012 13:28:13] : Honorbuddy has crashed.. So lets restart it
      [12/18/2012 13:28:13] : Attempting to close Honorbuddy
      [12/18/2012 13:28:13] : Honorbuddy has crashed.. So lets restart it
      [12/18/2012 13:28:13] : Attempting to close Honorbuddy
      [12/18/2012 13:28:15] : Successfully closed Honorbuddy
      [12/18/2012 13:28:17] : Successfully closed Honorbuddy
      [12/18/2012 13:28:17] : Successfully closed Honorbuddy
      [12/18/2012 13:28:26] ДРАКА: Attempting to close Wow
      [12/18/2012 13:28:26] ДРАКА: Attempting to close Honorbuddy
      [12/18/2012 13:28:26] : Attempting to close Wow
      [12/18/2012 13:28:26] : Attempting to close Wow
      [12/18/2012 13:28:26] : Attempting to close Wow
      [12/18/2012 13:28:27] ДРАКА: Successfully closed Wow
      [12/18/2012 13:28:27] : Successfully closed Wow
      [12/18/2012 13:28:27] : Successfully closed Wow
      [12/18/2012 13:28:27] : Successfully closed Wow
      [12/18/2012 13:28:38] ДРАКА: Successfully closed Honorbuddy

      With HB all ok because in Arelog starting is fine.

      P.S. If read log file, wow must be reastart too but never hapapen with wow (wow.exe was renamed to wow1.exe etc)
       

      Attached Files:

      Last edited: Dec 19, 2012
    2. Acps

      Acps New Member

      Joined:
      Dec 24, 2011
      Messages:
      347
      Likes Received:
      0
      Trophy Points:
      0
      what is the plugin used for? is it necessary?
       
    3. azghl

      azghl New Member

      Joined:
      Oct 14, 2012
      Messages:
      37
      Likes Received:
      0
      Trophy Points:
      0
      Hi! Is it posible to see in HBrelog nods in hour ? Like loots, deaths etc.
       
    4. kavlantis

      kavlantis New Member

      Joined:
      Nov 20, 2012
      Messages:
      468
      Likes Received:
      2
      Trophy Points:
      0
    5. Xenaux

      Xenaux New Member

      Joined:
      Nov 26, 2012
      Messages:
      40
      Likes Received:
      0
      Trophy Points:
      0
      Hi, is it possible to increase the time after which HBrelog restarts Honorbuddy? Very often app restarts HB at the "CC-selecting" part.
      Best regards and Merry Christmas!
       
    6. Jentlebe

      Jentlebe New Member

      Joined:
      Oct 7, 2012
      Messages:
      126
      Likes Received:
      0
      Trophy Points:
      0
      Can someone help me?
      Im really not a person who doesnt search google+forum and read a lot.
      it would be very nice if just a person can safe if HBrelog can handle a PB profile with logging on different Toons and running more than 3 at the same time.
      i really tried everything i know
       
    7. WarHopper

      WarHopper New Member

      Joined:
      Dec 21, 2012
      Messages:
      5
      Likes Received:
      0
      Trophy Points:
      0
      Hi

      Are there any plans to add the ability to select / change the spec (primary/secondary talents) from the Logon task perhaps? (i.e. prior to the cc being loaded)

      Thanks in advance
       
    8. Jentlebe

      Jentlebe New Member

      Joined:
      Oct 7, 2012
      Messages:
      126
      Likes Received:
      0
      Trophy Points:
      0
      +++
       
    9. tenaciouzd

      tenaciouzd New Member

      Joined:
      Aug 10, 2012
      Messages:
      134
      Likes Received:
      0
      Trophy Points:
      0
      [8:41:59 PM] gi: starting C:\Honorbuddy 2.5.6647.521\Honorbuddy.exe
      [8:43:00 PM] gi: Closing Honorbuddy because it took too long to attach
      [8:43:00 PM] gi: Attempting to close Honorbuddy
      [8:43:02 PM] gi: Successfully closed Honorbuddy

      does this over and over and over and over and over and over and over, what the fuck
       
    10. Nemezhiz

      Nemezhiz New Member

      Joined:
      Dec 9, 2012
      Messages:
      14
      Likes Received:
      0
      Trophy Points:
      0
      Question to the Developer:

      Is it possible / planned to Start a specific HBRelog Profile from Command Line? like hbrelog.exe /profile=3 (3 = Index in List of HB Relog)

      This would be very useful to combine the Plugin "LogMeOut" with HBR. Example:
      HBR Profile 1 : Farm (Ore or Herbs)
      HBR Profile 2 : Mill or whatever ..

      Now you could set LogmeOut to your wished options .. start HBR Profile 1 with GB2 - and after some time .. it loggs out and "LogMeOut" has the option the run a command after logout
      which then would be "start HBR profile 2"

      this would allow a very precise profile change .. i think easier than an "if" / change profile task =) as LogMeOut has very extended options to set when to logout

      If nothing is planned in this direction .. i gonna take a look on it - maybe i can add it =) Thanks for Sharing the Code

      Edit:

      For now, i'm gonna test : Start HBR Profile 1 .. activate only HBR Profile 2 in List .. Close HBR ( wow+hb still runnin' ) - LogMeOut has option to run hbrelog.exe /autostart after logout ..
      maybe a workin' solution for the moment

      Edit 2 : Result : Does not work - when i start HBrelog.exe from cmd (as admin) it works - but with /autostart option nothing happens - HBRelog doesn't start ..

      Checked Code in Visual Studio - Code Error on Line "HbRelogManager.Settings.AutoStart = true;" (program.cs) - HBRelogManager is ok, but HbRelogManager.Settings is "null" - any idea? Thx for feedback!
       
      Last edited: Dec 23, 2012
    11. Nemezhiz

      Nemezhiz New Member

      Joined:
      Dec 9, 2012
      Messages:
      14
      Likes Received:
      0
      Trophy Points:
      0
      Fixed :

      Put these 2 lines before gettings CMD Args


      var app = new Application();
      Window window = new MainWindow();

      --- from program.cs ----

      var app = new Application();
      Window window = new MainWindow();

      CmdLineArgs = ProcessCmdLineArgs(args);
      if (CmdLineArgs.ContainsKey("AUTOSTART"))
      HbRelogManager.Settings.AutoStart = true;
      if (CmdLineArgs.ContainsKey("WOWDELAY"))
      HbRelogManager.Settings.WowDelay = GetCmdLineArgVal<int>(CmdLineArgs["WOWDELAY"]);
      if (CmdLineArgs.ContainsKey("HBDELAY"))
      HbRelogManager.Settings.HBDelay = GetCmdLineArgVal<int>(CmdLineArgs["HBDELAY"]);


      --

      And so also this idea works (tested)
      - Start HBR - with Profile 1 & 2 in List. Only Profile 2 set as active in List.
      - Start HBR Profile 1with LogMeOut configured to Start HBR.exe /autostart after Logout
      - Kill HBR (Wow+HB still running)
      - After logout .. ( toon can be placed in city with hearthstone thx to LogMeOut ) - HBR /autostart starts 2nd Profile ;)

      Gonna check how to impelement the /profile=[index] option now for cmd start - then you can nicely switch profiles with a wide range of options =)

      -- Done --

      Code for those who want / if it wants to be added to main build

      -- program.cs --

      Code:
      if (newInstance)
      {
          AppDomain.CurrentDomain.ProcessExit += CurrentDomainProcessExit;
          AppDomain.CurrentDomain.UnhandledException += CurrentDomain_UnhandledException;
      
          var app = new Application();
          Window window = new MainWindow();
                          
          CmdLineArgs = ProcessCmdLineArgs(args);
          if (CmdLineArgs.ContainsKey("AUTOSTART"))
              HbRelogManager.Settings.AutoStart = true;
          if (CmdLineArgs.ContainsKey("WOWDELAY"))
              HbRelogManager.Settings.WowDelay = GetCmdLineArgVal<int>(CmdLineArgs["WOWDELAY"]);
          if (CmdLineArgs.ContainsKey("HBDELAY"))
              HbRelogManager.Settings.HBDelay = GetCmdLineArgVal<int>(CmdLineArgs["HBDELAY"]);
          if (CmdLineArgs.ContainsKey("PROFILE"))
              HbRelogManager.Settings.selectedProfile = GetCmdLineArgVal<int>(CmdLineArgs["PROFILE"]);
                          
          window.Show();
         app.Run(window);
      }
      
      -- MainWindow.xaml.cs --
      Code:
      Log.Write("HBRelog Version {0}", version);
      
      if (HbRelogManager.Settings.selectedProfile != 0)
      {
          int counter = 0;
          foreach (CharacterProfile character in AccountGrid.Items)
          {
              if (counter == HbRelogManager.Settings.selectedProfile)
              {
                  character.Settings.IsEnabled = true;
              }
              else
              {
                  character.Settings.IsEnabled = false;
              }
      
              counter++;
          }
      }
      
      // if autostart is on then start all enabled acounts
      if (HbRelogManager.Settings.AutoStart)
      {
          foreach (CharacterProfile character in AccountGrid.Items)
          {
              if (character.Settings.IsEnabled)
                  character.Start();
              }
          }
      }
      
      -- GlobalSettings.cs --
      Code:
      // Automatically start all enabled profiles on start
      private bool _autoStart;
      public bool AutoStart
      {
          get { return _autoStart; }
          set { _autoStart = value; NotifyPropertyChanged("AutoStart"); }
      }
      
      private int _selectedProfile;
      public int selectedProfile
      {
          get { return _selectedProfile; }
          set { _selectedProfile = value; NotifyPropertyChanged("selectedProfile"); }
      }
      
       
      Last edited: Dec 23, 2012
    12. Chriasp

      Chriasp New Member

      Joined:
      Jun 7, 2012
      Messages:
      224
      Likes Received:
      2
      Trophy Points:
      0
      I really feel like a noob now, but how do I install it ? and how do I run it ?
       
    13. Nemezhiz

      Nemezhiz New Member

      Joined:
      Dec 9, 2012
      Messages:
      14
      Likes Received:
      0
      Trophy Points:
      0
      1. Download & Install "TortoiseSVN" from TortoiseSVN - Downloads
      2. Copy that Link to Clipboard "http://hbrelog.googlecode.com/svn/trunk"
      3. Create a folder on your Computer, right click on it -> "SVN Checkout"
      4. It should paste the Link from Clipboard so just press "OK"
      5. It will download HBRelog to that folder from SVN
      6. Just start [YourFolder]/bin/Release/HBRelog.exe
      7. Configure Your Profiles and so on ..
       
    14. Chriasp

      Chriasp New Member

      Joined:
      Jun 7, 2012
      Messages:
      224
      Likes Received:
      2
      Trophy Points:
      0

      But the HBrelog.exe shows up as a XML Configuration ?


      EDIT:

      Nevermind, found it! Thanks for the help :)
       
      Last edited: Dec 23, 2012
    15. tumbum

      tumbum Active Member

      Joined:
      Mar 17, 2011
      Messages:
      3,341
      Likes Received:
      13
      Trophy Points:
      38
      Possible to combinate LogMeOut with the Relogger? If you got ganked X-times, LogMeOut will logout but the relogger will instantly reconnect. i think its good to set something like, if logout because of gank or even dead reconnect X-Minutes later, and so on. there are a lot of situation where it isnt good to reconnect instantly.
       
    16. Nemezhiz

      Nemezhiz New Member

      Joined:
      Dec 9, 2012
      Messages:
      14
      Likes Received:
      0
      Trophy Points:
      0
      Check my Answer above .. working on a solution :)
       
    17. Xenaux

      Xenaux New Member

      Joined:
      Nov 26, 2012
      Messages:
      40
      Likes Received:
      0
      Trophy Points:
      0
      same here
       
    18. WarHopper

      WarHopper New Member

      Joined:
      Dec 21, 2012
      Messages:
      5
      Likes Received:
      0
      Trophy Points:
      0
      Nemezhiz -- When would you expect to release that version with the code changes you mentioned today? (autostart/profile etc)
       
    19. ManOnFire

      ManOnFire New Member

      Joined:
      Sep 17, 2012
      Messages:
      9
      Likes Received:
      0
      Trophy Points:
      0
      Hi Highvoltz,

      Problem with import to repo:
      When I try to import your program to my repo, the tortoise asks for a username and password.
      I really enjoy your program, and would like to try and play around with the code, in order to get a better understand C# and add some fun functionalities. I'm no developer or anything(yet!). :)

      Br, ManOnFire.
       
    20. Dbuddy

      Dbuddy Member

      Joined:
      Jun 18, 2012
      Messages:
      963
      Likes Received:
      0
      Trophy Points:
      16
      same problem here!
       

    Share This Page