Search found 131 matches

by VoidMain
Thu Jul 15, 2010 1:05 am
Forum: Runes of Magic
Topic: In-memory inventory
Replies: 107
Views: 23538

Re: In-memory inventory

Stupid me!!! How i didn't think of it before!!! BagId is so easy, thats why is not anywhere, BagId is memory inventory order!!! Tested, need more testing to be aboslutely sure but for now i can say 99.99% sure that it is, it works in my pc, my brothers one and on another acount to, so it has to be ...
by VoidMain
Wed Jul 14, 2010 8:49 pm
Forum: Runes of Magic
Topic: In-memory inventory
Replies: 107
Views: 23538

Re: In-memory inventory

Stupid me!!! How i didn't think of it before!!! BagId is so easy, thats why is not anywhere, BagId is memory inventory order!!! Tested, need more testing to be aboslutely sure but for now i can say 99.99% sure that it is, it works in my pc, my brothers one and on another acount to, so it has to be t...
by VoidMain
Wed Jul 14, 2010 6:26 am
Forum: Runes of Magic
Topic: In-memory inventory
Replies: 107
Views: 23538

Re: In-memory inventory

The functions that use BagID are mostly client functions, if anyone wants to use those functios can still use GetBagItemInfo to get the bag id and problema solved True, but if people have a lot of scripts that use the bagid from the rombot inventory, then those scripts will stop working. Then we ha...
by VoidMain
Tue Jul 13, 2010 9:04 pm
Forum: Runes of Magic
Topic: In-memory inventory
Replies: 107
Views: 23538

Re: In-memory inventory

I have worth :) BagID? What do we need that for? I dont know really, we can use items by name... Or you mean for ingame selling? That is done with the IGF addon i beilieve so is not really needed for inventory functions... If anyone wants to use any in-game functions that require bagid then they wi...
by VoidMain
Tue Jul 13, 2010 3:05 pm
Forum: Runes of Magic
Topic: In-memory inventory
Replies: 107
Views: 23538

Re: In-memory inventory

We (my brother and I), found more interesting things about inventory, We found dura, stats and runes, tier, plus, and quality, what else do we need? Take a look at the item class. Probably a couple of things we don't need but we probably do need BagId and ItemCount. It's not currently available but...
by VoidMain
Tue Jul 13, 2010 1:07 pm
Forum: Runes of Magic
Topic: In-memory inventory
Replies: 107
Views: 23538

Re: In-memory inventory

a pointer that i have no clue what holds Maybe it hold the tooltip info? That has to be kept somewhere and you'll need that info. Btw, great work! Nono, Tooltip info is dinamically generated each time, i debugged that... Now i know what that pointer is, is self reference to the head of the table de...
by VoidMain
Mon Jul 12, 2010 3:48 pm
Forum: Runes of Magic
Topic: In-memory inventory
Replies: 107
Views: 23538

Re: In-memory inventory

Ok, here goes some quick and dirty test to make, here takes 1.5s to index the tables (only doing that once of course) and then 16ms to update inventory, of course we need more data than the scarse info i'm getting but i hope you will see the point... Still working on a better way to index tables, ta...
by VoidMain
Sun Jul 11, 2010 11:45 pm
Forum: Runes of Magic
Topic: In-memory inventory
Replies: 107
Views: 23538

Re: In-memory inventory

Hell yeah! finally got that damn pointer to DBs!!! Most of data structures figured out, probably i'll get something to start to scratch very soon, for now on i can get info from inventory without problems, can get name, ammount, value, amx stackable amount, working on quality right now... EDIT: So e...
by VoidMain
Sat Jul 10, 2010 7:51 pm
Forum: Runes of Magic
Topic: In-memory inventory
Replies: 107
Views: 23538

Re: In-memory inventory

Maybe you should have a look at this http://code.google.com/p/rombot/source/browse/trunk/src/include/ the pointers are from the last patch but the structure is documentet very well Thanks :) I already have the structures figured, also for buffs and skills, the problem is not that, the problem is i ...
by VoidMain
Fri Jul 09, 2010 3:02 pm
Forum: Runes of Magic
Topic: In-memory inventory
Replies: 107
Views: 23538

Re: In-memory inventory

