[Crossfire-wiki] [Crossfire DokuWiki] page changed: dev_todo:server_error_handling

no-reply_wiki at metalforge.org no-reply_wiki at metalforge.org
Sat Feb 10 16:59:10 CST 2007


A page in your DokuWiki was added or changed. Here are the details:

Date        : 2007/02/10 16:59
User        : ryo
Edit Summary: some info

@@ -1,5 +1,6 @@
- There are different //critical// conditions the server should handle. Here is a small list of different things, and how they could be manager:
+ There are different //critical// conditions the server should handle. Here is a small list of different things, and how they could be managed:
  
-   * disk read failure: should LOG() and warn online DMs
+   * disk read failure: should LOG() and warn online DMs. Also don't let player enter map, totally erase map from memory to keep file as-in on disk - or write it somewhere to keep what was recovered?
    * disk write failure: if disk full, should LOG(), try to clean temporary maps. Then should warn online DMs, and reject new connections/warn connecting players of the issue
- 
+   * memory allocation failure: for now, server will either LOG() and abort() or not check and happily crash. Suggestion: create a Crossfire specific allocation routine that could try to free some memory and try again before failing for good
+   * plugin asked for an invalid property/object/whatever. Should LOG() and just return with an error code to plugin. Plugin could just ignore, though.


IP-Address  : 82.236.87.204
Old Revision: http://wiki.metalforge.net/doku.php/dev_todo:server_error_handling?rev=1167474868
New Revision: http://wiki.metalforge.net/doku.php/dev_todo:server_error_handling

-- 
This mail was generated by DokuWiki at
http://wiki.metalforge.net/




More information about the crossfire-wiki mailing list