What's new
  • Visit Rebornbuddy
  • Visit Panda Profiles
  • Visit LLamamMagic
  • Visit Resources
  • Visit Downloads
  • Visit Portal
RebornBuddy Forums

Register a free account today to become a member! Once signed in, you'll be able to participate on this site by adding your own topics and posts, as well as connect with other members through your own private inbox!

HB ARCHIVES: ProfessionBuddy--DO NOT DELETE

Hi highvoltz,

one little question

Code:
<If Condition="(bool)Settings[&quot;AH Buy Ore&quot;] &amp;&amp; (int)Me.Gold &gt;= (int)Settings[&quot;Minimum goldz to be able to buy.&quot;] &amp;&amp; Me.FreeNormalBagSlots  &gt; 7 &amp;&amp; (GainLoss = (Int32)MyStartingGold - (Int32)Me.Gold) &lt; 2000" IgnoreCanRun="False">
      <CallSubRoutine SubRoutineName="MoveToMAuctionhouse" />
      <If Condition="(Int32)Me.Gold &gt;= (Int32)Settings[&quot;Minimum goldz to be able to buy.&quot;] &amp;&amp; Me.FreeNormalBagSlots  &gt; 7 &amp;&amp; (GainLoss = (Int32)MyStartingGold - (Int32)Me.Gold) &lt; 2000" IgnoreCanRun="False">
        <CustomAction Code="var2 = (Int32)Settings[&quot;BuyOut Amount Ghost&quot;];" />
        <!--Klick "Buy Item From AH" Below then edit Max Buyout at the bottom-->
        <BuyItemFromAhAction ItemListType="Item" ItemID="72092" MaxBuyout="4g0s0c" Amount="20 * (Int32)var2" BuyAdditively="False" AutoFindAh="True" BidOnItem="False" Location="0, 0, 0" />
      </If>

[Code from Bengan, modified by me]

he is buying all the items from one AH Page before running again the If Check with calculating (GainLoss = (Int32)MyStartingGold - (Int32)Me.Gold) &lt; 2000".

Is this a Bug ? If not is there any way to force checking the If condition after buying each item and not the whole 50 from one AH Page ?

Thx
 
Hi highvoltz,

one little question

Code:
<If Condition="(bool)Settings[&quot;AH Buy Ore&quot;] &amp;&amp; (int)Me.Gold &gt;= (int)Settings[&quot;Minimum goldz to be able to buy.&quot;] &amp;&amp; Me.FreeNormalBagSlots  &gt; 7 &amp;&amp; (GainLoss = (Int32)MyStartingGold - (Int32)Me.Gold) &lt; 2000" IgnoreCanRun="False">
      <CallSubRoutine SubRoutineName="MoveToMAuctionhouse" />
      <If Condition="(Int32)Me.Gold &gt;= (Int32)Settings[&quot;Minimum goldz to be able to buy.&quot;] &amp;&amp; Me.FreeNormalBagSlots  &gt; 7 &amp;&amp; (GainLoss = (Int32)MyStartingGold - (Int32)Me.Gold) &lt; 2000" IgnoreCanRun="False">
        <CustomAction Code="var2 = (Int32)Settings[&quot;BuyOut Amount Ghost&quot;];" />
        <!--Klick "Buy Item From AH" Below then edit Max Buyout at the bottom-->
        <BuyItemFromAhAction ItemListType="Item" ItemID="72092" MaxBuyout="4g0s0c" Amount="20 * (Int32)var2" BuyAdditively="False" AutoFindAh="True" BidOnItem="False" Location="0, 0, 0" />
      </If>

[Code from Bengan, modified by me]



he is buying all the items from one AH Page before running again the If Check with calculating (GainLoss = (Int32)MyStartingGold - (Int32)Me.Gold) &lt; 2000".

Is this a Bug ? If not is there any way to force checking the If condition after buying each item and not the whole 50 from one AH Page ?

Thx
This might be an issue caused by lag, where Me.Gold isn't updated instantly
 
Stucks with all profiles when trying to do anything with the AH EDIT: actually works, but spent a few minutes doing nothing before anything happened
Do you remember exactly where the bot was stuck ? like by a mailbox? Did it have mail frame open?
 
Hello, I am trying to modify an script to better suite my needs. Anywho i am trying to make it so that the profile sends matching materials needed to make potions to an alt in matched amounts. here is an examle of the code.

<!--Mogu Power-->
<WhileCondition="InbagCount(79011) &gt; 20 &amp;&amp; InbagCount(72234) &gt; 20" IgnoreCanRun="True">
<MailItemAction Mail="Amount" Amount="20" Entry="79011, 72234" AutoFindMailBox="True" UseCategory="False" Category="TradeGoods" SubCategoryType="WoWItemTradeGoodsClass" SubCategory="None" X="0" Y="0" Z="0" />
<WaitAction Condition="false" Timeout="500" />
</While>


