RoM bot

Runes of Magic/Radiant Arcana (http://www.runesofmagic.com)
Locked
Message
Author
Izebize
Posts: 18
Joined: Tue Apr 07, 2009 11:38 am

Re: RoM bot

#661 Post by Izebize » Tue Apr 07, 2009 7:41 pm

Yes. As I mentioned the question marked rows are wrong, these addresses left from the previous release. I didn't find those offsets, so what uses those, that won't work. I tried with createpath.lua, but that fails too, because it uses "charDirVectorPtr_offset" wich is marked, so it fails.

elroy72
Posts: 36
Joined: Tue Apr 07, 2009 8:01 pm

Re: RoM bot

#662 Post by elroy72 » Tue Apr 07, 2009 8:05 pm

Hey Izebize,
What is your method of finding the offsets?
I want to contribute, but I'm not sure how :P
Link to a guide, or anything would help, maybe i can find some stuff you missed ;)

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

Re: RoM bot

#663 Post by Administrator » Tue Apr 07, 2009 8:31 pm

Izebize: Thanks for the help finding addresses. You saved me quite a bit of time.

RoMbot version 2.28 has just been uploaded, and is compatible with game version 1828. There have been many changes to how data is stored in the client, so updating your addresses alone will not be enough. Redownload and install the full, new scripts (which contain a few minor improvements and bug fixes, as well).

I've also just uploaded MicroMacro 1.0 beta 4 for those of you that are willing to give it a test and let me know if everything works correctly.

elroy72
Posts: 36
Joined: Tue Apr 07, 2009 8:01 pm

Re: RoM bot

#664 Post by elroy72 » Tue Apr 07, 2009 8:34 pm

Awesome! Thanks!

holystrikers
Posts: 25
Joined: Fri Mar 06, 2009 1:32 pm

Re: RoM bot

#665 Post by holystrikers » Tue Apr 07, 2009 9:00 pm

Great work Ize and Ad that's great!!!!:)

Nasa210
Posts: 10
Joined: Tue Apr 07, 2009 5:53 pm

Re: RoM bot

#666 Post by Nasa210 » Tue Apr 07, 2009 9:34 pm

i am having a problem. when i hit del key it says something about nil value.

plz help!
Last edited by Nasa210 on Tue Apr 07, 2009 10:30 pm, edited 1 time in total.

ellamental
Posts: 27
Joined: Mon Mar 23, 2009 4:49 am

Re: RoM bot

#667 Post by ellamental » Tue Apr 07, 2009 10:18 pm

Code: Select all

Tue Apr 07 23:14:29 2009 : MicroMacro v1.0
Tue Apr 07 23:14:29 2009 : Processor Type: 586, OS: Windows XP Service Pack 3
Tue Apr 07 23:14:29 2009 : LuaCoco is available.
Tue Apr 07 23:14:29 2009 : Lua glues exported.
Tue Apr 07 23:14:29 2009 : Keyboard layout: US English
Tue Apr 07 23:14:38 2009 : Executing script 'createpath.lua'
==================================================

Tue Apr 07 23:16:54 2009 : Execution success

Tue Apr 07 23:17:00 2009 : Executing script 'bot.lua'
==================================================

Tue Apr 07 23:17:02 2009 : RoM Bot Version 2.28
Tue Apr 07 23:17:02 2009 : Using static base address 0x8697A4, player address 0x2B20F1A4

stack traceback:
	...ettings\Administrator\Desktop\micromacro\lib\lib.lua:513: in function 'startMacro'
	scripts\rom/bot.lua:155: in main chunk

----------TRACEBACK END----------

Tue Apr 07 23:17:02 2009 : Cannot open file 'C:/Documents and Settings/Administrator/Desktop/micromacro/scripts/rom/profiles/ÿÿÿÿÀg‘-.xml' for reading.
Tue Apr 07 23:17:02 2009 : Execution error: Runtime error
Can anyone help me out?

Create path works fine but when I go to run the bot I get the above error.

Now im getting this after updating to the new micro

Code: Select all

