Jump to content
RAGE Multiplayer Community

PlayerDisconnected problem


ellfeeenity
 Share

Recommended Posts

when player leaves my local server crashes, playerDisconnected doesnt called

and in server_exceptions.txt this (bridge version)

Цитата

System.ArgumentException: Object of type 'GTANetworkAPI.DisconnectionType' cannot be converted to type 'System.Byte'.
   at object RuntimeType.TryChangeType(object value, Binder binder, CultureInfo culture, bool needsSpecialCast)

 

Link to comment
Share on other sites

4 hours ago, ellfeeenity said:

when player leaves my local server crashes, playerDisconnected doesnt called

and in server_exceptions.txt this (bridge version)

 

Post the code where you process the event if you want to get help. We can't help you without knowing what you are doing wrong. From the error it just seems that you're trying to convert DisconnectionType to Byte, but disconnection type is not an extension of byte.

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
 Share

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...