ServerRewards

Moved

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

5/5, 61 likes
  1. What is the command to add images to kits for example ?
     
  2. Code:
    [Oxide] 16:55 [Error] Failed to call hook 'OnServerInitialized' on plugin 'ServerRewards v0.3.0' (NullReferenceException: Object reference not set to an instance of an object)
    [Oxide] 16:55 [Debug]   at Oxide.Plugins.ServerRewards.OnPlayerInit (.BasePlayer player) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.ServerRewards.OnServerInitialized () [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 

    Deleted all old ServerRewards data

    Players dont get reward points, i cant add them manually, but i can open the rewards shop

    /E:

    The command /rewards works,
    but all subsequent commands like /rewards check or /rewards add ... doesnt
     
    Last edited by a moderator: Sep 11, 2016
  3. Also does not show RP balance anywhere anymore with new UI :p
     
  4. [Oxide] 11:52 [Error] Failed to call hook 'cmdStore' on plugin 'ServerRewards v0.3.0' (NullReferenceException: Object reference not set to an instance of an object)
    [Oxide] 11:52 [Debug] 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

    Constant spam in console
     
  5. Cant seem to add custom permissions anymore, did you remove this feature in the new update?
     
  6. How to select the amount of rp I want to give the player, for example every 1 hour ----- example that one hour will be playing 2 rp
     
  7. You have to do this with the Playtime Plugin, but it doesnt work for me
     
  8. for example if I want every time you 1 rp serious:
    "RewardSystem": {
    "Hurtworld_Economy": true,
    "Points": {
    "Playtime_Points": 1,
    "Playtime_PointTimer": 1800,
    "Referral_InvitePoints": 3,
    "Referral_JoinPoints": 3
    [DOUBLEPOST=1473628991][/DOUBLEPOST]
    por ejemplo, si quiero que cada vez que 1 rp seria:
    "RewardSystem": {
    "Hurtworld_Economy": true,
    "Puntos": {
    "Playtime_Points": 1,
    "Playtime_PointTimer": 1800,
    "Referral_InvitePoints": 3,
    "Referral_JoinPoints": 3
     
  9. im not portuguese, and i know how to configure it, but its just dont work, like many other thinks with the new version.
    i restarted to use the old version
     
  10. If your getting OnServerInitialized errors then most likely you didn't delete your old config. I made that pretty clear in the patch notes, it's the bold red writing at the very top....
     
  11. Forget it.. I started it over.

    Trying to make the data work with the new setup is painful and should maybe be better explained.
     
    Last edited by a moderator: Sep 12, 2016
  12. Confirmed that the points aren't being paid out based on time from PTT.
     
  13. is there a way to give all players RP? or do i have to do one by one?
     
  14. No way to see how many RP points you have now. /rewards check doesn't work and neither does /sr playername. Vendor also does not display your total points. I had deleted my config file, then I installed the new update of the mod, and reloaded it and it created its own new config file and i'm still getting the following errors. Was I supposed to delete my data as well?
    Code:
    19:00 [Error] Failed to call hook 'OnServerInitialized' on plugin 'ServerRewards v0.3.0' (NullReferenceException: Object reference not set to an instance of an object)
    19:00 [Debug]   at Oxide.Plugins.ServerRewards.OnPlayerInit (.BasePlayer player) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.ServerRewards.OnServerInitialized () [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
    19:00 [Info] [MagicDescription] Server description updated!
    19:00 [Info] [ServerRewards] Saved reward data
    19:00 [Error] Failed to call hook 'OnUseNPC' on plugin 'ServerRewards v0.3.0' (NullReferenceException: Object reference not set to an instance of an object)
    19:00 [Debug]   at Oxide.Plugins.ServerRewards.DisplayPoints (.BasePlayer player) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.ServerRewards.OpenNavMenu (.BasePlayer player, System.String npcid) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.ServerRewards.OpenStore (.BasePlayer player, System.String npcid) [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
    19:00 [Error] Failed to call hook 'cmdRewards' on plugin 'ServerRewards v0.3.0' (NullReferenceException: Object reference not set to an instance of an object)
    19:00 [Debug]   at Oxide.Plugins.ServerRewards.cmdRewards (.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
    
     
    Last edited by a moderator: Sep 12, 2016
  15. I had to load PTT first, turn off hurtworld, reload it. THEN do a fresh install of Server Rewards, and it seems to be working now.
     
  16. image load not working...
     
  17. Any chance you can hook in to info panel with their API to put balance on there?
     
  18. Ill add a add a command to do so
    Might have to delete you data files. You can restore the player data by using the converter I posted on the last page
    I will have a look
    The code for the hurtworld stuff won't even run if its not a hurtworld server, and reinstalling SR would have no effect since the only link between the 2 is when it gives RP. If anything all you had to do was reload PTT, since it auto-disables the reward system if it can't find a valid reward plugin.
     
  19. my asking answer plz!
     
  20. k1lly0u updated ServerRewards with a new update entry:

    0.3.1