LiamKarlMitchell / InfiniteSky

InfiniteSky is an open-source mmorpg project, It is written in Node.JS
GNU General Public License v3.0
33 stars 42 forks source link

Find Item Register Use #156

Closed Retain94 closed 9 years ago

Retain94 commented 9 years ago
Registered Clothes
5E 33 00 11 00 00 00 E9 78 33 01 00 00 00 00 D1
07 00 00 00 00 00 00 00 00 00 00
PacketID
Type

Fortune Cookie used 
(I got Client message "You have used Magpie egg" from this code)
5E 35 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00

 Obtained silver coins Date is the amount :(
5E 01 00 00 00 00 00 D9 27 00 00 00 00 00 00 D1
07 00 00 00 00 00 00 00 00 00 00
var itemRegisterUse = restruct.
int8lu('PacketID').
int8lu('Type'). // 51 is Register Clothes
int8lu('Unknown1').
int32lu('Unknown2').
int32lu('Duration'). // Game has a custom date format here Example: 20150201 YYYYMMDD but stored as an unsigned int
int32lu('Unknown3').
int32lu('ItemID').
int32lu('Unknown4').
int32lu('Unknown5');