ServerRewards

Moved

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

5/5, 61 likes
  1. Thank you for your patience!!!
     
  2. Any plans on a faster way to convert econ to rp faster
     
  3. k1lly0u updated ServerRewards with a new update entry:

    0.2.4

     
  4. This is not working, all points and playtime has been reset on every reload of the plugin.
     
  5. Did you move the data files?
    EDIT: Confirmed working provided you follow the instructions in the patch notes
     
    Last edited by a moderator: Jun 26, 2016
  6. k1lly0u updated ServerRewards with a new update entry:

    0.2.41

     
  7. Hi yep followed instructions a few times and still the points and play time have reset.

    If i upload my old players serverrewards_players.json file it don't save, even if i edit the file with old player details it still will not save when uploaded?
     
  8. You need to unload the plugin before making changes to datafiles
     
  9. ok thanks i will give it a try now.
     
  10. Never had server rewards on this server before, first time installing it, after I installed it I created an npc and did /srnpc add. And now I get this error every time I try to interact with the npc. I've tried uninstalling and deleting all config and data files, I reinstall and then connect again but I still get the same error. Same goes for using /s.

    Code:
    [Oxide] 10:11 [Error] Failed to call hook 'OnUseNPC' on plugin 'ServerRewards v0.2.41' (KeyNotFoundException: The given key was not present in the dictionary.)
    [Oxide] 10:11 [Debug]   at System.Collections.Generic.Dictionary`2[System.UInt64,System.Double].get_Item (UInt64 key) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.ServerRewards.SavePlayersData (.BasePlayer player) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.ServerRewards.OpenStore (.BasePlayer player, Boolean isNPC) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.ServerRewards.OnUseNPC (.BasePlayer npc, .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 
     
  11. all works perfectly
     
  12. xvv

    xvv

    I like how the LustyMap coordinates are no longer visible on the /s page : )
     
  13. edit: misread, post or send me your data files
     
    Last edited by a moderator: Jun 27, 2016
  14. Still getting errors when I use /s, or even interact with NPC's. It only seems to happen when I enable NPCDealers_Only: true in the config file.


    Code:
    [Oxide] 17:12 [Error] Failed to call hook 'cmdStore' on plugin 'ServerRewards v0.2.41' (KeyNotFoundException: The given key was not present in the dictionary.)
    [Oxide] 17:12 [Debug]   at System.Collections.Generic.Dictionary`2[System.UInt64,System.Double].get_Item (UInt64 key) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.ServerRewards.SavePlayersData (.BasePlayer player) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.ServerRewards.OpenStore (.BasePlayer player, Boolean isNPC) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.ServerRewards.cmdStore (.BasePlayer player, System.String command, System.String[] args) [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
    
     
  15. Attached Files:

  16. Hi
    I got the same, unload , reload plugin dont help.
    When i put my old file players serverrewards_players.json (36KB data) to the data directory, i reload plugin then i got players serverrewards_players.json with only 2KB data.
     
  17. Unload before copying the file across to the new folder, then load the plugin. The plugin has a auto save feature when it is unloaded, so if you copy the file without unloading it will override the file with what ever data is loaded in the memory
     
  18. Man... you save my private house raid from my angry players;)
    Thanks work!
     
  19. Nice :D
     
  20. Suggestion K1lly0u, Images for kits as well?