What's new
  • Visit Rebornbuddy
  • Visit Resources
  • Visit API Documentation
  • Visit Downloads
  • Visit Portal
  • Visit Panda Profiles
  • Visit LLamamMagic

Beginning with Profile-Develop

Mamoro

New Member
Joined
Jan 1, 2012
Messages
13
Reaction score
0
Hello @ All,

today i started to make a Profile to Buy Mats for my Profession. But the Profile won't work - can you tell me why?

Here it is:


Code:
<?xml version="1.0" encoding="UTF-8"?>
<Professionbuddy>
    <If Condition="Me.FreeNormalBagSlots &lt;= 2" IgnoreCanRun="True">
      <SellItemOnAhAction Category="Consumable" SubCategoryType="SubCategoryType" SubCategory="None" UseCategory="True" RunTime="_24_Hours" AmountType="Everything" ItemID="0" MinBuyout="0g10s0c" MaxBuyout="100g0s0c" StackSize="20" IgnoreStackSizeBelow="1" Amount="10" BidPrecent="95" UndercutPrecent="0.0001" AutoFindAh="True" PostIfBelowMinBuyout="True" Location="0, 0, 0" />
    </If>
    <If Condition="InbagCount(39502) &lt; 20" IgnoreCanRun="True">
      <BuyItemAction NpcEntry="28723" Location="5863.787,709.321,643.248" ItemID="39502" BuyItemType="SpecificItem" Count="120" BuyAdditively="True" />
      <WaitAction Condition="false" Timeout="2000" />
    </If>
    <If Condition="InbagCount(30817) &lt; 20" IgnoreCanRun="True">
      <BuyItemAction NpcEntry="31031" Location="5,854.18,472.54,639.79" ItemID="30817" BuyItemType="SpecificItem" Count="120" BuyAdditively="True" />
    </If>
    <If Condition="HasNewMail || MailCount &gt; 0" IgnoreCanRun="True">
      <GetMailAction GetMailType="AllItems" ItemID="0" CheckNewMail="True" MinFreeBagSlots="2" AutoFindMailBox="True" Location="0, 0, 0" />
      <WaitAction Condition="false" Timeout="2000" />
    </If>
</Professionbuddy>
 
Hello @ All,

today i started to make a Profile to Buy Mats for my Profession. But the Profile won't work - can you tell me why?

Here it is:


Code:
<!--?xml version="1.0" encoding="UTF-8"?-->


    <if condition="Me.FreeNormalBagSlots <= 2" ignorecanrun="True">
      <sellitemonahaction category="Consumable" subcategorytype="SubCategoryType" subcategory="None" usecategory="True" runtime="_24_Hours" amounttype="Everything" itemid="0" minbuyout="0g10s0c" maxbuyout="100g0s0c" stacksize="20" ignorestacksizebelow="1" amount="10" bidprecent="95" undercutprecent="0.0001" autofindah="True" postifbelowminbuyout="True" location="0, 0, 0">
    </sellitemonahaction></if>
    <if condition="InbagCount(39502) < 20" ignorecanrun="True">
      <buyitemaction npcentry="28723" location="5863.787,709.321,643.248" itemid="39502" buyitemtype="SpecificItem" count="120" buyadditively="True">
      <waitaction condition="false" timeout="2000">
    </waitaction></buyitemaction></if>
    <if condition="InbagCount(30817) < 20" ignorecanrun="True">
      <buyitemaction npcentry="31031" location="5,854.18,472.54,639.79" itemid="30817" buyitemtype="SpecificItem" count="120" buyadditively="True">
    </buyitemaction></if>
    <if condition="HasNewMail || MailCount > 0" ignorecanrun="True">
      <getmailaction getmailtype="AllItems" itemid="0" checknewmail="True" minfreebagslots="2" autofindmailbox="True" location="0, 0, 0">
      <waitaction condition="false" timeout="2000">
    </waitaction></getmailaction></if>
</professionbuddy>

I know why it doesn't work, there's no code :)
Also, is it a plugin you're working on? Cause profiles wont buy you profession items?
 
It should work if you mark it as php , but we should get the tags working the way we exspect it.
 
Hello,

it'll be a Profile for ProfessionBuddy in XML.

View attachment 39884

