How To Fix Cpawn:update()
- Administrator
- Site Admin
- Posts: 5307
- Joined: Sat Jan 05, 2008 4:21 pm
Re: How To Fix Cpawn:update()
Update off of SVN, as described in the manual.
Re: How To Fix Cpawn:update()
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
here is log.txt
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
- Administrator
- Site Admin
- Posts: 5307
- Joined: Sat Jan 05, 2008 4:21 pm
Re: How To Fix Cpawn:update()
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.
Re: How To Fix Cpawn:update()
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.
- Administrator
- Site Admin
- Posts: 5307
- Joined: Sat Jan 05, 2008 4:21 pm
Re: How To Fix Cpawn:update()
I have no idea what you're trying to say. Why wouldn't it work? Client language doesn't mater.
Re: How To Fix Cpawn:update()
"/script" doesnt work in macro because its changed to "/komut"
what i must do
what i must do
- Administrator
- Site Admin
- Posts: 5307
- Joined: Sat Jan 05, 2008 4:21 pm
Re: How To Fix Cpawn:update()
Change /script to /komut in rom/functions.lua, then.
Re: How To Fix Cpawn:update()
i change it then i can start bot also create waypoints but i cant move
i just want to gather with bot
i just want to gather with bot
- Administrator
- Site Admin
- Posts: 5307
- Joined: Sat Jan 05, 2008 4:21 pm
Re: How To Fix Cpawn:update()
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.
Re: How To Fix Cpawn:update()
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
- Administrator
- Site Admin
- Posts: 5307
- Joined: Sat Jan 05, 2008 4:21 pm
Re: How To Fix Cpawn:update()
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.
Re: How To Fix Cpawn:update()
i think i will start to play at EU version
i cant fix it on my client
![Smile :)](./images/smilies/icon_e_smile.gif)
![Very Happy :D](./images/smilies/icon_e_biggrin.gif)
Re: How To Fix Cpawn:update()
its working perfect on eu client ![Very Happy :D](./images/smilies/icon_e_biggrin.gif)
![Very Happy :D](./images/smilies/icon_e_biggrin.gif)
Re: How To Fix Cpawn:update()
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
" 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
Re: How To Fix Cpawn:update()
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
mana and hp potion error
can i disable to check hp mp potion because i dont need hp mp potion just want for gathering
- Administrator
- Site Admin
- Posts: 5307
- Joined: Sat Jan 05, 2008 4:21 pm
Re: How To Fix Cpawn:update()
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?
Re: How To Fix Cpawn:update()
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.
until now i can start bot 2 times but when i stop it and start again it gives potions error.
- Administrator
- Site Admin
- Posts: 5307
- Joined: Sat Jan 05, 2008 4:21 pm
Re: How To Fix Cpawn:update()
Move the potion to the first slot on the first page, then add this to your profile:
When you run the bot, it will now print debug information about the potion. Post that here.
Code: Select all
<option name="DEBUG_INV" value="true" />
Re: How To Fix Cpawn:update()
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>
Who is online
Users browsing this forum: Ahrefs [Bot] and 2 guests