Welcome to Metin2Resources

Join us now to get access to all our features. Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, and so, so much more. It's also quick and totally free, so what are you waiting for?

[C++] FIX Protectie HitLimiter

JIGSAW

Be the best, Ignore the rest.
Staff member
Administrator
Joined
Jul 14, 2025
Messages
104
Reaction score
565
Points
93
Discord
jigsaw86
This protection helps prevent certain hacks by adding a limit to actions, in order to stop spam/hack attempts.


  • The system configuration can be found in the constants.cpp file.
  • It is already configured, so you can leave it as is.

Here is a simple description of all the constants:


  • wHitLimiterBow: the time (in milliseconds) until the next bow attack (used to prevent BowHack).
  • wHitLimiterPoly: the time (in milliseconds) until the next attack when the player is transformed (poly).
  • lMaxDistanceDiff: the maximum distance allowed between two creatures that the player can attack. If the player attacks monster #1, and monster #2 is too far from #1, the player is using a distance hack (WH), and the hit will be blocked.
  • dwMinBlockedHitsToLog: if the number of blocked hits for a player in the current session reaches this value, they will be logged in the log.bright_protect_log file. Usually, if someone exceeds this limit, you can be 99% sure they are using a WH cheat.
 

Attachments

602Threads
2,289Messages
744Members
root600Latest member
Back
Top