Search found 131 matches

by VoidMain
Wed Jul 21, 2010 1:54 am
Forum: Runes of Magic
Topic: In-memory inventory
Replies: 107
Views: 22223

Re: In-memory inventory

Ok, here is a patch to apply directly to a fresh SVN copy of rombot, try it and let me know how it works for you, i'm using it for killing normaly now and seems to work smooth. Ranged skill found: PRIEST_CHAIN_OF_LIGHT [DEBUG] CPU Frequency 2349.13 Table not found for ID: 212342 Wrong value returne...
by VoidMain
Tue Jul 20, 2010 8:30 pm
Forum: Runes of Magic
Topic: New Targeting System Tries To Attack My Pet
Replies: 15
Views: 3578

Re: New Targeting System Tries To Attack My Pet

KillerTHC wrote:Lol why didn't I think of that? Thanks VoidMain
Hehe, you welcome ^^
by VoidMain
Tue Jul 20, 2010 8:11 pm
Forum: Runes of Magic
Topic: New Targeting System Tries To Attack My Pet
Replies: 15
Views: 3578

Re: New Targeting System Tries To Attack My Pet

Easy to fix, add your pet name to friends in profile, that solve the problem.
Gonna look for pet offset, has to be in player struct...
by VoidMain
Tue Jul 20, 2010 7:13 pm
Forum: Runes of Magic
Topic: In-memory inventory
Replies: 107
Views: 22223

Re: In-memory inventory

Any news about this? Did it worked properly after the las patches i posted? I'm sorry for absence, i had some troubles with my ISP and got disconnected all weekend :S Sorry it's taken so long but I've been really busy. I've added the 2 files and updated to the latest svn. Now I get this error. Name...
by VoidMain
Mon Jul 19, 2010 3:38 pm
Forum: Runes of Magic
Topic: In-memory inventory
Replies: 107
Views: 22223

Re: In-memory inventory

Any news about this?
Did it worked properly after the las patches i posted?
I'm sorry for absence, i had some troubles with my ISP and got disconnected all weekend :S
by VoidMain
Mon Jul 19, 2010 2:50 pm
Forum: Runes of Magic
Topic: NOTICE:New target cycling code! Update your profile for r473
Replies: 24
Views: 8349

Re: NOTICE:New target cycling code! Update your profile for

These are great news ^^ It seems like all our hard work is begining to pay off :)
by VoidMain
Sat Jul 17, 2010 4:36 pm
Forum: Runes of Magic
Topic: In-memory inventory
Replies: 107
Views: 22223

Re: In-memory inventory

After the maintenance I get this error when I run the bot. Name: scripts\rev/bot.lua:17: ... Files/micromacro/scripts/rev/classes/MemoryItem.lua:125: attempt to perform arithmetic on local 'skillItemAddress' (a nil value) This is what the WeaponObjectDB section looks like. Received: 9BACB60 Returni...
by VoidMain
Sat Jul 17, 2010 12:07 am
Forum: Runes of Magic
Topic: In-memory inventory
Replies: 107
Views: 22223

Re: In-memory inventory

That should solve the problem, it seems like as more fragmented the table gets, more differences returns, it should be getting you to, 3-4 lines up of where you should supose to be but it takes you 16 lines up, so this change should solve it... Let me know how it goes... These are the ranges it add...
by VoidMain
Fri Jul 16, 2010 11:24 pm
Forum: Runes of Magic
Topic: In-memory inventory
Replies: 107
Views: 22223

Re: In-memory inventory

Wasn't sure how much information you needed so here's all of it. Name: WeaponObjectDB Table starts with id: 210001 Dir: 9BCCB20 Adding range. Start: 210001 End: 211626 Address: 9BCCB20 Table#: 25 Readed from 9BC0000 at 0x4 9BFFC00 Original pointer: 9BC0000 Readed at 9BC0000 in 0x8 9BFFE00 ID: 21164...
by VoidMain
Fri Jul 16, 2010 10:26 pm
Forum: Runes of Magic
Topic: In-memory inventory
Replies: 107
Views: 22223

Re: In-memory inventory

Yes that is correct, lets try this fix, here is a new approach, seems like tables get alot of fragmentation when you filled up your RAM and it becomes harder to find the next block i believe this will correct it and it will find the parts correctly now. If you still have problems please set: local ...
by VoidMain
Fri Jul 16, 2010 5:46 pm
Forum: Runes of Magic
Topic: In-memory inventory
Replies: 107
Views: 22223

