memorytable.lua:117
Re: memorytable.lua:117
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
By the way nice desktop with full of hacks, y'r a bad guy XD
Re: memorytable.lua:117
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
Re: memorytable.lua:117
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 ^^
Re: memorytable.lua:117
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.
Re: memorytable.lua:117
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
if you use
Code: Select all
inventory:itemTotalCount(itemID);
Code: Select all
RoMScript("GetBagItemCount("..itemId..")");
Re: memorytable.lua:117
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

big thanks to rock5 too
EDIT: forget to write, that i have taken your memorytable.lua and put it in the right folder ^^
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
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.

big thanks to rock5 too

EDIT: forget to write, that i have taken your memorytable.lua and put it in the right folder ^^
Re: memorytable.lua:117
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
Re: memorytable.lua:117
Yes
I always Repeat/Until
recommendable

I always Repeat/Until

recommendable
Who is online
Users browsing this forum: Google [Bot] and 3 guests