Tue Apr 07 23:25:35 2009 : MicroMacro v1.0
Tue Apr 07 23:25:35 2009 : Processor Type: 586, OS: Windows XP Service Pack 3
Tue Apr 07 23:25:35 2009 : LuaCoco is available.
Tue Apr 07 23:25:35 2009 : Lua glues exported.
Tue Apr 07 23:25:35 2009 : Keyboard layout: US English
Tue Apr 07 23:25:43 2009 : Executing script 'createpath.lua'
==================================================

Tue Apr 07 23:25:43 2009 : WARNING: Failure reading memory from 0xD2FDC0 at 0x2b20f4e8 in memoryReadInt(). Error code 299 (Only part of a ReadProcessMemory or WriteProcessMemory request was completed.)

Tue Apr 07 23:25:43 2009 : WARNING: Failure reading memory from 0xD2FDC0 at 0x2b20f4f0 in memoryReadInt(). Error code 299 (Only part of a ReadProcessMemory or WriteProcessMemory request was completed.)

Tue Apr 07 23:25:43 2009 : WARNING: Failure reading memory from 0xD2FDC0 at 0x2b20f4f4 in memoryReadInt(). Error code 299 (Only part of a ReadProcessMemory or WriteProcessMemory request was completed.)

Tue Apr 07 23:25:43 2009 : WARNING: Failure reading memory from 0xD2FDC0 at 0x2b20f4f8 in memoryReadInt(). Error code 299 (Only part of a ReadProcessMemory or WriteProcessMemory request was completed.)

Tue Apr 07 23:25:43 2009 : WARNING: Failure reading memory from 0xD2FDC0 at 0x2b20f4fc in memoryReadInt(). Error code 299 (Only part of a ReadProcessMemory or WriteProcessMemory request was completed.)

Tue Apr 07 23:25:43 2009 : WARNING: Failure reading memory from 0xD2FDC0 at 0x2b20f500 in memoryReadInt(). Error code 299 (Only part of a ReadProcessMemory or WriteProcessMemory request was completed.)

Tue Apr 07 23:25:43 2009 : WARNING: Failure reading memory from 0xD2FD34 at 0x2b20f41c in memoryReadString(). Error code 299 (Only part of a ReadProcessMemory or WriteProcessMemory request was completed.)

Tue Apr 07 23:25:43 2009 : WARNING: Failure reading memory from 0xD2FDC0 at 0x2b20f520 in memoryReadInt(). Error code 299 (Only part of a ReadProcessMemory or WriteProcessMemory request was completed.)

Tue Apr 07 23:25:43 2009 : WARNING: Failure reading memory from 0xD2FDC0 at 0x2b20f528 in memoryReadInt(). Error code 299 (Only part of a ReadProcessMemory or WriteProcessMemory request was completed.)

Tue Apr 07 23:25:43 2009 : WARNING: Failure reading memory from 0xD2FDC0 at 0x2b20f404 in memoryReadInt(). Error code 299 (Only part of a ReadProcessMemory or WriteProcessMemory request was completed.)

Tue Apr 07 23:25:43 2009 : WARNING: Failure reading memory from 0xD2FDC0 at 0x2b20f1d0 in memoryReadFloat(). Error code 299 (Only part of a ReadProcessMemory or WriteProcessMemory request was completed.)

Tue Apr 07 23:25:43 2009 : WARNING: Failure reading memory from 0xD2FDC0 at 0x2b20f1d4 in memoryReadFloat(). Error code 299 (Only part of a ReadProcessMemory or WriteProcessMemory request was completed.)

Tue Apr 07 23:25:43 2009 : WARNING: Failure reading memory from 0xD2FDC0 at 0x2b20f1d8 in memoryReadFloat(). Error code 299 (Only part of a ReadProcessMemory or WriteProcessMemory request was completed.)

Tue Apr 07 23:25:43 2009 : WARNING: Failure reading memory from 0xD2FDC0 at 0x2b20f596 in memoryReadByte(). Error code 299 (Only part of a ReadProcessMemory or WriteProcessMemory request was completed.)


stack traceback:
	...ettings\Administrator\Desktop\micromacro\lib\lib.lua:513: in function 'startMacro'
	scripts\rom/createpath.lua:73: in main chunk

----------TRACEBACK END----------

Tue Apr 07 23:25:43 2009 : ...ator/Desktop/micromacro/scripts/rom/classes/pawn.lua:79: Error reading memory in CPawn:update()
Tue Apr 07 23:25:43 2009 : Execution error: Runtime error
I downloaded the file at the start of this thread and placed it in the scripts folder of the new micro download.

MadeUp
Posts: 1
Joined: Tue Apr 07, 2009 10:41 pm

Re: RoM bot

#668 Post by MadeUp » Tue Apr 07, 2009 10:51 pm

Hey, you did a really great job, I really like what you created!

With the new patch, and fix, I noticed something odd.
I can run multiple instances of RoM and run each bot individually as before patch, but when I grouped them together in a party, I got memory errors. At first I thought it was just multiple instances causing it and only allowing one to run now. But I do believe while in a party the memory values changed.

Code: Select all

Tue Apr 07 23:34:40 2009 : MicroMacro v1.0
Tue Apr 07 23:34:40 2009 : Processor Type: 2X 586, OS: Windows XP Service Pack 3
Tue Apr 07 23:34:40 2009 : LuaCoco is available.
Tue Apr 07 23:34:40 2009 : Lua glues exported.
Tue Apr 07 23:34:40 2009 : Keyboard layout: US English
Tue Apr 07 23:34:44 2009 : Executing script 'bot.lua'
==================================================

Tue Apr 07 23:34:48 2009 : RoM Bot Version 2.28
Tue Apr 07 23:34:48 2009 : Using static base address 0x8697A4, player address 0x0
Tue Apr 07 23:34:48 2009 : WARNING: Failure reading memory from 0xD7FDB0 at 0x248 in memoryWriteInt(). Error code 487 (Attempt to access invalid address.)

Tue Apr 07 23:34:48 2009 : WARNING: Failure reading memory from 0xD7FDC0 at 0x344 in memoryReadInt(). Error code 299 (Only part of a ReadProcessMemory or WriteProcessMemory request was completed.)

Tue Apr 07 23:34:48 2009 : WARNING: Failure reading memory from 0xD7FDC0 at 0x34c in memoryReadInt(). Error code 299 (Only part of a ReadProcessMemory or WriteProcessMemory request was completed.)

Tue Apr 07 23:34:48 2009 : WARNING: Failure reading memory from 0xD7FDC0 at 0x350 in memoryReadInt(). Error code 299 (Only part of a ReadProcessMemory or WriteProcessMemory request was completed.)

Tue Apr 07 23:34:48 2009 : WARNING: Failure reading memory from 0xD7FDC0 at 0x354 in memoryReadInt(). Error code 299 (Only part of a ReadProcessMemory or WriteProcessMemory request was completed.)

Tue Apr 07 23:34:48 2009 : WARNING: Failure reading memory from 0xD7FDC0 at 0x358 in memoryReadInt(). Error code 299 (Only part of a ReadProcessMemory or WriteProcessMemory request was completed.)

Tue Apr 07 23:34:48 2009 : WARNING: Failure reading memory from 0xD7FDC0 at 0x35c in memoryReadInt(). Error code 299 (Only part of a ReadProcessMemory or WriteProcessMemory request was completed.)

Tue Apr 07 23:34:48 2009 : WARNING: Failure reading memory from 0xD7FD34 at 0x278 in memoryReadString(). Error code 299 (Only part of a ReadProcessMemory or WriteProcessMemory request was completed.)

Tue Apr 07 23:34:48 2009 : WARNING: Failure reading memory from 0xD7FDC0 at 0x37c in memoryReadInt(). Error code 299 (Only part of a ReadProcessMemory or WriteProcessMemory request was completed.)

Tue Apr 07 23:34:48 2009 : WARNING: Failure reading memory from 0xD7FDC0 at 0x384 in memoryReadInt(). Error code 299 (Only part of a ReadProcessMemory or WriteProcessMemory request was completed.)

