- Joined
- Oct 19, 2008
- Messages
- 802
- Reaction score
- 102
the K0,K1 etc in decimal is like: 465436699
hex of it would be: 1bbe001b
Now its made of item type and ncount and then there is the last 2 bytes.
They seem to increase for each identical item looted by same person ( a kind of serial).
But it becomes a problem when u face a inv search php script.
Is there any specific formula/way to calculate it without having to loop through all 256 values.
Since if you face 1000+ accounts x100 inv slots and then each slot would have to be checked 256 times ... its extremely slow.
Could strip the decimal string and ignore the serial, but that results in lots of false positives (it ends up matching other similar decimal values).
hex of it would be: 1bbe001b
Now its made of item type and ncount and then there is the last 2 bytes.
They seem to increase for each identical item looted by same person ( a kind of serial).
But it becomes a problem when u face a inv search php script.
Is there any specific formula/way to calculate it without having to loop through all 256 values.
Since if you face 1000+ accounts x100 inv slots and then each slot would have to be checked 256 times ... its extremely slow.
Could strip the decimal string and ignore the serial, but that results in lots of false positives (it ends up matching other similar decimal values).

