Sign in to follow this  
ellfeeenity

PlayerDisconnected problem

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)

 

Share this post


Link to post
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.

Share this post


Link to post
Share on other sites
13 часа назад, Stuyk сказал:

The answer to this question was to not use the NuGet package. Reference the bootstrapper .dll inside of your run time folder.
 

 

thank u, thats work

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.