summaryrefslogtreecommitdiff
path: root/npc
diff options
context:
space:
mode:
authorVicious <Vicious@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-02-03 21:32:07 +0000
committerVicious <Vicious@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-02-03 21:32:07 +0000
commit80875da9646d78d0980e4db42b3f815614e3b0ce (patch)
tree5f48723bbd549aa54a505090cfe351bd57632b99 /npc
parente73f031ff8b096657c154b26d4090dc0a2caa56b (diff)
downloadhercules-80875da9646d78d0980e4db42b3f815614e3b0ce.tar.gz
hercules-80875da9646d78d0980e4db42b3f815614e3b0ce.tar.bz2
hercules-80875da9646d78d0980e4db42b3f815614e3b0ce.tar.xz
hercules-80875da9646d78d0980e4db42b3f815614e3b0ce.zip
Temp measure to stop novice ground exploit. It is still possible with novice class though.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5179 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'npc')
-rw-r--r--npc/Changelog.txt2
-rw-r--r--npc/jobs/novice/novice.txt18
2 files changed, 19 insertions, 1 deletions
diff --git a/npc/Changelog.txt b/npc/Changelog.txt
index 9b68be02f..5f849aa79 100644
--- a/npc/Changelog.txt
+++ b/npc/Changelog.txt
@@ -28,6 +28,8 @@ Nexon
Date Added
======
+02/03
+ * Temp measure to stop exploit in novice ground. [Vicious]
01/31
* Fixed another bug in the monk quest. [Zephiris]
01/29
diff --git a/npc/jobs/novice/novice.txt b/npc/jobs/novice/novice.txt
index 21ae3279c..3c7a46982 100644
--- a/npc/jobs/novice/novice.txt
+++ b/npc/jobs/novice/novice.txt
@@ -3,7 +3,7 @@
//===== By: ==================================================
//= Dr.Evil & MasterOfMuppets
//===== Current Version: =====================================
-//= 1.0
+//= 1.1b
//===== Compatible With: =====================================
//= eAthena SVN 3422+(Requires jA Script System)
//===== Description: =========================================
@@ -12,6 +12,7 @@
//===== Additional Comments: =================================
//= 1.0 Added the New Novice Training Grounds, a big thanks [MasterOfMuppets]
//= to Dr.Evil who did 90% of the work =)
+//= 1.0b Temp measure to stop exploits. [Vicious]
//============================================================
//====================================================================
@@ -26,6 +27,7 @@ new_1-1.gat,66,114,4 script Bulletin Board 111,{
}
new_1-1.gat,53,114,4 script Shion 727,{
+ if(BaseJob != 0 || Upper==1) goto L_Fail;
switch (NEW_MES_FLAG0) {
case 0: mes "[Shion]";
mes "Hello there~";
@@ -194,6 +196,13 @@ new_1-1.gat,53,114,4 script Shion 727,{
mes "Now, go for it!";
close;
}
+ close;
+
+L_Fail:
+ close2;
+ savepoint "prontera.gat",273,354;
+ warp "prontera.gat",273,354;
+ end;
}
new_1-1.gat,144,116,2 script Guard 105,{
@@ -225,6 +234,7 @@ new_1-1.gat,144,107,2 script Guard 105,{
//Receptionist
new_1-2.gat,100,29,4 script Receptionist 86,{
+ if(BaseJob != 0 || Upper==1) goto L_Fail;
mes "[Training Grounds Receptionist]";
mes "Welcome!";
mes "You are at the entrance";
@@ -311,6 +321,12 @@ L_loop:
close;
}
goto L_loop;
+
+L_Fail:
+ close2;
+ savepoint "prontera.gat",273,354;
+ warp "prontera.gat",273,354;
+ end;
}
//Interfaces Instructor