summaryrefslogtreecommitdiff
path: root/npc
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2021-03-20 18:13:22 -0300
committerJesusaves <cpntb1@ymail.com>2021-03-20 18:13:22 -0300
commitecf02d12007b75d1858f2d151a60ec2a8d4f995d (patch)
treeb3720e4dd1330ddf1126aee30fcbb66782811782 /npc
parentc17f23ae833ff74663b0e66cbd13c3dab68255b7 (diff)
downloadserverdata-ecf02d12007b75d1858f2d151a60ec2a8d4f995d.tar.gz
serverdata-ecf02d12007b75d1858f2d151a60ec2a8d4f995d.tar.bz2
serverdata-ecf02d12007b75d1858f2d151a60ec2a8d4f995d.tar.xz
serverdata-ecf02d12007b75d1858f2d151a60ec2a8d4f995d.zip
Manual override for Livio
Diffstat (limited to 'npc')
-rw-r--r--npc/000-0/sailors.txt14
1 files changed, 12 insertions, 2 deletions
diff --git a/npc/000-0/sailors.txt b/npc/000-0/sailors.txt
index d4a5c2d24..6974ad32c 100644
--- a/npc/000-0/sailors.txt
+++ b/npc/000-0/sailors.txt
@@ -146,13 +146,15 @@ L_FiresOfSteam:
GameRules(8 | 4);
clear;
closeclientdialog;
+OnForceReset:
freeloop(true);
while (BaseLevel < 80)
getexp NextBaseExp, 100;
freeloop(false);
setq ShipQuests_Arpan, 5;
setq General_Narrator, 21;
- if (array_find($@IPBLIST$, getcharip()))
+ debugmes "New account: %d (%s)", getcharid(3), getcharip();
+ if (array_find($@IPBLIST$, getcharip()) >= 0)
#TUTORIAL_DONE=true;
else
array_push($@IPBLIST$, getcharip());
@@ -257,10 +259,18 @@ L_FiresOfSteam:
MPQUEST=true;
MAGIC_LVL=7;
savepoint "029-0", 202, 85;
- warp "029-0", 202, 85;
+ if (!@forcereset)
+ warp "029-0", 202, 85;
close;
+OnForceReset2:
+ logmes("%s - Reset Forced by System Admin", getcharid(3));
+ #TUTORIAL_DONE=false;
+ @forcereset=true;
+ goto OnForceReset;
+
OnInit:
.sex = G_MALE;
+ bindatcmd "sakarfr", "Sailors::OnForceReset2", 100, 99, 1;
end;
}