mirror of
https://github.com/EQEmu/Server.git
synced 2026-05-16 22:58:34 +00:00
[Zoning] Fix zoning logic issues (#2412)
* [Zoning] Fix various zoning issues, flag logic, #zone etc * Enforce character restrictions later in the connection process so we don't end up in a loop race condition in world
This commit is contained in:
@@ -819,7 +819,12 @@ void ZoneServer::HandleMessage(uint16 opcode, const EQ::Net::Packet &p) {
|
||||
ingress_server->SendPacket(pack); // inform target server
|
||||
}
|
||||
} else {
|
||||
LogInfo("Processing ZTZ for ingress to zone for client [{}]", ztz->name);
|
||||
LogInfo(
|
||||
"Processing ZTZ for ingress to zone for client [{}] instance_id [{}] zone_id [{}]",
|
||||
ztz->name,
|
||||
ztz->current_instance_id,
|
||||
ztz->current_zone_id
|
||||
);
|
||||
auto egress_server = (
|
||||
ztz->current_instance_id ?
|
||||
zoneserver_list.FindByInstanceID(ztz->current_instance_id) :
|
||||
@@ -827,6 +832,7 @@ void ZoneServer::HandleMessage(uint16 opcode, const EQ::Net::Packet &p) {
|
||||
);
|
||||
|
||||
if (egress_server) {
|
||||
LogInfo("Found egress server, forwarding client");
|
||||
egress_server->SendPacket(pack);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user