Re: RoM bot
Posted: Tue Feb 24, 2009 2:27 pm
Getting this error message:
Script> rom/bot.lua
Opening bot.lua...
Starting script execution - Press CTRL+C to exit.
Press CTRL+L to cancel execution and low a new script.
-------------------------------------------------------------------------------
The macro is currently not running. Press the start key (DEL) to begin.
You may use (END) key to stop/pause the script.
Started.
RoM Bot Version 2.14
playerAddr: 0x29CED700
...s/Runes of Magic/micromacro/scripts/rom/settings.lua:68: XML Parse Error.
File: ...of Magic/micromacro/scripts/rom/profiles/Playername.xml
Line: 38
Column: 4
Message: mismatched tag
My Playername.xml file:
<profile>
<options>
<option name="HP_LOW" value="95" />
<option name="MP_LOW_POTION" value="20" />
<option name="HP_LOW_POTION" value="40" />
<option name="COMBAT_TYPE" value="ranged" />
<option name="COMBAT_DISTANCE" value="200" />
<option name="ANTI_KS" value="true" />
<option name="WAYPOINTS" value="bears.xml" />
<option name="LOOT" value="true" />
<option name="LOOT_TIME" value="2500" />
<option name="ENERGY_STORAGE_1" value="mana" />
<option name="ENERGY_STORAGE_2" value="none" />
<option name="POTION_COOLDOWN" value="15" />
<option name="MAX_FIGHT_TIME" value="60" />
<option name="DOT_PERCENT" value="90" />
</options>
<friends>
<friend name="" />
<friend name="" />
</friends>
<hotkeys>
<hotkey name="HP_POTION" key="VK_0" modifier="" />
<hotkey name="MP_POTION" key="VK_MINUS" modifier="" />
<hotkey name="ATTACK" key="VK_1" modifier="" />
</hotkeys>
<skills>
<skill name="MAGE_FLAME" level="29" type="damage" hotkey="VK_3" priority="70" range="225">
<skill name="MAGE_SOUND_OF_THUNDER" level="" type="damage" hotkey="VK_8" priority="69" range="225">
<skill name="MAGE_FIREBALL" level="21" type="damage" hotkey="VK_4" priority="68" range="225">
<skill name="MAGE_LIGHTNING" level="27" type="damage" hotkey="VK_5" priority="67" range="150">
<skill name="MAGE_GALAXY" level="23" type="damage" hotkey="VK_6" priority="66" range="150">
<skill name="MAGE_ELECTROSTATIC_CHARGE" level="23" hotkey="VK_7" priority="65">
</skills>
</profile>
...and Settings.xml:
<settings>
<hotkeys>
<!-- Cannot use modifiers -->
<hotkey description="MOVE_FORWARD" key="VK_W" modifier="" />
<hotkey description="MOVE_BACKWARD" key="VK_S" modifier="" />
<hotkey description="ROTATE_LEFT" key="VK_Q" modifier="" />
<hotkey description="ROTATE_RIGHT" key="VK_E" modifier="" />
<hotkey description="STRAFF_LEFT" key="VK_A" modifier="" />
<hotkey description="STRAFF_RIGHT" key="VK_D" modifier="" />
<hotkey description="JUMP" key="VK_SPACE" modifier="" />
<hotkey description="CLEAR_TARGET" key="VK_ESCAPE" modifier="" />
<hotkey description="TARGET" key="VK_TAB" modifier="" />
</hotkeys>
<options>
<option name="MELEE_DISTANCE" value="45" />
</options>
</settings>
What is wrong with the 38 line? It's the usual </skills> command.
Script> rom/bot.lua
Opening bot.lua...
Starting script execution - Press CTRL+C to exit.
Press CTRL+L to cancel execution and low a new script.
-------------------------------------------------------------------------------
The macro is currently not running. Press the start key (DEL) to begin.
You may use (END) key to stop/pause the script.
Started.
RoM Bot Version 2.14
playerAddr: 0x29CED700
...s/Runes of Magic/micromacro/scripts/rom/settings.lua:68: XML Parse Error.
File: ...of Magic/micromacro/scripts/rom/profiles/Playername.xml
Line: 38
Column: 4
Message: mismatched tag
My Playername.xml file:
<profile>
<options>
<option name="HP_LOW" value="95" />
<option name="MP_LOW_POTION" value="20" />
<option name="HP_LOW_POTION" value="40" />
<option name="COMBAT_TYPE" value="ranged" />
<option name="COMBAT_DISTANCE" value="200" />
<option name="ANTI_KS" value="true" />
<option name="WAYPOINTS" value="bears.xml" />
<option name="LOOT" value="true" />
<option name="LOOT_TIME" value="2500" />
<option name="ENERGY_STORAGE_1" value="mana" />
<option name="ENERGY_STORAGE_2" value="none" />
<option name="POTION_COOLDOWN" value="15" />
<option name="MAX_FIGHT_TIME" value="60" />
<option name="DOT_PERCENT" value="90" />
</options>
<friends>
<friend name="" />
<friend name="" />
</friends>
<hotkeys>
<hotkey name="HP_POTION" key="VK_0" modifier="" />
<hotkey name="MP_POTION" key="VK_MINUS" modifier="" />
<hotkey name="ATTACK" key="VK_1" modifier="" />
</hotkeys>
<skills>
<skill name="MAGE_FLAME" level="29" type="damage" hotkey="VK_3" priority="70" range="225">
<skill name="MAGE_SOUND_OF_THUNDER" level="" type="damage" hotkey="VK_8" priority="69" range="225">
<skill name="MAGE_FIREBALL" level="21" type="damage" hotkey="VK_4" priority="68" range="225">
<skill name="MAGE_LIGHTNING" level="27" type="damage" hotkey="VK_5" priority="67" range="150">
<skill name="MAGE_GALAXY" level="23" type="damage" hotkey="VK_6" priority="66" range="150">
<skill name="MAGE_ELECTROSTATIC_CHARGE" level="23" hotkey="VK_7" priority="65">
</skills>
</profile>
...and Settings.xml:
<settings>
<hotkeys>
<!-- Cannot use modifiers -->
<hotkey description="MOVE_FORWARD" key="VK_W" modifier="" />
<hotkey description="MOVE_BACKWARD" key="VK_S" modifier="" />
<hotkey description="ROTATE_LEFT" key="VK_Q" modifier="" />
<hotkey description="ROTATE_RIGHT" key="VK_E" modifier="" />
<hotkey description="STRAFF_LEFT" key="VK_A" modifier="" />
<hotkey description="STRAFF_RIGHT" key="VK_D" modifier="" />
<hotkey description="JUMP" key="VK_SPACE" modifier="" />
<hotkey description="CLEAR_TARGET" key="VK_ESCAPE" modifier="" />
<hotkey description="TARGET" key="VK_TAB" modifier="" />
</hotkeys>
<options>
<option name="MELEE_DISTANCE" value="45" />
</options>
</settings>
What is wrong with the 38 line? It's the usual </skills> command.