Table not found for ID

Runes of Magic/Radiant Arcana (http://www.runesofmagic.com)
Message
Author
Alkaiser
Posts: 222
Joined: Sat Sep 25, 2010 2:03 pm

Re: Table not found for ID

#21 Post by Alkaiser » Thu May 26, 2011 10:32 am

I get a itemInfoAddress crash whenever "Rainbow Hat" recipe is in inventory. It drops from Boddosh in Cyclops Lair. Item Id is 550574

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

Re: Table not found for ID

#22 Post by rock5 » Fri May 27, 2011 10:05 am

Just out of curiousity, what version of the game client are you running?
  • 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

Alkaiser
Posts: 222
Joined: Sat Sep 25, 2010 2:03 pm

Re: Table not found for ID

#23 Post by Alkaiser » Sat May 28, 2011 9:24 am

rock5 wrote:Just out of curiousity, what version of the game client are you running?
3.0.11.2393

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

Re: Table not found for ID

#24 Post by rock5 » Sat May 28, 2011 10:26 pm

Lisa, who also had this problem, is using 3.0.11 as well. I don't get this problem but am still using 3.0.10 so maybe it is a version issue.
  • 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

User avatar
lisa
Posts: 8332
Joined: Tue Nov 09, 2010 11:46 pm
Location: Australia

Re: Table not found for ID

#25 Post by lisa » Sat May 28, 2011 11:44 pm

yeah I'd say they changed something in the latest patch.
Since you don't have the latest I guess I'll have to look into it more.
memory stuff isn't my best area though =(
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

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

Re: Table not found for ID

#26 Post by rock5 » Sun May 29, 2011 4:17 am

I wouldn't be surprised if Administrator is the only one who can fix it properly. And I bet it will be hard for her too.
  • 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

User avatar
Administrator
Site Admin
Posts: 5331
Joined: Sat Jan 05, 2008 4:21 pm

Re: Table not found for ID

#27 Post by Administrator » Sun May 29, 2011 6:52 pm

Can we compile a list of items that cause problems? Is it even the same ones for all users, or is it seemingly random?

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

Re: Table not found for ID

#28 Post by rock5 » Sun May 29, 2011 8:20 pm

I purchased a card that someone else was having trouble with but I didn't have any trouble with it. Also it seems the problem is when it tries to get info on the base item of cards and recipes, although I'm not 100% sure of that. Also at least 2 people that had this problem are using client 3.0.11. I'm using 3.0.10 so it might be a version issue. We probably need more people who are having this issue, to report what version they are using, to be sure.

Hope that helps.
  • 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

User avatar
Administrator
Site Admin
Posts: 5331
Joined: Sat Jan 05, 2008 4:21 pm

Re: Table not found for ID

#29 Post by Administrator » Sun May 29, 2011 8:23 pm

Is it only cards and recipes? We could just, somehow, have it ignore those items. I don't think most people really need to use any sort of information on cards and recipes for botting.

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

Re: Table not found for ID

#30 Post by rock5 » Sun May 29, 2011 8:31 pm

There was a temporaty fix that someone posted where they commanted out that section. I don't know how effextive it was.

I don't know if it's just the recipes cards because some people who reported the error for items did not confirm if they had the card for that item or not.
  • 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

User avatar
lisa
Posts: 8332
Joined: Tue Nov 09, 2010 11:46 pm
Location: Australia

Re: Table not found for ID

#31 Post by lisa » Sun May 29, 2011 8:47 pm

I get the
Table not found for ID:
, but MM would only error out when it said
Wrong value returned in update of item id:
The comment out i posted purely stopped the error out so people could continue to bot without constantly stopping from errors.

It seemed to me it only ever errored out when I got the recipe, i didn't get any cards so prob would have errored on cards too, The item the recipe would create never errored.

It wasn't all recipes though, only some. Would be difficult to get a complete list of all the recipes that did cause the error.
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

kanta
Posts: 424
Joined: Thu Nov 11, 2010 4:08 pm

Re: Table not found for ID

#32 Post by kanta » Sun May 29, 2011 9:34 pm

game version 3.0.11.2393

I believe it was crashing when I got the card for glamorous maid of the muses in Kalin Shrine
Scout/Knight/Rogue 70/66/66

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

Re: Table not found for ID

#33 Post by rock5 » Tue May 31, 2011 7:06 am

Administrator wrote:Can we compile a list of items that cause problems? Is it even the same ones for all users, or is it seemingly random?
With the server maintenance today I've been upgraded to 3.0.11. I pulled out the Glamorous Maid of the Muses card from my monster book, started the bot and got the following error.

Code: Select all

... Files (x86)/micromacro/scripts/mac/classes/item.lua:203: attempt to perform
arithmetic on global 'npcInfoAddress' (a nil value)
I put the card back and pulled out another card but got no error. So it looks like the problem is with 3.0.11 and it does seem to be the same cards for all users.

I did a bit of narrowing down.
1. The id is in the itemstable ranges and GetTableForID(101504) does return a table.
2. GetItemAddress(101504) returns nil so the problem seems to be with this function.
  • 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

User avatar
lisa
Posts: 8332
Joined: Tue Nov 09, 2010 11:46 pm
Location: Australia

Re: Table not found for ID

#34 Post by lisa » Tue May 31, 2011 7:41 am

Code: Select all

function GetItemAddress( id )
Is in classes/memorytable.lua
I'm guessing the offsets might have changed?
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

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

Re: Table not found for ID

#35 Post by rock5 » Tue May 31, 2011 7:45 am

But it seems to work for other items. That would imply the ofset is correct.
  • 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

User avatar
lisa
Posts: 8332
Joined: Tue Nov 09, 2010 11:46 pm
Location: Australia

Re: Table not found for ID

#36 Post by lisa » Tue May 31, 2011 7:59 am

its not just recipes or cards it seems

Code: Select all

Wrong value returned in update of item id: 200509
that is Stone Rotan Wood, a white wood you can get in lvl 16ish areas.

I get table not found for pretty much every bit of armor/accessories I have on lol

Code: Select all

Table not found for ID: 221672
Pioneers Earing, you get it from the starter bags
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

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

Re: Table not found for ID

#37 Post by rock5 » Tue May 31, 2011 9:01 am

I got some Rotan Wood and got the same error.

I've noticed a bug in GetItemAddress. It took me a few tries to fix it but it looks like I'm not getting either error anymore. I'll do a bit more testing them commit.

Edit: I spoke too soon. I only fixed the first error which is the one I was concentrating on. I'll try to figure out the second error before committing.
  • 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

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

Re: Table not found for ID

#38 Post by rock5 » Tue May 31, 2011 10:05 am

I think the second error is beyond me. The first error was in the coding which I can fix but the second error seems to be what it reads from memory.

This is what I found out.

When it does the item update it gets the item address using GetItemAddress.

In GetItemAddress this line seems to return an address ok.

Code: Select all

_address = _range.StartAddress - ( tmp * 32 );
But this line returns 0.

Code: Select all

tmpAddress = memoryReadIntPtr(proc, _address + 0x10, 0x8);
I think the code expects it to return a value.

I don't know what that means.
  • 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

User avatar
lisa
Posts: 8332
Joined: Tue Nov 09, 2010 11:46 pm
Location: Australia

Re: Table not found for ID

#39 Post by lisa » Tue May 31, 2011 10:39 am

I find this interesting
-- We check if this is the right one, there are mixed ids, don't know why i think is just instantiation of tables problem...
I did some printing of those 2
_address
tmpAddress
I only get the wrong value returned when tmpAddress prints 0

Code: Select all

address 193238048
tmpaddress 0
Wrong value returned in update of item id: 200509
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

User avatar
Administrator
Site Admin
Posts: 5331
Joined: Sat Jan 05, 2008 4:21 pm

Re: Table not found for ID

#40 Post by Administrator » Tue May 31, 2011 10:45 am

Can you have it ignore any continued work on those invalid addresses? I'm not sure if this will cause useful items to become unused by the bot, or just ignore the garbage. Only one way to find out.

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest