Pages

Storage Box Items A3 Online

Items X 100 for storage boxes
Here is a simple tutorial for this one.

Let's consider the code of 100 UJ

The Code is 17;1644544;659990;0
The Code for UJ is 6144
The Code for A Storage Box is 17

And the constant Zoneserver uses to calculate the Count of items in a storage box is 16384
Simple logic to generate a box will be

17; (16384 x ItemCount) + ItemCode ;659990;0

To reverse the process (to get the details of the codes)

Simply,

Take 1644544 (from the example code of 100 UJ box)
Now, we will divide 1644544 by the constant 16384 and will get the remainder out of it. The remainder will the Item code of the item and the Quotient will be the count of the Item in the storage box.

In PHP you can simply use this to get the details :
$itemnumber fmod($2ndcode16384);$bb = $2ndcode $itemnumber;$count $bb 16384;
Prot
Ragezone