summaryrefslogtreecommitdiff
path: root/npc
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2021-03-16 14:05:13 -0300
committerJesusaves <cpntb1@ymail.com>2021-03-16 14:05:13 -0300
commitbf1549345d1a66a2e8d782af344906f29f97edb1 (patch)
treefa54b7757a57db7e286a1c6d3486aa1e9054f64c /npc
parentee259fa555747446799192524e0027b962ed2b39 (diff)
downloadserverdata-bf1549345d1a66a2e8d782af344906f29f97edb1.tar.gz
serverdata-bf1549345d1a66a2e8d782af344906f29f97edb1.tar.bz2
serverdata-bf1549345d1a66a2e8d782af344906f29f97edb1.tar.xz
serverdata-bf1549345d1a66a2e8d782af344906f29f97edb1.zip
Add an IP blacklist
Diffstat (limited to 'npc')
-rw-r--r--npc/000-0/sailors.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/npc/000-0/sailors.txt b/npc/000-0/sailors.txt
index 99461c3dd..d4a5c2d24 100644
--- a/npc/000-0/sailors.txt
+++ b/npc/000-0/sailors.txt
@@ -152,6 +152,10 @@ L_FiresOfSteam:
freeloop(false);
setq ShipQuests_Arpan, 5;
setq General_Narrator, 21;
+ if (array_find($@IPBLIST$, getcharip()))
+ #TUTORIAL_DONE=true;
+ else
+ array_push($@IPBLIST$, getcharip());
if (!#TUTORIAL_DONE) {
.@acc=any(Mustache, Beard, HeartGlasses, Sunglasses, EyePatch, Shemagh, Monocle, Googles, BurglarMask, BanditMask, Shemagh);
.@ac2=any(OldTowel, SantaGlobe, RedStocking, LeatherBall, Doll, ZarkorScroll, ThetaBook, AshUrn, RubberDucky, DragonStar, BronzeQuiver, AstralCube, PlushMouboo, PlushMouboo, GraduationAlbum);