Page 2 of 2

Re: Help with volcanic mud and mailbox

Posted: Mon Jan 10, 2011 11:51 pm
by smike47
I have the latest version of everything. No errors up to that point. My mailbox is already opened before it gets to the script to send the item. It highlights the item, but never actually types the Alt Characters name. Let me know what you think I can try.

Re: Help with volcanic mud and mailbox

Posted: Tue Jan 11, 2011 2:11 am
by rock5
Please reread my last post, the last bit. I told you what you can try. Also you didn't answer my question if you edited inventory.lua? I suspect not but it's good to be thorough.

You've mentioned "never actually types the Alt Characters name" twice now. The reason it doesn't enter the name is because it errors before doing it. It has nothing to do with the error. Sorry I didn't mention it before.

Re: Help with volcanic mud and mailbox

Posted: Tue Jan 11, 2011 9:25 am
by smike47
rock5 wrote:Please reread my last post, the last bit. I told you what you can try. Also you didn't answer my question if you edited inventory.lua? I suspect not but it's good to be thorough.

You've mentioned "never actually types the Alt Characters name" twice now. The reason it doesn't enter the name is because it errors before doing it. It has nothing to do with the error. Sorry I didn't mention it before.


I did try placing "if slotitem == nil then print(item) end" before line 204 and it output the last line of code I posted. It didn't tell me anything new so that was why I didnt post it. I haven't changed anything in any .lua at all, inventory included. Thanks again for helping. What else might I try?

Re: Help with volcanic mud and mailbox

Posted: Tue Jan 11, 2011 5:48 pm
by smike47
rock5....

It prints out :

Code: Select all

Sending items to XXX...
181
...ts/rom/userfunctions/addon_Rock5s_Mail_Functions.lua:204: attempt to index lo
cal 'slotitem' (a nil value)

181 is the error.

Also, "self.MaxSlots = 240" is not in the asson_Rock5 file at all.

So i'm assuming its having a problem with something in my bag slots? Is there anyway to tell it just to send whatever is in bag #1 top left slot? Or if you have another idea for me to try, please advise.

Re: Help with volcanic mud and mailbox

Posted: Tue Jan 11, 2011 7:21 pm
by rock5
smike47 wrote:rock5....

It prints out :

Code: Select all

Sending items to XXX...
181
...ts/rom/userfunctions/addon_Rock5s_Mail_Functions.lua:204: attempt to index lo
cal 'slotitem' (a nil value)

181 is the error.

Also, "self.MaxSlots = 240" is not in the asson_Rock5 file at all.

So i'm assuming its having a problem with something in my bag slots? Is there anyway to tell it just to send whatever is in bag #1 top left slot? Or if you have another idea for me to try, please advise.
You should really learn to read things properly.
rock5 wrote:Have you ever edited inventory.lua line 12?
self.MaxSlots = 240
What I suspect is, self.MaxSlots is set to 180? If you didn't change this then you have an out of date bot or it didn't update properly.

Please update your bot. Note that micromacro is not the bot. It is the program that runs the bot. The bot are the files in the 'scripts/rom/' folder.

Please follow the SVN instructions here to make sure your bot is up to date.

Re: Help with volcanic mud and mailbox

Posted: Tue Jan 11, 2011 7:29 pm
by smike47
correct. Thank you rock5