summaryrefslogtreecommitdiff
path: root/src/config/secure.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/config/secure.h')
-rw-r--r--src/config/secure.h17
1 files changed, 14 insertions, 3 deletions
diff --git a/src/config/secure.h b/src/config/secure.h
index 7f16ba55a..418d24751 100644
--- a/src/config/secure.h
+++ b/src/config/secure.h
@@ -1,8 +1,8 @@
// Copyright (c) Hercules Dev Team, licensed under GNU GPL.
// See the LICENSE file
// Portions Copyright (c) Athena Dev Teams
-#ifndef _CONFIG_SECURE_H_
-#define _CONFIG_SECURE_H_
+#ifndef CONFIG_SECURE_H
+#define CONFIG_SECURE_H
/**
* Hercules configuration file (http://hercules.ws)
@@ -47,4 +47,15 @@
**/
#define SECURE_NPCTIMEOUT_INTERVAL 1
-#endif // _CONFIG_SECURE_H_
+/**
+ * Uncomment to disable
+ * while enabled, movement of invisible (cloaking, hide, etc [not chase walk]) units is not informed to nearby foes,
+ * rendering any client-side cheat, that would otherwise make these units visible, to not function.
+ * - "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