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

    Discussion in 'Archives' started by highvoltz, Jul 18, 2012.

    1. bowhunter928

      bowhunter928 New Member

      Joined:
      Jan 20, 2013
      Messages:
      4
      Likes Received:
      0
      Trophy Points:
      0
      Really. you don't think I am running it?
       
    2. Ilja Rogoff

      Ilja Rogoff Well-Known Member

      Joined:
      Jan 25, 2010
      Messages:
      1,848
      Likes Received:
      38
      Trophy Points:
      48
      should be 3? i always use the AH in the tauren quarter in org, works good.
       
    3. Ilja Rogoff

      Ilja Rogoff Well-Known Member

      Joined:
      Jan 25, 2010
      Messages:
      1,848
      Likes Received:
      38
      Trophy Points:
      48
      AHBot within the Multiprofile still sells Golden Lotus for 6G per item. AHBot says there is no competition, but there is, but competion is mostly not full stacks but single items, so that might cause AHBot to be confused?

      so many but(t)s in one sentence :D
       
    4. RickyJulian

      RickyJulian New Member

      Joined:
      Oct 19, 2012
      Messages:
      16
      Likes Received:
      0
      Trophy Points:
      0
      I love profession Buddy and while there is some quirkyness I think it's just me. There is one grievance I have. The pb window doesn't save ui settings, I really wish it would as it gets slightly annoying having to resize the window all the time.

      EDIT

      -snip- just found that section of the helpfile.
       
      Last edited: Jan 25, 2013
    5. Xuvel

      Xuvel New Member

      Joined:
      Oct 7, 2011
      Messages:
      115
      Likes Received:
      0
      Trophy Points:
      0
    6. drewceratops

      drewceratops New Member

      Joined:
      Jan 11, 2013
      Messages:
      5
      Likes Received:
      0
      Trophy Points:
      0
      My professionbuddy is at 168 mining and it's still mining copper ore. Aswell as gathering lower level herbs.
      Any clue as to why it's doing this?

      Yes I tried clicking "ignore grey items" still doesn't work...
       
      Last edited: Jan 28, 2013
    7. icurnvs

      icurnvs Member

      Joined:
      Dec 10, 2011
      Messages:
      51
      Likes Received:
      0
      Trophy Points:
      6
      Golden Lotus and AHbot.xml

      Slight issue with golden lotus here (and possibly more) using the AHBot.xml profile. The current market on my server for each golden lotus is anywhere from 75g-100g. No matter what, my bot posts them for 10g. I'll attach the log, but here's the concerning part:

      PB 1.541: Searching AH for Golden Lotus
      PB 1.541: Post If Below MinBuyout:False
      PB 1.541: Lowest Buyout on AH: 73g12s50c, My Minimum Bouyout: 0g10s0c
      PB 1.541: ,Selling Golden Lotus for 10g0s0c. Competition is at 73g12s50c[06:45:13.406 D] PB 1.541: Selling Golden Lotus for 10g0s0c. Competition is at 73g12s50c
      View attachment 8816 2013-01-28 23.42.txt


      Is there any way for us to specify minimum values in the ahbot.xml file?
       
    8. MulinexMan

      MulinexMan Member

      Joined:
      Jan 15, 2010
      Messages:
      164
      Likes Received:
      0
      Trophy Points:
      16
      Is there a specific thread for questions regarding the HBRelog api? Nothing wrong, just thought I'd browse something to get some inspiration :X
       
    9. booster363

      booster363 New Member

      Joined:
      Feb 16, 2012
      Messages:
      31
      Likes Received:
      1
      Trophy Points:
      0
      Just downloaded this via SVN and it's working perfectly. It's simple and does what I need it to do. Thank you for keeping this updated.
       
    10. kevin3006

      kevin3006 New Member

      Joined:
      Nov 7, 2012
      Messages:
      21
      Likes Received:
      0
      Trophy Points:
      1
      ProfessionBuddy stuck in Orgrimmar

      I'm 510herb/500mining and my bot is stuck in Orgrimmar doing a strange loop between the elevator and the monk trainer...plz help me log attached
       

      Attached Files:

    11. NuttyRage

      NuttyRage New Member

      Joined:
      Jan 27, 2013
      Messages:
      9
      Likes Received:
      0
      Trophy Points:
      0
      Why Cant i find proffession buddy from the drop down list?
       
    12. NuttyRage

      NuttyRage New Member

      Joined:
      Jan 27, 2013
      Messages:
      9
      Likes Received:
      0
      Trophy Points:
      0
      Nvm got it, i had put it in the wrong folder
       
    13. mechevict

      mechevict New Member

      Joined:
      Oct 12, 2011
      Messages:
      58
      Likes Received:
      1
      Trophy Points:
      0
      Can't loot with Tailoring 1-600 profile

      I have been trying to use the [PB][H] Tailoring 1-600 - Farm profile

      but it won't loot when it goes to farm any of the cloth at any location. I have tried to change the settings from Loot Mobs so it isn't supposed to loot them, then re-checked the box so it is supposed to loot, but nothing changes.

      I ran the profile using Questing bot instead of running it through Profession Buddy and it loots just fine, so it definitely has something to do with PB. Log attached.
       

      Attached Files:

    14. blazinsheath

      blazinsheath New Member

      Joined:
      Jan 5, 2012
      Messages:
      299
      Likes Received:
      5
      Trophy Points:
      0
      Hello Highvolts

      every once in a while I'm having a issue with !RecipeIsOnCD, is there a current known bug with it?

      the below code will do the research with the first batch of ore i have than once the whole profile resets and research: promordial ruby is on CD it will get stuck trying to cast it.

      Code:
      <If Condition="(bool)Settings[&quot;Research: Primordial Ruby&quot;]" IgnoreCanRun="True">
       <CustomAction Code="Log(&quot;[ProfessionBuddy] Researching Primordial Ruby.&quot;);" />
       <If Condition="!RecipeIsOnCD(131686)" IgnoreCanRun="True">
        <If Condition="HasMats(131686)" IgnoreCanRun="True">
         <CastSpellAction RepeatType="Specific" Repeat="1" Entry="131686" CastOnItem="False" ItemType="Chest" ItemId="0" />
        </If>
       </If>
      </If>
      would a delacration code to disable the bool after it cast the first one be a good solution?
       
    15. dr_rip

      dr_rip New Member

      Joined:
      Dec 20, 2012
      Messages:
      10
      Likes Received:
      0
      Trophy Points:
      0
      Im using gatherbuddy2 1-600 herbalism, but he's looting 3 times one herb and meanwhile mounting. It looks really "botty", so can anyone help me with this?
       
    16. Putte123

      Putte123 New Member

      Joined:
      Feb 9, 2013
      Messages:
      1
      Likes Received:
      0
      Trophy Points:
      1
      Same here, he opens, mounts, moves away, moves back and opens 3 times before he loots. Why is this?
       
    17. steven7705

      steven7705 New Member

      Joined:
      Feb 10, 2013
      Messages:
      5
      Likes Received:
      0
      Trophy Points:
      0
      is there a 1-600 skinny/LW alliance for pb yet? i cant seem to find one
       
    18. razer

      razer New Member

      Joined:
      Apr 29, 2012
      Messages:
      1,347
      Likes Received:
      7
      Trophy Points:
      0
      So now since latest release I get : "No Dungeon Script Found "
       
    19. Inrego

      Inrego New Member Buddy Store Developer

      Joined:
      Feb 7, 2010
      Messages:
      2,765
      Likes Received:
      71
      Trophy Points:
      0
      Hey highvoltz.. I improved your logging methods a little. First off, instead of creating new colors with the same values in LogInternal - I just use the ones that are passed as parameters in the method header. Secondly - I removed the Logging.WriteDiagnostic that you used (which caused everything to be written to log twice). I then added ScrollToEnd to make it scroll down in the window when something is added to the log - and finally I made a variable to contain the logfile message (and made a few changes to it so that it uses the same format as HB's default logging), as this seemed to make it more consistent with actually appending the text to the file. Here's the modified code:
      PHP:
      private static void LogInvoker(LogLevel levelColor headerColorstring headerColor msgColorstring format,
                              
      params object[] args)
      {
          if (
      Application.Current.Dispatcher.Thread == Thread.CurrentThread)
              
      LogInternal(levelheaderColorheadermsgColorformatargs);
          else
              
      Application.Current.Dispatcher.BeginInvoke(new LogDelegate(LogInternal), levelheaderColorheadermsgColor,
                                                          
      formatargs);
      }
      private static 
      RichTextBox _rtbLog;
      private static 
      void LogInternal(LogLevel levelColor headerColorstring headerColor msgColorstring format,
                                      
      params object[] args)
      {
          if (
      level == LogLevel.None)
              return;
          try
          {
              
      string msg String.Format(formatargs);
              if (
      Styx.Helpers.GlobalSettings.Instance.LogLevel >= level)
              {
                  if (
      _rtbLog == null)
                      
      _rtbLog = (RichTextBox)Application.Current.MainWindow.FindName("rtbLog");

                  var 
      headerTR = new TextRange(_rtbLog.Document.ContentEnd_rtbLog.Document.ContentEnd) { Text header };
                  
      headerTR.ApplyPropertyValue(TextElement.ForegroundProperty, new SolidColorBrush(headerColor));

                  var 
      messageTR = new TextRange(_rtbLog.Document.ContentEnd_rtbLog.Document.ContentEnd);
                  
      messageTR.Text msg Environment.NewLine;
                  
      messageTR.ApplyPropertyValue(TextElement.ForegroundProperty, new SolidColorBrush(msgColor));
                  
      _rtbLog.ScrollToEnd();
              }
              try
              {
                  
      char abbr;
                  switch (
      level)
                  {
                      case 
      LogLevel.Normal:
                          
      abbr 'N';
                          break;
                      case 
      LogLevel.Quiet:
                          
      abbr 'Q';
                          break;
                      case 
      LogLevel.Diagnostic:
                          
      abbr 'D';
                          break;
                      case 
      LogLevel.Verbose:
                          
      abbr 'V';
                          break;
                      default:
                          
      abbr 'N';
                          break;
                  }
                  var 
      logMsg string.Format("[{0} {4}]{1}{2}{3}"DateTime.Now.ToString("HH:mm:ss.fff"), headermsgEnvironment.NewLineabbr);
                  
      File.AppendAllText(Logging.LogFilePathlogMsg);
              }
              catch { }
          }
          catch
          {
              
      Logging.Write(header formatargs);
          }
      }

      private 
      delegate void LogDelegate(LogLevel level,
          
      Color headerColorstring headerColor msgColorstring formatparams object[] args);
      EDIT: Hold on, I'm in the process of adding LogLevel aswell.

      EDIT2: Done
       
      Last edited: Feb 11, 2013
    20. highvoltz

      highvoltz Well-Known Member

      Joined:
      Mar 22, 2010
      Messages:
      1,729
      Likes Received:
      141
      Trophy Points:
      63
      Thanks Inrego.
      I was planning to fix the logging but you spared me the trouble.
       

    Share This Page