<Quest Id="27663" Name="Tastes Like Strider">
<Objective Type="CollectItem" ItemId="62043" CollectCount="9">
<Hotspots>
<Hotspot X="-9904.815" Y="-4082.875" Z="20.56071" />
<Hotspot X="-9972.042" Y="-4084.329" Z="22.8256" />
<Hotspot X="-10010.32" Y="-4122.773" Z="18.51685" />
<Hotspot X="-10074.31" Y="-4117.88" Z="18.26463" />
<Hotspot X="-10089.36" Y="-4070.396" Z="17.37491" />
<Hotspot X="-10020.59" Y="-4039.998" Z="18.53629" />
<Hotspot X="-9965.685" Y="-3997.468" Z="17.37515" />
<Hotspot X="-9928.227" Y="-3949.396" Z="17.37456" />
<Hotspot X="-9890.52" Y="-3948.644" Z="23.43708" />
<Hotspot X="-9836.794" Y="-3963.575" Z="22.72407" />
<Hotspot X="-9919.475" Y="-4042.567" Z="17.46021" />
<Hotspot X="-9982.989" Y="-4086.107" Z="24.05778" />
</Hotspots>
</Objective>
var1 = HasNewMail;
if(MailCount > 0)
|_var1=1
Hey. I'm pretty new to PB and I cant seem to get this script to work they way i think it should lol.
What I think it should do: check bags for Jasper, buy 80 jc settings, make rings, and mail rings to alt.
What it currently does: checks bags, gets settings, makes rings
I cant seem to get it to mail when my bags are full. Am i using Me.FreeNormalBagSlots incorrectly? Bags just fill up and toon keeps on trying to craft more. (On this note, is there some way to end the script if bags are full?)
Also, is there another list of API for PB other than the guide that came with it and the first post in this thread?
Thanks, and sry about the poor scripting![]()
you gotta put code like that in an if condition with quest id's or each time you press s tart, it will fly there
PHP:<If Condition="(HasQuest(12542))" > <CustomBehavior File="FlyTo" X="4594.474" Y="-1085.474" Z="165.4841" /> <CustomBehavior File="ForcedDismount" /> </If>
code added and committed to svn
The quest:
The quest is meant to pick 9 loot from Swampstrider - NPC - World of Warcraft.Code:<Quest Id="27663" Name="Tastes Like Strider"> <Objective Type="CollectItem" ItemId="62043" CollectCount="9"> <Hotspots> <Hotspot X="-9904.815" Y="-4082.875" Z="20.56071" /> <Hotspot X="-9972.042" Y="-4084.329" Z="22.8256" /> <Hotspot X="-10010.32" Y="-4122.773" Z="18.51685" /> <Hotspot X="-10074.31" Y="-4117.88" Z="18.26463" /> <Hotspot X="-10089.36" Y="-4070.396" Z="17.37491" /> <Hotspot X="-10020.59" Y="-4039.998" Z="18.53629" /> <Hotspot X="-9965.685" Y="-3997.468" Z="17.37515" /> <Hotspot X="-9928.227" Y="-3949.396" Z="17.37456" /> <Hotspot X="-9890.52" Y="-3948.644" Z="23.43708" /> <Hotspot X="-9836.794" Y="-3963.575" Z="22.72407" /> <Hotspot X="-9919.475" Y="-4042.567" Z="17.46021" /> <Hotspot X="-9982.989" Y="-4086.107" Z="24.05778" /> </Hotspots> </Objective>
character / gearing issue. Also, you shouldn't be 73 unless you started at 68, which it clearly states to start at 70
[1:11:01 PM:32] Compiler Error:52
Property or indexer 'CodeDriver.MailCount' cannot be assigned to -- it is read onlyCompiler Error:52
Cannot implicitly convert type 'int' to 'bool'