diff --git a/common/patches/rof.cpp b/common/patches/rof.cpp index 772e60517..0906e9915 100644 --- a/common/patches/rof.cpp +++ b/common/patches/rof.cpp @@ -2418,7 +2418,7 @@ namespace RoF outapp->WriteUInt32(emu->silver_bank); outapp->WriteUInt32(emu->copper_bank); - outapp->WriteUInt32(0); // Unknown + outapp->WriteUInt32(emu->platinum_shared); outapp->WriteUInt32(0); // Unknown outapp->WriteUInt32(0); // Unknown outapp->WriteUInt32(0); // Unknown @@ -4983,7 +4983,7 @@ namespace RoF //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.unknown004 = 0; diff --git a/common/patches/rof_structs.h b/common/patches/rof_structs.h index eb531e4d5..417ff2e64 100644 --- a/common/patches/rof_structs.h +++ b/common/patches/rof_structs.h @@ -4378,7 +4378,7 @@ struct RoFSlotStruct 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; /*021*/ uint32 unknown004; /*025*/ uint8 slot_type; // 0 = normal, 1 = bank, 2 = shared bank, 9 = merchant, 20 = ?