How To Fix Cpawn:update()

Runes of Magic/Radiant Arcana (http://www.runesofmagic.com)
Message
Author
muratiks
Posts: 22
Joined: Mon Dec 14, 2009 8:23 am

How To Fix Cpawn:update()

#1 Post by muratiks » Mon Dec 14, 2009 8:47 am

i got this error
Attachments
ss.JPG

User avatar
Administrator
Site Admin
Posts: 5307
Joined: Sat Jan 05, 2008 4:21 pm

Re: How To Fix Cpawn:update()

#2 Post by Administrator » Mon Dec 14, 2009 5:07 pm

Update off of SVN, as described in the manual.

muratiks
Posts: 22
Joined: Mon Dec 14, 2009 8:23 am

Re: How To Fix Cpawn:update()

#3 Post by muratiks » Tue Dec 15, 2009 12:37 am

I install SVN and delete all files in ROM then update with SVN. i configure everything like you said but still got this error

i m using 2.0.10.1954.tr
here is profile

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> 

here is log.txt

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

User avatar
Administrator
Site Admin
Posts: 5307
Joined: Sat Jan 05, 2008 4:21 pm

Re: How To Fix Cpawn:update()

#4 Post by Administrator » Tue Dec 15, 2009 3:37 am

I can only assume you're using a client other than what is officially supported. The scripts might, or might not, work with your client. Typically, Frogster has the latest version, so you could try using SVN to roll back to an older revision. If you're using TortoiseSVN, you can right-click the 'rom' folder, go to TortoiseSVN->Revert. Try going back 10 revisions at a time. Keep trying till you find which revision works for you (if you go past 100 revisions, then chances are none of them will work). You can review the changes provided here.

muratiks
Posts: 22
Joined: Mon Dec 14, 2009 8:23 am

Re: How To Fix Cpawn:update()

#5 Post by muratiks » Tue Dec 15, 2009 7:07 am

i find a revision that dont give this error but there is another problems because they change game to our language. for example in settings.lua there is a rogue mage warrior ... and its different in our client so i cant use atm. maybe someone do it for turkish later. thank you anyway.

User avatar
Administrator
Site Admin
Posts: 5307
Joined: Sat Jan 05, 2008 4:21 pm

Re: How To Fix Cpawn:update()

#6 Post by Administrator » Tue Dec 15, 2009 7:41 pm

I have no idea what you're trying to say. Why wouldn't it work? Client language doesn't mater.

muratiks
Posts: 22
Joined: Mon Dec 14, 2009 8:23 am

Re: How To Fix Cpawn:update()

#7 Post by muratiks » Tue Dec 15, 2009 10:06 pm

"/script" doesnt work in macro because its changed to "/komut"

what i must do

User avatar
Administrator
Site Admin
Posts: 5307
Joined: Sat Jan 05, 2008 4:21 pm

Re: How To Fix Cpawn:update()

#8 Post by Administrator » Wed Dec 16, 2009 12:10 am

Change /script to /komut in rom/functions.lua, then.

muratiks
Posts: 22
Joined: Mon Dec 14, 2009 8:23 am

Re: How To Fix Cpawn:update()

#9 Post by muratiks » Wed Dec 16, 2009 2:19 am

i change it then i can start bot also create waypoints but i cant move

i just want to gather with bot
Attachments
cantmove.jpg

User avatar
Administrator
Site Admin
Posts: 5307
Joined: Sat Jan 05, 2008 4:21 pm

Re: How To Fix Cpawn:update()

#10 Post by Administrator » Wed Dec 16, 2009 5:53 am

Since you're using an unsupported client, I have absolutely no idea what could be causing it. It could be differences in the client itself, it could be that your hotkeys are setup wrong, it could be a problem with your OS, anything. Start by providing a copy of your log.txt from the micromacro folder.

muratiks
Posts: 22
Joined: Mon Dec 14, 2009 8:23 am

Re: How To Fix Cpawn:update()

#11 Post by muratiks » Wed Dec 16, 2009 7:31 am

log

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

User avatar
Administrator
Site Admin
Posts: 5307
Joined: Sat Jan 05, 2008 4:21 pm

Re: How To Fix Cpawn:update()

#12 Post by Administrator » Wed Dec 16, 2009 7:13 pm

Try changing your keyboard layout (in Windows Control Panel; not in MicroMacro) to US English and see if that fixes the problem. Also, try turning QUICK_TURN on in your profile.

muratiks
Posts: 22
Joined: Mon Dec 14, 2009 8:23 am

Re: How To Fix Cpawn:update()

#13 Post by muratiks » Thu Dec 17, 2009 4:43 am

i think i will start to play at EU version :) :D i cant fix it on my client

muratiks
Posts: 22
Joined: Mon Dec 14, 2009 8:23 am

Re: How To Fix Cpawn:update()

#14 Post by muratiks » Sun Dec 20, 2009 3:19 am

its working perfect on eu client :D

muratiks
Posts: 22
Joined: Mon Dec 14, 2009 8:23 am

Re: How To Fix Cpawn:update()

#15 Post by muratiks » Mon Dec 21, 2009 8:52 am

today i start to bot on my client. my char start to walk then i stop it and create waypoint for harvest. after i finish create waypoint i try to start again but it cant move and i got this error

" No more HP potions found, sorry (here is TODO, sry for the msg spam) "

but i have alot of HP and MP potions in my bag.

how can i solve that
Attachments
nomore.JPG

muratiks
Posts: 22
Joined: Mon Dec 14, 2009 8:23 am

Re: How To Fix Cpawn:update()

#16 Post by muratiks » Mon Dec 21, 2009 11:55 am

when i was try one of my character it start to move then i change other one in same id but it say no more mana potion then i try again with the character which one move before and now its also dont move:)

mana and hp potion error

can i disable to check hp mp potion because i dont need hp mp potion just want for gathering

User avatar
Administrator
Site Admin
Posts: 5307
Joined: Sat Jan 05, 2008 4:21 pm

Re: How To Fix Cpawn:update()

#17 Post by Administrator » Mon Dec 21, 2009 4:53 pm

It would help if you would provide more information. Exactly which kind of potion are you using? What inventory page and slot(s) are the potions in?

muratiks
Posts: 22
Joined: Mon Dec 14, 2009 8:23 am

Re: How To Fix Cpawn:update()

#18 Post by muratiks » Tue Dec 22, 2009 12:20 am

I'm using Lvl16 mana and hp potions.Also try with lvl1 hp mp potions. potions are first 2 slot first bag and i also try after put 2nd bag.

until now i can start bot 2 times but when i stop it and start again it gives potions error.

User avatar
Administrator
Site Admin
Posts: 5307
Joined: Sat Jan 05, 2008 4:21 pm

Re: How To Fix Cpawn:update()

#19 Post by Administrator » Tue Dec 22, 2009 2:15 am

Move the potion to the first slot on the first page, then add this to your profile:

Code: Select all

<option name="DEBUG_INV" value="true" />
When you run the bot, it will now print debug information about the potion. Post that here.

muratiks
Posts: 22
Joined: Mon Dec 14, 2009 8:23 am

Re: How To Fix Cpawn:update()

#20 Post by muratiks » Tue Dec 22, 2009 2:24 am

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>

Post Reply

Who is online

Users browsing this forum: Ahrefs [Bot] and 2 guests