Users browsing this thread: 1 Guest(s)
MS_LoadingCharacter - Little Inventory analyze
|
07-30-2009, 09:18 PM,
(This post was last modified: 07-30-2009, 09:22 PM by Neo.)
|
|||
|
|||
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). |
|||
« Next Oldest | Next Newest »
|
Messages In This Thread |
MS_LoadingCharacter - Little Inventory analyze - by Neo - 07-30-2009, 09:18 PM
RE: MS_LoadingCharacter - Little Inventory analyze - by rajkosto - 07-30-2009, 10:01 PM
RE: MS_LoadingCharacter - Little Inventory analyze - by Neo - 07-30-2009, 10:19 PM
|