summaryrefslogtreecommitdiff
path: root/npc/custom
diff options
context:
space:
mode:
authorbrianluau <brianluau@54d463be-8e91-2dee-dedb-b68131a5f0ec>2009-05-03 04:30:20 +0000
committerbrianluau <brianluau@54d463be-8e91-2dee-dedb-b68131a5f0ec>2009-05-03 04:30:20 +0000
commit2875015cd6264e6e65f39bd805eef0f913eaebac (patch)
tree485493488bd2ad978014f1648fc82db8388bba41 /npc/custom
parentef08f4141b514acd0a78af87efe7eabe700571d1 (diff)
downloadhercules-2875015cd6264e6e65f39bd805eef0f913eaebac.tar.gz
hercules-2875015cd6264e6e65f39bd805eef0f913eaebac.tar.bz2
hercules-2875015cd6264e6e65f39bd805eef0f913eaebac.tar.xz
hercules-2875015cd6264e6e65f39bd805eef0f913eaebac.zip
* Removed the obfuscation of the #kafra_code password. (bugreport:2323)
TODO: add a 'md5()' script command and use that instead. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13719 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'npc/custom')
-rw-r--r--npc/custom/eAAC_Scripts/quest_warper.txt9
1 files changed, 3 insertions, 6 deletions
diff --git a/npc/custom/eAAC_Scripts/quest_warper.txt b/npc/custom/eAAC_Scripts/quest_warper.txt
index c61b46417..7ff06cd2e 100644
--- a/npc/custom/eAAC_Scripts/quest_warper.txt
+++ b/npc/custom/eAAC_Scripts/quest_warper.txt
@@ -4,14 +4,11 @@
//= Old Warper 2 by Darkchild - Remade with quest format by DZeroX
//= Huge Rewrite by Neouni
//===== Current Version: ==========================================
-//= 2.1
+//= 2.2
//===== Compatible With: ==========================================
//= Any eAthena Version
//===== Description: ==============================================
//= Warper that works only after locations are unlocked
-//===== Warning: ==================================================
-// you have to set the securitycode value [1337] the same as in
-// functions_kafras.txt if you changed it !!
//===== Additional Comments: ======================================
//= 1.0 - NPCs created
//= 1.1 - Add Dungeons by sturm
@@ -73,6 +70,7 @@
//-2.0b
// - 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]
//=================================================================
//========================Function=&=Script========================
@@ -599,12 +597,11 @@ L_Storage:
end;
F_CheckKafCode:
-// you have to set the 1337 value the same as in functions_kafras.txt if you changed it !!
if(#kafra_code==0) return;
mes "Enter your storage password:";
set @code_,0;
input @code_;
- if(@code_ != #kafra_code-getcharid(3)-1337) {
+ if(@code_ != #kafra_code) {
dispbottom "Wrong storage password.";
close;
}