Tue Apr 07 23:34:48 2009 : WARNING: Failure reading memory from 0xD7FDC0 at 0x260 in memoryReadInt(). Error code 299 (Only part of a ReadProcessMemory or WriteProcessMemory request was completed.)

Tue Apr 07 23:34:48 2009 : WARNING: Failure reading memory from 0xD7FDC0 at 0x2c in memoryReadFloat(). Error code 299 (Only part of a ReadProcessMemory or WriteProcessMemory request was completed.)

Tue Apr 07 23:34:48 2009 : WARNING: Failure reading memory from 0xD7FDC0 at 0x30 in memoryReadFloat(). Error code 299 (Only part of a ReadProcessMemory or WriteProcessMemory request was completed.)

Tue Apr 07 23:34:48 2009 : WARNING: Failure reading memory from 0xD7FDC0 at 0x34 in memoryReadFloat(). Error code 299 (Only part of a ReadProcessMemory or WriteProcessMemory request was completed.)

Tue Apr 07 23:34:48 2009 : WARNING: Failure reading memory from 0xD7FDC0 at 0x3f2 in memoryReadByte(). Error code 299 (Only part of a ReadProcessMemory or WriteProcessMemory request was completed.)


stack traceback:
	...\Desktop\micromacro\lib\lib.lua:513: in function 'startMacro'
	scripts\rom/bot.lua:155: in main chunk

----------TRACEBACK END----------

Tue Apr 07 23:34:48 2009 : .../Desktop/micromacro/scripts/rom/classes/pawn.lua:79: Error reading memory in CPawn:update()
Tue Apr 07 23:34:48 2009 : Execution error: Runtime error
Even after leaving the party, I still received memory errors, I can only close and re-open all clients again to be able to get the bot to run once more.

I attempted this with 4 in the code above

The next time I only had 2 going and individually, they ran fine, but when i grouped them up again, I got a single memory error line

Code: Select all

Tue Apr 07 23:48:48 2009 : MicroMacro v1.0
Tue Apr 07 23:48:48 2009 : Processor Type: 2X 586, OS: Windows XP Service Pack 3
Tue Apr 07 23:48:48 2009 : LuaCoco is available.
Tue Apr 07 23:48:48 2009 : Lua glues exported.
Tue Apr 07 23:48:48 2009 : Keyboard layout: US English
Tue Apr 07 23:48:52 2009 : Executing script 'bot.lua'
==================================================

Tue Apr 07 23:48:55 2009 : RoM Bot Version 2.28
Tue Apr 07 23:48:55 2009 : Using static base address 0x8697A4, player address 0x2A64CD00
Tue Apr 07 23:49:03 2009 : WARNING: Failure reading memory from 0xD7FDB0 at 0x8697a4 in memoryReadIntPtr(). Error code 998 (Invalid access to memory location.)


stack traceback:
	...\Desktop\micromacro\lib\lib.lua:513: in function 'startMacro'
	scripts\rom/bot.lua:155: in main chunk

----------TRACEBACK END----------

Tue Apr 07 23:49:03 2009 : .../Desktop/micromacro/lib/mods/cli.lua:25: bad argument #2 to 'format' (number expected, got nil)
Tue Apr 07 23:49:03 2009 : Execution error: Runtime error
Hope this helps some.

EDIT:
Seems to be more when trying to run the other client in a party

Code: Select all

Tue Apr 07 23:55:42 2009 : MicroMacro v1.0
Tue Apr 07 23:55:42 2009 : Processor Type: 2X 586, OS: Windows XP Service Pack 3
Tue Apr 07 23:55:42 2009 : LuaCoco is available.
Tue Apr 07 23:55:42 2009 : Lua glues exported.
Tue Apr 07 23:55:42 2009 : Keyboard layout: US English
Tue Apr 07 23:55:45 2009 : Executing script 'bot.lua'
==================================================

Tue Apr 07 23:55:47 2009 : RoM Bot Version 2.28
Tue Apr 07 23:55:47 2009 : Failed to attach to handle 0x47A838.
Tue Apr 07 23:55:47 2009 : WARNING: Failure reading memory from 0xD7FDB0 at 0x8697a4 in memoryReadIntPtr(). Error code 299 (Only part of a ReadProcessMemory or WriteProcessMemory request was completed.)

