Error Lua:559 - HELP
Error Lua:559 - HELP
Guys can you help me with this errors i've got...
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>
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>
-
- Posts: 99
- Joined: Sat Dec 18, 2010 6:55 am
Re: Error Lua:559 - HELP
Change
to
Code: Select all
< Shopping options, how many of what do you want to keep in your inventory >
Code: Select all
<!-- Shopping options, how many of what do you want to keep in your inventory -->
Re: Error Lua:559 - HELP
changed,still same....
Btw i am scout if it change anything...
Btw i am scout if it change anything...
-
- Posts: 99
- Joined: Sat Dec 18, 2010 6:55 am
Re: Error Lua:559 - HELP
Change it at EVERY comment in your profile
Everything written between <!-- and --> is interpreted as comment.
For example
shoud be
because this text is meant as comment.
Look at the default profile to see how to do it.
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 >
Code: Select all
<!-- Shopping options, how many of what do you want to keep in your inventory -->
Look at the default profile to see how to do it.
Re: Error Lua:559 - HELP
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>
Re: Error Lua:559 - HELP
...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...
available for the command macro. Please supply an empty action key with a hotke
y and no modifier.
Now i got this message...
Re: Error Lua:559 - HELP
Ok i solved problem
Who is online
Users browsing this forum: Ahrefs [Bot], Google [Bot] and 6 guests