diff options
author | shennetsind <ind@henn.et> | 2014-01-24 18:18:13 -0200 |
---|---|---|
committer | shennetsind <ind@henn.et> | 2014-01-24 18:18:13 -0200 |
commit | 7438e401b4209198691d3c8ca65b6c702338fa41 (patch) | |
tree | 59b2f8f11d2a64d8eeb6a05f4e9fef074a1cf8c9 /src/config | |
parent | acc992ac2838f6380ebf2b2f8a514e86c2b750d9 (diff) | |
download | hercules-7438e401b4209198691d3c8ca65b6c702338fa41.tar.gz hercules-7438e401b4209198691d3c8ca65b6c702338fa41.tar.bz2 hercules-7438e401b4209198691d3c8ca65b6c702338fa41.tar.xz hercules-7438e401b4209198691d3c8ca65b6c702338fa41.zip |
Follow up e587d715cbc3
Fixed an issue where character position would not be instantly updated upon using a skill with casttime while in hiding (e.g. cloaking -> soul break), Special Thanks to Michieru!
Turned the feature optional, by commenting out ANTI_MAYAP_CHEAT in src/config/secure.h due it not being entirely able to mimic skill casting out of hiding (read the description in secure.h for further details).
Also fixed some status.c indentation which, unfortunately, considerably increased this commits size.
Signed-off-by: shennetsind <ind@henn.et>
Diffstat (limited to 'src/config')
-rw-r--r-- | src/config/secure.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/config/secure.h b/src/config/secure.h index 7f16ba55a..5742ae30b 100644 --- a/src/config/secure.h +++ b/src/config/secure.h @@ -47,4 +47,15 @@ **/ #define SECURE_NPCTIMEOUT_INTERVAL 1 +/** + * Uncomment to disable + * while enabled, movement of invisible (cloaking, hide, etca [not chase walk]) units is not informed to nearby foes, + * rendering any client-side cheat, that would otherwise make these units visible, to + * - "Why is this a setting?" because theres a cost, while enabled if a hidden character uses a skill with cast time, + * - for example "cloaking -> walk a bit -> soul break another player" the character display will be momentarily abrupted + * - on the action of unhiding (its a quick effect, ~0.007s in duration), and due to the nature of the skill cast on the client + * - it was not possible to work around this, and thus why it is optional, comment the line to disable. + **/ +#define ANTI_MAYAP_CHEAT + #endif // _CONFIG_SECURE_H_ |