Tue Apr 07 23:55:47 2009 : Using static base address 0x8697A4, player address 0x0
Tue Apr 07 23:55:47 2009 : WARNING: Failure reading memory from 0xD7FDB0 at 0x248 in memoryWriteInt(). Error code 487 (Attempt to access invalid address.)

Tue Apr 07 23:55:47 2009 : WARNING: Failure reading memory from 0xD7FDB0 at 0x8697a4 in memoryReadIntPtr(). Error code 299 (Only part of a ReadProcessMemory or WriteProcessMemory request was completed.)


stack traceback:
	...\Desktop\micromacro\lib\lib.lua:513: in function 'startMacro'
	scripts\rom/bot.lua:155: in main chunk

----------TRACEBACK END----------

Tue Apr 07 23:55:47 2009 : .../Desktop/micromacro/lib/mods/cli.lua:25: bad argument #2 to 'format' (number expected, got nil)
Tue Apr 07 23:55:47 2009 : Execution error: Runtime error
Sorry if this is unnecessary, trying to give as much details as possible :)

ellamental
Posts: 27
Joined: Mon Mar 23, 2009 4:49 am

Re: RoM bot

#669 Post by ellamental » Tue Apr 07, 2009 10:59 pm

Got createpath working again but a new problem.

I tried to update via the script rom/update.lua

and I get this

Code: Select all

Tue Apr 07 23:58:15 2009 : Unable to find static base pointer in module.
Tue Apr 07 23:58:15 2009 : Execution error: Runtime error
Ok now im back to the errors before, only way to fix it is to totally restart my comp, but then again I come back to these errors where creatpath works but not the bot.

Jovaras
Posts: 12
Joined: Fri Mar 27, 2009 7:59 am

Re: RoM bot

#670 Post by Jovaras » Wed Apr 08, 2009 1:13 am

Administrator updated the bot, check teh attachment. It works for me now.

Jovaras
Posts: 12
Joined: Fri Mar 27, 2009 7:59 am

Re: RoM bot

#671 Post by Jovaras » Wed Apr 08, 2009 5:10 am

Not working again after unexpected maintence.

Zilvermoon
Posts: 104
Joined: Mon Jan 05, 2009 8:19 am

Re: RoM bot

#672 Post by Zilvermoon » Wed Apr 08, 2009 5:18 am

Well a new day, and yet another patch 1829, here is my error report from MM 1.0 beta 4 (RoM 2.28)

Code: Select all

Wed Apr 08 12:07:28 2009 : MicroMacro v1.0
Wed Apr 08 12:07:28 2009 : Processor Type: 2X 586, OS: Windows XP Service Pack 3
Wed Apr 08 12:07:28 2009 : LuaCoco is available.
Wed Apr 08 12:07:28 2009 : Lua glues exported.
Wed Apr 08 12:07:29 2009 : Keyboard layout: US English
Wed Apr 08 12:07:34 2009 : Executing script 'bot.lua'
==================================================

Wed Apr 08 12:07:35 2009 : RoM Bot Version 2.28
Wed Apr 08 12:07:35 2009 : WARNING: Failure reading memory from 0xDCFDB0 at 0x8697e0 in memoryReadIntPtr(). Error code 299 (Kun en del af ReadProcessMemory- eller WriteProcessMemory- anmodningen blev gennemført.)

Wed Apr 08 12:07:35 2009 : Using static base address 0x8697E0, player address 0x0
Wed Apr 08 12:07:35 2009 : WARNING: Failure reading memory from 0xDCFDB0 at 0x248 in memoryWriteInt(). Error code 487 (Der blev forsøgt at få adgang til forkert adresse.)

Wed Apr 08 12:07:35 2009 : WARNING: Failure reading memory from 0xDCFDB0 at 0x8697e0 in memoryReadIntPtr(). Error code 299 (Kun en del af ReadProcessMemory- eller WriteProcessMemory- anmodningen blev gennemført.)