Re: In-memory inventory

Hmm, still the same error, let me try to get the right patter to follow table... I'll be back to you in a bit ^^ Forgot to ask, is this still correct for myfunction.lua? include("classes/MemoryTable.lua"); include("classes/MemoryInventory.lua"); LoadTables(); inventory = CInvent...
by VoidMain
Fri Jul 16, 2010 8:28 am
Forum: Runes of Magic
Topic: In-memory inventory
Replies: 107
Views: 22223

Re: In-memory inventory

for i = 1, 100 do In lines 135 and 164 of MemoryTable.lua and let know if that fixes it. Now I get error; Table not found for ID: 211659 scripts\rev/bot.lua:17: ...m Files/micromacro/scripts/rev/classes/EquipItem.lua: 45: attempt to perform arithmetic on field 'BaseItemAddress' (a nil value) Hmm, s...
by VoidMain
Fri Jul 16, 2010 7:41 am
Forum: Runes of Magic
Topic: In-memory inventory
Replies: 107
Views: 22223

Re: In-memory inventory

I'm sorry, fixed now, addresses included, i moved all ofssets and addresses to addresses.lua. Now I get an error when starting up; Table not found for ID: 211659 scripts\rev/bot.lua:17: ... Files/micromacro/scripts/rev/classes/MemoryItem.lua: 112: attempt to perform arithmetic on field 'BaseItemAdd...
by VoidMain
Fri Jul 16, 2010 2:24 am
Forum: Runes of Magic
Topic: In-memory inventory
Replies: 107
Views: 22223

Re: In-memory inventory

Let me know what you see. I think you need to include your updated addresses.lua as it looks like some offsets may be missing. The error I'm getting says itemCountOffset is a nil value and I don't see the value assigned anywhere. I'm sorry, fixed now, addresses included, i moved all ofssets and add...
by VoidMain
Fri Jul 16, 2010 12:57 am
Forum: Runes of Magic
Topic: In-memory inventory
Replies: 107
Views: 22223

Re: In-memory inventory

Ok, these are complete replacements, in my testings it works just fine. Added CEquipItem because i found equipment in memory and it has the same structure as inventory so we can now check for dura and equiped status alot more eficiently and faster. To test just include it in userfunctions.lua and it...
by VoidMain
Thu Jul 15, 2010 7:10 pm
Forum: Runes of Magic
Topic: In-memory inventory
Replies: 107
Views: 22223

Re: In-memory inventory

Unfortunately, no, if you move around some items and press sort, BagId changes... I wasn't aware of that. I have never ever used sort (and probably never will)^^. As for SlotNumber, well, is not there, at least not yet, can you check with me if there is any other function than the autosell that use...
by VoidMain
Thu Jul 15, 2010 5:03 pm
Forum: Runes of Magic
Topic: In-memory inventory
Replies: 107
Views: 22223

Re: In-memory inventory

I just thought of something. It looks like Bag Index to Inventory Index (SlotNumber to BagId) mapping doesn't change in a session. Maybe we could collect the SlotNumber and BagId when first starting the bot and just remembering them? You know, something like; for i = 1,60 do _bagid = RoMScript(&quo...
by VoidMain
Thu Jul 15, 2010 11:44 am
Forum: Runes of Magic
Topic: In-memory inventory
Replies: 107
Views: 22223

Re: In-memory inventory

Ok, here is something to test, i need help testing this to check that i'm not missing table parts... Sorry but what do I do with these files? Put the "Memory..." in classes folder, replace your addresses.lua, copy TestTables.lua to rombot root folder (micromacro/scripts/rom) and execute r...
by VoidMain
Thu Jul 15, 2010 9:23 am
Forum: Runes of Magic
Topic: In-memory inventory
Replies: 107
Views: 22223

Re: In-memory inventory

Ok, here is something to test, i need help testing this to check that i'm not missing table parts...
by VoidMain
Thu Jul 15, 2010 8:32 am
Forum: Runes of Magic
Topic: In-memory inventory
Replies: 107
Views: 22223

Re: In-memory inventory

I think you misunderstood me here. Let me try to explain it again. You were searching for the numbers 61-120 which is what is stored in item.BagId (what the romwiki calls Inventory Index). You didn't find those numbers because the list is in that order so the Inventory Index can be inferred by the ...