Page 1 of 1

***/classes/memorytable.lua:7: bad argument #2

Posted: Sun Sep 11, 2011 7:02 pm
by ymko
Haven't been playing ROM for a year, coming back to the game now and having some problems launching the bot, would appreciate any help with this...
problem:
***/classes/memorytable.lua:7: bad argument #2 to 'memoryReadIntPtr' ((null))

p.s
line 4: local tablePointer = memoryReadIntPtr( getProc(), addresses.tablesBase, addresses.tablesBaseOffset )
line 7: local dataPointer = memoryReadIntPtr( getProc(), tablePointer ,startAddressOffsets ) - lineSize

the whole file is attached aswell...
version of the game: 4.0.1.2428

Thanks.

Re: ***/classes/memorytable.lua:7: bad argument #2

Posted: Sun Sep 11, 2011 8:15 pm
by lisa
use SVN update and SVN revert, same as everyone else who posted the same problem.

Re: ***/classes/memorytable.lua:7: bad argument #2

Posted: Tue Dec 06, 2011 6:43 am
by tony_bosnjak
Hi Lisa; today i got the same problem as ymko with ***/classes/memorytable.lua:7: bad argument #2 to 'memoryReadIntPtr' ((null))
I did SVN update and SVN revert but when i do revert micromacro needed update rom/bot.lua update but when i did update i got the same error ***/classes/memorytable.lua:7: bad argument #2 to 'memoryReadIntPtr' ((null))!!!
Gere i send pic

Re: ***/classes/memorytable.lua:7: bad argument #2

Posted: Tue Dec 06, 2011 6:59 am
by lisa
Don't use update.lua.
Just follow instructions in my signature, nothing more and it will work just fine.

Re: ***/classes/memorytable.lua:7: bad argument #2

Posted: Tue Dec 06, 2011 7:10 am
by Germangold
just be patient and wait for the SVN update

since today they patched the game
Patch is about 77MB
patch_4.0.5.2467.en_4.0.5.2472.en.exe
MD5: F2B0DCAA4154C14CD993106611EFE3E5, Datum: 05.12.2011 15:35:04
http://download.frogster-online.com/pat ... 472.en.exe

current version is 4.0.5.2472

no patchnotes whatsoever

Re: ***/classes/memorytable.lua:7: bad argument #2

Posted: Tue Dec 06, 2011 7:12 am
by tony_bosnjak
1. SVN update micromacro/scripts/rom folder -------> did update
2. SVN revert micromacro/scripts/rom folder -------> did revert
3. delete Runes of Magic/Interface/Addons/ingamefunctions folder --------> deleted
4. copy micromacro/scripts/rom/devtools/ingamefunctions folder to Runes of Magic/Interface/Addons folder------> copyed
5. restart game ------>restarted

I did all of that but get message to update rom/bot.lua
Picture

Re: ***/classes/memorytable.lua:7: bad argument #2

Posted: Tue Dec 06, 2011 8:46 am
by brujilla
I also, I followed the steps and commands me to update, upgrade and if I get this error: rom / classes / memorytable.lua: 7

Re: ***/classes/memorytable.lua:7: bad argument #2

Posted: Tue Dec 06, 2011 9:05 am
by kuripot
http://www.solarstrike.net/phpBB3/viewt ... =21&t=3249 i think because of the patch..... im sure rock and lisa are working for this rigth now

Re: ***/classes/memorytable.lua:7: bad argument #2

Posted: Tue Dec 06, 2011 10:35 am
by SpiralV

Re: ***/classes/memorytable.lua:7: bad argument #2

Posted: Tue Dec 06, 2011 12:02 pm
by rock5