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

Runes of Magic/Radiant Arcana (http://www.runesofmagic.com)
Locked
Message
Author
ymko
Posts: 1
Joined: Sun Sep 11, 2011 5:08 pm

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

#1 Post 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.
Attachments
memorytable.lua
(4.26 KiB) Downloaded 196 times
User avatar
lisa
Posts: 8332
Joined: Tue Nov 09, 2010 11:46 pm
Location: Australia

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

#2 Post by lisa »

use SVN update and SVN revert, same as everyone else who posted the same problem.
Remember no matter you do in life to always have a little fun while you are at it ;)

wiki here http://www.solarstrike.net/wiki/index.php?title=Manual
tony_bosnjak
Posts: 6
Joined: Sat Nov 26, 2011 12:56 pm

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

#3 Post 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
Attachments
lol.jpg
User avatar
lisa
Posts: 8332
Joined: Tue Nov 09, 2010 11:46 pm
Location: Australia

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

#4 Post by lisa »

Don't use update.lua.
Just follow instructions in my signature, nothing more and it will work just fine.
Remember no matter you do in life to always have a little fun while you are at it ;)

wiki here http://www.solarstrike.net/wiki/index.php?title=Manual
Germangold
Posts: 276
Joined: Thu Oct 22, 2009 3:58 am

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

#5 Post 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
tony_bosnjak
Posts: 6
Joined: Sat Nov 26, 2011 12:56 pm

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

#6 Post 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
brujilla
Posts: 46
Joined: Fri Jun 17, 2011 4:56 am

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

#7 Post 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
kuripot
Posts: 493
Joined: Mon Nov 07, 2011 9:14 pm

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

#8 Post 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
SpiralV
Posts: 72
Joined: Sat Jun 25, 2011 10:37 am
Location: Germany

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

#9 Post by SpiralV »

User avatar
rock5
Posts: 12173
Joined: Tue Jan 05, 2010 3:30 am
Location: Australia

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

#10 Post by rock5 »

  • Please consider making a small donation to me to support my continued contributions to the bot and this forum. Thank you. Donate
  • I check all posts before reading PMs. So if you want a fast reply, don't PM me but post a topic instead. PM me for private or personal topics only.
  • How to: copy and paste in micromacro
    ________________________
    Quote:
    • “They say hard work never hurt anybody, but I figure, why take the chance.”
          • Ronald Reagan
Locked