diff options
Diffstat (limited to 'npc/000-0')
-rw-r--r-- | npc/000-0/sailors.txt | 14 |
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; } |