Author Topic: [Feature] Sent e-mail on server error  (Read 1931 times)

T3RR0R15T

  • Map Committee
  • Autococker
  • Posts: 2593
[Feature] Sent e-mail on server error
« on: February 15, 2012, 02:42:40 PM »
A dedicated server should sent an e-mail (address is already in the serverconfig) if there is an error (=crash).

jitspoe

  • Administrator
  • Autococker
  • Posts: 18801
Re: [Feature] Sent e-mail on server error
« Reply #1 on: February 15, 2012, 07:01:44 PM »
http://dplogin.com/dplogin/featurevote/feature.php?id=10290

Not sure how difficult this would be to implement, and the server would have to be running a mailer daemon.  If the server actually crashed, it won't be able to do anything as the process isn't running anymore.  For fatal errors, such as trying to load maps that don't exist, though, it could be done.

T3RR0R15T

  • Map Committee
  • Autococker
  • Posts: 2593
Re: [Feature] Sent e-mail on server error
« Reply #2 on: February 17, 2012, 09:48:54 AM »
That sounds good. Maybe add a information that a mail it out to the clients console (+ server log). In front or after this line:

Code: [Select]
[16:45:11] Server crashed: Game Error: Couldn't find spawn point