mirror of
https://github.com/EQEmu/Server.git
synced 2025-12-13 14:41:28 +00:00
[Hotfix] Zoning logging edge case safety
This commit is contained in:
parent
1652e7a976
commit
d7e09a1f3b
@ -59,7 +59,7 @@ void Client::Handle_OP_ZoneChange(const EQApplicationPacket *app) {
|
|||||||
"Client [{}] char_name [{}] zoning to [{}] ({}) instance_id [{}] x [{}] y [{}] z [{}] zone_reason [{}] success [{}] zone_mode [{}] ({})",
|
"Client [{}] char_name [{}] zoning to [{}] ({}) instance_id [{}] x [{}] y [{}] z [{}] zone_reason [{}] success [{}] zone_mode [{}] ({})",
|
||||||
GetCleanName(),
|
GetCleanName(),
|
||||||
zc->char_name,
|
zc->char_name,
|
||||||
ZoneName(zc->zoneID),
|
ZoneName(zc->zoneID) ? ZoneName(zc->zoneID) : "Unknown",
|
||||||
zc->zoneID,
|
zc->zoneID,
|
||||||
zc->instanceID,
|
zc->instanceID,
|
||||||
zc->x,
|
zc->x,
|
||||||
@ -152,7 +152,7 @@ void Client::Handle_OP_ZoneChange(const EQApplicationPacket *app) {
|
|||||||
"Client [{}] attempting zone to instance_id [{}] zone [{}] ({})",
|
"Client [{}] attempting zone to instance_id [{}] zone [{}] ({})",
|
||||||
GetCleanName(),
|
GetCleanName(),
|
||||||
target_instance_id,
|
target_instance_id,
|
||||||
ZoneName(target_zone_id),
|
ZoneName(target_zone_id) ? ZoneName(target_zone_id) : "Unknown",
|
||||||
target_zone_id
|
target_zone_id
|
||||||
);
|
);
|
||||||
|
|
||||||
@ -388,7 +388,7 @@ void Client::SendZoneCancel(ZoneChange_Struct *zc) {
|
|||||||
"(zs) Client [{}] char_name [{}] zoning to [{}] ({}) cancelled instance_id [{}] x [{}] y [{}] z [{}] zone_reason [{}] success [{}]",
|
"(zs) Client [{}] char_name [{}] zoning to [{}] ({}) cancelled instance_id [{}] x [{}] y [{}] z [{}] zone_reason [{}] success [{}]",
|
||||||
GetCleanName(),
|
GetCleanName(),
|
||||||
zc->char_name,
|
zc->char_name,
|
||||||
ZoneName(zc2->zoneID),
|
ZoneName(zc2->zoneID) ? ZoneName(zc2->zoneID) : "Unknown",
|
||||||
zc->zoneID,
|
zc->zoneID,
|
||||||
zc->instanceID,
|
zc->instanceID,
|
||||||
zc->x,
|
zc->x,
|
||||||
@ -408,7 +408,7 @@ void Client::SendZoneCancel(ZoneChange_Struct *zc) {
|
|||||||
"(zc2) Client [{}] char_name [{}] zoning to [{}] ({}) cancelled instance_id [{}] x [{}] y [{}] z [{}] zone_reason [{}] success [{}]",
|
"(zc2) Client [{}] char_name [{}] zoning to [{}] ({}) cancelled instance_id [{}] x [{}] y [{}] z [{}] zone_reason [{}] success [{}]",
|
||||||
GetCleanName(),
|
GetCleanName(),
|
||||||
zc2->char_name,
|
zc2->char_name,
|
||||||
ZoneName(zc2->zoneID),
|
ZoneName(zc2->zoneID) ? ZoneName(zc2->zoneID) : "Unknown",
|
||||||
zc2->zoneID,
|
zc2->zoneID,
|
||||||
zc2->instanceID,
|
zc2->instanceID,
|
||||||
zc2->x,
|
zc2->x,
|
||||||
@ -443,7 +443,7 @@ void Client::SendZoneError(ZoneChange_Struct *zc, int8 err)
|
|||||||
"Client [{}] char_name [{}] zoning to [{}] ({}) (error) instance_id [{}] x [{}] y [{}] z [{}] zone_reason [{}] success [{}]",
|
"Client [{}] char_name [{}] zoning to [{}] ({}) (error) instance_id [{}] x [{}] y [{}] z [{}] zone_reason [{}] success [{}]",
|
||||||
GetCleanName(),
|
GetCleanName(),
|
||||||
zc2->char_name,
|
zc2->char_name,
|
||||||
ZoneName(zc2->zoneID),
|
ZoneName(zc2->zoneID) ? ZoneName(zc2->zoneID) : "Unknown",
|
||||||
zc2->zoneID,
|
zc2->zoneID,
|
||||||
zc2->instanceID,
|
zc2->instanceID,
|
||||||
zc2->x,
|
zc2->x,
|
||||||
@ -493,7 +493,7 @@ void Client::DoZoneSuccess(ZoneChange_Struct *zc, uint16 zone_id, uint32 instanc
|
|||||||
"Client [{}] char_name [{}] zoning to [{}] ({}) instance_id [{}] x [{}] y [{}] z [{}] zone_reason [{}] success [{}]",
|
"Client [{}] char_name [{}] zoning to [{}] ({}) instance_id [{}] x [{}] y [{}] z [{}] zone_reason [{}] success [{}]",
|
||||||
GetCleanName(),
|
GetCleanName(),
|
||||||
zc->char_name,
|
zc->char_name,
|
||||||
ZoneName(zone_id),
|
ZoneName(zone_id) ? ZoneName(zone_id) : "Unknown",
|
||||||
zone_id,
|
zone_id,
|
||||||
instance_id,
|
instance_id,
|
||||||
dest_x,
|
dest_x,
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user