notorious_nils Posted June 9, 2018 Posted June 9, 2018 Hey guys I am working on my server and found a little Problem. I use CEF to show a Login screen on PlayerReady Event. When the Server shutdown while CEF is opened it doesnt diapear after disconnect i added the PlayerQuit event on client side and use cef.destroy(); and cef = null; but the event isnt fired. so my question is Is it normal that the Client PlayerQuit event doesnt fire when the server close ? how can i handle my problem ?
MrPancakers Posted June 9, 2018 Posted June 9, 2018 Correct playerQuit doesn't fire because the player isn't quitting, the server is shutting down so it simply stops where it is and closes. If you wanted to set up something on shutdown, I believe that's something in NodeJS that you can do but I'm not sure what it is.
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now