progress on -service.. no input, safe choices, etc
add Account.Inactive and Account.InactiveDuration refactor IsEligable to IsEligible
This commit is contained in:
parent
dd3c904944
commit
bff9e9abe4
9 changed files with 94 additions and 57 deletions
|
|
@ -1,6 +1,7 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Reflection;
|
||||
using System.Threading;
|
||||
using Server;
|
||||
using Server.Items;
|
||||
using Server.Mobiles;
|
||||
|
|
@ -53,9 +54,12 @@ namespace Server.Commands
|
|||
NetState.ProcessDisposedQueue();
|
||||
World.Save();
|
||||
|
||||
Console.WriteLine( "{0} players have been converted to PlayerMobile. Please restart the server.", count );
|
||||
while ( true )
|
||||
Console.ReadLine();
|
||||
Console.WriteLine( "{0} players have been converted to PlayerMobile. {1}.", count, Core.Service ? "The server is now restarting" : "Press any key to restart the server" );
|
||||
|
||||
if ( !Core.Service )
|
||||
Console.ReadKey( true );
|
||||
|
||||
Core.Kill( true );
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue