* XMLData.Save now has exception handling code in-place.
* Added better commenting to the majority of the projects files. * Removed command support from the server console. * Added a Client side command STOP that can be used to shut down the server. In the future that will be specific to Admins only. * Characters now have their save code invoked during server shut down. * Server shut down code added. Server.Stop() fully implemented.
This commit is contained in:
parent
b5c9f2967a
commit
f0ec29c240
8 changed files with 148 additions and 14 deletions
|
@ -28,8 +28,15 @@ namespace MudEngine.DAL
|
|||
|
||||
public Boolean Save(String filename)
|
||||
{
|
||||
this.SaveData.Save(filename);
|
||||
return true;
|
||||
try
|
||||
{
|
||||
this.SaveData.Save(filename);
|
||||
return true;
|
||||
}
|
||||
catch
|
||||
{
|
||||
return false;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue