Error on compiling (824)

Runes of Magic/Radiant Arcana (http://www.runesofmagic.com)
Post Reply
Message
Author
prometheus
Posts: 23
Joined: Tue Sep 18, 2012 6:25 pm

Error on compiling (824)

#1 Post by prometheus » 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.

User avatar
lisa
Posts: 8332
Joined: Tue Nov 09, 2010 11:46 pm
Location: Australia

Re: Error on compiling (824)

#2 Post by lisa » Thu Nov 15, 2012 11:17 pm

when it says error in compiling it means there is an issue with the code itself, not the usage.

Code: Select all

sendMacro("SellItems())
that should probably be

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

prometheus
Posts: 23
Joined: Tue Sep 18, 2012 6:25 pm

Re: Error on compiling (824)

#3 Post by prometheus » Fri Nov 16, 2012 6:30 am

Oh darn, I must have been way too tired :>

Gonna tried it - thx x)

prometheus
Posts: 23
Joined: Tue Sep 18, 2012 6:25 pm

Re: Error on compiling (824)

#4 Post by prometheus » Fri Nov 16, 2012 6:41 am

Mhm =/

Doesnt work so far -

Even after taking out the sendMacro-function, I still had the same error =(

User avatar
lisa
Posts: 8332
Joined: Tue Nov 09, 2010 11:46 pm
Location: Australia

Re: Error on compiling (824)

#5 Post by lisa » Fri Nov 16, 2012 7:25 am

use

Code: Select all

store:buyItem(nameIdOrIndex, quantity)
not

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

Post Reply

Who is online

Users browsing this forum: Ahrefs [Bot], Google [Bot] and 6 guests