mirror of
https://github.com/EQEmu/Server.git
synced 2026-06-19 21:08:20 +00:00
Add titanium support
This commit is contained in:
@@ -1600,14 +1600,25 @@ namespace Titanium
|
||||
// OUT(unknown19584[4]);
|
||||
// OUT(unknown19588);
|
||||
|
||||
const uint8 unknown12864_bytes[] = {
|
||||
0x78, 0x03, 0x00, 0x00, 0x1A, 0x04, 0x00, 0x00, 0x1A, 0x04, 0x00, 0x00
|
||||
};
|
||||
|
||||
const uint8 bytes[] = {
|
||||
0x78, 0x03, 0x00, 0x00, 0x1A, 0x04, 0x00, 0x00, 0x1A, 0x04, 0x00, 0x00, 0x19, 0x00, 0x00, 0x00,
|
||||
0x19, 0x00, 0x00, 0x00, 0x19, 0x00, 0x00, 0x00, 0x0F, 0x00, 0x00, 0x00, 0x0F, 0x00, 0x00, 0x00,
|
||||
0x0F, 0x00, 0x00, 0x00, 0x1F, 0x85, 0xEB, 0x3E, 0x33, 0x33, 0x33, 0x3F, 0x09, 0x00, 0x00, 0x00,
|
||||
memcpy(eq->unknown12864, unknown12864_bytes, sizeof(unknown12864_bytes));
|
||||
|
||||
eq->cold_resist = emu->cold_resist;
|
||||
eq->fire_resist = emu->fire_resist;
|
||||
eq->magic_resist = emu->magic_resist;
|
||||
eq->disease_resist = emu->disease_resist;
|
||||
eq->poison_resist = emu->poison_resist;
|
||||
eq->physical_resist = 15;
|
||||
|
||||
const uint8 unknown12900_bytes[] = {
|
||||
0x1F, 0x85, 0xEB, 0x3E, 0x33, 0x33, 0x33, 0x3F, 0x09, 0x00, 0x00, 0x00,
|
||||
0x02, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0x14
|
||||
};
|
||||
memcpy(eq->unknown12864, bytes, sizeof(bytes));
|
||||
|
||||
memcpy(eq->unknown12900, unknown12900_bytes, sizeof(unknown12900_bytes));
|
||||
|
||||
//set the checksum...
|
||||
CRC32::SetEQChecksum(__packet->pBuffer, sizeof(structs::PlayerProfile_Struct) - 4);
|
||||
|
||||
Reference in New Issue
Block a user