From ecf02d12007b75d1858f2d151a60ec2a8d4f995d Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Sat, 20 Mar 2021 18:13:22 -0300 Subject: Manual override for Livio --- npc/000-0/sailors.txt | 14 ++++++++++++-- 1 file 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; } -- cgit v1.2.3-70-g09d2