瀏覽代碼

Fixed official Cat Paw addition exploit (#4514)

* Fixes an exploit where you could save in Manuk and Splendide fields and open Warp Portal to these maps for other players
Daegaladh 5 年之前
父節點
當前提交
305c51ede9
共有 1 個文件被更改,包括 12 次插入24 次删除
  1. 12 24
      npc/quests/quests_13_2.txt

+ 12 - 24
npc/quests/quests_13_2.txt

@@ -72,12 +72,9 @@ spl_fild02,25,211,4	script	Cat Hand Agent#spl	421,{
 		next;
 		switch(select("Save your location:Cancel")) {
 		case 1:
-			if (strnpcinfo(2) == "spl") savepoint "spl_fild02",32,225,1,1;
-			else savepoint "man_fild02",129,61,1,1;
-			mes "[Cat Hand Agent]";
-			mes "Thank you.";
-			mes "Your location has been saved.";
-			mes "You can now directly return to this camp.";
+			savepoint "mid_camp",62,127,1,1;
+			mes "[Cat Paw Agent]";
+			mes "Actually, residents of this village continued to offer resistance. So I shall save your location at Midgards Allied Forces Post for your safety.";
 			close;
 		case 2:
 			mes "[Cat Hand Agent]";
@@ -92,12 +89,9 @@ spl_fild02,25,211,4	script	Cat Hand Agent#spl	421,{
 		next;
 		switch(select("Save your location:Use Storage:Cancel")) {
 		case 1:
-			if (strnpcinfo(2) == "spl") savepoint "spl_fild02",32,225,1,1;
-			else savepoint "man_fild02",129,61,1,1;
-			mes "[Cat Hand Agent]";
-			mes "Thank you.";
-			mes "Your location has been saved.";
-			mes "You can now directly return to this camp.";
+			savepoint "mid_camp",62,127,1,1;
+			mes "[Cat Paw Agent]";
+			mes "Actually, residents of this village continued to offer resistance. So I shall save your location at Midgards Allied Forces Post for your safety.";
 			close;
 		case 2:
 			if(!callfunc("F_CanOpenStorage")){
@@ -139,12 +133,9 @@ spl_fild02,25,211,4	script	Cat Hand Agent#spl	421,{
 		next;
 		switch(select("Save your location:Use Storage:Use Cat Warp (Midgard):Cancel")) {
 		case 1:
-			if (strnpcinfo(2) == "spl") savepoint "spl_fild02",32,225,1,1;
-			else savepoint "man_fild02",129,61,1,1;
-			mes "[Cat Hand Agent]";
-			mes "Thank you.";
-			mes "Your location has been saved.";
-			mes "You can now directly return to this camp.";
+			savepoint "mid_camp",62,127,1,1;
+			mes "[Cat Paw Agent]";
+			mes "Actually, residents of this village continued to offer resistance. So I shall save your location at Midgards Allied Forces Post for your safety.";
 			close;
 		case 2:
 			if(!callfunc("F_CanOpenStorage")){
@@ -260,12 +251,9 @@ spl_fild02,25,211,4	script	Cat Hand Agent#spl	421,{
 		next;
 		switch(select("Save your location:Use Storage:Use Cat Warp (Midgard):Use Cat Warp (Jottunheim):Cancel")) {
 		case 1:
-			if (strnpcinfo(2) == "spl") savepoint "spl_fild02",32,225,1,1;
-			else savepoint "man_fild02",129,61,1,1;
-			mes "[Cat Hand Agent]";
-			mes "Thank you.";
-			mes "Your location has been saved.";
-			mes "You can now directly return to this camp.";
+			savepoint "mid_camp",62,127,1,1;
+			mes "[Cat Paw Agent]";
+			mes "Actually, residents of this village continued to offer resistance. So I shall save your location at Midgards Allied Forces Post for your safety.";
 			close;
 		case 2:
 			if(!callfunc("F_CanOpenStorage")){