Gathering bot help
Posted: Sun Jul 19, 2009 2:32 am
This is a way point file that i modified according to a forum post and it doesn't seem to work.I can this error and i can't figure out what to do.:p please help me
Thanks
This is my way point file
This is my Profile
This is the error i get
Sun Jul 19 02:24:25 2009 : ...ktop/micromacro/scripts/rom/classes/waypointlist.lua:20: XML Parse Error.
File: .../Removed/Desktop/micromacro/scripts/rom/waypoints/2.xml
Line: 10
Column: 40
Message: not well-formed (invalid token)
Sun Jul 19 02:24:25 2009 : Execution error: Runtime error
and last but not least,this is the forum post i used to attempt to make RoMbot gather for me.
http://www.solarstrike.net/phpBB3/viewt ... f=21&t=424
Thanks
This is my way point file
Code: Select all
<waypoints>
<!-- # 1 --><waypoint x="-215" z="-7178" type="TRAVEL">player:harvest();</waypoint>
<!-- # 2 --><waypoint x="-178" z="-7071" type="TRAVEL">player:harvest();</waypoint>
<!-- # 3 --><waypoint x="-102" z="-7001" type="TRAVEL">player:harvest();</waypoint>
<!-- # 4 --><waypoint x="-7" z="-6978" type="TRAVEL">player:harvest();</waypoint>
<!-- # 5 --><waypoint x="81" z="-7021" type="TRAVEL">player:harvest();</waypoint>
<!-- # 6 --><waypoint x="125" z="-7084" type="TRAVEL">player:harvest();</waypoint>
<!-- # 7 --><waypoint x="83" z="-7131" type="TRAVEL">player:harvest();</waypoint>
<!-- # 8 --><waypoint x="74" z="-7194" type="TRAVEL">player:harvest();</waypoint>
<!-- # 9 --><waypoint x="40" z="-7260"type="TRAVEL">player:harvest();</waypoint>
<!-- #10 --><waypoint x="72" z="-7313" type="TRAVEL">player:harvest();</waypoint>
<!-- #11 --><waypoint x="88" z="-7356" type="TRAVEL">player:harvest();</waypoint>
<!-- #12 --><waypoint x="80" z="-7401" type="TRAVEL">player:harvest();</waypoint>
<!-- #13 --><waypoint x="87" z="-7443" type="TRAVEL">player:harvest();</waypoint>
<!-- #14 --><waypoint x="91" z="-7503" type="TRAVEL">player:harvest();</waypoint>
<!-- #15 --><waypoint x="56" z="-7539" type="TRAVEL">player:harvest();</waypoint>
<!-- #16 --><waypoint x="12" z="-7542" type="TRAVEL">player:harvest();</waypoint>
<!-- #17 --><waypoint x="-22" z="-7502" type="TRAVEL">player:harvest();</waypoint>
<!-- #18 --><waypoint x="-43" z="-7475" type="TRAVEL">player:harvest();</waypoint>
<!-- #19 --><waypoint x="-70" z="-7433" type="TRAVEL">player:harvest();</waypoint>
<!-- #20 --><waypoint x="-61" z="-7366" type="TRAVEL">player:harvest();</waypoint>
<!-- #21 --><waypoint x="-78" z="-7328" type="TRAVEL">player:harvest();</waypoint>
<!-- #22 --><waypoint x="-96" z="-7269" type="TRAVEL">player:harvest();</waypoint>
</waypoints>
Code: Select all
<profile>
<options>
<option name="HP_LOW" value="85" />
<option name="MP_LOW_POTION" value="50" />
<option name="HP_LOW_POTION" value="50" />
<option name="COMBAT_TYPE" value="ranged" />
<option name="COMBAT_DISTANCE" value="200" />
<option name="ANTI_KS" value="true" />
<option name="WAYPOINTS" value="2.xml" />
<option name="PATH_TYPE" value="waypoints" />
<option name="WANDER_RADIUS" value="0" />
<option name="WAYPOINT_DEVIATION" value="0" />
<option name="LOOT" value="true" />
<option name="LOOT_TIME" value="2000" />
<option name="LOOT_DISTANCE" value="100" />
<option name="POTION_COOLDOWN" value="15" />
<option name="MAX_FIGHT_TIME" value="15" />
<option name="DOT_PERCENT" value="90" />
<option name="LOGOUT_TIME" value="0" />
<option name="LOGOUT_SHUTDOWN" value="false" />
<!-- attack monsters 10 levels above or below your level -->
<option name="TARGET_LEVELDIF_BELOW" value="10" />
<option name="TARGET_LEVELDIF_ABOVE" value="10" />
</options>
<friends>
<friend name="MyOtherCharacter1" />
<friend name="MyOtherCharacter2" />
</friends>
<hotkeys>
<hotkey name="HP_POTION" key="VK_MINUS" modifier="" />
<hotkey name="MP_POTION" key="VK_EQUAL" modifier="" />
<hotkey name="ATTACK" key="VK_0" modifier="" />
</hotkeys>
<skills>
<skill name="MAGE_FLAME" hotkey="VK_3" modifier="" />
<skill name="PRIEST_REGENERATE" level="11" hotkey="VK_4" priority="110" hpper="90" />
<skill name="PRIEST_URGENT_HEAL" level="11" hotkey="VK_2" priority="120" hpper="65" />
</skills>
<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>
Sun Jul 19 02:24:25 2009 : ...ktop/micromacro/scripts/rom/classes/waypointlist.lua:20: XML Parse Error.
File: .../Removed/Desktop/micromacro/scripts/rom/waypoints/2.xml
Line: 10
Column: 40
Message: not well-formed (invalid token)
Sun Jul 19 02:24:25 2009 : Execution error: Runtime error
and last but not least,this is the forum post i used to attempt to make RoMbot gather for me.
http://www.solarstrike.net/phpBB3/viewt ... f=21&t=424