AFK [Replaced]

Discussion in 'Plugin Support' started by Wulf, Jan 10, 2015.

  1. Wulf

    Wulf Community Admin

    Wulf submitted a new resource:

    AFK Kick - Kicks players that are AFK (away from keyboard) for set amount of seconds

    Read more about this resource...
     
  2. Wulf

    Wulf Community Admin

  3. Thank's update Wulf :)
     
  4. Can you add no kick for admin ?
     
  5. Wulf

    Wulf Community Admin

    Sure, I'll add an option for that in the next version.
     
  6. thank you for your work
     
  7. Wulf

    Wulf Community Admin

    Wulf updated AFK Kick with a new update entry:

    Moved to Oxide 2.0

     
  8. Wulf

    Wulf Community Admin

    Wulf updated AFK Kick with a new update entry:

    Re-added notice message to player on kick

     
  9. Wulf

    Wulf Community Admin

    Wulf updated AFK Kick with a new update entry:

    Permission change and some cleanup

     
  10. when online =0 then:
    Code:
    [Oxide] 2:17 AM [Error] Failed to run a 900.00 timer in AFK
    File: AFK.lua Line: 42 attempt to index field 'playerClient' (a nil value):
      at NLua.Lua.ThrowExceptionFromError (Int32 oldTop) [0x00000] in <filename unknown>:0
      at NLua.Lua.CallFunction (System.Object function, System.Object[] args, System.Type[] returnTypes) [0x00000] in <filename unknown>:0
      at NLua.LuaFunction.Call (System.Object[] args, System.Type[] returnTypes) [0x00000] in <filename unknown>:0
      at NLua.Method.LuaDelegate.CallFunction (System.Object[] args, System.Object[] inArgs, System.Int32[] outArgs) [0x00000] in <filename unknown>:0
      at LuaGeneratedClass1.CallFunction () [0x00000] in <filename unknown>:0
      at Oxide.Core.Libraries.Timer+TimerInstance.Update () [0x00000] in <filename u
     
  11. Wulf

    Wulf Community Admin

    The only way it would give you that is if a player is somehow still connected, but not fully connected.
     
  12. online is zero

    http://funkyimg.com/i/XCJb.png
     
  13. Wulf

    Wulf Community Admin

    Attached Files:

  14. thx, I will test it tomorrow) good night.
     
  15. Wulf

    Wulf Community Admin

  16. Code:
    [Oxide] 1:31 PM [Error] Failed to call hook 'OnPlayerDisconnected' on plugin 'AFK Kick' File: AFK.lua Line: 68 attempt to call method 'GetLocalData' (a string value): at NLua.Lua.ThrowExceptionFromError (Int32 oldTop) [0x00000] in <filename unknown>:0 at NLua.Lua.CallFunction (System.Object function, System.Object[] args, System.Type[] returnTypes) [0x00000] in <filename unknown>:0 at NLua.Lua.CallFunction (System.Object function, System.Object[] args) [0x00000] in <filename unknown>:0 at NLua.LuaFunction.Call (System.Object[] args) [0x00000] in <filename unknown>:0 at Oxide.Ext.Lua.Plugins.LuaPlugin.OnCallHook (System.String hookname, System.Object[] args) [0x00000] in <filename unknown>:0 at Oxide.Core.Plugins.Plugin.CallHook (System.String hookname, System.Object[] args) [0x00000] in <filename unknown>:0 
     
  17. Wulf

    Wulf Community Admin

    Are you trying to use this on a Rust Experimental server?
     
  18. Sorry my mistake.
     
  19. how to Install Plugin in my server????
     
  20. Wulf

    Wulf Community Admin

    Download > place in serverdata/oxide/plugins > done.