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
This commit is contained in:
Daegaladh
2020-01-05 18:13:28 +01:00
committed by GitHub
parent bc5b147644
commit 305c51ede9

View File

@@ -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")){