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

Need help to coding my simple Profile

hardo

New Member
Joined
Aug 12, 2012
Messages
160
Reaction score
0
Hi people,

ich want to write a profil, which does the following:

  • if mail than goto mail
  • receive every item in mailbox
  • post everything in gbank
  • if there is more mail then do another loop if not stop

I found a profile that is very near to what I want. here is the code

Code:
<?xml version="1.0" encoding="utf-8"?>
<Professionbuddy>
  <While Condition="HasNewMail" IgnoreCanRun="True">
    <GetMailAction GetMailType="AllItems" ItemID="" CheckNewMail="True" MinFreeBagSlots="0" AutoFindMailBox="True" Location="0, 0, 0" />
    <PutItemInBankAction Category="TradeGoods" SubCategoryType="WoWItemTradeGoodsClass" SubCategory="Herb" Deposit="All" UseCategory="True" Bank="Guild" ItemID="" GuildTab="0" NpcEntry="0" Amount="0" AutoFindBank="True" Location="0, 0, 0" />
    <PutItemInBankAction Category="TradeGoods" SubCategoryType="WoWItemTradeGoodsClass" SubCategory="MetalStone" Deposit="All" UseCategory="True" Bank="Guild" ItemID="" GuildTab="0" NpcEntry="0" Amount="0" AutoFindBank="True" Location="0, 0, 0" />
  </While>
</Professionbuddy>

The difference is that this profile only post herbs and metal to gbank.

So to solve I have 2 options.
[*]
  • if I new the code for posting everything to gbank
  • I know which materials the toon will receive so I can add the code

If I tell you I want to post inscript mats and enchanter mats. how will it look like
 
I found in a profil this sentence
<PutItemInBankAction Deposit="All" UseCategory="False" Bank="Guild" ItemID="74248" GuildTab="0" AutoFindBank="True" />
so I only have to change the ItemID.

But this profile had to post everything, if I mail a item which isn't coded will not be postet in gbank, which makes me angry.

Where is the tag PutItemInBankAction documented ? I can't find it
 
Well, what happens when you just say all categories? Probably won't work...

<PutItemInBankAction Category="All" Deposit="All" UseCategory="True" Bank="Guild" ItemID="" GuildTab="0" AutoFindBank="True" />

PutItemInBankAction isn't really documented and I can't seem to find information on the categories either...


 
The categorys is the same as on wowhead, use the same names as there, or you can se it on AH as well, so set use category to True then set the cetegories.

Code:
<PutItemInBankAction Category="TradeGoods" SubCategoryType="WoWItemTradeGoodsClass" SubCategory="Herb" Deposit="All" UseCategory="True" Bank="Guild" ItemID="79255" GuildTab="0" NpcEntry="0" Amount="0" AutoFindBank="True" Location="0, 0, 0" />
 
Back
Top