Table not found for ID

Runes of Magic/Radiant Arcana (http://www.runesofmagic.com)
Message
Author
User avatar
lisa
Posts: 8332
Joined: Tue Nov 09, 2010 11:46 pm
Location: Australia

Re: Table not found for ID

#101 Post by lisa » Mon Jun 06, 2011 7:57 am

ok here is first try

Code: Select all

Loading items tables.
010% [*****---------------------------------------------]Initial values

currItemDir     172883968
currItemDir1    172883936
currId1
dupeIdCheck
lastId  220001
lastStartId     220001
_range.StartId
_range.EndId
self.EndId changed from 0       to      220001
currItemDir2
100% [**************************************************]
Table not found for ID: 221572
Wrong value returned in update of item id: 221572
Table not found for ID: 220480
Wrong value returned in update of item id: 220480
Table not found for ID: 222578
Wrong value returned in update of item id: 222578
Table not found for ID: 224770
Table not found for ID: 225495
Table not found for ID: 225301
Table not found for ID: 225299
Table not found for ID: 225812
Table not found for ID: 225799
Table not found for ID: 225816
Table not found for ID: 225300
Table not found for ID: 225790
Table not found for ID: 225776
Table not found for ID: 225776
Table not found for ID: 225783
Table not found for ID: 225783
Table not found for ID: 223427
Deleted cache and redid
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

#102 Post by rock5 » Mon Jun 06, 2011 10:34 am

This is what I figured out.

The first problem is
lisa wrote:currId1
That means the first time it looks for the next id it doesn't find any. That's not right.

The second problem is
lisa wrote:_range.StartId
_range.EndId
Ok, they are nil because I mispelt the variables but it shouldn't have printed. The first time through, Ranges should be = {}.

Next problem I see is that it never printed "inserting range" even though in a previous test you showed me that it did have a range table of 220001 to 220001. I can't explain that.

Anyway, I'll write a version that concentrates on these anomalys.

Please try try this one.
Attachments
memorytable.lua
(16 KiB) Downloaded 239 times
  • 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

#103 Post by Alkaiser » Mon Jun 06, 2011 12:24 pm

I get a seemingly endless stream of this:

Code: Select all

currId1+4       224202056
currId1+8       1
currItemDir1    224326848
currId1 222140  number
currId1-4       224326784
currId1-8       224326976
currId1+4       224202020
currId1+8       1
currItemDir1    224326816
currId1 222141  number
currId1-4       11871456
currId1-8       224326784
currId1+4       224201984
currId1+8       1
currItemDir1    224326784
currId1 222142  number
currId1-4       224326752
currId1-8       224326848
currId1+4       224201948
currId1+8       1
currItemDir1    224326752
currId1 222143  number
currId1-4       11871456
currId1-8       224326784
currId1+4       224201912
currId1+8       1
currItemDir1    224326720
currId1 222144  number
currId1-4       224326208
currId1-8       224327744
currId1+4       224201876
currId1+8       1
currItemDir1    224326688
currId1 222145  number
currId1-4       11871456
currId1-8       224326656
currId1+4       224201840
currId1+8       1
currItemDir1    224326656
currId1 222146  number
currId1-4       224326624
currId1-8       224326592
currId1+4       224201804
currId1+8       1
currItemDir1    224326624
currId1 222147  number
currId1-4       11871456
currId1-8       224326656
currId1+4       224201768
currId1+8       1
currItemDir1    224326592
currId1 222148  number
currId1-4       224326528
currId1-8       224326464
currId1+4       224201732
currId1+8       1
currItemDir1    224326560
currId1 222149  number
currId1-4       11871456
currId1-8       224326528
currId1+4       224201696
currId1+8       1
currItemDir1    224326528
currId1 222150  number
currId1-4       224326496
currId1-8       224326592
currId1+4       224201660
currId1+8       1
currItemDir1    224326496
currId1 222151  number
currId1-4       11871456
currId1-8       224326528
currId1+4       224201624
currId1+8       1
currItemDir1    224326464
currId1 222152  number
currId1-4       224326336
currId1-8       224326208
currId1+4       224201588
currId1+8       1
currItemDir1    224326432
currId1 222153  number
currId1-4       11871456
currId1-8       224326400
currId1+4       224201552
currId1+8       1
currItemDir1    224326400
currId1 222154  number
currId1-4       224326368
currId1-8       224326336
currId1+4       224201516
currId1+8       1
currItemDir1    224326368
currId1 222155  number
currId1-4       11871456
currId1-8       224326400
currId1+4       224201480
currId1+8       1
currItemDir1    224326336
currId1 222156  number
currId1-4       224326272
currId1-8       224326464
currId1+4       224201444
currId1+8       1
currItemDir1    224326304
currId1 222157  number
currId1-4       11871456
currId1-8       224326272
currId1+4       224201408
currId1+8       1
currItemDir1    224326272
currId1 222158  number
currId1-4       224326240
currId1-8       224326336
currId1+4       224201372
currId1+8       1
currItemDir1    224326240
currId1 222159  number
currId1-4       11871456
currId1-8       224326272
currId1+4       224201336
currId1+8       1
currItemDir1    224326208
currId1 222160  number
currId1-4       224325952
currId1-8       224326720
currId1+4       224201300
currId1+8       1
currItemDir1    224326176
currId1 222161  number
currId1-4       11871456
currId1-8       224326144
currId1+4       224201264
currId1+8       1
currItemDir1    224326144
currId1 222162  number
currId1-4       224326112
currId1-8       224326080
currId1+4       224201228
currId1+8       1
currItemDir1    224326112
currId1 222163  number
currId1-4       11871456
currId1-8       224326144
currId1+4       224201192
currId1+8       1
currItemDir1    224326080
currId1 222164  number
currId1-4       224326016
currId1-8       224325952
currId1+4       224201156
currId1+8       1
currItemDir1    224326048
currId1 222165  number
currId1-4       11871456
currId1-8       224326016
currId1+4       224201120
currId1+8       1
currItemDir1    224326016
currId1 222166  number
currId1-4       224325984
currId1-8       224326080
currId1+4       224201084
currId1+8       1
currItemDir1    224325984
currId1 222167  number
currId1-4       11871456
currId1-8       224326016
currId1+4       224201048
currId1+8       1
currItemDir1    224325952
currId1 222168  number
currId1-4       224325824
currId1-8       224326208
currId1+4       224201012
currId1+8       1
currItemDir1    224325920
currId1 222169  number
currId1-4       11871456
currId1-8       224325888
currId1+4       224200976
currId1+8       1
currItemDir1    224325888
currId1 222170  number
currId1-4       224325856
currId1-8       224325824
currId1+4       224200940
currId1+8       1
currItemDir1    224325856
currId1 222171  number
currId1-4       11871456
currId1-8       224325888
currId1+4       224200904
currId1+8       1
currItemDir1    224325824
currId1 222172  number
currId1-4       224325760
currId1-8       224325952
currId1+4       224200868
currId1+8       1
currItemDir1    224325792
currId1 222173  number
currId1-4       11871456
currId1-8       224325760
currId1+4       224200832
currId1+8       1
currItemDir1    224325760
currId1 222174  number
currId1-4       224325728
currId1-8       224325824
currId1+4       224200796
currId1+8       1
currItemDir1    224325728
currId1 222175  number
currId1-4       11871456
currId1-8       224325760
currId1+4       224200760
currId1+8       1
currItemDir1    224325696
currId1 222176  number
currId1-4       224323648
currId1-8       224321600
currId1+4       224200724
currId1+8       1
currItemDir1    224325664
currId1 222177  number
currId1-4       11871456
currId1-8       224325632
currId1+4       224200688
currId1+8       1
currItemDir1    224325632
currId1 222178  number
currId1-4       224325600
currId1-8       224325568
currId1+4       224200652
currId1+8       1
currItemDir1    224325600
currId1 222179  number
currId1-4       11871456
currId1-8       224325632
currId1+4       224200616
currId1+8       1
currItemDir1    224325568
currId1 222180  number
currId1-4       224325504
currId1-8       224325440
currId1+4       224200580
currId1+8       1
currItemDir1    224325536
currId1 222181  number
currId1-4       11871456
currId1-8       224325504
currId1+4       224200544
currId1+8       1
currItemDir1    224325504
currId1 222182  number
currId1-4       224325472
currId1-8       224325568
currId1+4       224200508
currId1+8       1
currItemDir1    224325472
currId1 222183  number
currId1-4       11871456
currId1-8       224325504
currId1+4       224200472
currId1+8       1
currItemDir1    224325440
currId1 222184  number
currId1-4       224325312
currId1-8       224325184
currId1+4       224200436
currId1+8       1
currItemDir1    224325408
currId1 222185  number
currId1-4       11871456
currId1-8       224325376
currId1+4       224200400
currId1+8       1
currItemDir1    224325376
currId1 222186  number
currId1-4       224325344
currId1-8       224325312
currId1+4       224200364
currId1+8       1
currItemDir1    224325344
currId1 222187  number
currId1-4       11871456
currId1-8       224325376
currId1+4       224200328
currId1+8       1
currItemDir1    224325312
currId1 222188  number
currId1-4       224325248
currId1-8       224325440
It should be noted that at the time I ran this, I was not getting any item table errors. A few hours ago I was seeing them.

Here is what I got when I ran the bot on a character that was getting item table errors:

Code: Select all

Loading items tables.
010% [*****--------------------------------------
currItemDir     209125376
currItemDir1    209125344
currId1         nil
currId1-4
currId1-8
currId1+4
currId1+8
printing ranges
table: 027062C8
1:      table: 02706318
        Start:  220001
        StartAddress:   209125376
        End:    220001
lastStartId     220001
lastId  220001
_range.Start    220001
_range.End      220001
self.EndId changed from 0       to      220001
currItemDir2
100% [*******************************************
Table not found for ID: 220697
Wrong value returned in update of item id: 220697
Table not found for ID: 220635
Wrong value returned in update of item id: 220635
Table not found for ID: 221979
Wrong value returned in update of item id: 221979
Table not found for ID: 222522
Wrong value returned in update of item id: 222522
Table not found for ID: 220862
Wrong value returned in update of item id: 220862
Table not found for ID: 223526
Wrong value returned in update of item id: 223526
Table not found for ID: 220549
Wrong value returned in update of item id: 220549
Table not found for ID: 220763
Wrong value returned in update of item id: 220763
Table not found for ID: 220711
Wrong value returned in update of item id: 220711
Table not found for ID: 222647
Wrong value returned in update of item id: 222647
Table not found for ID: 221878
Wrong value returned in update of item id: 221878
Table not found for ID: 222580
Wrong value returned in update of item id: 222580
Table not found for ID: 222522
Wrong value returned in update of item id: 222522
Table not found for ID: 222525
Wrong value returned in update of item id: 222525
Table not found for ID: 222631
Wrong value returned in update of item id: 222631
Table not found for ID: 220480
Wrong value returned in update of item id: 220480
Table not found for ID: 220697
Wrong value returned in update of item id: 220697
Table not found for ID: 220480
Wrong value returned in update of item id: 220480
Table not found for ID: 220912
Wrong value returned in update of item id: 220912
Table not found for ID: 221547
Wrong value returned in update of item id: 221547
Table not found for ID: 220711
Wrong value returned in update of item id: 220711
Table not found for ID: 220363
Wrong value returned in update of item id: 220363
Table not found for ID: 220847
Wrong value returned in update of item id: 220847
Table not found for ID: 222487
Wrong value returned in update of item id: 222487
Table not found for ID: 222449
Wrong value returned in update of item id: 222449
Table not found for ID: 221552
Wrong value returned in update of item id: 221552
Table not found for ID: 220744
Wrong value returned in update of item id: 220744
Table not found for ID: 222572
Wrong value returned in update of item id: 222572
Table not found for ID: 222146
Wrong value returned in update of item id: 222146
Table not found for ID: 220394
Wrong value returned in update of item id: 220394
Table not found for ID: 220711
Wrong value returned in update of item id: 220711
Table not found for ID: 223526
Wrong value returned in update of item id: 223526
Table not found for ID: 221540
Wrong value returned in update of item id: 221540
Table not found for ID: 220812
Wrong value returned in update of item id: 220812
Table not found for ID: 220711
Wrong value returned in update of item id: 220711
Table not found for ID: 220363
Wrong value returned in update of item id: 220363
Table not found for ID: 222535
Wrong value returned in update of item id: 222535
Table not found for ID: 222640
Wrong value returned in update of item id: 222640
Table not found for ID: 221978
Wrong value returned in update of item id: 221978
Table not found for ID: 220912
Wrong value returned in update of item id: 220912
Table not found for ID: 224910
Table not found for ID: 224912
Table not found for ID: 224913
Table not found for ID: 224911
Table not found for ID: 220607
Table not found for ID: 220830
Table not found for ID: 220575
Table not found for ID: 225210
Table not found for ID: 223333

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

Re: Table not found for ID

#104 Post by rock5 » Mon Jun 06, 2011 7:35 pm

Alkaiser wrote:I get a seemingly endless stream of this:
Yeh, that's what happens when it's working. You only get a short display when you are gettting the errors.

I'm looking at your output and it doesn't make things clearer. I don't know if I'm going to be able to figure it out. :(
  • 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

Merlin
Posts: 54
Joined: Tue May 10, 2011 9:59 am

Re: Table not found for ID

#105 Post by Merlin » Tue Jun 07, 2011 9:06 am

A question, how do you all start the bot?
If I do it with startbot.bat I don't get the error anymore! Hope it stays that way... :)

.... yea it has hold one run exactly ... this error really don't like me, if I repeat the exact steps the error still there so I have no idea how it has gone away for one time...

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

Re: Table not found for ID

#106 Post by Alkaiser » Tue Jun 07, 2011 10:10 am

Merlin wrote:A question, how do you all start the bot?
If I do it with startbot.bat I don't get the error anymore! Hope it stays that way... :)

.... yea it has hold one run exactly ... this error really don't like me, if I repeat the exact steps the error still there so I have no idea how it has gone away for one time...
I just tried this, but I still get the errors.

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

Re: Table not found for ID

#107 Post by Alkaiser » Tue Jun 07, 2011 10:13 am

rock5 wrote:I'm looking at your output and it doesn't make things clearer. I don't know if I'm going to be able to figure it out. :(
Well, here's hoping that the chapter 4 patch will be reworked enough that the client will behave more consistently.

Merlin
Posts: 54
Joined: Tue May 10, 2011 9:59 am

Re: Table not found for ID

#108 Post by Merlin » Tue Jun 07, 2011 11:14 am

Rock have all clients sthe same problem or just a few of us?
Have anyone of you tried to reinstall te complete game with all addons and all?

And is there an explanation or a thought of you, why the system worked for me some time after I updated the version to 605 (like 3-5 restarts of the game and the bot)?

hamstaaa
Posts: 37
Joined: Sat Apr 23, 2011 9:48 pm

Re: Table not found for ID

#109 Post by hamstaaa » Tue Jun 07, 2011 11:31 am

Hey dudes

i got the Following "errors" too

Code: Select all

Loading items tables.
100% [**************************************************]
Table not found for ID: 226090
Wrong value returned in update of item id: 226090
Table not found for ID: 223441
Wrong value returned in update of item id: 223441
Table not found for ID: 227172
Wrong value returned in update of item id: 227172
Table not found for ID: 221887
Wrong value returned in update of item id: 221887
Table not found for ID: 226092
Wrong value returned in update of item id: 226092
Table not found for ID: 226089
Wrong value returned in update of item id: 226089
Table not found for ID: 223439
Wrong value returned in update of item id: 223439
Table not found for ID: 226088
Wrong value returned in update of item id: 226088
Table not found for ID: 223443
Wrong value returned in update of item id: 223443
Table not found for ID: 226087
Wrong value returned in update of item id: 226087
Table not found for ID: 225222
Table not found for ID: 225503
Table not found for ID: 226518
Table not found for ID: 225224
Table not found for ID: 225360
Table not found for ID: 225795
Table not found for ID: 225802
Table not found for ID: 225225
Table not found for ID: 225136
Table not found for ID: 225135
Table not found for ID: 225134
Table not found for ID: 225138
Table not found for ID: 225137
Table not found for ID: 227537
after this the bot starts, but selling items dont work safe (sell it by item worth)...the strange thing is i got those errors for a loooong time, but only sometimes. Now i get it every time i start the bot. and nearly every item in bag causes this errors :cry:

it there any solution for this problem yet?



BTW: EU server and since the latest RoM Patch it causes errors ;)

Merlin
Posts: 54
Joined: Tue May 10, 2011 9:59 am

Re: Table not found for ID

#110 Post by Merlin » Wed Jun 08, 2011 3:08 am

Try this. Close all Runes of Magic windows regulary (exit). Close all Micromacro aplications. Restart all Runes windows. Start Micromacro.
Tried right now and it works - the problem is I don't want to try restarting another time as long it works... :)

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

Re: Table not found for ID

#111 Post by lisa » Wed Jun 08, 2011 3:46 am

had a weird thought, what if they added another pointer for some of the addresses, could explain why it works sometimes and not others ?
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

#112 Post by rock5 » Wed Jun 08, 2011 4:35 am

I could have sworn I answered this one today. I swear, sometime my posts are disappearing. This isn't the first time. :x

Here we go again.
Merlin wrote:Rock have all clients sthe same problem or just a few of us?
A couple of problems we all shared but I fixed with 605. The "table not found" errors for the 220000 range of ids only seems to affect a few. It doesn't affect me.
Merlin wrote:Have anyone of you tried to reinstall te complete game with all addons and all?
As far as know, no one has tried that. If you do, let use know the result.
Merlin wrote:And is there an explanation or a thought of you, why the system worked for me some time after I updated the version to 605 (like 3-5 restarts of the game and the bot)?
Are you saying "why does it sometimes work and other times not."? We don't know yet. We don't even know why it happening yet.
hamstaaa wrote:BTW: EU server and since the latest RoM Patch it causes errors
That's because the error has something to do with version 3.0.11 and the EU just updated to that. That's why I was finally able to fix it, because I started getting the errors 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
rock5
Posts: 12173
Joined: Tue Jan 05, 2010 3:30 am
Location: Australia

Re: Table not found for ID

#113 Post by rock5 » Wed Jun 08, 2011 11:09 pm

Ok, I thought of something else to try. Hopefully it will make the print out make sense.

Could someone try this file, after you get the "Table not found" error.
Attachments
memorytable.lua
(15.98 KiB) Downloaded 258 times
  • 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

Merlin
Posts: 54
Joined: Tue May 10, 2011 9:59 am

Re: Table not found for ID

#114 Post by Merlin » Wed Jun 08, 2011 11:45 pm

Yesterday it worked for several hours with several script restarts (not game and not micromacro) But in the evening the same problem again becouse of an crit and restart.
There the new print:

Code: Select all

Loading items tables.
010% [*****---------------------------------------------]printing ranges
table: 05003E50
printing ranges
table: 05003E50
1:      table: 05003EC8
        Start:  220001
        StartAddress:   217710592
        End:    220001
100% [**************************************************]
Table not found for ID: 227502
Wrong value returned in update of item id: 227502
Table not found for ID: 225222
Table not found for ID: 225589
Table not found for ID: 225926
Table not found for ID: 225224
Table not found for ID: 225757
Table not found for ID: 221866
Table not found for ID: 225750
Table not found for ID: 225225
Table not found for ID: 225136
Table not found for ID: 225721
Table not found for ID: 223890
Table not found for ID: 223223
Table not found for ID: 225728
Table not found for ID: 227538
Not really helpful (but I don't know what you are looking for eather).
Just to mention it - THANKS FOR YOUR TIME AND WORK ROCK!

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

Re: Table not found for ID

#115 Post by rock5 » Thu Jun 09, 2011 2:45 am

Merlin wrote:There the new print:

Not really helpful (but I don't know what you are looking for eather).
That's really interesting. I was expecting it to print roughly the same lines with maybe a few extra lines but instead it's missing quite a few lines. Not sure what it means yet. I'll have to go through the logic of it carefully but at least it printed the empty ranges table.
  • 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

Merlin
Posts: 54
Joined: Tue May 10, 2011 9:59 am

Re: Table not found for ID

#116 Post by Merlin » Thu Jun 09, 2011 2:28 pm

Rock is there a way to run it in debug mode or sometnig simmilar, that way I could give you more info?

Merlin
Posts: 54
Joined: Tue May 10, 2011 9:59 am

Re: Table not found for ID

#117 Post by Merlin » Thu Jun 09, 2011 3:52 pm

This is a new one :) now the bot breaks with an error:

Code: Select all

Loading items tables.
010% [*****---------------------------------------------]printing ranges
table: 04DB8F58
printing ranges
table: 04DB8F58
1:      table: 04DB8FD0
        Start:  220001
        StartAddress:   217645056
        End:    220001
100% [**************************************************]
Table not found for ID: 225303
Wrong value returned in update of item id: 225303
Table not found for ID: 222861
Wrong value returned in update of item id: 222861
Table not found for ID: 224976
Wrong value returned in update of item id: 224976
Table not found for ID: 226628
Wrong value returned in update of item id: 226628
Table not found for ID: 226618
Wrong value returned in update of item id: 226618
Table not found for ID: 226633
Wrong value returned in update of item id: 226633
10:49pm - ... Files (x86)/micromacro/scripts/rom/classes/item.lua:209: attempt t
o perform arithmetic on global 'itemInfoAddress' (a nil value)


Please enter the script name to run.
Type in 'exit' (without quotes) to exit.
Hope it helps.

Merlin
Posts: 54
Joined: Tue May 10, 2011 9:59 am

Re: Table not found for ID

#118 Post by Merlin » Fri Jun 10, 2011 10:15 am

Hello!

A temporary solution I need your help with... the idea is to use the sell function for fast selling (Addon SellMode):

Code: Select all

function SellToSlot() -- Sell Function
    for i=1,150,1 do local inventoryIndex,a,name,b,c,d = RoMScript("GetBagItemInfo(i);");
	RoMScript("UseBagItem(inventoryIndex);");
    end;
end
The problem is it doesn't work, no idea why not.
Open for souguestions....

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

Re: Table not found for ID

#119 Post by rock5 » Fri Jun 10, 2011 10:43 am

It would help if you said what happened when you tried, not just "it didn't work". But I see what you did wrong. You can't send a variable through RoMScript. You have to send it's value instead. Look at my RoMScript command below for an example.

BTW you don't need to use GetBagItemInfo. We know that bag slots 1-150 will have "inventoryindexes" of 61-210 so you could just use

Code: Select all

function SellToSlot() -- Sell Function
    for i=61,210,1 do 
        RoMScript("UseBagItem("..i..");");
    end;
end
You would only need to do it your way if you were dealing with partial bag ranges like slot 1-45 for example.
  • 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

#120 Post by lisa » Fri Jun 10, 2011 11:06 am

If you are just trying to sell any items in the bag then try this addon

http://www.solarstrike.net/phpBB3/viewt ... =21&t=2534

Not in english but it works very fast, sells anything in the set range.
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

Post Reply

Who is online

Users browsing this forum: No registered users and 6 guests