memorytable.lua:117
Posted: Fri Sep 17, 2010 11:44 am
thats the error...what sould i do?
sebit2005 wrote:thats the error...what sould i do?
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 ^^
Thank you - its workmacrouser wrote:sebit2005 wrote:thats the error...what sould i do?
replace memorytable.lua with attached if your scripts don't use inventory
Code: Select all
inventory:itemTotalCount(itemID);
Code: Select all
RoMScript("GetBagItemCount("..itemId..")");
i hope i can help some other users with this postWhat 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.
now its working ...big thxx!macrouser wrote:sebit2005 wrote:thats the error...what sould i do?
replace memorytable.lua with attached if your scripts don't use inventory