Analyzation of the Thread Crashes

Discussion in 'News & Announcements' started by DreTaX, Apr 1, 2016.

By DreTaX on Apr 1, 2016 at 11:10 AM
  1. DreTaX

    DreTaX Probably knows the answer... Administrator

    Jun 29, 2014
    Likes Received:
    I have been looking into this a very long time, and as always the log ends with UnityEngine.Object.FindObject...

    @tarynkelley have been looking into It too.

    Seems like anything that is on timer, or on a thread causes the server to have a nice crash popup. (Player.Disconnect calls UnityEngine.Object.FindObject)

    This has been resolved in a higher UnityEngine version, @Snake even found the changelog of It before.

    Some of the plugins use a timer to handle checks later, and even disconnect players.

    I have been thinking on several stuffs, how could I actually make It safer, but I can't come up with anything useful. I have been thinking on raising a hook, but I have been wondering if the hook would be running under a thread too.

    The guy who gave the answer also shows the usage of the delegates, which we use for calling our hooks.

    I will see if that would work or not
    • Like Like x 1
    • Informative Informative x 1


Discussion in 'News & Announcements' started by DreTaX, Apr 1, 2016.

    1. tarynkelley
      I noticed that pl.SendCommand("net.disconnect") does not crash the server when being used in a Timer and probably also in a thread..
      Last edited: Apr 2, 2016
    2. DreTaX
      What the actual fuck?

      It might be because the disconnect is not called by the server. The server sends the command and the client disconnects. Not bad m8.
    3. Jakkee
      If that's true, I'd assume you could probably mod the client so it does not disconnect (Unless you quit the game). You could make a pretty OP hack from that; No ban/kick hack?
    4. DreTaX
      Maybe. I wonder if the disconnect button executes net.disconnect
    5. tarynkelley
      I can confirm now also that it is working stable in a thread.

      I agree that it could theoretically also be bypassed with a modded client.

      I was also thinking about using pl.SendCommand("quit") instead :D
    6. xandeturf
      in ConnectionAcceptor --> uLink_OnPlayerDisconnected
    7. DreTaX
    8. Jakkee
      I think he is saying to use this method:
    9. DreTaX
      Its a hook. Its called when someone dcs.

      Sent From My Samsung Galaxy S4
    10. xandeturf
      there is an end to cherish ? the beta will be free to use ?
    11. ፨ẴzɏϻΘķ፨
      and can be done through testing server?
    12. tarynkelley

Share This Page