diff --git a/common/ruletypes.h b/common/ruletypes.h index d8ffbeae5..77d3f0560 100644 --- a/common/ruletypes.h +++ b/common/ruletypes.h @@ -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) diff --git a/zone/client_packet.cpp b/zone/client_packet.cpp index 82f0f7d2a..091a8f9ac 100644 --- a/zone/client_packet.cpp +++ b/zone/client_packet.cpp @@ -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; }