mirror of
https://github.com/EQEmu/Server.git
synced 2026-06-11 03:31:08 +00:00
[Dynamic Zones] Implement dz switch id (#2343)
This adds the `dz_switch_id` field to doors and dynamic_zones. It will allow for compasses to be automatically added to dz entrances and will support moving clients to the dz on use without needing to script it. These can be imported for switches/doors from live packet dumps. Also removes compass packet encoders (same struct in all clients)
This commit is contained in:
@@ -3227,9 +3227,11 @@ void WorldServer::HandleMessage(uint16 opcode, const EQ::Net::Packet &p)
|
||||
case ServerOP_DzSetCompass:
|
||||
case ServerOP_DzSetSafeReturn:
|
||||
case ServerOP_DzSetZoneIn:
|
||||
case ServerOP_DzSetSwitchID:
|
||||
case ServerOP_DzUpdateMemberStatus:
|
||||
case ServerOP_DzLeaderChanged:
|
||||
case ServerOP_DzExpireWarning:
|
||||
case ServerOP_DzMovePC:
|
||||
{
|
||||
DynamicZone::HandleWorldMessage(pack);
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user