stack traceback:
	...s and Settings\DMH\Skrivebord\micromacro\lib\lib.lua:513: in function 'startMacro'
	scripts\rom/bot.lua:155: in main chunk

----------TRACEBACK END----------

Wed Apr 08 12:07:35 2009 : ... Settings/DMH/Skrivebord/micromacro/lib/mods/cli.lua:25: bad argument #2 to 'format' (number expected, got nil)
Wed Apr 08 12:07:35 2009 : Execution error: Runtime error
Also I would like to take this opputunity to thank all that help with this really nice BOT 8-)

Zilvermoon

Izebize
Posts: 18
Joined: Tue Apr 07, 2009 11:38 am

Re: RoM bot

#673 Post by Izebize » Wed Apr 08, 2009 5:35 am

Addresses for v1829:

Code: Select all

staticcharbase_address = 0x86A7A4; --0x86A7E0; 0x884F00; 0x8A3E48;
charPtr_offset = 0x570;
Probably wrong:
  • pawnAttackable_offset
    inBattle_offset
Probably right:
  • castbar_offset
    camUVec1_offset
    camUVec2_offset
Other offsets are the same as the last release of the bot.

User avatar
Onkelatze
Posts: 2
Joined: Wed Apr 08, 2009 5:57 am
Location: Germany
Contact:

Re: RoM bot

#674 Post by Onkelatze » Wed Apr 08, 2009 5:59 am

Perfect Thx a lot!

Amazing Bot :)
*spelling errors are without guarantee*

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

Re: RoM bot

#675 Post by Administrator » Wed Apr 08, 2009 6:40 am

Another update has been made to fix problems with game patch 1829. If you already downloaded bot version 2.28 (for game version 1828), then you can simply modify your addresses.lua to match this:

Code: Select all

staticcharbase_address = 0x884F00; -- 0x8A3E48;
charPtr_offset = 0x570;

Nasa210
Posts: 10
Joined: Tue Apr 07, 2009 5:53 pm

Re: RoM bot

#676 Post by Nasa210 » Wed Apr 08, 2009 7:39 am

Can any1 tell me if i am setting the bot up right?

I downloaded the micromacro on the page above, got the new v28rombot. put the rom folder from the v28rombot in the micromacro script folder, changed the address to above 1829, got the new micromacro exe.

It says something about a nil vlaue

Zilvermoon
Posts: 104
Joined: Mon Jan 05, 2009 8:19 am

Re: RoM bot

#677 Post by Zilvermoon » Wed Apr 08, 2009 8:07 am

Administrator wrote:Another update has been made to fix problems with game patch 1829. If you already downloaded bot version 2.28 (for game version 1828), then you can simply modify your addresses.lua to match this:

Code: Select all

staticcharbase_address = 0x884F00; -- 0x8A3E48;
charPtr_offset = 0x570;
Thanks for the update Admin 8-)

Zilvermoon

elroy72
Posts: 36
Joined: Tue Apr 07, 2009 8:01 pm

Re: RoM bot

#678 Post by elroy72 » Wed Apr 08, 2009 2:34 pm

Hey, quick question.
How can I resurrect when I die using OnDeath (or some other method)?

kokowiki
Posts: 16
Joined: Thu Feb 05, 2009 8:50 pm

Re: RoM bot

#679 Post by kokowiki » Wed Apr 08, 2009 3:43 pm

elroy72 wrote:Hey, quick question.
How can I resurrect when I die using OnDeath (or some other method)?
Make a macro with '/script AcceptResurrect()' (sp?), and then put it on the Action-bar. Then add the hotkey to that slot to the OnDeath. The problem is, i don't know how to add a hotkey to OnDeath :D.

elroy72
Posts: 36
Joined: Tue Apr 07, 2009 8:01 pm

Re: RoM bot

#680 Post by elroy72 » Wed Apr 08, 2009 5:15 pm

Yea I did Something along those lines.. then i put Macro_Resurrect:use(); but that didn't seem to work

Locked

Who is online

Users browsing this forum: Google [Bot] and 1 guest