How To Fix Cpawn:update()
Posted: Mon Dec 14, 2009 8:47 am
i got this error
Code: Select all
<profile>
<options>
<option name="HP_LOW" value="50" />
<option name="MP_LOW_POTION" value="50" />
<option name="HP_LOW_POTION" value="40" />
<option name="COMBAT_TYPE" value="ranged" />
<option name="ANTI_KS" value="true" />
<option name="WAYPOINTS" value="demo.xml" />
<option name="LOOT" value="true" />
<option name="LOOT_TIME" value="800" />
<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="20" />
<option name="DOT_PERCENT" value="90" />
</options>
<friends>
<friend name="MyOtherCharacter1" />
<friend name="MyOtherCharacter2" />
</friends>
<hotkeys>
<hotkey name="HP_POTION" key="VK_9" modifier="" />
<hotkey name="MP_POTION" key="VK_EQUAL" modifier="" />
<hotkey name="ATTACK" key="VK_1" modifier="" />
</hotkeys>
<skills>
<skill name="MAGE_FLAME" level="1" hotkey="VK_3" modifier="" />
</skills>
</profile>
Code: Select all
Tue Dec 15 13:22:45 2009 : MicroMacro v1.0
Tue Dec 15 13:22:45 2009 : Processor Type: 2X 586, OS: Windows 7
Tue Dec 15 13:22:45 2009 : LuaCoco is available.
Tue Dec 15 13:22:45 2009 : Lua glues exported.
Tue Dec 15 13:22:45 2009 : Keyboard layout: US English
Tue Dec 15 13:22:56 2009 : Executing script 'bot.lua'
--------------------------------------------------------------------------------
Tue Dec 15 13:22:56 2009 : Language: english
Tue Dec 15 13:23:01 2009 : Game exectuable may have changed. You should run rom/update.lua
In main thread:
stack traceback:
scripts\rom/bot.lua:87: in function 'foo'
...Users\Lynn\Desktop\micromacro\micromacro\lib\lib.lua:510: in function <...Users\Lynn\Desktop\micromacro\micromacro\lib\lib.lua:508>
----------TRACEBACK END----------
Tue Dec 15 13:23:01 2009 : Error while reading memory address for 'playerAddress'. Game seems to be changed!!! Please run 'rom/bot.lua update' AND install the new RoM Bot version!
Tue Dec 15 13:23:01 2009 : Execution error: Runtime error
Tue Dec 15 13:23:16 2009 : Executing script 'update.lua'
--------------------------------------------------------------------------------
Tue Dec 15 13:23:17 2009 : Execution success
Tue Dec 15 13:23:19 2009 : Executing script 'bot.lua'
--------------------------------------------------------------------------------
Tue Dec 15 13:23:19 2009 : Language: english
Tue Dec 15 13:23:22 2009 : Using static char address 0x8E2990, player address 0x0
In main thread:
stack traceback:
...p/micromacro/micromacro/scripts/rom/classes/pawn.lua:234: in function 'update'
...micromacro/micromacro/scripts/rom/classes/player.lua:1487: in function 'update'
scripts\rom/bot.lua:94: in function 'foo'
...Users\Lynn\Desktop\micromacro\micromacro\lib\lib.lua:510: in function <...Users\Lynn\Desktop\micromacro\micromacro\lib\lib.lua:508>
----------TRACEBACK END----------
Tue Dec 15 13:23:22 2009 : ...p/micromacro/micromacro/scripts/rom/classes/pawn.lua:234: Error reading memory in CPawn:update()
Tue Dec 15 13:23:22 2009 : Execution error: Runtime error
Tue Dec 15 13:24:02 2009 : Executing script 'bot.lua'
--------------------------------------------------------------------------------
Tue Dec 15 13:24:02 2009 : Language: english
Tue Dec 15 13:24:05 2009 : Using static char address 0x8E2990, player address 0x0
In main thread:
stack traceback:
...p/micromacro/micromacro/scripts/rom/classes/pawn.lua:234: in function 'update'
...micromacro/micromacro/scripts/rom/classes/player.lua:1487: in function 'update'
scripts\rom/bot.lua:94: in function 'foo'
...Users\Lynn\Desktop\micromacro\micromacro\lib\lib.lua:510: in function <...Users\Lynn\Desktop\micromacro\micromacro\lib\lib.lua:508>
----------TRACEBACK END----------
Tue Dec 15 13:24:05 2009 : ...p/micromacro/micromacro/scripts/rom/classes/pawn.lua:234: Error reading memory in CPawn:update()
Tue Dec 15 13:24:05 2009 : Execution error: Runtime error
Tue Dec 15 13:27:21 2009 : Executing script 'bot.lua'
--------------------------------------------------------------------------------
Tue Dec 15 13:27:21 2009 : Language: english
Tue Dec 15 13:27:24 2009 : Using static char address 0x8E2990, player address 0x0
In main thread:
stack traceback:
...p/micromacro/micromacro/scripts/rom/classes/pawn.lua:234: in function 'update'
...micromacro/micromacro/scripts/rom/classes/player.lua:1487: in function 'update'
scripts\rom/bot.lua:94: in function 'foo'
...Users\Lynn\Desktop\micromacro\micromacro\lib\lib.lua:510: in function <...Users\Lynn\Desktop\micromacro\micromacro\lib\lib.lua:508>
----------TRACEBACK END----------
Tue Dec 15 13:27:24 2009 : ...p/micromacro/micromacro/scripts/rom/classes/pawn.lua:234: Error reading memory in CPawn:update()
Tue Dec 15 13:27:24 2009 : Execution error: Runtime error
Tue Dec 15 13:30:29 2009 : Executing script 'createpath.lua'
--------------------------------------------------------------------------------
Tue Dec 15 13:30:29 2009 : Language: english
Tue Dec 15 13:30:31 2009 : ...p/micromacro/micromacro/scripts/rom/classes/pawn.lua:234: Error reading memory in CPawn:update()
Tue Dec 15 13:30:31 2009 : Execution error: Runtime error
Code: Select all
Wed Dec 16 15:16:20 2009 : MicroMacro v1.0
Wed Dec 16 15:16:20 2009 : Processor Type: 2X 586, OS: Windows 7
Wed Dec 16 15:16:20 2009 : LuaCoco is available.
Wed Dec 16 15:16:20 2009 : Lua glues exported.
Wed Dec 16 15:16:20 2009 : Keyboard layout: US English
Wed Dec 16 15:16:32 2009 : Executing script 'bot.lua'
--------------------------------------------------------------------------------
Wed Dec 16 15:16:32 2009 : Language: english
Wed Dec 16 15:16:33 2009 : RoM Bot Version 3.00
Wed Dec 16 15:16:34 2009 : Game exectuable may have changed. You should run rom/update.lua
Wed Dec 16 15:16:34 2009 : Using static char address 0x8E2990, player address 0x2972CC00
Wed Dec 16 15:16:34 2009 : QUICK_TURN = false
Wed Dec 16 15:16:34 2009 : Keyboard settings are from bindings.txt:
Wed Dec 16 15:16:34 2009 : MOVE_FORWARD W
Wed Dec 16 15:16:34 2009 : MOVE_BACKWARD S
Wed Dec 16 15:16:34 2009 : TARGET Tab
Wed Dec 16 15:16:34 2009 : MAGE_FLAME 3
Wed Dec 16 15:16:34 2009 : MP_POTION
Wed Dec 16 15:16:34 2009 : HP_POTION 9
Wed Dec 16 15:16:34 2009 : ROTATE_LEFT Q
Wed Dec 16 15:16:34 2009 : STRAFF_RIGHT D
Wed Dec 16 15:16:34 2009 : TARGET_FRIEND Ctrl+Tab
Wed Dec 16 15:16:34 2009 : STRAFF_LEFT A
Wed Dec 16 15:16:34 2009 : ROTATE_RIGHT E
Wed Dec 16 15:16:34 2009 : MACRO 0
Wed Dec 16 15:16:34 2009 : JUMP Space
Code: Select all
<option name="DEBUG_INV" value="true" />
Code: Select all
MicroMacro v1.0
SolarStrike Software
http://www.solarstrike.net
Please enter the script name to run.
Type in 'exit' (without quotes) to exit.
Script> rom/bot.lua profile:deneme
Opening bot.lua...
Starting script execution - Press CTRL+C to exit.
Press CTRL+L to cancel execution and load a new script.
--------------------------------------------------------------------------------
We read the hotkey settings from your bindings.txt file C:\Users\Lynn\Belgelerim
\Runes of Magic\bindings.txt instead of using the settings.xml file.
Due to technical reasons, we don't support modifiers like CTRL/ALT/SHIFT for hot
keys at the moment. Please change your hotkey Ctrl-Tab for 'TARGET_FRIEND'
You can't use the player:target_NPC() function until changed. That's only a warn
ing!
®SolarStrike Software, www.solarstrike.net
The macro is currently not running. Press the start key (Delete) to begin.
You may use (End) key to stop/pause the script.
Resumed.
RoM Bot Version 2.46
RoM windows size is 1280x748, upper left corner at 8,30
Ranged skill found: MAGE_FLAME
Mapping inventory (bagslot 1 to 2)...
DEBUG - 1: /|Hitem:30fd7|h|cffffffff[Basit ─░lk Yard─▒m ─░ksiri]|r|h/Basit ─░lk
Yard─▒m ─░ksiri/200663/61/15/ffffff
050% [*************************-------------------------]DEBUG - 2: /|Hitem:3115
2|h|cffffffff[Basit B├â•y├╠─░ksiri]|r|h/Basit B├â•y├╠─░ksiri/201042/62/14/ffffff
100% [**************************************************]
Next full inventory update not later then 300 seconds.
Waypoint files from C:/Users/Lynn/Desktop/micromacro/micromacro/scripts/rom:
0: wander 9: 1-10Pi../l4t_5-7_beet 18: demo.xml
1: 1-10Pi../l10t_classha 10: 1-10Pi../l4t_logar.xm 19: demo1.xml
2: 1-10Pi../l10t_postbox 11: 1-10Pi../l5-7_beetle. 20: demo2.xml
3: 1-10Pi../l1t_start.xm 12: 1-10Pi../l7-9_boar.xm 21: demo3.xml
4: 1-10Pi../l2-3_wolf.xm 13: 1-10Pi../l7-9_boar_re 22: demo3_return.xml
5: 1-10Pi../l2-3_wolf_re 14: 1-10Pi../l7t_7-9_boar 23: demo_npc.xml
6: 1-10Pi../l3-4_bear.xm 15: 1-10Pi../l9-10_bugs.x 24: demo_return.xml
7: 1-10Pi../l3-4_bear_re 16: 1-10Pi../l9-10_bugs_r 25: uluyan.xml
8: 1-10Pi../l3t_3-4_bear 17: 1-10Pi../l9t_9-10_bug
9: 1-10Pi../l4t_5-7_beet 18: demo.xml
Enter the number of the path you want to use and press Enter > 25
You choose 25
Loaded waypoint path uluyan.xml
Waypoint #67 is closer then #1. Hence we start with waypoint #67.
No return path with default naming uluyan_return.xml found.
We use the normal waypoint path uluyan.xml now.
Moving to waypoint #67, (-2652, -7965)
No more HP potions found, sorry (here is a TODO, sry for the msg spam)
Mapping inventory (bagslot 1 to 2)...
DEBUG - 1: /|Hitem:30fd7|h|cffffffff[Basit ─░lk Yard─▒m ─░ksiri]|r|h/Basit ─░lk
Yard─▒m ─░ksiri/200663/61/15/ffffff
050% [*************************-------------------------]DEBUG - 2: /|Hitem:3115
2|h|cffffffff[Basit B├â•y├╠─░ksiri]|r|h/Basit B├â•y├╠─░ksiri/201042/62/14/ffffff
100% [**************************************************]
Next full inventory update not later then 300 seconds.
Moving to waypoint #67, (-2652, -7965)
No more HP potions found, sorry (here is a TODO, sry for the msg spam)
Mapping inventory (bagslot 1 to 2)...
DEBUG - 1: /|Hitem:30fd7|h|cffffffff[Basit ─░lk Yard─▒m ─░ksiri]|r|h/Basit ─░lk
Yard─▒m ─░ksiri/200663/61/15/ffffff
050% [*************************-------------------------]DEBUG - 2: /|Hitem:3115
2|h|cffffffff[Basit B├â•y├╠─░ksiri]|r|h/Basit B├â•y├╠─░ksiri/201042/62/14/ffffff
100% [**************************************************]
Next full inventory update not later then 300 seconds.
Moving to waypoint #67, (-2652, -7965)
No more HP potions found, sorry (here is a TODO, sry for the msg spam)
Mapping inventory (bagslot 1 to 2)...
DEBUG - 1: /|Hitem:30fd7|h|cffffffff[Basit ─░lk Yard─▒m ─░ksiri]|r|h/Basit ─░lk
Yard─▒m ─░ksiri/200663/61/15/ffffff
050% [*************************-------------------------]DEBUG - 2: /|Hitem:3115
2|h|cffffffff[Basit B├â•y├╠─░ksiri]|r|h/Basit B├â•y├╠─░ksiri/201042/62/14/ffffff
100% [**************************************************]
Next full inventory update not later then 300 seconds.
Moving to waypoint #67, (-2652, -7965)
No more HP potions found, sorry (here is a TODO, sry for the msg spam)
Mapping inventory (bagslot 1 to 2)...
DEBUG - 1: /|Hitem:30fd7|h|cffffffff[Basit ─░lk Yard─▒m ─░ksiri]|r|h/Basit ─░lk
Yard─▒m ─░ksiri/200663/61/15/ffffff
050% [*************************-------------------------]DEBUG - 2: /|Hitem:3115
2|h|cffffffff[Basit B├â•y├╠─░ksiri]|r|h/Basit B├â•y├╠─░ksiri/201042/62/14/ffffff
100% [**************************************************]
Next full inventory update not later then 300 seconds.
Moving to waypoint #67, (-2652, -7965)
No more HP potions found, sorry (here is a TODO, sry for the msg spam)
Mapping inventory (bagslot 1 to 2)...
DEBUG - 1: /|Hitem:30fd7|h|cffffffff[Basit ─░lk Yard─▒m ─░ksiri]|r|h/Basit ─░lk
Yard─▒m ─░ksiri/200663/61/15/ffffff
050% [*************************-------------------------]DEBUG - 2: /|Hitem:3115
2|h|cffffffff[Basit B├â•y├╠─░ksiri]|r|h/Basit B├â•y├╠─░ksiri/201042/62/14/ffffff
100% [**************************************************]
Next full inventory update not later then 300 seconds.
Moving to waypoint #67, (-2652, -7965)
No more HP potions found, sorry (here is a TODO, sry for the msg spam)
Mapping inventory (bagslot 1 to 2)...
DEBUG - 1: /|Hitem:30fd7|h|cffffffff[Basit ─░lk Yard─▒m ─░ksiri]|r|h/Basit ─░lk
Yard─▒m ─░ksiri/200663/61/15/ffffff
050% [*************************-------------------------]DEBUG - 2: /|Hitem:3115
2|h|cffffffff[Basit B├â•y├╠─░ksiri]|r|h/Basit B├â•y├╠─░ksiri/201042/62/14/ffffff
100% [**************************************************]
Next full inventory update not later then 300 seconds.
Moving to waypoint #67, (-2652, -7965)
Stopping execution.
Please enter the script name to run.
Type in 'exit' (without quotes) to exit.
Script>