ServerRewards

Moved

Total Downloads: 14,033 - First Release: Mar 2, 2016 - Last Update: Jun 9, 2018

5/5, 61 likes
  1. (20:47:33) | [Oxide] 20:47 [Error] Failed to run a 1.00 timer in 'ServerRewards v0.2.7' (KeyNotFoundException: The given key was not present in the dictionary.)

    (20:47:33) | [Oxide] 20:47 [Debug] at System.Collections.Generic.Dictionary`2[System.UInt64,System.Double].get_Item (UInt64 key) [0x00000] in <filename unknown>:0

    at Oxide.Plugins.ServerRewards.GetPlaytimeClock (.BasePlayer player) [0x00000] in <filename unknown>:0

    at Oxide.Plugins.ServerRewards.DisplayPoints (.BasePlayer player) [0x00000] in <filename unknown>:0

    at Oxide.Plugins.ServerRewards+<DisplayPoints>c__AnonStorey1.<>m__0 () [0x00000] in <filename unknown>:0

    at Oxide.Core.Libraries.Timer+TimerInstance.FireCallback () [0x00000] in <filename unknown>:0
     
  2. Your version is out of date long ago update to the latest
     
  3. hello how to set the time to receive RP and configure the number of gained RP?
     
  4. Errors were not up to the last global update. Why is the old version? Because there is a bug and it fixed a developer plugins. Please give a decision timer error.
     
  5. Hey! Any idea why one of my players says "No saved data" when I check his points?
     
  6. how do i remove a reward dealer 1 off a map that wiped
     
  7. Hi guys, I have these errors in my server:
    Code:
    (20:02:12) | [Oxide] 20:02 [Error] Failed to call hook 'cmdChangeElement' on plugin 'ServerRewards v0.3.27' (IndexOutOfRangeException: Array index is out of range.)
    (20:02:12) | [Oxide] 20:02 [Debug]   at Oxide.Plugins.ServerRewards+UIElements.DestroyUI (.BasePlayer player, Oxide.Plugins.OUIData data) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.ServerRewards.SwitchElement (.BasePlayer player, ElementType type, Int32 page, System.String npcid) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.ServerRewards.cmdChangeElement (.Arg arg) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.ServerRewards.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.CSharpPlugin.InvokeMethod (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 name, System.Object[] args) [0x00000] in <filename unknown>:0
    Code:
    (20:02:23) | [Oxide] 20:02 [Error] Failed to call hook 'cmdDestroyAll' on plugin 'ServerRewards v0.3.27' (IndexOutOfRangeException: Array index is out of range.)
    (20:02:23) | [Oxide] 20:02 [Debug]   at Oxide.Plugins.ServerRewards+UIElements.DestroyUI (.BasePlayer player, Oxide.Plugins.OUIData data) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.ServerRewards.DestroyUI (.BasePlayer player) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.ServerRewards.cmdDestroyAll (.Arg arg) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.ServerRewards.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.CSharpPlugin.InvokeMethod (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 name, System.Object[] args) [0x00000] in <filename unknown>:0
    Code:
    (20:50:27) | [Oxide] 20:50 [Error] Failed to call hook 'OnPlayerInit' on plugin 'ServerRewards v0.3.27' (IndexOutOfRangeException: Array index is out of range.)
    (20:50:27) | [Oxide] 20:50 [Debug]   at Oxide.Plugins.ServerRewards+UIElements.DestroyUI (.BasePlayer player, Oxide.Plugins.OUIData data) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.ServerRewards.DestroyUI (.BasePlayer player) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.ServerRewards.OnPlayerInit (.BasePlayer player) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.ServerRewards.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.CSharpPlugin.InvokeMethod (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 name, System.Object[] args) [0x00000] in <filename unknown>:0
    and
    Code:
    (20:59:12) | [Oxide] 20:59 [Error] Failed to call hook 'OnPlayerDisconnected' on plugin 'ServerRewards v0.3.27' (IndexOutOfRangeException: Array index is out of range.)
    (20:59:12) | [Oxide] 20:59 [Debug]   at Oxide.Plugins.ServerRewards+UIElements.DestroyUI (.BasePlayer player, Oxide.Plugins.OUIData data) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.ServerRewards.DestroyUI (.BasePlayer player) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.ServerRewards.OnPlayerDisconnected (.BasePlayer player) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.ServerRewards.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.CSharpPlugin.InvokeMethod (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 name, System.Object[] args) [0x00000] in <filename unknown>:0
    It happens when a player opens the shop and after the ui remains blocked, even if he tries to disconnect and reconnect, he can't resolve, and remains the mouse cursor and the text below of the rp and economics.
    I resolve it when reload the plugin, but after a certain time does it again.
     
    Last edited by a moderator: Oct 8, 2016
  8. @Frenk92
    unload plugin first then delete your serverrewards_players.json and config file then reload plugin
     
  9. [Oxide] 21:58 [Error] Failed to call hook 'cmdChangeElement' on plugin 'ServerRewards v0.3.0' (KeyNotFoundException: The given key was not present in the dictionary.)
    [Oxide] 21:58 [Debug] at System.Collections.Generic.Dictionary`2[System.UInt64,Oxide.Plugins.ServerRewards+OUIData].get_Item (UInt64 key) [0x00000] in <filename unknown>:0 at Oxide.Plugins.ServerRewards.SwitchElement (.BasePlayer player, ElementType type, Int32 page, System.String npcid) [0x00000] in <filename unknown>:0 at Oxide.Plugins.ServerRewards.cmdChangeElement (.Arg arg) [0x00000] in <filename unknown>:0 at Oxide.Plugins.ServerRewards.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00000] in <filename unknown>:0 at Oxide.Plugins.CSharpPlugin.InvokeMethod (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 name, System.Object[] args) [0x00000] in <filename unknown>:0

    Getting this one spammed.
     
  10. i need a fix for this.

    [Oxide] 14:35 [Debug] at Oxide.Plugins.ServerRewards+UIElements.DestroyUI (.BasePlayer player, Oxide.Plugins.OUIData data) [0x00000] in <filename unknown>:0

    at Oxide.Plugins.ServerRewards.DestroyUI (.BasePlayer player) [0x00000] in <filename unknown>:0

    at Oxide.Plugins.ServerRewards.cmdDestroyAll (.Arg arg) [0x00000] in <filename unknown>:0

    at Oxide.Plugins.ServerRewards.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00000] in <filename unknown>:0

    at Oxide.Plugins.CSharpPlugin.InvokeMethod (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 name, System.Object[] args) [0x00000] in <filename unknown>:0


    People are still getting glitched in the Server Rewards store, and they simply cant do anything unless i manually reload the plugin.
     
  11. normal store or npc? post all your data files
     
  12. Normal St0re, The problem is apparently when people hit escape to leave shop, so it takes them to rust menu, then they cant leave store or anything, also if they hit tab to open craft menu, it bugs store so they cant close it with chat or console.
     

    Attached Files:

  13. I am trying to create new rewards NPCs using the /srnpc add command. Everytime I get the message "Could not find an NPC to register." I have reloaded the plugin and am getting no errors in the console. Ideas?
     

    Attached Files:

    • SR1.PNG
      SR1.PNG
      File size:
      1.8 MB
      Views:
      22
  14. try changing the spawn location of the NPC, happens to me too sometimes. /npc spawn new
     
  15. hi, where do i get all the items photo from ?i cant find it on google....
     
  16. Here you go Click me
     
  17. You are both using out of date versions

    Pressing esc or tab whilst in the store changes nothing for me, store still works as intended and menus are hidden underneath the UI. Can't reproduce your error, so I'm gonna need more information
     
  18. [Error] Failed to call hook 'cmdChangeElement' on plugin 'ServerRewards v0.3.27' (KeyNotFoundException: The given key was not present in the dictionary.)
    02:08 [Debug] at System.Collections.Generic.Dictionary`2[System.UInt64,Oxide.Plugins.ServerRewards+OUIData].get_Item (UInt64 key) [0x00000] in <filename unknown>:0
    at Oxide.Plugins.ServerRewards.SwitchElement (.BasePlayer player, ElementType type, Int32 page, System.String npcid) [0x00000] in <filename unknown>:0
    at Oxide.Plugins.ServerRewards.cmdChangeElement (.Arg arg) [0x00000] in <filename unknown>:0
    at Oxide.Plugins.ServerRewards.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00000] in <filename unknown>:0
    at Oxide.Plugins.CSharpPlugin.InvokeMethod (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 name, System.Object[] args) [0x00000] in <filename unknown>:0

    The same error has happened for a few people on my server but they do not get stuck in the menu, maybe for a few seconds and then its fine. They said it was laggy.
     
  19. @k1lly0u , ill try and get my players to redo the store bug, and ill post exactly how they did it and ill update you. thanks.
     
  20. maybe i didnt ask the question properly.
    I need to remove "reward dealer 1" from a map. I know you can do it with the NPC standing there. How do you remove it if there is no NPC standing there?