Crash Report From ROM while running bot - HELP
Posted: Sun Dec 19, 2010 4:57 pm
updated latest svm version of bot
tested the chicken script runs fine np doesnt crash even after an hour or so
started running another script for harvesting and killing mobs, and ROM crashs during the first battle every time, it will harvs nods and continue with out crash, but at first battle half way through i get the crash report screen.
i didnt modify the script and was running this script before witch out error, so after rom patch and update of svn bot now having these issues.
what is funny is the bot still runs after the crash.
running in win7 64 bit, no issues before
Below is the script i have been using for a few months with out issues.
Please let me know, i hate just being able to egg farm it suxx
<?xml version="1.0" encoding="utf-8"?>
<profile>
<options>
<!-- Try the bot with a new char mage -->
<!-- At the pioneer village. Use demo.xml waypoint file -->
<option name="HP_LOW" value="65" />
<option name="MP_LOW_POTION" value="45" />
<option name="HP_LOW_POTION" value="60" />
<option name="USE_HP_POTION" value="best" /> <!-- potion select strategy: best|minstack -->
<option name="USE_MANA_POTION" value="best" /> <!-- potion select strategy: best|minstack -->
<!-- Rest if HP or Mana is below that level -->
<option name="HP_REST" value="50" />
<option name="MP_REST" value="30" />
<!-- Shopping options, how many of what do you want to keep in your inventory -->
<!-- either false or arrow or thrown -->
<option name="RELOAD_AMMUNITION" value="false" /> <!-- false|arrow|thrown -->
<!-- Combat options -->
<option name="COMBAT_TYPE" value="" /> <!-- leave empty or choose ranged/melee if not using class default -->
<option name="COMBAT_RANGED_PULL" value="true" /> <!-- only important for melees -->
<option name="COMBAT_DISTANCE" value="45" />
<option name="MAX_FIGHT_TIME" value="15" /> <!-- Max time without damage before break -->
<option name="DOT_PERCENT" value="90" />
<option name="ANTI_KS" value="true" />
<option name="MAX_TARGET_DIST" value="125" />
<!-- Attack monsters 3 levels above or 10 below your level -->
<option name="TARGET_LEVELDIF_ABOVE" value="1" />
<option name="TARGET_LEVELDIF_BELOW" value="50" />
<!-- Waypoint and movement settings -->
<option name="WAYPOINTS" value="" /> <!-- leave empty to show a list -->
<option name="RETURNPATH" value="" />
<option name="PATH_TYPE" value="waypoints" /> <!-- waypoints | wander -->
<option name="WANDER_RADIUS" value="50" />
<option name="WAYPOINT_DEVIATION" value="5" />
<option name="QUICK_TURN" value="false" />
<!-- Loot settings -->
<option name="LOOT" value="true" />
<option name="LOOT_IN_COMBAT" value="false" />
<option name="LOOT_DISTANCE" value="150" />
<option name="LOOT_PAUSE_AFTER" value="10" /> <!-- probability in % for a short rest -->
<!-- Harvest options -->
<option name="HARVEST_DISTANCE" value="120" />
<!-- Log out and resurrect settings -->
<option name="LOGOUT_TIME" value="180" /> <!-- in minutes, 0 = timer disabled -->
<option name="LOGOUT_SHUTDOWN" value="true" />
<option name="LOGOUT_WHEN_STUCK" value="true" />
<option name="RES_AUTOMATIC_AFTER_DEATH" value="true" />
<option name="MAX_DEATHS" value="1" /> <!-- Log out after this many deaths -->
<!-- For more options and documentation see the RoM Bot Wiki: -->
<!-- http://www.solarstrike.net/wiki/index.p ... le=RoM_Bot -->
</options>
<friends>
<!-- names of friends we help fighting or enemys we don't want to attack -->
<!-- for umlauts use \129 (ue),\132 (ae),\148 (oe) e.g. K\132fer -->
<friend name="SPIRIT OF THE OAK" />
<friend name="SPIRIT_OF_THE_OAK" />
<friend name="Spirit " />
<friend name="SPIRIT" />
</friends>
<mobs>
<!-- names of mobs we want to attack -->
<!-- if no names defined we will attack all mobs -->
<mob name="" />
<mob name="" />
<mob name="" />
</mobs>
<hotkeys>
<!-- to communicate with the RoM API / define ingame dummy macro at place 1 -->
<hotkey name="MACRO" modifier="" key="VK_0" />
</hotkeys>
<!-- define your skills depending from your actual primary class -->
<!-- see the example for a priest/mage -->
<!-- delete skills you don't have or don't want to use. -->
<!-- For more skills to use see /database/skills.xml -->
<!-- demo skills for LvL 1 character for all classes -->
<skills_warden>
<skill name="DRUID_EARTH_PULSE" modifier="" hotkey="MACRO" priority="100" pullinly="true" maxuse="1" />
<skill name="WARDEN_SUMMON_SPIRIT_OF_THE_OAK" modifier="" hotkey="MACRO" priority="100" autouse="false" />
<skill name="WARDEN_THORNY_VINE" modifier="" hotkey="MACRO" priority="100" autouse="false" />
<skill name="DRUID_SAVAGE_BLESSING" modifier="" hotkey="MACRO" priority="90" rebuffcut="75" inbattle="false" />
<skill name="WARDEN_BRIAR_SHIELD" modifier="" hotkey="MACRO" priority="90" rebuffcut="75" inbattle="false" />
<skill name="WARDEN_SUMMON_OAK_WALKER" modifier="" hotkey="MACRO" priority="100" autouse="false" />
<skill name="WARDEN_HEART_OF_THE_OAK" modifier="" hotkey="MACRO" priority="100" autouse="false" />
<skill name="DRUID_RECOVER" modifier="" hotkey="MACRO" priority="90" hpper="75" />
<skill name="WARDEN_CHARGED_CHOP" modifier="" hotkey="MACRO" priority="100" maxuse="99" />
</skills_warden>
<skills_druid>
<skill name="DRUID_RECOVER" modifier="" hotkey="VK_2" priority="90" hpper="30" />
<skill name="DRUID_EARTH_ARROW" modifier="" hotkey="VK_4" priority="80" />
</skills_druid>
<onLoad><![CDATA[
-- 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><![CDATA[
-- Additional Lua code to execute on death
-- pauseOnDeath(); -- Stop the script
-- player:logout(); -- logout
]]></onDeath>
<onLeaveCombat>
if 90 > (player.HP/player.MaxHP*100) then
player:cast("DRUID_RECOVER");
yrest(4000);
end
if 50 > (player.Pet.HP/player.Pet.MaxHP * 100) then
player:rest(1);
player:cast("WARDEN_SUMMON_OAK_WALKER");
player:rest(8);
end
if 70 > (player.Pet.HP/player.Pet.MaxHP * 100) then
player:target( player.Pet );
yrest(4000);
player:cast("DRUID_RECOVER")
yrest(4000);
end
if (player.PetPtr) == 0 then
player:rest(1);
player:cast("WARDEN_SUMMON_OAK_WALKER");
player:rest(8);
end
lootBodies()
catchCavy("Magic Cavy")
</onLeaveCombat>
<onLevelup>
player:rest(1);
player:cast("WARDEN_SUMMON_OAK_WALKER");
player:rest(8);
</onLevelup>
<onSkillCast>
if arg1.Name == "DRUID_SAVAGE_BLESSING" then
player:rest(2);
player:cast("WARDEN_SUMMON_SPIRIT_OF_THE_OAK");
player:rest(8);
player:cast("WARDEN_HEART_OF_THE_OAK");
player:rest(2);
player:cast("WARDEN_SUMMON_OAK_WALKER");
player:rest(8);
end
if arg1.Name == "WARDEN_BRIAR_SHIELD" then
if (player.PetPtr) == 0 then
player:rest(1);
player:cast("WARDEN_SUMMON_OAK_WALKER");
player:rest(8);
end
end
if arg1.Name == "DRUID_RECOVER" then
yrest(3000);
RoMScript("UseAction(12);")
end
if arg1.Name == "WARDEN_CHARGED_CHOP" then
yrest(4000);
if 75 > (player.HP/player.MaxHP*100) then
player:cast("DRUID_RECOVER");
yrest(3000);
RoMScript("UseAction(12);")
end
if 70 > (player.Pet.HP/player.Pet.MaxHP * 100) then
player:target( player.Pet );
yrest(4000);
player:cast("DRUID_RECOVER")
yrest(3000);
RoMScript("UseAction(12);")
end
end
if arg1.Name == "DRUID_EARTH_PULSE" then
yrest(1000);
RoMScript("UseAction(12);")
yrest(1000);
player:cast("WARDEN_THORNY_VINE")
yrest(2000);
if 70 > (player.Pet.HP/player.Pet.MaxHP * 100) then
player:target( player.Pet );
yrest(4000);
player:cast("DRUID_RECOVER")
yrest(4000);
RoMScript("UseAction(12);")
end
end
</onSkillCast>
</profile>
tested the chicken script runs fine np doesnt crash even after an hour or so
started running another script for harvesting and killing mobs, and ROM crashs during the first battle every time, it will harvs nods and continue with out crash, but at first battle half way through i get the crash report screen.
i didnt modify the script and was running this script before witch out error, so after rom patch and update of svn bot now having these issues.
what is funny is the bot still runs after the crash.
running in win7 64 bit, no issues before
Below is the script i have been using for a few months with out issues.
Please let me know, i hate just being able to egg farm it suxx
<?xml version="1.0" encoding="utf-8"?>
<profile>
<options>
<!-- Try the bot with a new char mage -->
<!-- At the pioneer village. Use demo.xml waypoint file -->
<option name="HP_LOW" value="65" />
<option name="MP_LOW_POTION" value="45" />
<option name="HP_LOW_POTION" value="60" />
<option name="USE_HP_POTION" value="best" /> <!-- potion select strategy: best|minstack -->
<option name="USE_MANA_POTION" value="best" /> <!-- potion select strategy: best|minstack -->
<!-- Rest if HP or Mana is below that level -->
<option name="HP_REST" value="50" />
<option name="MP_REST" value="30" />
<!-- Shopping options, how many of what do you want to keep in your inventory -->
<!-- either false or arrow or thrown -->
<option name="RELOAD_AMMUNITION" value="false" /> <!-- false|arrow|thrown -->
<!-- Combat options -->
<option name="COMBAT_TYPE" value="" /> <!-- leave empty or choose ranged/melee if not using class default -->
<option name="COMBAT_RANGED_PULL" value="true" /> <!-- only important for melees -->
<option name="COMBAT_DISTANCE" value="45" />
<option name="MAX_FIGHT_TIME" value="15" /> <!-- Max time without damage before break -->
<option name="DOT_PERCENT" value="90" />
<option name="ANTI_KS" value="true" />
<option name="MAX_TARGET_DIST" value="125" />
<!-- Attack monsters 3 levels above or 10 below your level -->
<option name="TARGET_LEVELDIF_ABOVE" value="1" />
<option name="TARGET_LEVELDIF_BELOW" value="50" />
<!-- Waypoint and movement settings -->
<option name="WAYPOINTS" value="" /> <!-- leave empty to show a list -->
<option name="RETURNPATH" value="" />
<option name="PATH_TYPE" value="waypoints" /> <!-- waypoints | wander -->
<option name="WANDER_RADIUS" value="50" />
<option name="WAYPOINT_DEVIATION" value="5" />
<option name="QUICK_TURN" value="false" />
<!-- Loot settings -->
<option name="LOOT" value="true" />
<option name="LOOT_IN_COMBAT" value="false" />
<option name="LOOT_DISTANCE" value="150" />
<option name="LOOT_PAUSE_AFTER" value="10" /> <!-- probability in % for a short rest -->
<!-- Harvest options -->
<option name="HARVEST_DISTANCE" value="120" />
<!-- Log out and resurrect settings -->
<option name="LOGOUT_TIME" value="180" /> <!-- in minutes, 0 = timer disabled -->
<option name="LOGOUT_SHUTDOWN" value="true" />
<option name="LOGOUT_WHEN_STUCK" value="true" />
<option name="RES_AUTOMATIC_AFTER_DEATH" value="true" />
<option name="MAX_DEATHS" value="1" /> <!-- Log out after this many deaths -->
<!-- For more options and documentation see the RoM Bot Wiki: -->
<!-- http://www.solarstrike.net/wiki/index.p ... le=RoM_Bot -->
</options>
<friends>
<!-- names of friends we help fighting or enemys we don't want to attack -->
<!-- for umlauts use \129 (ue),\132 (ae),\148 (oe) e.g. K\132fer -->
<friend name="SPIRIT OF THE OAK" />
<friend name="SPIRIT_OF_THE_OAK" />
<friend name="Spirit " />
<friend name="SPIRIT" />
</friends>
<mobs>
<!-- names of mobs we want to attack -->
<!-- if no names defined we will attack all mobs -->
<mob name="" />
<mob name="" />
<mob name="" />
</mobs>
<hotkeys>
<!-- to communicate with the RoM API / define ingame dummy macro at place 1 -->
<hotkey name="MACRO" modifier="" key="VK_0" />
</hotkeys>
<!-- define your skills depending from your actual primary class -->
<!-- see the example for a priest/mage -->
<!-- delete skills you don't have or don't want to use. -->
<!-- For more skills to use see /database/skills.xml -->
<!-- demo skills for LvL 1 character for all classes -->
<skills_warden>
<skill name="DRUID_EARTH_PULSE" modifier="" hotkey="MACRO" priority="100" pullinly="true" maxuse="1" />
<skill name="WARDEN_SUMMON_SPIRIT_OF_THE_OAK" modifier="" hotkey="MACRO" priority="100" autouse="false" />
<skill name="WARDEN_THORNY_VINE" modifier="" hotkey="MACRO" priority="100" autouse="false" />
<skill name="DRUID_SAVAGE_BLESSING" modifier="" hotkey="MACRO" priority="90" rebuffcut="75" inbattle="false" />
<skill name="WARDEN_BRIAR_SHIELD" modifier="" hotkey="MACRO" priority="90" rebuffcut="75" inbattle="false" />
<skill name="WARDEN_SUMMON_OAK_WALKER" modifier="" hotkey="MACRO" priority="100" autouse="false" />
<skill name="WARDEN_HEART_OF_THE_OAK" modifier="" hotkey="MACRO" priority="100" autouse="false" />
<skill name="DRUID_RECOVER" modifier="" hotkey="MACRO" priority="90" hpper="75" />
<skill name="WARDEN_CHARGED_CHOP" modifier="" hotkey="MACRO" priority="100" maxuse="99" />
</skills_warden>
<skills_druid>
<skill name="DRUID_RECOVER" modifier="" hotkey="VK_2" priority="90" hpper="30" />
<skill name="DRUID_EARTH_ARROW" modifier="" hotkey="VK_4" priority="80" />
</skills_druid>
<onLoad><![CDATA[
-- 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><![CDATA[
-- Additional Lua code to execute on death
-- pauseOnDeath(); -- Stop the script
-- player:logout(); -- logout
]]></onDeath>
<onLeaveCombat>
if 90 > (player.HP/player.MaxHP*100) then
player:cast("DRUID_RECOVER");
yrest(4000);
end
if 50 > (player.Pet.HP/player.Pet.MaxHP * 100) then
player:rest(1);
player:cast("WARDEN_SUMMON_OAK_WALKER");
player:rest(8);
end
if 70 > (player.Pet.HP/player.Pet.MaxHP * 100) then
player:target( player.Pet );
yrest(4000);
player:cast("DRUID_RECOVER")
yrest(4000);
end
if (player.PetPtr) == 0 then
player:rest(1);
player:cast("WARDEN_SUMMON_OAK_WALKER");
player:rest(8);
end
lootBodies()
catchCavy("Magic Cavy")
</onLeaveCombat>
<onLevelup>
player:rest(1);
player:cast("WARDEN_SUMMON_OAK_WALKER");
player:rest(8);
</onLevelup>
<onSkillCast>
if arg1.Name == "DRUID_SAVAGE_BLESSING" then
player:rest(2);
player:cast("WARDEN_SUMMON_SPIRIT_OF_THE_OAK");
player:rest(8);
player:cast("WARDEN_HEART_OF_THE_OAK");
player:rest(2);
player:cast("WARDEN_SUMMON_OAK_WALKER");
player:rest(8);
end
if arg1.Name == "WARDEN_BRIAR_SHIELD" then
if (player.PetPtr) == 0 then
player:rest(1);
player:cast("WARDEN_SUMMON_OAK_WALKER");
player:rest(8);
end
end
if arg1.Name == "DRUID_RECOVER" then
yrest(3000);
RoMScript("UseAction(12);")
end
if arg1.Name == "WARDEN_CHARGED_CHOP" then
yrest(4000);
if 75 > (player.HP/player.MaxHP*100) then
player:cast("DRUID_RECOVER");
yrest(3000);
RoMScript("UseAction(12);")
end
if 70 > (player.Pet.HP/player.Pet.MaxHP * 100) then
player:target( player.Pet );
yrest(4000);
player:cast("DRUID_RECOVER")
yrest(3000);
RoMScript("UseAction(12);")
end
end
if arg1.Name == "DRUID_EARTH_PULSE" then
yrest(1000);
RoMScript("UseAction(12);")
yrest(1000);
player:cast("WARDEN_THORNY_VINE")
yrest(2000);
if 70 > (player.Pet.HP/player.Pet.MaxHP * 100) then
player:target( player.Pet );
yrest(4000);
player:cast("DRUID_RECOVER")
yrest(4000);
RoMScript("UseAction(12);")
end
end
</onSkillCast>
</profile>