summaryrefslogtreecommitdiff
path: root/world/map/npc
diff options
context:
space:
mode:
authoralexanderlime <paklongwu1006@gmail.com>2015-03-05 09:31:34 -0500
committermekolat <mekolat@gmail.com>2015-03-07 19:08:30 -0500
commit6e9142fdd1b7a186dc093640046883e9a02ea540 (patch)
tree86af19189cae55907c304a20f8279bf495d466ad /world/map/npc
parent423b4cfe8b68db524d6e12940a9dba7f8e962efa (diff)
downloadserverdata-6e9142fdd1b7a186dc093640046883e9a02ea540.tar.gz
serverdata-6e9142fdd1b7a186dc093640046883e9a02ea540.tar.bz2
serverdata-6e9142fdd1b7a186dc093640046883e9a02ea540.tar.xz
serverdata-6e9142fdd1b7a186dc093640046883e9a02ea540.zip
Fix lime towel exploit
fix traveller exploit
Diffstat (limited to 'world/map/npc')
-rw-r--r--world/map/npc/functions/travelers.txt7
-rw-r--r--world/map/npc/items/warpTowels.txt7
2 files changed, 14 insertions, 0 deletions
diff --git a/world/map/npc/functions/travelers.txt b/world/map/npc/functions/travelers.txt
index a1db712e..07b084d9 100644
--- a/world/map/npc/functions/travelers.txt
+++ b/world/map/npc/functions/travelers.txt
@@ -189,6 +189,13 @@ L_TravelPachua:
set @NextLocationMap$, "006-1";
set @NextLocationX, 28;
set @NextLocationY, 97;
+ if(QUEST_MIRIAM_start != 0) goto L_Cheat;
+ goto L_TravelChecks;
+
+L_Cheat:
+ set QUEST_MIRIAM_cheat, 1;
+ set QUEST_MIRIAM_run, gettimetick(2) - QUEST_MIRIAM_start;
+ set QUEST_MIRIAM_start, 0;
goto L_TravelChecks;
L_TravelBarbarians:
diff --git a/world/map/npc/items/warpTowels.txt b/world/map/npc/items/warpTowels.txt
index 3783113a..f586ed99 100644
--- a/world/map/npc/items/warpTowels.txt
+++ b/world/map/npc/items/warpTowels.txt
@@ -103,6 +103,13 @@ L_Lime:
set @NextLocationMap$, "006-1";
set @NextLocationX, 28;
set @NextLocationY, 97;
+ if(QUEST_MIRIAM_start != 0) goto L_Cheat;
+ goto L_WarpPlayer;
+
+L_Cheat:
+ set QUEST_MIRIAM_cheat, 1;
+ set QUEST_MIRIAM_run, gettimetick(2) - QUEST_MIRIAM_start;
+ set QUEST_MIRIAM_start, 0;
goto L_WarpPlayer;
L_Save: