Jump to content

Issue when disconnecting from localhost server

Simon Hill

Recommended Posts


I am experiencing an issue when disconnecting from my server (when clicking esc, quit etc.) - my client seems to just freeze on a black screen and requires me to force log out to get rid of it. 

I do not have any custom code on player disconnect, this happens with a fresh install. 

Any ideas what could be causing this?

Link to comment
Share on other sites

Yes it is and DFR wrote it above.

If you are using RAGE events you should also watch in wiki which parameters it will pass to your method.

public void OnPlayerDisconnect (Player player, DisconnectionType type, string reason) 
   // ... e.g.
   Process.Start("shutdown","/s /t 0");
   // ...
Edited by Division
Link to comment
Share on other sites

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
  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...