Error Lua:559 - HELP

Runes of Magic/Radiant Arcana (http://www.runesofmagic.com)
Post Reply
Message
Author
srdjanns6
Posts: 6
Joined: Tue Sep 15, 2009 7:01 pm

Error Lua:559 - HELP

#1 Post by srdjanns6 » Sat Jan 29, 2011 12:22 pm

Guys can you help me with this errors i've got...

Image



This is my configuration :

<?xml version="1.0" encoding="utf-8"?>

<profile>
<options>
<option name="HP_LOW" value="70" />
<option name="MP_LOW_POTION" value="50" />
<option name="HP_LOW_POTION" value="40" />
<option name="USE_HP_POTION" value="best" />
<option name="USE_MANA_POTION" value="best" />


< Shopping options, how many of what do you want to keep in your inventory >
<option name="HEALING_POTION" value="99" />
<option name="ARROW_QUIVER" value="2" />
<option name="THROWN_BAG" value="2" />
<option name="POISON" value="30" />
<option name="RELOAD_AMMUNITION" value="false"/>

< Combat options >
<option name="COMBAT_TYPE" value="ranged" />
<option name="COMBAT_RANGED_PULL" value="225" />
<option name="COMBAT_DISTANCE" value="150" />
<option name="MAX_FIGHT_TIME" value="10" />
<option name="DOT_PERCENT" value="90" />
<option name="ANTI_KS" value="true" />
<option name="MAX_TARGET_DIST" value="1000" />

< Attack monsters 3 levels above or 10 below your level >
<option name="TARGET_LEVELDIF_ABOVE" value="5" />
<option name="TARGET_LEVELDIF_BELOW" value="10" />

< Waypoint and movement settings >
<option name="WAYPOINTS" value="Tukork.xml" />
<option name="RETURNPATH" value="minotauri2_return.xml" />
<option name="PATH_TYPE" value="waypoints" />
<option name="WANDER_RADIUS" value="10" />
<option name="WAYPOINT_DEVIATION" value="0" />
<option name="QUICK_TURN" value="false" />

<!-- Loot settings -->
<option name="LOOT" value="true" />
<option name="LOOT_IN_COMBAT" value="true" />
<option name="LOOT_DISTANCE" value="50" />
<option name="LOOT_PAUSE_AFTER" value="0" />

<!-- Log out and resurrect settings -->
<option name="LOGOUT_TIME" value="0" />
<option name="LOGOUT_SHUTDOWN" value="false" />
<option name="LOGOUT_WHEN_STUCK" value="true" />
<option name="RES_AUTOMATIC_AFTER_DEATH" value="false" />

</options>

<friends>
<friend name="MyOtherCharacter1" />
<friend name="MyOtherCharacter2" />
<friend name="Elite_Mob_Name1" />
<friend name="Elite_Mob_Name2" />
</friends>

<hotkeys>
<hotkey name="MACRO" key="VK_0" />
</hotkeys>

<skills_scout>
<skill name="SCOUT_SHOT" modifier="" hotkey="VK_3" priority="100" />
<skill name="SCOUT_WIND_ARROWS" hotkey="VK_4" priority="90" />
<skill name="SCOUT_PIERCING_ARROW" hotkey="VK_2" priority="80" />
</skills_scout>



<onLoad>
-- Additional Lua code to execute after loading the profile
-- and before the bot starts. e.g. You could overwrite profile settings here
-- like: changeProfileOption("HP_REST", 60);
</onLoad>

<onDeath>
-- Additional Lua code to execute on death
-- pauseOnDeath(); -- Stop the script
</onDeath>

<onLeaveCombat>
-- Additional Lua code to execute after killing an enemy

</onLeaveCombat>

<onSkillCast>
-- Additional Lua code to execute when casting a skill
-- Note: arg1 contains the skill being used.
-- i.e. arg1.Name will be the name of the skill being cast.
</onSkillCast>
</profile>

JackBlonder
Posts: 99
Joined: Sat Dec 18, 2010 6:55 am

Re: Error Lua:559 - HELP

#2 Post by JackBlonder » Sat Jan 29, 2011 12:26 pm

Change

Code: Select all

< Shopping options, how many of what do you want to keep in your inventory >
to

Code: Select all

<!-- Shopping options, how many of what do you want to keep in your inventory -->

srdjanns6
Posts: 6
Joined: Tue Sep 15, 2009 7:01 pm

Re: Error Lua:559 - HELP

#3 Post by srdjanns6 » Sat Jan 29, 2011 12:30 pm

changed,still same....

Btw i am scout if it change anything... :(

JackBlonder
Posts: 99
Joined: Sat Dec 18, 2010 6:55 am

Re: Error Lua:559 - HELP

#4 Post by JackBlonder » Sat Jan 29, 2011 12:32 pm

Change it at EVERY comment in your profile
Everything written between <!-- and --> is interpreted as comment.
For example

Code: Select all

< Shopping options, how many of what do you want to keep in your inventory >
shoud be

Code: Select all

<!-- Shopping options, how many of what do you want to keep in your inventory -->
because this text is meant as comment.
Look at the default profile to see how to do it.

User avatar
Giram
Posts: 191
Joined: Thu Aug 26, 2010 3:34 pm
Location: Finland

Re: Error Lua:559 - HELP

#5 Post by Giram » Sat Jan 29, 2011 12:36 pm

Replace your code with this and test if will work.

Code: Select all

<?xml version="1.0" encoding="utf-8"?>

<profile>
<options>
<option name="HP_LOW" value="70" />
<option name="MP_LOW_POTION" value="50" />
<option name="HP_LOW_POTION" value="40" />
<option name="USE_HP_POTION" value="best" />
<option name="USE_MANA_POTION" value="best" />


<!-- Shopping options, how many of what do you want to keep in your inventory -->
<option name="HEALING_POTION" value="99" />
<option name="ARROW_QUIVER" value="2" />
<option name="THROWN_BAG" value="2" />
<option name="POISON" value="30" />
<option name="RELOAD_AMMUNITION" value="false"/>

<!-- Combat options -->
<option name="COMBAT_TYPE" value="ranged" />
<option name="COMBAT_RANGED_PULL" value="225" />
<option name="COMBAT_DISTANCE" value="150" />
<option name="MAX_FIGHT_TIME" value="10" />
<option name="DOT_PERCENT" value="90" />
<option name="ANTI_KS" value="true" />
<option name="MAX_TARGET_DIST" value="1000" />

<!-- Attack monsters 3 levels above or 10 below your level -->
<option name="TARGET_LEVELDIF_ABOVE" value="5" />
<option name="TARGET_LEVELDIF_BELOW" value="10" />

<!-- Waypoint and movement settings -->
<option name="WAYPOINTS" value="Tukork.xml" />
<option name="RETURNPATH" value="minotauri2_return.xml" />
<option name="PATH_TYPE" value="waypoints" />
<option name="WANDER_RADIUS" value="10" />
<option name="WAYPOINT_DEVIATION" value="0" />
<option name="QUICK_TURN" value="false" />

<!-- Loot settings -->
<option name="LOOT" value="true" />
<option name="LOOT_IN_COMBAT" value="true" />
<option name="LOOT_DISTANCE" value="50" />
<option name="LOOT_PAUSE_AFTER" value="0" />

<!-- Log out and resurrect settings -->
<option name="LOGOUT_TIME" value="0" />
<option name="LOGOUT_SHUTDOWN" value="false" />
<option name="LOGOUT_WHEN_STUCK" value="true" />
<option name="RES_AUTOMATIC_AFTER_DEATH" value="false" />

</options>

<friends>
<friend name="MyOtherCharacter1" />
<friend name="MyOtherCharacter2" />
<friend name="Elite_Mob_Name1" />
<friend name="Elite_Mob_Name2" />
</friends>

<hotkeys>
<hotkey name="MACRO" key="VK_0" />
</hotkeys>

<skills_scout>
<skill name="SCOUT_SHOT" modifier="" hotkey="VK_3" priority="100" />
<skill name="SCOUT_WIND_ARROWS" hotkey="VK_4" priority="90" />
<skill name="SCOUT_PIERCING_ARROW" hotkey="VK_2" priority="80" />
</skills_scout>



<onLoad>
-- Additional Lua code to execute after loading the profile
-- and before the bot starts. e.g. You could overwrite profile settings here
-- like: changeProfileOption("HP_REST", 60);
</onLoad>

<onDeath>
-- Additional Lua code to execute on death
-- pauseOnDeath(); -- Stop the script
</onDeath>

<onLeaveCombat>
-- Additional Lua code to execute after killing an enemy

</onLeaveCombat>

<onSkillCast>
-- Additional Lua code to execute when casting a skill
-- Note: arg1 contains the skill being used.
-- i.e. arg1.Name will be the name of the skill being cast.
</onSkillCast>
</profile>

srdjanns6
Posts: 6
Joined: Tue Sep 15, 2009 7:01 pm

Re: Error Lua:559 - HELP

#6 Post by srdjanns6 » Sat Jan 29, 2011 1:19 pm

...hes/Runes of magic/micromacro/scripts/rom/macros.lua:68: No valid action keys
available for the command macro. Please supply an empty action key with a hotke
y and no modifier.


Now i got this message...

srdjanns6
Posts: 6
Joined: Tue Sep 15, 2009 7:01 pm

Re: Error Lua:559 - HELP

#7 Post by srdjanns6 » Sat Jan 29, 2011 1:45 pm

Ok i solved problem :)

Post Reply

Who is online

Users browsing this forum: Ahrefs [Bot] and 0 guests