1. How can I get use of this decompiled data?
    How can I set what to do if this happens? (See picture / red area)
    What I want to do, is just to return, so it does not kick.
    Idk how to explain it. I hope you understand what I want.

    Screenshot_11.png
     
  2. You can't, you would have to add a hook to capture that event.
     
  3. So thats not possible, without having a hook in oxide itself?
    [DOUBLEPOST=1428653673][/DOUBLEPOST]but could I do like a bit tricking? So i can detect that this.Kick with the reason "Unresponsive"?
    Like
    Code:
    OnRunCommand("kick", "Unresponsive")
    return
    end
    
     
  4. Nope, OnRunCommand is a hook triggered when a console command runs (inventory.give, chat.say, global.kick, etc.), in the case of the method ConnectedPlayerUpdate, it runs the method Kick and not the console command global.kick
     
  5. Basicly what I want to know, is there even ANY possibility to detect that or do what i wanna do?
     
  6. As mentioned in my first reply, the only way you could be able to detect it is if a hook would be added to that method before the kick happens and have the hook accept a return value to interrupt the normal method behavior.
    I'm also not sure why you want to do this has actually been added to prevent a pretty significant bug. It's not a pretty solution bit it works for it.
     
  7. I wanted to do this, because everytime I TAB out of the game for some seconds, I will get kicked. And that kinda sucks. Mostly if im working on a plugin and I always need to relogin to try out what I have just done, or if im just answering a skype message.
     
  8. I guess you could create yourself a test plugin with a nasty workaround then I suppose.

    Create an infinite repeat timer on a 5 second interval, and in that interval you modify you set the timeSinceLastTick field on your baseplayer to 0f.