StakeAuthorizer

Moved

Total Downloads: 1,380 - First Release: Dec 28, 2015 - Last Update: Jun 2, 2016

5/5, 12 likes
  1. Does anyone else have the issue that when you check the stake, it doesn't list any other names? If i deauthorize and then authorize myself again, I can sometimes get a couple of the names to show up.

    It's definitely helpful to be able to check a base, but if I have no idea who built it then it only does half the job.
     
  2. I agree but i think its a Hurtworld Issue and not the Authorizer
     
  3. Could you add a deauthorize all command
     
  4. Yes. I came home yesterday and will try to do as much as possible today and the next days.
     
  5. Thanks
     
  6. Code:
    [Oxide] 19:30 [Error] Failed to call hook 'cmdAuthorize' on plugin 'StakeAuthorizer v1.0.1' (KeyNotFoundException: The given key was not present in the dictionary.)
    (Filename: /home/builduser/buildslave/unity/build/artifacts/generated/common/runtime/UnityEngineDebugBindings.gen.cpp Line: 65)[Oxide] 19:30 [Debug]   at System.Collections.Generic.Dictionary`2[uLink.NetworkViewID,NetworkViewData].get_Item (NetworkViewID key) [0x00000] in <filename unknown>:0
      at NetworkManager.RemoveRPCsByName (uLink.NetworkView view, System.String rpcName) [0x00000] in <filename unknown>:0
      at HurtMonoBehavior.RemoveRPCsByName (System.String rpcName) [0x00000] in <filename unknown>:0
      at OwnershipStake.InvalidateServer () [0x00000] in <filename unknown>:0
      at OwnershipStake.Authorize (.PlayerIdentity identity, UnityEngine.GameObject ownerEntity) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.StakeAuthorizer.Authorize (.PlayerSession player, Int32 radius) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.StakeAuthorizer.cmdAuthorize (.PlayerSession player, System.String cmd, System.String[] args) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.StakeAuthorizer.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.CSharpPlugin.InvokeMethod (System.Reflection.MethodInfo 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 hookname, System.Object[] args) [0x00000] in <filename unknown>:0
    (Filename: /home/builduser/buildslave/unity/build/artifacts/generated/common/runtime/UnityEngineDebugBindings.gen.cpp Line: 65)
     
    Last edited by a moderator: Jan 7, 2016
  7. It says always "you dont have permission[...]"
    What do Ineed to do?

    I put this into the Plugin folder restarted the server and the command does not work.. in chat nor in F1 console.. :/


    thanks in advance
     
  8. type /grant user Leyrabbit stakeauthorizer.use
     
  9. Alright thanks it works. :)
     
  10. Any progress on the deauthorization command? I accident added myself to everyone on the servers totem while investigating a cheater....
     
  11. It will be added today (next 14 hours)
     
  12. Code:
    10:37 [Error] Failed to call hook 'cmdAuthorize' on plugin 'StakeAuthorizer v1.0.1' (KeyNotFoundException: The given key was not present in the dictionary.)
    10:37 [Debug]   at System.Collections.Generic.Dictionary`2[uLink.NetworkViewID,NetworkViewData].get_Item (NetworkViewID key) [0x00000] in <filename unknown>:0
      at NetworkManager.RemoveRPCsByName (uLink.NetworkView view, System.String rpcName) [0x00000] in <filename unknown>:0
      at HurtMonoBehavior.RemoveRPCsByName (System.String rpcName) [0x00000] in <filename unknown>:0
      at OwnershipStake.InvalidateServer () [0x00000] in <filename unknown>:0
      at OwnershipStake.Authorize (.PlayerIdentity identity, UnityEngine.GameObject ownerEntity) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.StakeAuthorizer.Authorize (.PlayerSession player, Int32 radius) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.StakeAuthorizer.cmdAuthorize (.PlayerSession player, System.String cmd, System.String[] args) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.StakeAuthorizer.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.CSharpPlugin.InvokeMethod (System.Reflection.MethodInfo 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 hookname, System.Object[] args) [0x00000] in <filename unknown>:0
    10:37 [Warning] CallHook 'cmdAuthorize' on plugin 'StakeAuthorizer v1.0.1' took: 774ms
     
  13. How we can deauthorize from all totems please ! ??
    [DOUBLEPOST=1452947139][/DOUBLEPOST]
    Works fine for me thanks a lot :)
     
  14. LaserHydra updated Stake Authorizer with a new update entry:

    1.1.0

     
  15. What if I /deauthall? My own stakes too?
     
  16. isnt working for me after update :eek:
     
  17. Yes...
    [DOUBLEPOST=1453091188][/DOUBLEPOST]
    Errors?
     
  18. Same here! After the update the plugin is not longer working. No errors in the console, no errors in chat. Just nothing that shows whats up. I guess that the command e.g. "/authorizeall" is not taken as a command, because it is shown like normal text in the chat.
     
  19. are you sure you properly installed oxide? Are other plugins working?
     
  20. Yes, all other Plugins are working as expected. All Plugins are on the latest version... oxide too, the game too..


    Update:
    Ok I found the problem. It was your fault! :D your code expects the command "/authall" but the plugin overview page tells us that we should use "/authorizeall". Maybe you should update this ;)

    However, the msg after using this plugin is not shown.
     
    Last edited by a moderator: Jan 21, 2016