From efd45ef96f04b986c014b8038ca66fee46f7933c Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Mon, 20 May 2024 10:32:51 -0300 Subject: Fix a (possible?) typo and a comment on the wrong line in Malindou. --- npc/003-3/malindou.txt | 4 ++-- npc/functions/captcha.txt | 4 ++-- 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); -- cgit v1.2.3-70-g09d2