I have tried both while a While or If loop. the problem that is happening is with the && statement in the condition. it seems to loop as if behaving for and OR argument. If it runs out of Fools Cap(79011) it will keep looking and sending Green Tea(72234) it will also send amounts if < 20 where the condition also states > 20

Thanks for your help guys
 
Hello, I am trying to modify an script to better suite my needs. Anywho i am trying to make it so that the profile sends matching materials needed to make potions to an alt in matched amounts. here is an examle of the code.

<!--Mogu Power-->
<WhileCondition="InbagCount(79011) &gt; 20 &amp;&amp; InbagCount(72234) &gt; 20" IgnoreCanRun="True">
<MailItemAction Mail="Amount" Amount="20" Entry="79011, 72234" AutoFindMailBox="True" UseCategory="False" Category="TradeGoods" SubCategoryType="WoWItemTradeGoodsClass" SubCategory="None" X="0" Y="0" Z="0" />
<WaitAction Condition="false" Timeout="500" />
</While>


I have tried both while a While or If loop. the problem that is happening is with the && statement in the condition. it seems to loop as if behaving for and OR argument. If it runs out of Fools Cap(79011) it will keep looking and sending Green Tea(72234) it will also send amounts if < 20 where the condition also states > 20

Thanks for your help guys

Edit: I have no clue how all of those weird ProfessionBuddy conditions work. However if I recall the format was something like BlahCount(#####) &gt;= 20. If I was making a questing profile i'd be throwing around parenthesis but snooping around it doesn't seem like this bot cares for them.
 
Last edited:
Hey Highvoltz,

I've been spending quite some hours looking for what I need in the PB code but I just can't find, so I'll ask you straight up :p
Is there a way to specify which guildbank tabs to withdraw from/deposit to?

The only parameters that I'm seeing in GetItemFromGBank are the ItemID and the amount of said item, but not the tab (even though there's code for listing the amount of bank tabs).
Are my fears correct and is this just not possible with PB?

Regards,
Nab
 
Edit: I have no clue how all of those weird ProfessionBuddy conditions work. However if I recall the format was something like BlahCount(#####) &gt;= 20. If I was making a questing profile i'd be throwing around parenthesis but snooping around it doesn't seem like this bot cares for them.

yeah i really dunno why its not listening to the conditions. im almost wondering if its loopings before the game updates. is there anyway i can add a wait() interval, does that work in PB?
 
Hey Highvoltz,

I've been spending quite some hours looking for what I need in the PB code but I just can't find, so I'll ask you straight up :p
Is there a way to specify which guildbank tabs to withdraw from/deposit to?

The only parameters that I'm seeing in GetItemFromGBank are the ItemID and the amount of said item, but not the tab (even though there's code for listing the amount of bank tabs).
Are my fears correct and is this just not possible with PB?

Regards,
Nab

GetItemFromGBank has no way to specify which tab to get from. It will withdraw items from the first tab it finds item in and has permission to withdraw.
 
Hello, I am trying to modify an script to better suite my needs. Anywho i am trying to make it so that the profile sends matching materials needed to make potions to an alt in matched amounts. here is an examle of the code.

<!--Mogu Power-->
<WhileCondition="InbagCount(79011) &gt; 20 &amp;&amp; InbagCount(72234) &gt; 20" IgnoreCanRun="True">
<MailItemAction Mail="Amount" Amount="20" Entry="79011, 72234" AutoFindMailBox="True" UseCategory="False" Category="TradeGoods" SubCategoryType="WoWItemTradeGoodsClass" SubCategory="None" X="0" Y="0" Z="0" />
<WaitAction Condition="false" Timeout="500" />
</While>


I have tried both while a While or If loop. the problem that is happening is with the && statement in the condition. it seems to loop as if behaving for and OR argument. If it runs out of Fools Cap(79011) it will keep looking and sending Green Tea(72234) it will also send amounts if < 20 where the condition also states > 20

Thanks for your help guys
The condition looks good but unless you set 'IgnoreCanRun' to false the condition is only re-evaluated after the last action inside the If/While Condition is finished executing. In this case you'll want to set 'IgnoreCanRun' to false to force the condition to get re-evaluated on every pulse.
 
Last edited:
The condition looks good but unless you set 'IgnoreCanRun' to false the condition is only re-evaluated after the last action inside the If/While Condition is finished executing. In this case you'll want to set 'IgnoreCanRun' to false to force the condition to get re-evaluated on every pulse.


I have done that, it seems to help with the issue. but does not completely resolve it, it will still send a few extra of 1 type and a few non full stacks.
it feels almost as if its being caused by server delay. is there anyway i can issue a pause command of some kind to wait for wow to update? or get the condition to compare how many stacks of each there are. then automantically send a matching amount of matts.
 
