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

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

    1. Juxx

      Juxx New Member

      Joined:
      Jul 22, 2013
      Messages:
      42
      Likes Received:
      0
      Trophy Points:
      0
      Hey
      Could someone help me with the syntax of "GBankTabFreeSlots (tabNumber, CharacterName, Server)". Whatever I'm doing it doesn't work. Something is weird in the help of PB :
      I doubt that it could be use for those 3 functions.
      Help will be really appreciate!
       
    2. ZoOoOoM

      ZoOoOoM Community Developer

      Joined:
      Jan 15, 2010
      Messages:
      1,213
      Likes Received:
      14
      Trophy Points:
      38
      When Smelting ore, the Toon would go AFK WHILE smelting!
      Which causes my toon to "sit" between casts!
      is that supposed to happen?
       
    3. Juxx

      Juxx New Member

      Joined:
      Jul 22, 2013
      Messages:
      42
      Likes Received:
      0
      Trophy Points:
      0
      Yes, that's because you don't touch your keybord.
      Use : Always here because I'm AFK plugin.
      Ins't perfect, you'll be AFK, and then no more afk in the second (if you aren't casting) but it's easy to change i you take a look at the code.
       
    4. osbornx22

      osbornx22 New Member

      Joined:
      Feb 13, 2013
      Messages:
      24
      Likes Received:
      0
      Trophy Points:
      0
      GetItemFromBank with leaveing ItemID blank returns "no valid id" error :(
       
    5. MulinexMan

      MulinexMan Member

      Joined:
      Jan 15, 2010
      Messages:
      164
      Likes Received:
      0
      Trophy Points:
      16
      I'm about to start a little project and need some info on that:

      Is there any way implemented in PB to only post stuff to the AH when there's competitors to those items?
      If not, could someone direct me to the correct command to scan the AH for a specific item? If PB won't do this by itself I plan to build up a small data table with the information I need and use it to achieve what I'm looking for - but I need a way to gather the info from the AH for that. ;)

      Thanks guys!
       
    6. highvoltz

      highvoltz Well-Known Member

      Joined:
      Mar 22, 2010
      Messages:
      1,729
      Likes Received:
      141
      Trophy Points:
      63
      Version 1.618
      PB will now prevent WoW from automatically logging out due to inactivity.
       
    7. Juxx

      Juxx New Member

      Joined:
      Jul 22, 2013
      Messages:
      42
      Likes Received:
      0
      Trophy Points:
      0
      Is it also prevent from being AFK ? If yes could I disable this feature ?

      edit : If somebody else want to disable this feature edit lines from 42 to 46 in .../professionbuddy/Composites/PbDecorator.cs
       
    8. suicidaly

      suicidaly New Member

      Joined:
      Nov 23, 2013
      Messages:
      7
      Likes Received:
      0
      Trophy Points:
      0
      I have been trying to get Mining-Herb (1-600)flying-GB2 profile to work but it just fly around and never going down to farm nodes or herbs ..
      What should i do?

      Edit: Sorry, works now. I have to enable mining and herbing in Bot configuration panel
       
    9. sinbeast

      sinbeast Member

      Joined:
      Dec 22, 2011
      Messages:
      169
      Likes Received:
      0
      Trophy Points:
      16
      My bot gets to deepholm to level and it seems to take FOREVER to level as there are no nodes around. This has happened ton two different server, it just flies around the middle and never goes to the outer sections of deepholm. Its not picked up one node in 25 minutes, this is very weird...

      Edit: This is getting ridiculous, low pop server 45 minutes without a node?
       
    10. Wullie

      Wullie New Member

      Joined:
      Jun 8, 2013
      Messages:
      411
      Likes Received:
      3
      Trophy Points:
      0
      Howdy,

      Firstly, nice work on ProfessionBuddy, it's an amazing tool.

      I've been having some issues with it sending mails, and after stepping through the code, found it's a timing issue (it's calling SendMail a little too early and the client isn't actually sending the mail).

      I know this because I added extra debugging to verify the SendMail was actually getting called, and with what parameters, and then called it manually and it sends.

      This may be related to the optimisations done to HBCore of late, causing things to run slicker and quicker than they have before?

      Anyway, I've modified MailItemAction.cs to fix the issue, and hopefully you're happy to commit.

      This is the section that's calling SendMail too quickly
      Code:
                      if (_itemList.Count == 0)
                      {
                          Professionbuddy.Debug("Sending any remaining items already in SendMail item slots. Mail subject will be: {0} ",_mailSubject);
                          Lua.DoString(
                              "for i=1,ATTACHMENTS_MAX_SEND do print(\"GetSendMailItem:\"..GetSendMailItem(i)) if GetSendMailItem(i) ~= nil then print(\"Sending. To {0}. Subject: |{1}|\") SendMail(\"{0}\",\"{1}\",'') end end ",
                              CharacterSettings.Instance.MailRecipient.ToFormatedUTF8(),
                              _mailSubject != null ? _mailSubject.ToFormatedUTF8() : " ");
                          Professionbuddy.Debug("Done sending mail");
                          IsDone = true;
                          return RunStatus.Failure;
                      }
      
      My updates are as follows:

      Declare a new Stopwatch in the class:
      Code:
      private readonly Stopwatch _itemAttached = new Stopwatch();
      
      Just below the existing _itemSplitSW Stopwatch check, add the new one, so returns to the tree walker if running and reads as
      Code:
                      if (_itemSplitSW.IsRunning && _itemSplitSW.ElapsedMilliseconds <= 2000)
                          return RunStatus.Success;
      				if (_itemAttached.IsRunning && _itemAttached.ElapsedMilliseconds <= 2000)
                          return RunStatus.Success;
      
      When we've removed an item from our internal list, ensure we trigger the stopwatch:
      Code:
      if (done)
                      {
      					Professionbuddy.Debug("Removing item from list...");
                          _itemList.Remove(itemID);
      					_itemAttached.Reset();
      					_itemAttached.Start();
                      }
      
      (I guess the stopwatch could be started from elsewhere, as this may delay between adding items, but this is tested and working).

      Hope it helps!
       
    11. karlsen

      karlsen Member

      Joined:
      Jun 16, 2012
      Messages:
      41
      Likes Received:
      0
      Trophy Points:
      6
      I'm having trouble figuring out how to use MoveToAction where I put in variables instead of typed numbers. It works fine with inputted nubmers: <MoveToAction Location="1000,1000, 1000" MoveType="Location" Pathing="ClickToMove" Entry="0" />
      But once I try and use a double or an integer in the location <MoveToAction Location="varx , vary , varz " MoveType="Location" Pathing="ClickToMove" Entry="0" /> it appears like it wants to go to (0,0,0) even though my variables are not 0 at all. I've tried printing out these variables and they are clearly not 0.
      I've even tried strings but they don't seem to work either. Please help me out how I can convert the variables to the correct type for it to work or if there is another workaround for it to work.
       
    12. Jukkeh96

      Jukkeh96 New Member

      Joined:
      Dec 2, 2013
      Messages:
      1
      Likes Received:
      0
      Trophy Points:
      0
      This doesn't work. I've followed the instructions precisely but my character wont move. It just keep saying "loading profiles"..
       
    13. Khasuistic

      Khasuistic Member

      Joined:
      Dec 2, 2010
      Messages:
      133
      Likes Received:
      0
      Trophy Points:
      16
      My PB-profile collects Saronit in Sholozar:
      Code:
      <?xml version="1.0" encoding="utf-8"?>
      <Professionbuddy>
          <CustomAction Code="Log(&quot;Start PB Farming Saronit &quot;);" />
        <!--*** Select GB2 ***-->
        <If Condition="TreeRoot.Current.Name != &quot;Gatherbuddy2&quot;" IgnoreCanRun="True">
          <CustomAction Code="SwitchToBot (&quot;Gatherbuddy2&quot;);" />
        </If>
      
      
        <If Condition="Me.FreeNormalBagSlots &gt; 3" IgnoreCanRun="True">
        
          <!--*** Farming Saronite While I have it <= 200 *** -->
      
          <While Condition="InbagCount (36912) &lt;= 200 || Me.FreeNormalBagSlots &gt; 3" IgnoreCanRun="True">
              <LoadProfileAction ProfileType="Honorbuddy" Path="saronit_sholo.xml" /> 
          </While>
          
          <While Condition="InbagCount (36912) &gt;= 201 || Me.FreeNormalBagSlots &lt; 4" IgnoreCanRun="True">
            <CustomAction Code="Log(&quot;Loading General profile&quot;);" />
                  <CustomAction Code="Mount.Dismount();" />
                  <CustomAction Code="Lua.DoString(&quot;UseItemByName(6948)&quot;);" />
                  <WaitAction Condition="Me.IsCasting" Timeout="11000" />
                  <WaitAction Condition="Me.ZoneId == 4395" Timeout="20000" />
            <LoadProfileAction ProfileType="Professionbuddy" Path="GeneralPBProfile.xml" />
          </While>
         
        </If>
      </Professionbuddy>
      Why GB2 collects full bags saronite ore (more 100 stacks!!!) if I write: While Condition="InbagCount (36912) <= 200
      Why???????????????
      This worked very long! Now it do'nt work.
      Why ???

      After the patch WoW 5.4 you broke your ProfessionBuddy!!
       
    14. ck13

      ck13 New Member

      Joined:
      Mar 17, 2012
      Messages:
      3
      Likes Received:
      0
      Trophy Points:
      0
      hi,

      until yesterday my bot doesn't work anymore. The bot changes allway the Profile to "Level 1 - 90" although i have a much higher profession Level. Please help me..
       

      Attached Files:

    15. Mathias11

      Mathias11 Member

      Joined:
      Oct 17, 2012
      Messages:
      41
      Likes Received:
      0
      Trophy Points:
      6
      When i go into 'Bot Config', it says BGBuddy in the right corner and i can't pick 'ProfessionBuddy' :)
       
    16. persil

      persil New Member

      Joined:
      May 5, 2011
      Messages:
      1
      Likes Received:
      0
      Trophy Points:
      0
      Hello!
      I find a bug in profile Fishing1-600(dalaran).

      this must be:
      <If Condition="(Fishing.MaxLevel - Fishing.Level &lt;= 25 &amp;&amp; Fishing.MaxLevel != 600) || Me.BagsFull" IgnoreCanRun="True">
      or bot stop on 575 skill!
       
    17. holypalaswe

      holypalaswe New Member

      Joined:
      Jan 31, 2012
      Messages:
      8
      Likes Received:
      0
      Trophy Points:
      0
      My bot does not click / loot the blobber when fish gets caught, it doesn't react what so ever. I'm not using any addons, I have tested disabled all plugins in HB, downloaded a fresh version of HB including using SVN as the original post here tells you to.

      All settings are default in honorbuddy, I'm just running the 1-600 Dalaran fishing profile, standing at the fountain in Dalaran.

      The blobber is clearly visibile on the screen, and the cast goes the full duration as the bot doesn't react when fish is on the line.

      View attachment 6600 2013-12-11 19.43.txt
       
    18. laria

      laria Well-Known Member

      Joined:
      Jan 15, 2010
      Messages:
      5,386
      Likes Received:
      36
      Trophy Points:
      48
      it's a core issue, AutoAngler had the same issue.HighVoltz is informed
       
    19. adicutz

      adicutz New Member

      Joined:
      Mar 11, 2011
      Messages:
      40
      Likes Received:
      0
      Trophy Points:
      0
      Ahbot error

      Hye there, there was a new PB build implemented arround 2 weeks ago, where something changed on AHbot. I`m talking about the "Sell item to AH" option, where on "Consumables" tab , the "Subcategory" option is not working anymore.
      For example. i have set in my AHbot "Sell item to AH: Consumable (ItemEnchantment)x2" it won`t list my auction. This goes for every other subcategory on the "Consumable". IF i set "Item Subcategory: None" it will post all the auctions.
      I usually fix a lot of my problems by research but this time i wasn`t able to find the reason behind PB not being able to recognize the "Subcategory".

      Here is a log for it.
      View attachment 4224 2013-12-17 12.29.txt
       
    20. Zimetix

      Zimetix New Member

      Joined:
      Nov 6, 2011
      Messages:
      35
      Likes Received:
      1
      Trophy Points:
      0
      "same problem" Autoangler alone work fine, but with PB doesn't work anymore.
      cant catch the fish out of the water

      View attachment 113991

      and it also with the new HB version 712
       

    Share This Page