I dont know why you cant see Code :-( i dont see my own Code here in this forum too

Could u pls be a little bit more detailled ... what's not working?
Does it not sell, does it not buy, does it not get mails?
 
Works for me.

Only thing wrong was the code for InbagCount(30817) < 20 BuyItem.

The location of the Merchant and the npc id was wrong.

Which sub bot did you select? It has to be combat bot in your early case.

And i hope you were in Dalaran when you started this as alliance char. :D
 
Could u pls be a little bit more detailled ... what's not working?
Does it not sell, does it not buy, does it not get mails?

It makes nothing

@buzz

ohh, i started with professionbuddy :-/
I will try it again with Combat Bot

Edit:

I try with Combat Bot, but here is the problem again. My Char makes nothing, and in the Bot were no Error-Message.

View attachment 13.04.2012_12_32 7224 Log.txt

Edit 2:

I added this code in the .xml File:

Code:
<If Condition="SecondaryBot.Name != &quot;Combat Bot&quot;" IgnoreCanRun="True">
    <ChangeBotAction BotName="Combat Bot" />
  </If>

View attachment 39887
 
Last edited:
I said Sub bot, Professionbuddy as main bot and in the upper right corner of the professionbuddy window you choose combat bot.
 
Here is the new Log:


View attachment 13.04.2012_13_15 3480 Log.txt

Edit: Now i wanted to run away from the vendor - the Bot klick me back. Then i want to run away again and jump - in this moment he go back to the vendor and buy 6 stacks of the item.
but now he dont run to the cook-vendor.
 
Last edited:
Try this and see if it works. If it works, i think you can see what the error was :)
 

Attachments

Hi Cicrocoft, very thanks to your help! But my Char make some dizzy Things :-/ Everytime he ran to 1 Hotspot and stand there and makes nothing. Would it help when i past Hotspots on the xml file?
 
Hi Cicrocoft, very thanks to your help! But my Char make some dizzy Things :-/ Everytime he ran to 1 Hotspot and stand there and makes nothing. Would it help when i past Hotspots on the xml file?

I need to know what you want the bot to do. Atm this profile will buy 120 of each Flour and Spices if you are in Dalaran. After that, it will do nothing for 200000. If you are outside Dalaran, it will write a message in the log telling you to go to Dalaran.

1. Choose PB as your bot.
2. Click on Bot Config.
3. Load the profile (inside PB)
4. It should go buy the spices and flour (unless you already have above 20 of them in your bag)

Post your log after using the version i gave you. My guess is that you already have above 20 spices in your bag?
 
I need to know what you want the bot to do. Atm this profile will buy 120 of each Flour and Spices if you are in Dalaran. After that, it will do nothing for 200000. If you are outside Dalaran, it will write a message in the log telling you to go to Dalaran.

exactly - this things should the bot do.

Im standing in Dalaran near the Auctionator.

1) I start Honorbuddy
2) I choose Professionbuddy as Bot
3) I klick on "botkonfiguration" (Botconfiguration)
4) I klick [Priest]Singular v2 $Revision: 576$
5) I choose starting.xml and klick Load Profile
5.1) Combat Bot is activated in Botconfig
5.2) I Close the window
6) i click start
7) i fly to the bank and watching there for Flour and Spices - but there is nothing in. My Bag is also empty.

Here is my log.

View attachment 13.04.2012_15_48 7176 Log.txt

PS: In the Log stand: "[15:51:32:325] Successfully generated path from {5905.881, 722.6245, 644.0516} to {5854.18, 472.541, 639.786} in 392 milliseconds" that was in the moment, where i fly to the bank - in the middle of the way he found a path. From my start point before the Ah, nothing.
 
exactly - this things should the bot do.

Im standing in Dalaran near the Auctionator.

1) I start Honorbuddy
2) I choose Professionbuddy as Bot
3) I klick on "botkonfiguration" (Botconfiguration)
4) I klick [Priest]Singular v2 $Revision: 576$
5) I choose starting.xml and klick Load Profile
5.1) Combat Bot is activated in Botconfig
5.2) I Close the window
6) i click start
7) i fly to the bank and watching there for Flour and Spices - but there is nothing in. My Bag is also empty.

Here is my log.

View attachment 39898

PS: In the Log stand: "[15:51:32:325] Successfully generated path from {5905.881, 722.6245, 644.0516} to {5854.18, 472.541, 639.786} in 392 milliseconds" that was in the moment, where i fly to the bank - in the middle of the way he found a path. From my start point before the Ah, nothing.

So, it is working now?
 
Back
Top