mirror of
https://github.com/EQEmu/Server.git
synced 2026-05-31 04:56:20 +00:00
Some ZoneChange work
This commit is contained in:
@@ -3017,13 +3017,13 @@ namespace TOB
|
||||
ENCODE_LENGTH_EXACT(ZoneChange_Struct);
|
||||
SETUP_DIRECT_ENCODE(ZoneChange_Struct, structs::ZoneChange_Struct);
|
||||
|
||||
memcpy(eq->char_name, emu->char_name, sizeof(emu->char_name));
|
||||
OUT_str(char_name);
|
||||
OUT(zoneID);
|
||||
OUT(instanceID);
|
||||
OUT(y);
|
||||
OUT(x);
|
||||
OUT(z)
|
||||
OUT(zone_reason);
|
||||
OUT(z);
|
||||
OUT(zone_reason);
|
||||
OUT(success);
|
||||
|
||||
if (eq->success < 0)
|
||||
@@ -3903,7 +3903,7 @@ namespace TOB
|
||||
DECODE_LENGTH_EXACT(structs::ClientZoneEntry_Struct);
|
||||
SETUP_DIRECT_DECODE(ClientZoneEntry_Struct, structs::ClientZoneEntry_Struct);
|
||||
|
||||
memcpy(emu->char_name, eq->char_name, sizeof(emu->char_name));
|
||||
IN_str(char_name);
|
||||
|
||||
FINISH_DIRECT_DECODE();
|
||||
}
|
||||
|
||||
@@ -332,22 +332,22 @@ namespace TOB {
|
||||
{
|
||||
union {
|
||||
struct {
|
||||
signed deltaHeading : 10;
|
||||
signed animation : 10;
|
||||
signed deltaHeading : 10;
|
||||
// unsigned pad1 : 12;
|
||||
|
||||
signed deltaX : 13;
|
||||
signed z : 19;
|
||||
signed deltaX : 13;
|
||||
|
||||
signed y : 19;
|
||||
unsigned heading : 12;
|
||||
signed y : 19;
|
||||
// unsigned pad2 : 1;
|
||||
|
||||
signed x : 19;
|
||||
signed deltaZ : 13;
|
||||
signed x : 19;
|
||||
|
||||
unsigned pitch : 12;
|
||||
signed deltaY : 13;
|
||||
unsigned pitch : 12;
|
||||
// unsigned pad3 : 7;
|
||||
};
|
||||
uint32_t raw[5];
|
||||
@@ -476,7 +476,7 @@ namespace TOB {
|
||||
/*016*/ float z;
|
||||
/*020*/ float heading;
|
||||
/*024*/ uint32 type; //unknown... values
|
||||
/*032*/ uint8 unknown032[144];
|
||||
/*032*/ uint8 unknown032[144]; // this is mostly a string passed to the teleport function (follow starting at 0x1401F71BA), it appears to be an override for a message
|
||||
/*172*/ uint32 unknown172;
|
||||
/*176*/
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user