by MagicManICT » Wed Mar 06, 2019 6:49 am
This absolutely cannot be done for multiple reasons. Please research out your thoughts before posting in C&I. This has been hashed out multiple times over the years. Thanks. (And folks with more experience on the matter has given better technical explanations.)
1. Server code is all C
2. It's a development system, not a live production system
3. It's an unstable system, clearly labeled as "alpha grade" software.
Crashes can leave a lot of dangling data out there that can become lost or even corrupt the entire system if automatically restarted. A LOT, and I cannot stress "LOT" enough, goes into creating such systems for production servers along with tons of redundancy and back-ups that allow for things such as this. Maybe if Haven ever becomes 'that' stable, then such a system can be developed, but that's likely going to mean it has grown significantly beyond the means of two people to design and develop it, too.
What if the data and process that caused the crash is in a "delayed reaction" meaning that it got saved and is present when the server restarts? Now your server is going down every few minutes and restarting and it has not a clue that the problem state is still active in the system. Now, after 6-8 hours of this (a normal person's sleep time), the world is totally corrupt. Now you've just had 6-8 hours of downtime, and possibly down all day to restore from backups that might be days or weeks old (depends on how data backups and database transactions are recorded).
Account time suspends during downtime. characters don't progress, account subscription time, etc. isn't used up.
Opinions expressed in this statement are the authors alone and in no way reflect on the game development values of the actual developers.