mirror of
https://github.com/EQEmu/Server.git
synced 2025-12-31 11:51:28 +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(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_LENGTH_EXACT(structs::ClientZoneEntry_Struct);
|
||||
|
||||
@ -18,6 +18,7 @@ E(OP_GroundSpawn)
|
||||
E(OP_SendZonepoints)
|
||||
|
||||
//list of packets we need to decode on the way in:
|
||||
D(OP_EnterWorld)
|
||||
D(OP_ZoneEntry)
|
||||
|
||||
#undef E
|
||||
|
||||
@ -315,6 +315,12 @@ namespace Larion {
|
||||
/*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()
|
||||
|
||||
}; //end namespace structs
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user