[Client Mod] Adds a hacked fast camp rule for GMs (#4697)

Co-authored-by: KimLS <KimLS@peqtgc.com>
This commit is contained in:
Alex 2025-02-19 21:20:22 -08:00 committed by GitHub
parent 6ac846c003
commit f0108826d3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 9 additions and 1 deletions

View File

@ -230,6 +230,7 @@ RULE_BOOL(Character, PlayerTradingLoreFeedback, true, "If enabled, during a play
RULE_INT(Character, MendAlwaysSucceedValue, 199, "Value at which mend will always succeed its skill check. Default: 199")
RULE_BOOL(Character, SneakAlwaysSucceedOver100, false, "When sneak skill is over 100, always succeed sneak/hide. Default: false")
RULE_INT(Character, BandolierSwapDelay, 0, "Bandolier swap delay in milliseconds, default is 0")
RULE_BOOL(Character, EnableHackedFastCampForGM, false, "Enables hacked fast camp for GM clients, if the GM doesn't have a hacked client they'll camp like normal")
RULE_CATEGORY_END()
RULE_CATEGORY(Mercs)

View File

@ -4249,7 +4249,14 @@ void Client::Handle_OP_Camp(const EQApplicationPacket *app)
if (GetGM())
{
OnDisconnect(true);
if (RuleB(Character, EnableHackedFastCampForGM))
{
camp_timer.Start(100, true);
}
else {
OnDisconnect(true);
}
return;
}