From 80875da9646d78d0980e4db42b3f815614e3b0ce Mon Sep 17 00:00:00 2001 From: Vicious Date: Fri, 3 Feb 2006 21:32:07 +0000 Subject: 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 --- npc/jobs/novice/novice.txt | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) (limited to 'npc/jobs') 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 -- cgit v1.2.3-60-g2f50