Hello,
In my effort to make the bot work I've read up on all the how-to guides and set everything up accordingly.
Micromacro v1.0 beta 7 is installed (and seems to work) and I have used TortoiseSVN to update the files in the scripts\rom folder (all green checkmarks so I guess that's good..).
Now, when I start the micromacro and the game I begin by executing the "rom\createpath.lua" command I get the following error:
"Opening createpath.lua...
Starting script execution - Press CTRL+C to exit.
Press CTRL+L to cancel execution and load a new script.
---------------------------------------------------------
OPENING LOCAL SKILLS DB!
You need to run rom first!
scripts\rom\createpath.lua:79: bad argument #1 to 'memoryReadIntPtr' ((null))"
I couldn't find any other posts concerning this issue, also I've tried different commands but they all tell me to run RoM first, which is weird because it is infact running. I've tried to run the game in different resolutions and in both window/fullscreen mode but still no results.
Hopefully this isn't a rookie mistake and you guys can help me out on this one!
Thanks in advance.
"You need to run rom first!" error whilst running the game.
- Administrator
- Site Admin
- Posts: 5340
- Joined: Sat Jan 05, 2008 4:21 pm
Re: "You need to run rom first!" error whilst running the game.
Post your log.txt. It would also help if you detailed which version of RoM you are running. Exactly what is the title of the RoM window for you?
Re: "You need to run rom first!" error whilst running the game.
my log.txt:
Thu Nov 26 14:04:34 2009 : MicroMacro v1.0 beta 7
Thu Nov 26 14:04:34 2009 : Processor Type: 2X 586, OS: Windows Vista Service Pack 1
Thu Nov 26 14:04:34 2009 : LuaCoco is available.
Thu Nov 26 14:04:34 2009 : Lua glues exported.
Thu Nov 26 14:04:34 2009 : Keyboard layout: US English
Thu Nov 26 14:06:04 2009 : Executing script 'createpath.lua'
--------------------------------------------------------------------------------
Thu Nov 26 14:06:04 2009 : Language: english
Thu Nov 26 14:06:07 2009 : findWindowList() returned 0 results. Window(s) not found or other error occured.
Thu Nov 26 14:06:07 2009 : Error attempting to open process 0x373680. Error code: 87 (De parameter is onjuist.).
Thu Nov 26 14:06:07 2009 : scripts\rom\createpath.lua:79: bad argument #1 to 'memoryReadIntPtr' ((null))
Thu Nov 26 14:06:07 2009 : Execution error: Runtime error
Thu Nov 26 14:14:56 2009 : Executing script 'createpath.lua'
--------------------------------------------------------------------------------
Thu Nov 26 14:14:56 2009 : Language: english
Thu Nov 26 14:14:58 2009 : findWindowList() returned 0 results. Window(s) not found or other error occured.
Thu Nov 26 14:14:58 2009 : Error attempting to open process 0x2082540. Error code: 87 (De parameter is onjuist.).
Thu Nov 26 14:14:58 2009 : scripts\rom\createpath.lua:79: bad argument #1 to 'memoryReadIntPtr' ((null))
Thu Nov 26 14:14:58 2009 : Execution error: Runtime error
----
I'm running version 2.1.3.1968.en and when I boot the game the name displayed in the window is Runnl of Magic (process is Client.exe)
Thanks for the fast reply.
Thu Nov 26 14:04:34 2009 : MicroMacro v1.0 beta 7
Thu Nov 26 14:04:34 2009 : Processor Type: 2X 586, OS: Windows Vista Service Pack 1
Thu Nov 26 14:04:34 2009 : LuaCoco is available.
Thu Nov 26 14:04:34 2009 : Lua glues exported.
Thu Nov 26 14:04:34 2009 : Keyboard layout: US English
Thu Nov 26 14:06:04 2009 : Executing script 'createpath.lua'
--------------------------------------------------------------------------------
Thu Nov 26 14:06:04 2009 : Language: english
Thu Nov 26 14:06:07 2009 : findWindowList() returned 0 results. Window(s) not found or other error occured.
Thu Nov 26 14:06:07 2009 : Error attempting to open process 0x373680. Error code: 87 (De parameter is onjuist.).
Thu Nov 26 14:06:07 2009 : scripts\rom\createpath.lua:79: bad argument #1 to 'memoryReadIntPtr' ((null))
Thu Nov 26 14:06:07 2009 : Execution error: Runtime error
Thu Nov 26 14:14:56 2009 : Executing script 'createpath.lua'
--------------------------------------------------------------------------------
Thu Nov 26 14:14:56 2009 : Language: english
Thu Nov 26 14:14:58 2009 : findWindowList() returned 0 results. Window(s) not found or other error occured.
Thu Nov 26 14:14:58 2009 : Error attempting to open process 0x2082540. Error code: 87 (De parameter is onjuist.).
Thu Nov 26 14:14:58 2009 : scripts\rom\createpath.lua:79: bad argument #1 to 'memoryReadIntPtr' ((null))
Thu Nov 26 14:14:58 2009 : Execution error: Runtime error
----
I'm running version 2.1.3.1968.en and when I boot the game the name displayed in the window is Runnl of Magic (process is Client.exe)
Thanks for the fast reply.
Re: "You need to run rom first!" error whilst running the game.
What do you know!
I changed my client to the Europe version in the launcher (I figured that would change the name in the window) and it is working now.
Thank you very much for the accurate help.
I changed my client to the Europe version in the launcher (I figured that would change the name in the window) and it is working now.
Thank you very much for the accurate help.
- Administrator
- Site Admin
- Posts: 5340
- Joined: Sat Jan 05, 2008 4:21 pm
Re: "You need to run rom first!" error whilst running the game.
"Runnl of Magic", not "Runes of Magic"? That would cause it. The question is, why is that the title of the RoM window? I wasn't aware that the window title was changed based on the client language.
You can try opening up micromacro/scripts/rom/functions.lua and go to (CTRL+G) line 70. You'll see this:
Change to:
Save. This should work now.
You can try opening up micromacro/scripts/rom/functions.lua and go to (CTRL+G) line 70. You'll see this:
Code: Select all
local windowList = findWindowList("Runes of Magic", "Radiant Arcana");
Code: Select all
local windowList = findWindowList("*", "Radiant Arcana");