StakeAuthorizer

Moved

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

5/5, 12 likes
  1. Broken once again could you please update for latest update!
    [DOUBLEPOST=1454995080][/DOUBLEPOST]And 1.1.1.1 did not fix for the latest update :(
     
  2. Is there an error, or does it just not work?
     
  3. only [/authall] command didnt work, and on cmd appear "[Error] Failed to call hook 'cmdAuthorize' on plugin 'StakeAutho~~"
     
  4. The full error would be helpful.
     
  5. I try to use authall but nothing happen and don't appear nothing on log =/
     
  6. 4:49 AM [Error] Failed to call hook 'cmdDeauthorize' on plugin 'StakeAuthorizer v1.1.1' (KeyNotFoundException: The given key was not present in the dictionary.)
    4:49 AM [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 OwnershipStakeServer.InvalidateServer () [0x00000] in <filename unknown>:0
    at OwnershipStakeServer.Deauthorize (.PlayerIdentity identity, UnityEngine.GameObject ownerEntity) [0x00000] in <filename unknown>:0
    at Oxide.Plugins.StakeAuthorizer.Deauthorize (.PlayerSession player, Int32 radius) [0x00000] in <filename unknown>:0
    at Oxide.Plugins.StakeAuthorizer.cmdDeauthorize (.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
     
  7. Code:
    [Oxide] 8:56 AM [Error] Failed to call hook 'cmdDeauthorize' on plugin 'StakeAuthorizer v1.1.1' (KeyNotFoundException: The given key was not present in the dictionary.)
    (Filename: C:/buildslave/unity/build/artifacts/generated/common/runtime/UnityEngineDebugBindings.gen.cpp Line: 65)
    [Oxide] 8:56 AM [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 OwnershipStakeServer.InvalidateServer () [0x00000] in <filename unknown>:0
      at OwnershipStakeServer.Deauthorize (.PlayerIdentity identity, UnityEngine.GameObject ownerEntity) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.StakeAuthorizer.Deauthorize (.PlayerSession player, Int32 radius) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.StakeAuthorizer.cmdDeauthorize (.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
    
     
  8. LaserHydra updated Stake Authorizer with a new update entry:

    1.1.2

     
  9. This fix deauth?
     
  10. It should.
     
  11. Hello,

    The /deauthall & /deauthall <radius> command doesn't work for me.

    I have the confirmation message "You have been authorized for all stakes." but my name is still on all the ownership stakes.
     
  12. Please take a look at your logs/console and see if there is any error.
     
  13. Nothing on my console.

    Here's my logs :
    12:55 [Warning] CallHook 'cmdDeauthorize' on plugin 'StakeAuthorizer v1.1.2' took: 5063ms
    13:01 [Info] StakeAuthorizer was compiled successfully in 2000ms
    13:01 [Info] Unloaded plugin Stake Authorizer v1.1.2 by LaserHydra
    13:01 [Info] Loaded plugin Stake Authorizer v1.1.2 by LaserHydra
    13:01 [Info] Unloaded plugin Stake Authorizer v1.1.2 by LaserHydra
    13:01 [Info] Loaded plugin Stake Authorizer v1.1.2 by LaserHydra
    [DOUBLEPOST=1456058735,1455970945][/DOUBLEPOST]Hello LaserHydra,

    Any chance with the logs ?

    Thanks
     
  14. now i have authoristion to all totems on the server and /deauthall doesnt work
     
    Last edited by a moderator: Feb 24, 2016
  15. LaserHydra updated Stake Authorizer with a new update entry:

    1.1.3

     
  16. Not sure this is the right place to put this guys but it regards stakes/totems anyway....

    I have a few players going on leave for a few weeks - and we would want them to keep their bases so we're looking at extending the life of a totem to 1 week per amber (5 weeks max).....

    Which is the cs file to edit and where would I do this? Any help would be appreciated - thanks :)

    Regards,

    - Drago
     
  17. For me does not work either adding or deleting.
    Log no Error
     
  18. On the newest version isn't working /deauthall.

    Last version when it works is 1.1.1.1
     
  19. Code:
    18:06 [Error] Error while compiling StakeAuthorizer.cs(142,31): error CS1061: Type `OwnershipStakeServer' does not contain a definition for `HasAuthority' and no extension method `HasAuthority' of type `OwnershipStakeServer' could be found. Are you missing an assembly reference?
     
  20. Noticed.