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

One ( and i think simple) question to experienced profile writer

misiekxpxp

New Member
Joined
Jan 19, 2011
Messages
30
Reaction score
0
I would like to modificate my farming profile so that it would use mail boxes in aliance city if my toon is alliance, and IF my character is horde it will use a mailbox in horde town. I tried doing it this way:
<If Condition="Me.IsAlliance">
<Mailboxes>
/* Nagrand Telaar*/
<Mailbox X="-2669.003" Y="7285.876" Z="35.45018" />
</Mailboxes>

<Vendors>
/* Nagrand Telaar*/
<Vendor Name="Sparik" Entry="19012" Type="Repair" X="-2536.114" Y="7354.487" Z="7.733292" />
</Vendors>
</If>
<If Condition="Me.IsHorde">




<Mailboxes>
<Mailbox X="-1267.71" Y="7175.016" Z="57.30987" />
</Mailboxes>


<Vendors>


<Vendor Name="Osrok the Immovable" Entry="19011" Type="Repair" X="-1332.878" Y="7197.079" Z="34.19059" />
</Vendors>
</If>


but it doesnt work (its as if no mailbox were ever listed). Can anyone tell me a proper way to do what i tried doing here ? ;p
 
Bump. Still dont know how to do it. Tried SetMailbox too and it seems all the mailboxes listed in all if conditions i do are ignored. Can someone tell me why is this happening?
 
look at the top of my deepholm profile (after <QuestOrder>)
 
Wel i checked your questing profile. You got it like this:
<If Condition="Me.IsAlliance" > <!-- Set Vendor and Mailbox -->
<SetVendor>
<Vendors>
<Vendor Name="Rocky Cliffedge" Entry="44972" Type="Repair" X="666.938" Y="1779.79" Z="341" /> <!-- Fractured Front - West -->
<Vendor Name="Earthmender Doros" Entry="45363" Type="Repair" X="54.9115" Y="-274.955" Z="208.6113" /> <!-- Twilight Overlook - SE -->
<!-- Twilight Overlook - Food
<Vendor Name="Hegrid Blazewing" Entry="45361" Type="Food" X="19.7554" Y="-294.1531" Z="201.3132" />
-->
<Vendor Name="Dugsley Deepdelver" Entry="45294" Type="Repair" X="1052.99" Y="636.936" Z="-45.87071" /> <!-- Alliance -->
<Vendor Name="Shale Drilldeep" Entry="44970" Type="Sell" X="449.076" Y="1627.16" Z="351.9172" /> <!-- Stonehearth -->
</Vendors>
</SetVendor>
<SetMailbox>
<Mailboxes>
<Mailbox X="1050.438" Y="635.0461" Z="-45.78476" /> <!-- Alliance -->
</Mailboxes>
</SetMailbox>
</If>
What i did is
<If Condition="Me.IsAlliance" >

<SetVendor> /* Nagrand Telaar*/
<Vendors>
<Vendor Name="Sparik" Entry="19012" Type="Repair" X="-2536.114" Y="7354.487" Z="7.733292" />
</Vendors>
</SetVendor>





<SetMailbox> /* Nagrand Telaar*/
<Mailboxes>
<Mailbox X="-2669.003" Y="7285.876" Z="35.45018" />
</Mailboxes>
</SetMailbox>


</If>

Well i think im putting IF in wrong place a place that bot doesnt even check. This is how the profile looks atm (im trying to change some profil i found which had alliance mailboxes working and wanted to make it mail stuff for my horde toons too)
I will actually attache the whole file as it is now (i removed the part with horde mailbox and im just trying to get this setmailbox thing work for alliance)
 

Attachments

So is there any way you can think of to make GB2 profile that would mail items using horde / alliance only mailboxes according to the faction of your toon?

if not i gues i have to either:
1) Copy a profile and make a second horde only version
or
2) Put neutral shattrath Mailbox in the profile
:(
 
Back
Top