Reserved

Moved

Total Downloads: 1,971 - First Release: Oct 23, 2014 - Last Update: Dec 22, 2015

5/5, 7 likes
  1. Im not using.
     
  2. Wulf

    Wulf Community Admin

    Try version 2.0.2 please, should be fixed now. I had another plugin that was bypassing this plugin. :p
     
  3. Code:
    Failed to call hook 'CanUserLogin' on plugin 'Reserved v2.0.2' (InvalidOperationException: Operation is not valid due to the current state of the object)
      at System.Linq.Enumerable.First[IPlayer] (IEnumerable`1 source, System.Func`2 predicate, Fallback fallback) [0x00000] in <filename unknown>:0 
      at System.Linq.Enumerable.First[IPlayer] (IEnumerable`1 source, System.Func`2 predicate) [0x00000] in <filename unknown>:0 
      at Oxide.Plugins.Reserved.CanUserLogin (System.String name, System.String id, System.String ip) [0x00000] in <filename unknown>:0 
      at Oxide.Plugins.Reserved.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00000] in <filename unknown>:0 
      at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00000] in <filename unknown>:0 
      at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x00000] in <filename unknown>:0 
      at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00000] in <filename unknown>:0 
    
     
    Last edited by a moderator: May 14, 2018
  4. Wulf

    Wulf Community Admin

    Should be fixed in plugin version 2.0.3 via GitHub. Will release soon once you've confirmed your issue is resolved.
     
  5. People without reserved.slot on the server are kicked now, im not sure that all. Was 100 players, after reload plugin many people kicked and then server had 70-80 players. I don't have any log, which confirm it :(
    [DOUBLEPOST=1526316498][/DOUBLEPOST]90* players
     
  6. Wulf

    Wulf Community Admin

    If you have it setup to kick players without the permission for those with the permission, then that is normal. When a player with the permission connects and you have that setting enabled, then a random player without permission is kicked for that player so they can get in.
     
  7. Code:
    {
      "Always allow admin to connect (true/false)": false,
      "Always use reserved slot if player has permission (true/false)": false,
      "Dynamic slots based on players with permission (true/false)": false,
      "Kick other players for players with permission (true/false)": false,
      "Number of slots to reserve (if dynamic slots not enabled)": 10
    }
    
     
  8. Wulf

    Wulf Community Admin

    Mmm, actually looks like I missed the check for that config option in the plugin. Will fix that now. @onStyle
    [DOUBLEPOST=1526318178][/DOUBLEPOST]Pushed some more changes, feel free to test with those @onStyle.
     
  9. Looks like everything working, Thanks! I will report if there will show some issues.