Rock, can you confirm if you objects db starts at 0x7C20000 for objects between 200000 and 201435 (seems to be "storable" obejcts) i found other addresses too but i want to confirm if this one is static, doesnt appear green on CE but i restarted game and PC several times and the addres did...
by VoidMain
Thu Jul 08, 2010 9:53 am
Forum: Runes of Magic
Topic: In-memory inventory
Replies: 107
Views: 23538

Re: In-memory inventory

O, BTW, the address to inv start is 9B8948 it seems to be 56 bytes long each slot, not ordered but i can't find more than item id and ammount there, we need to get a pointer to objects table so we can get names or maybe we dont need those...?
by VoidMain
Thu Jul 08, 2010 9:09 am
Forum: Runes of Magic
Topic: In-memory inventory
Replies: 107
Views: 23538

Re: In-memory inventory

VoidMain, nice work yet again. I'm curious, though, what method are you using to find these addresses? I tend to have a lot of trouble finding these arrays for some reason. Thanks ^^ I'll say "brute force" started with a number of some item stacked in mi inv, searched for that, filtered s...
by VoidMain
Thu Jul 08, 2010 7:47 am
Forum: Runes of Magic
Topic: In-memory inventory
Replies: 107
Views: 23538

In-memory inventory

Well i managed to get a hold to the inventory table in memory, working on an update function, the only problem i see with it is that is no sorted by slot order it is like is said here: http://www.theromwiki.com/API:GetBagItemLink . So, i was wondering if its not faster anyway to use it for the inven...
by VoidMain
Sun Jul 04, 2010 12:12 am
Forum: Runes of Magic
Topic: Eggs
Replies: 234
Views: 58030

Re: Eggs

<?xml version="1.0" encoding="utf-8"?><waypoints type="TRAVEL"> <waypoint x="3934" z="2995">while player:harvest(112956) do yrest(2000); end;</waypoint> <waypoint x="3935" z="3039">while player:harvest(112955) do yrest(3500);play...
by VoidMain
Sat Jul 03, 2010 4:05 pm
Forum: Runes of Magic
Topic: Eggs
Replies: 234
Views: 58030

Re: Eggs

ATM bot can easy miss egg and i wont to fix that. I wont to do bot that doing prfect never missed egg, get all chickens and now you are telling me that i doing bot that dont pick eggs are you stupid or what? And whay are you telling me that i'm doing bot that don't do anything sorry you are talking...
by VoidMain
Sat Jul 03, 2010 11:43 am
Forum: Runes of Magic
Topic: Eggs
Replies: 234
Views: 58030

Re: Eggs

Our bots lot's of time failing. My idea is that bot camera turn on bird's-eye view and then scaning for chiecken. What is need to do more is: on profil set for scaning more frequently and on that way can get all chieckens. I wont use some idea for picking eggs. Go in house where are eggs tur camera...
by VoidMain
Sat Jul 03, 2010 8:18 am
Forum: Runes of Magic
Topic: Eggs
Replies: 234
Views: 58030

Re: Eggs

Our bots lot's of time failing. My idea is that bot camera turn on bird's-eye view and then scaning for chiecken. What is need to do more is: on profil set for scaning more frequently and on that way can get all chieckens. I wont use some idea for picking eggs. Go in house where are eggs tur camera...
by VoidMain
Fri Jul 02, 2010 6:03 pm
Forum: Runes of Magic
Topic: Eggs
Replies: 234
Views: 58030

Re: Eggs

Working file, the only proble is chickens get bugged and you have to logout and restar, but that is after like 7x eggs or so i'll why thats happening later <?xml version="1.0" encoding="utf-8"?> <waypoints type="TRAVEL"> <waypoint x="3934" z="2995">p...
by VoidMain
Tue Jun 29, 2010 12:18 am
Forum: Runes of Magic
Topic: Mouse memory addresses
Replies: 59
Views: 19483

Re: Mouse memory addresses

For now, no. It can be added pretty easily. The code I put up was mostly just to test how well the system works. So far, I'd say it works much better than the old harvesting system. It's missing nodes. Sometimes when there are 2 nearby it only harvests 1 and doesn't harvest the other until it comes...
by VoidMain
Mon Jun 28, 2010 7:42 am
Forum: Runes of Magic
Topic: Mouse memory addresses
Replies: 59
Views: 19483

Re: Mouse memory addresses

And the final problem is that we are now using the pawn class for objects that do not have HP, MP, Alive etc.... So when the pawn is updated with pawn:update(); It will think that there was an error in reading the information and give you an error thus stopping the bot. I am not sure how to fix thi...