mirror of
https://github.com/EQEmu/Server.git
synced 2026-06-10 19:10:25 +00:00
add bot camp timer to prevent /camp exploits
This commit is contained in:
@@ -4285,6 +4285,7 @@ void Client::Handle_OP_Camp(const EQApplicationPacket *app)
|
||||
return;
|
||||
}
|
||||
camp_timer.Start(29000, true);
|
||||
bot_camp_timer.Start((RuleI(Bots, CampTimer) * 1000), true);
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -14680,6 +14681,7 @@ void Client::Handle_OP_SpawnAppearance(const EQApplicationPacket *app)
|
||||
SetFeigned(false);
|
||||
BindWound(this, false, true);
|
||||
camp_timer.Disable();
|
||||
bot_camp_timer.Disable();
|
||||
}
|
||||
else if (sa->parameter == Animation::Sitting) {
|
||||
SetAppearance(eaSitting);
|
||||
|
||||
Reference in New Issue
Block a user