mirror of
https://github.com/EQEmu/Server.git
synced 2026-03-23 02:22:31 +00:00
Fix RoF2 item hotkeys
This string thing needs to be longer! Still no idea what it is
This commit is contained in:
parent
48c65628d8
commit
45e7ff9193
@ -5053,7 +5053,7 @@ namespace RoF2
|
|||||||
|
|
||||||
//sprintf(hdr.unknown000, "06e0002Y1W00");
|
//sprintf(hdr.unknown000, "06e0002Y1W00");
|
||||||
|
|
||||||
snprintf(hdr.unknown000, sizeof(hdr.unknown000), "%012d", item->ID);
|
snprintf(hdr.unknown000, sizeof(hdr.unknown000), "%016d", item->ID);
|
||||||
|
|
||||||
hdr.stacksize = stackable ? charges : 1;
|
hdr.stacksize = stackable ? charges : 1;
|
||||||
hdr.unknown004 = 0;
|
hdr.unknown004 = 0;
|
||||||
|
|||||||
@ -4353,7 +4353,7 @@ struct RoF2SlotStruct
|
|||||||
|
|
||||||
struct ItemSerializationHeader
|
struct ItemSerializationHeader
|
||||||
{
|
{
|
||||||
/*000*/ char unknown000[13]; // New for HoT. Looks like a string.
|
/*000*/ char unknown000[17]; // New for HoT. Looks like a string.
|
||||||
/*017*/ uint32 stacksize;
|
/*017*/ uint32 stacksize;
|
||||||
/*021*/ uint32 unknown004;
|
/*021*/ uint32 unknown004;
|
||||||
/*025*/ uint8 slot_type; // 0 = normal, 1 = bank, 2 = shared bank, 9 = merchant, 20 = ?
|
/*025*/ uint8 slot_type; // 0 = normal, 1 = bank, 2 = shared bank, 9 = merchant, 20 = ?
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user