User(s) browsing this thread: 1 Guest(s)
Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
MS_LoadingCharacter - Little Inventory analyze
07-30-2009, 09:18 PM (This post was last modified: 07-30-2009 09:22 PM by Neo.)
Post: #1
MS_LoadingCharacter - Little Inventory analyze
I had made some little inventory packets analyze tests...
the big problem we have is that we dont really know the item ids for the items...but inventory generation is partically broken (for the order i mean).

There is one value in the packet for an item that defines the position.

Little example (which isnt complete correct cause of some byte position issue, but only to see what i mean):

Slot1
--------------------

Row 1:
b1 03 00 c1 09 00 00 00 00 <- Twin WestTek 49SAs
00 10 01 c1 09 00 00 00 00 <- Twin WestTek 49SAs
00 10 02 c1 09 00 00 00 00 <- Twin WestTek 49SAs
00 10 03 c1 09 00 00 00 00 <- Twin WestTek 49SAs

Row 2:
00 10 04 c1 1e 00 00 00 00 <- HN2000 Assault Rifle
00 10 05 c1 1e 00 00 00 00 <- HN2000 Assault Rifle
00 10 06 c1 1e 00 00 00 00 <- HN2000 Assault Rifle
00 10 07 c1 1e 00 00 00 00 <- HN2000 Assault Rifle

Row 3:
00 10 08 c6 1e 00 00 00 00 <- MP-2000 Advanced Pump Action
00 10 09 c6 1e 00 00 00 00 <- MP-2000 Advanced Pump Action
00 10 0a c6 1e 00 00 00 00 <- MP-2000 Advanced Pump Action
00 10 0b c6 1e 00 00 00 00 <- MP-2000 Advanced Pump Action

So what is if we have a space in our inventory ...easy to do.
Just skip the number.

For example if we have in slot 1 row 1 the second place empty, packet should be something like this :

b1 03 00c1 09 00 00 00 00 <- Twin WestTek 49SAs
00 10 02 c1 09 00 00 00 00 <- Twin WestTek 49SAs
00 10 03 c1 09 00 00 00 00 <- Twin WestTek 49SAs

Just a stupid simple example..and many things are missing here too, i know that.

I try now to find out, where is the amount of items (like 3 antibiotics for example).
Find all posts by this user
Quote this message in a reply
07-30-2009, 10:01 PM
Post: #2
RE: MS_LoadingCharacter - Little Inventory analyze
the item ids match object class
like the assault rifle is
AutomaticRifle7: 7873 and 7873 is C11E0000 little endian uint32

i have attached full list of object class ids, thanks to Bayamos !


Attached File(s)
.csv  gameobjects.csv (Size: 1.3 MB / Downloads: 28)
Quote this message in a reply
07-30-2009, 10:19 PM (This post was last modified: 07-30-2009 10:20 PM by Neo.)
Post: #3
RE: MS_LoadingCharacter - Little Inventory analyze
ah very good Big Grin This list is what i have searched for ..very great..so generating inventory shouldnt be a big problem...and now i can identify the last items too (cause the inventory packets generates full inventory and after that the items you are currently wearing, but couldnt say which item is what).

And CSV format is great, easy to import in a mysql table Smile
Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump: