mirror of
https://github.com/EQEmu/Server.git
synced 2026-04-04 10:12:26 +00:00
Issue entering zone is they changed op_enterworld a bit; right now ignore the go home and tutorial features for now
This commit is contained in:
parent
b167f05006
commit
3a7afb48cb
@ -2351,6 +2351,18 @@ namespace Larion
|
|||||||
|
|
||||||
// DECODE methods
|
// DECODE methods
|
||||||
|
|
||||||
|
DECODE(OP_EnterWorld)
|
||||||
|
{
|
||||||
|
DECODE_LENGTH_EXACT(structs::EnterWorld_Struct);
|
||||||
|
SETUP_DIRECT_DECODE(EnterWorld_Struct, structs::EnterWorld_Struct);
|
||||||
|
|
||||||
|
memcpy(emu->name, eq->name, sizeof(emu->name));
|
||||||
|
emu->return_home = 0;
|
||||||
|
emu->tutorial = 0;
|
||||||
|
|
||||||
|
FINISH_DIRECT_DECODE();
|
||||||
|
}
|
||||||
|
|
||||||
DECODE(OP_ZoneEntry)
|
DECODE(OP_ZoneEntry)
|
||||||
{
|
{
|
||||||
DECODE_LENGTH_EXACT(structs::ClientZoneEntry_Struct);
|
DECODE_LENGTH_EXACT(structs::ClientZoneEntry_Struct);
|
||||||
|
|||||||
@ -18,6 +18,7 @@ E(OP_GroundSpawn)
|
|||||||
E(OP_SendZonepoints)
|
E(OP_SendZonepoints)
|
||||||
|
|
||||||
//list of packets we need to decode on the way in:
|
//list of packets we need to decode on the way in:
|
||||||
|
D(OP_EnterWorld)
|
||||||
D(OP_ZoneEntry)
|
D(OP_ZoneEntry)
|
||||||
|
|
||||||
#undef E
|
#undef E
|
||||||
|
|||||||
@ -315,6 +315,12 @@ namespace Larion {
|
|||||||
/*04*/ struct ZonePoint_Entry zpe[0]; // Always add one extra to the end after all zonepoints
|
/*04*/ struct ZonePoint_Entry zpe[0]; // Always add one extra to the end after all zonepoints
|
||||||
};
|
};
|
||||||
|
|
||||||
|
struct EnterWorld_Struct {
|
||||||
|
/*000*/ char name[64];
|
||||||
|
/*064*/ int32 unknown1;
|
||||||
|
/*068*/ int32 unknown2; //larion handles these differently so for now im just going to ignore them till i figure it out
|
||||||
|
};
|
||||||
|
|
||||||
#pragma pack()
|
#pragma pack()
|
||||||
|
|
||||||
}; //end namespace structs
|
}; //end namespace structs
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user