This error just started today, the bot worked fine yesterday. I can't firgure out what the problem is.
Any idea how to fix this? If I go afk the bot will stop when getting this error and my character dies.
Thx
Gino
Code: Select all
Mon Aug 03 08:54:39 2009 : RoM Bot Version 2.45
Mon Aug 03 08:54:39 2009 : Language: english
Mon Aug 03 08:54:48 2009 : Using static char address 0x8D85E0, player address 0x29DDD000
Mon Aug 03 09:07:05 2009 : WARNING: Failure reading memory from 0xD7FD34 at 0x0 in memoryReadString(). Error code 299 (Only part of a ReadProcessMemory or WriteProcessMemory request was completed.)
stack traceback:
C:\micromacro\lib\lib.lua:536: in function 'startMacro'
scripts\rom\bot.lua:421: in main chunk
----------TRACEBACK END----------
Mon Aug 03 09:07:05 2009 : C:/micromacro/scripts/rom/classes/pawn.lua:148: Error reading memory in CPawn:update()
Mon Aug 03 09:07:05 2009 : Execution error: Runtime error
Code: Select all
<profile>
<options>
<!-- Try the bot with a new char mage or priest -->
<!-- At the pioneer village. Use demo.xml waypoint file -->
<option name="HP_LOW" value="90" />
<option name="MP_LOW_POTION" value="70" />
<option name="HP_LOW_POTION" value="40" />
<option name="COMBAT_TYPE" value="range" /> <!-- Choose ranged/melee if not using class default -->
<option name="COMBAT_DISTANCE" value="200" />
<option name="ANTI_KS" value="false" />
<option name="WAYPOINTS" value="new.xml" />
<option name="RETURNPATH" value="return.xml" />
<option name="PATH_TYPE" value="waypoints" />
<option name="WANDER_RADIUS" value="500" />
<option name="WAYPOINT_DEVIATION" value="0" />
<option name="LOOT" value="true" />
<option name="LOOT_TIME" value="2000" />
<option name="LOOT_IN_COMBAT" value="true" />
<option name="LOOT_DISTANCE" value="100" />
<option name="LOOT_PAUSE_AFTER" value="10" />
<option name="POTION_COOLDOWN" value="15" />
<option name="MAX_FIGHT_TIME" value="15" />
<option name="DOT_PERCENT" value="90" />
<option name="QUICK_TURN" value="false" />
</options>
<friends>
<friend name="MyOtherCharacter1" />
<friend name="MyOtherCharacter2" />
</friends>
<hotkeys>
<hotkey name="HP_POTION" key="VK_0" />
<hotkey name="MP_POTION" key="VK_MINUS" />
<hotkey name="ATTACK" key="VK_1" />
<hotkey name="RES_MACRO" key="VK_EQUAL" />
</hotkeys>
<!-- define your skills depending from your actual primary class -->
<!-- see the example for a priest/mage respectively mage/priest -->
<!-- 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_priest>
<skill name="PRIEST_CHAIN_OF_LIGHT" hotkey="VK_2" priority="90" level="16" />
<skill name="PRIEST_RISING_TIDE" hotkey="VK_3" priority="90" level="16" />
<skill name="PRIEST_REGENERATE" hotkey="VK_4" priority="50" level="15" />
<skill name="PRIEST_GRACE_OF_LIFE" hotkey="VK_7" priority="80" inbattle="true" />
<skill name="PRIEST_WAVE_ARMOR" hotkey="VK_6" priority="40" inbattle="true" />
<skill name="PRIEST_AMPLIFIED_ATTACK" hotkey="VK_8" priority="50" level="12" />
<skill name="PRIEST_HOLY_AURA" hotkey="VK_9" priority="109" inbattle="true" hpper="15" />
<skill name="PRIEST_URGENT_HEAL" hotkey="VK_5" priority="105" hpper="15" />
</skills_priest>
<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>