summaryrefslogtreecommitdiff
path: root/npc/custom
diff options
context:
space:
mode:
Diffstat (limited to 'npc/custom')
-rw-r--r--npc/custom/eAAC_Scripts/quest_warper.txt5
1 files changed, 3 insertions, 2 deletions
diff --git a/npc/custom/eAAC_Scripts/quest_warper.txt b/npc/custom/eAAC_Scripts/quest_warper.txt
index 7ff06cd2e..650ee3a6e 100644
--- a/npc/custom/eAAC_Scripts/quest_warper.txt
+++ b/npc/custom/eAAC_Scripts/quest_warper.txt
@@ -71,6 +71,7 @@
// - Special warpname menu option name bug fixed
//-2.1 Updated names to fall within retrictions. [L0ne_W0lf]
//-2.2 #kafra_code is now stored as is. [brianluau]
+//-2.2b The md5() of their kafra code is now stored in #kafra_code$ [brianluau]
//=================================================================
//========================Function=&=Script========================
@@ -597,11 +598,11 @@ L_Storage:
end;
F_CheckKafCode:
- if(#kafra_code==0) return;
+ if(#kafra_code$=="") return;
mes "Enter your storage password:";
set @code_,0;
input @code_;
- if(@code_ != #kafra_code) {
+ if(md5(@code_) != #kafra_code$) {
dispbottom "Wrong storage password.";
close;
}