summaryrefslogtreecommitdiff
path: root/npc
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2024-05-20 10:32:51 -0300
committerJesusaves <cpntb1@ymail.com>2024-05-21 19:34:49 -0300
commitefd45ef96f04b986c014b8038ca66fee46f7933c (patch)
tree812319e4fa8b62bb222cdbe119b0f900fa2773e7 /npc
parent7c8a5f124a3dfe72258982accc0e78bfeda118a5 (diff)
downloadserverdata-efd45ef96f04b986c014b8038ca66fee46f7933c.tar.gz
serverdata-efd45ef96f04b986c014b8038ca66fee46f7933c.tar.bz2
serverdata-efd45ef96f04b986c014b8038ca66fee46f7933c.tar.xz
serverdata-efd45ef96f04b986c014b8038ca66fee46f7933c.zip
Fix a (possible?) typo and a comment on the wrong line in Malindou.
Diffstat (limited to 'npc')
-rw-r--r--npc/003-3/malindou.txt4
-rw-r--r--npc/functions/captcha.txt4
2 files changed, 4 insertions, 4 deletions
diff --git a/npc/003-3/malindou.txt b/npc/003-3/malindou.txt
index e18d048fe..6a8e506ed 100644
--- a/npc/003-3/malindou.txt
+++ b/npc/003-3/malindou.txt
@@ -72,8 +72,8 @@ OnInit:
$REFERRAL_ENABLED = false;
//$NO_INTRO = false;
//$HARDCORE = false;
- $CAPTCHA = 3; // Banhammer + Advance Warning (TMW Classic style)
- //$CAPTCHA = 28; // Syndrome + NoEvents + @treat (ML style)
+ //$CAPTCHA = 3; // Banhammer + Advance Warning (TMW Classic style)
+ $CAPTCHA = 28; // Syndrome + NoEvents + @treat (ML style)
$ALLIANCE_TAX1 = 7500;
$ALLIANCE_TAX2 = 60;
$FIRESOFSTEAM[1] = 2000;
diff --git a/npc/functions/captcha.txt b/npc/functions/captcha.txt
index 3061c18f6..9c3319aef 100644
--- a/npc/functions/captcha.txt
+++ b/npc/functions/captcha.txt
@@ -540,11 +540,11 @@ function captchaProbe {
// User disconnected, next captcha they'll be arrested because timer will expire
if (!.@online) {
$@BOTCHECK_TARGET=false;
- CAPTCHA_OK=false;
+ CAPTCHA_OK=false; // wtf?
}
// Timer expired? Ban hammer
- if (CAPTCHA_TIME+.thr > gettimetick(2) && CAPTCHA_OK <= CAPTCHA_TIME) {
+ if (CAPTCHA_TIME+.thr > gettimetick(2) && CAPTCHA_OK < CAPTCHA_TIME) {
atcommand("@jailfor 30mn "+strcharinfo(0));
dispbottom l("You failed to reply to the captcha in time and were arrested for AFK Botting. You can use @jailtime to keep track of time left.");
CaptchExample(true);