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.
Error on compiling (824)
Re: Error on compiling (824)
when it says error in compiling it means there is an issue with the code itself, not the usage.
that should probably be
Code: Select all
sendMacro("SellItems())
Code: Select all
sendMacro("SellItems()")
Remember no matter you do in life to always have a little fun while you are at it
wiki here http://www.solarstrike.net/wiki/index.php?title=Manual
wiki here http://www.solarstrike.net/wiki/index.php?title=Manual
-
- Posts: 23
- Joined: Tue Sep 18, 2012 6:25 pm
Re: Error on compiling (824)
Oh darn, I must have been way too tired :>
Gonna tried it - thx x)
Gonna tried it - thx x)
-
- Posts: 23
- Joined: Tue Sep 18, 2012 6:25 pm
Re: Error on compiling (824)
Mhm =/
Doesnt work so far -
Even after taking out the sendMacro-function, I still had the same error =(
Doesnt work so far -
Even after taking out the sendMacro-function, I still had the same error =(
Re: Error on compiling (824)
use
not
Code: Select all
store:buyItem(nameIdOrIndex, quantity)
Code: Select all
inventory:buyItem(XYZ, 1)
Remember no matter you do in life to always have a little fun while you are at it
wiki here http://www.solarstrike.net/wiki/index.php?title=Manual
wiki here http://www.solarstrike.net/wiki/index.php?title=Manual
Who is online
Users browsing this forum: Bing [Bot] and 3 guests