mirror of
https://github.com/EQEmu/Server.git
synced 2026-05-19 05:08:26 +00:00
Assign lockouts to all clients inside dz
This is live like and prevents possible exploiting by dropping expedition before a lockout. Clients will continue receiving lockouts until they leave the zone or are kicked via timer
This commit is contained in:
@@ -161,14 +161,11 @@ bool Client::Process() {
|
||||
if (TaskPeriodic_Timer.Check() && taskstate)
|
||||
taskstate->TaskPeriodicChecks(this);
|
||||
|
||||
if (dynamiczone_removal_timer.Check())
|
||||
if (dynamiczone_removal_timer.Check() && zone && zone->GetInstanceID() != 0)
|
||||
{
|
||||
dynamiczone_removal_timer.Disable();
|
||||
if (zone && zone->GetInstanceID() != 0)
|
||||
{
|
||||
DynamicZone dz = DynamicZone::LoadDzFromDatabase(zone->GetInstanceID());
|
||||
GoToDzSafeReturnOrBind(dz.GetSafeReturnLocation());
|
||||
}
|
||||
DynamicZone dz = DynamicZone::LoadDzFromDatabase(zone->GetInstanceID());
|
||||
GoToDzSafeReturnOrBind(dz.GetSafeReturnLocation());
|
||||
}
|
||||
|
||||
if (linkdead_timer.Check()) {
|
||||
|
||||
Reference in New Issue
Block a user