I have done that, it seems to help with the issue. but does not completely resolve it, it will still send a few extra of 1 type and a few non full stacks.
it feels almost as if its being caused by server delay. is there anyway i can issue a pause command of some kind to wait for wow to update? or get the condition to compare how many stacks of each there are. then automantically send a matching amount of matts.

Try replacing the single MailItemAction with these two.
PHP:
<MailItemAction Category="TradeGoods" SubCategoryType="WoWItemTradeGoodsClass" SubCategory="None" Mail="Amount" UseCategory="False" ItemID="79011" Amount="InbagCount(79011) - 20" AutoFindMailBox="True" Location="0,0,0" />
  <MailItemAction Category="TradeGoods" SubCategoryType="WoWItemTradeGoodsClass" SubCategory="None" Mail="Amount" UseCategory="False" ItemID="72234" Amount="InbagCount(72234) - 20" AutoFindMailBox="True" Location="0, 0, 0" />
 
I have done that, it seems to help with the issue. but does not completely resolve it, it will still send a few extra of 1 type and a few non full stacks.
it feels almost as if its being caused by server delay. is there anyway i can issue a pause command of some kind to wait for wow to update? or get the condition to compare how many stacks of each there are. then automantically send a matching amount of matts.


Well i finally got it to send an accurate match of matts to my alt. without miscalculating or or glitching. took awhile but i had to run it like this, and thanks everyone for your help

Code:
	  <CustomAction Code="var2 = InbagCount(79011);" />
	  <CustomAction Code="var3 = InbagCount(72234);" />

	  <!--Mogu Power Fools Cap GT-->
      <If Condition="InbagCount(79011) &gt; 0 &amp;&amp; InbagCount(72234) &gt; 0 &amp;&amp; InbagCount(72234) &gt; InbagCount(79011)" IgnoreCanRun="true">
	  <CustomAction Code="Log (&quot;Sending Mogu Power GT&quot;);" />
         <MailItemAction Category="TradeGoods" SubCategoryType="WoWItemTradeGoodsClass" SubCategory="None" Mail="Amount" UseCategory="False" ItemID="79011, 72234" Amount="(Int32)var2" AutoFindMailBox="True" Location="0,0,0" />
	   <WaitAction Condition="false" Timeout="5000" />
      </If>

	  <!--Mogu Power Fools Cap LT-->
      <If Condition="InbagCount(79011) &gt; 0 &amp;&amp; InbagCount(72234) &gt; 0 &amp;&amp;  InbagCount(79011) &gt; InbagCount(72234)" IgnoreCanRun="true">
	  <CustomAction Code="Log (&quot;Sending Mogu Power LT&quot;);" />
         <MailItemAction Category="TradeGoods" SubCategoryType="WoWItemTradeGoodsClass" SubCategory="None" Mail="Amount" UseCategory="False" ItemID="72234, 79011" Amount="(Int32)var3" AutoFindMailBox="True" Location="0,0,0" />
	   <WaitAction Condition="false" Timeout="5000" />
      </If>
 
GetItemFromGBank has no way to specify which tab to get from. It will withdraw items from the first tab it finds item in and has permission to withdraw.

So are you saying that specific funtion within PB can't specify a tab, or that there is no way at all in general?

Thanks for the quick reply,

Nab
 
How do I make this condition work in PB
Me.Class == WoWClass.DeathKnight &amp;&amp; !IsQuestCompleted(13189)

It aparentelly doesnt support IsQuestCompleted
 
I'm having a very major problem with PB. It will NOT travel through tunnels or under bridges. It gets stuck and will stay stuck for hours. NO matter what profile I use. Please help. I cannot afk at all using PB. ( It don't seem to matter what profiles / bots I use with PB the results are the same, however my logs will show one particular log because of so many fresh installs and cache clears.

Please help i'm very frusterated i'm not able to AFK!
 

Attachments

Hi,

i re-installed now a few times HB and PB - always the same problem:

My Char wont attack any mobs - any ideas?

Thanks!
 
Hello coders :)

Im trying to make my first PB profile and got a little problem :)

I would like it to check if i got 12 total of stacks of itemid1 + itemid2 + itemid3 before i go and mail them.
So it can be like 4stacks of itemid1, 4stacks of itemid2 and 4stacks of itemid3
or just only 12stacks of itemid1, or 6x of itemid2 and 6x of itemid3.

The thing im using right now is this:
<If Condition="InbagCount(itemid1) &gt;= 20" IgnoreCanRun="False">
/../
</If>

But i would like to edit it so it only send if i got more than 12 stacks.

Sorry for bad english
Thanks
 
Back
Top