Error on compiling (824)
Posted: Thu Nov 15, 2012 11:00 pm
Ohayo -
I'm on my first steps with creating my own waypoint file and now some error occured to me -
the waypoing is quite simple
<?xml version="1.0" encoding="utf-8"?><waypoints>
<!-- # 1 --><waypoint x="-22065" z="3688" y="-179">
player:target_NPC("XYZ");
inventory:buyItem(XYZ, 1)
inventory:useItem(XYZ)
sendMacro("SellItems())
</waypoint>
</waypoints>
So basically this waypoint should let my character target the npc, buy the item I want in the amount of 1 and use the Item then, afterwards the Addon "AutoSellFilter" (Macro: SellItems()) should sell the items I've set to my sell-filters.
I probably have messed it up already -,-
But I know that I should have added some wait-function or something alike - the drop-to-inventory-cooldown is about 1 second.
Thanks in advance.
I'm on my first steps with creating my own waypoint file and now some error occured to me -
the waypoing is quite simple
<?xml version="1.0" encoding="utf-8"?><waypoints>
<!-- # 1 --><waypoint x="-22065" z="3688" y="-179">
player:target_NPC("XYZ");
inventory:buyItem(XYZ, 1)
inventory:useItem(XYZ)
sendMacro("SellItems())
</waypoint>
</waypoints>
So basically this waypoint should let my character target the npc, buy the item I want in the amount of 1 and use the Item then, afterwards the Addon "AutoSellFilter" (Macro: SellItems()) should sell the items I've set to my sell-filters.
I probably have messed it up already -,-
But I know that I should have added some wait-function or something alike - the drop-to-inventory-cooldown is about 1 second.
Thanks in advance.