Jump to content
RAGE Multiplayer Community

What is the event for server close/crash?


JackRabbott
 Share

Recommended Posts

You can't hook on server crash because the server already crashed.. which means your code is no longer running. Use an external memory cache if you don't want to lose important data in memory. Check out redis or memcached.

Link to comment
Share on other sites

13 hours ago, micaww said:

You can't hook on server crash because the server already crashed.. which means your code is no longer running. Use an external memory cache if you don't want to lose important data in memory. Check out redis or memcached.

The server is stable and wouldn't crash itself. As for termination caused by errors in scripts, there are events both in NodeJS and C# API.

Link to comment
Share on other sites

  • 2 months later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...