memorytable.lua:117

Runes of Magic/Radiant Arcana (http://www.runesofmagic.com)
Post Reply
Message
Author
sebit2005
Posts: 12
Joined: Sat May 22, 2010 2:16 pm

memorytable.lua:117

#1 Post by sebit2005 » Fri Sep 17, 2010 11:44 am

thats the error...what sould i do?
Attachments
romboteroare.jpg

Starrider
Posts: 164
Joined: Sat May 01, 2010 7:04 am
Location: Germany

Re: memorytable.lua:117

#2 Post by Starrider » Fri Sep 17, 2010 2:20 pm

nothing, just wait for an update... if its possible to fix.

By the way nice desktop with full of hacks, y'r a bad guy XD

macrouser
Posts: 5
Joined: Fri Jul 30, 2010 5:44 pm

Re: memorytable.lua:117

#3 Post by macrouser » Fri Sep 17, 2010 4:14 pm

sebit2005 wrote:thats the error...what sould i do?

replace memorytable.lua with attached if your scripts don't use inventory
Attachments
memorytable.lua
temp fix
(11.77 KiB) Downloaded 554 times

Kaelte
Posts: 2
Joined: Fri Sep 17, 2010 5:09 pm

Re: memorytable.lua:117

#4 Post by Kaelte » Fri Sep 17, 2010 5:12 pm

hey there, got the same problem after the patch comes out last week.. i'm using a script wich uses inventory, can you pls help me to fix it ^^

macrouser
Posts: 5
Joined: Fri Jul 30, 2010 5:44 pm

Re: memorytable.lua:117

#5 Post by macrouser » Fri Sep 17, 2010 5:15 pm

Kaelte wrote:hey there, got the same problem after the patch comes out last week.. i'm using a script wich uses inventory, can you pls help me to fix it ^^

I don't know the whole rombot system well enough, you will probably have to wait until one of the gurus, works some magic.

zbynio
Posts: 36
Joined: Thu Feb 04, 2010 8:16 am
Location: POLAND

Re: memorytable.lua:117

#6 Post by zbynio » Fri Sep 17, 2010 5:32 pm

macrouser wrote:
sebit2005 wrote:thats the error...what sould i do?

replace memorytable.lua with attached if your scripts don't use inventory
Thank you - its work

if you use

Code: Select all

inventory:itemTotalCount(itemID);
This change is

Code: Select all

RoMScript("GetBagItemCount("..itemId..")");

Kaelte
Posts: 2
Joined: Fri Sep 17, 2010 5:09 pm

Re: memorytable.lua:117

#7 Post by Kaelte » Fri Sep 17, 2010 8:22 pm

yes, it works too on my script...

i work with the srcipt from rock5 from this thread --> http://www.solarstrike.net/phpBB3/viewt ... =21&t=1478

and just replace two lines in the script with the line he discribes in his thread on first page
What this means is the bot doesn't know you have the items in your inventory. Is it possible you are one of the people for who the new inventory:update() doesn't work properly? You can read more about it here.
http://www.solarstrike.net/phpBB3/viewt ... =21&t=1472

An easy fix is to bypass inventory:update(). Replace these 2 lines


Code:
inventory:update()
if 1 > inventory:itemTotalCount(204789) then -- Get more feed


with


Code:
repeat feedsacks = RoMScript("GetBagItemCount(204789)") until feedsacks
if 1 > feedsacks then -- Get more feed


The 'repeat' should stop it getting 'nil' errors.
i hope i can help some other users with this post ;)
big thanks to rock5 too :)

EDIT: forget to write, that i have taken your memorytable.lua and put it in the right folder ^^

sebit2005
Posts: 12
Joined: Sat May 22, 2010 2:16 pm

Re: memorytable.lua:117

#8 Post by sebit2005 » Sat Sep 18, 2010 6:52 am

macrouser wrote:
sebit2005 wrote:thats the error...what sould i do?

replace memorytable.lua with attached if your scripts don't use inventory
now its working ...big thxx!

zbynio
Posts: 36
Joined: Thu Feb 04, 2010 8:16 am
Location: POLAND

Re: memorytable.lua:117

#9 Post by zbynio » Sat Sep 18, 2010 6:56 am

Yes :)
I always Repeat/Until :D
recommendable

Post Reply

Who is online

Users browsing this forum: Google [Bot] and 3 guests