ServerRewards

Moved

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

5/5, 61 likes
  1. Some players on my server lose money, am I the only one or other players encounter the same problem?
     
  2. Just use SDonate. It will run commands.
     
  3. Wulf

    Wulf Community Admin

    Lose money for what?
     
  4. When the player connects he notices that he no longer has any money, he returns to zero
     
  5. Wulf

    Wulf Community Admin

    Is this after the server has restarted?
     
  6. Yes every day at 6am
    And I have the impression that it is because of the reboot that the players lose the money
     
  7. Wulf

    Wulf Community Admin

    Which version of the plugin are you using? Have you checked your oxide/data/ServerRewards/player_data.json to see what it has?
     
  8. I use the latest oxide version, and indeed the players are well listed in the list but some players after the reboot are deleted or reset generally the day after.
     
  9. Wulf

    Wulf Community Admin

    Version of the plugin, not Oxide.
     
  10. Wulf

    Wulf Community Admin

    Have you checked your oxide/data/ServerRewards/player_data.json to see what it has in it?
     
  11. Code:
    {
      "playerRP": {
        "76561198014027050": 1702,
        "76561197999712217": 708,
        "76561198073092523": 863,
        "76561197990233749": 886,
        "76561198025894511": 1323,
        "76561198140483043": 407,
        "76561198351955457": 240,
        "76561198111638793": 2112,
        "76561198245884434": 564,
        "76561198357947314": 250,
        "76561198120210730": 707,
        "76561198069802120": 618,
        "76561198269539170": 413,
        "76561198103635642": 300,
        "76561198256694191": 525,
        "76561198254389478": 620,
        "76561198002986843": 360,
        "76561198212951117": 114,
        "76561198093502925": 400,
        "76561198036214813": 528,
        "76561198080552166": 1078,
        "76561198191889535": 581,
        "76561197993370364": 1535,
        "76561198061178364": 1237,
        "76561198166038108": 440,
        "76561198145352985": 480,
        "76561198285841650": 170,
        "76561198368360023": 1702,
        "76561198268918244": 295,
        "76561198194867170": 335,
        "76561198287176654": 195,
        "76561198274146898": 480,
        "76561198252969422": 131,
        "76561198086709402": 170,
        "76561198121888961": 310,
        "76561197983538260": 400,
        "76561198242150552": 1079,
        "76561198120720211": 250,
        "76561198156736250": 147,
        "76561197966382215": 115,
        "76561198041781796": 120,
        "76561198096559054": 301,
        "76561198253317245": 298,
        "76561198021406073": 100,
        "76561198240508786": 150,
        "76561197982961540": 150,
        "76561198030291472": 200,
        "76561198164931892": 818,
        "76561198122698847": 170,
        "76561198321166345": 285,
        "76561198238971458": 1409,
        "76561198388249508": 331,
        "76561198089193295": 140,
        "76561198191840282": 318,
        "76561198079863391": 50,
        "76561197991706225": 250,
        "76561198109972737": 280,
        "76561198141607691": 250,
        "76561198081066521": 150,
        "76561198006391587": 170,
        "76561198120474107": 80,
        "76561198202113969": 162,
        "76561198303433504": 860,
        "76561198067339529": 225,
        "76561198263733847": 200,
        "76561198082813943": 453,
        "76561198117306692": 615,
        "76561198166352701": 250,
        "76561198229910620": 60,
        "76561198137293583": 245,
        "76561198134853253": 73,
        "76561198238261216": -5,
        "76561198003529329": 100,
        "76561198369702718": 50,
        "76561198069799054": 150,
        "76561198028309407": 93,
        "76561198132208411": 579,
        "76561198286420354": 175,
        "76561198204683460": -15,
        "76561197990161611": 50,
        "76561198197915815": 50,
        "76561198160590284": 80,
        "76561198323609950": 50
      }
    }
     
  12. [ServerRewards] Waiting for ImageLibrary to finish image processing!
     
  13. JMJ

    JMJ

    Wulf, maybe you can answer my question. Been trying to figure this out for some time now. Is it possible to sell a permission with this plugin? I would just like to simply sell the access to other plugins.
     
  14. i have the same problem after doing the new update all players have 0 RP and in the datafile there are only 30 players but there has to be much more!
     
  15. This has been my problem for 2 weeks - keep getting told to get bent and it's not their problem.
     
  16. Hi, I'm getting

    "
    Failed to call hook 'Unload' on plugin 'ServerRewards v0.4.41' (NullReferenceException: Object reference not set to an instance of an object)

    at Oxide.Plugins.ServerRewards.SaveRP () [0x00000] in :0 at Oxide.Plugins.ServerRewards.Unload () [0x00000] in :0 at Oxide.Plugins.ServerRewards.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00000] in :0 at Oxide.Plugins.CSharpPlugin.InvokeMethod (HookMethod method, System.Object[] args) [0x00000] in :0 at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x00000] in :0 at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00000] in :0

    Unloaded plugin ServerRewards v0.4.41 by k1lly0u

    Loaded plugin ServerRewards v0.4.41 by k1lly0u

    Failed to call hook 'OnServerInitialized' on plugin 'ServerRewards v0.4.41' (NullReferenceException: Object reference not set to an instance of an object)

    at Oxide.Plugins.ServerRewards.LoadVariables () [0x00000] in :0 at Oxide.Plugins.ServerRewards.OnServerInitialized () [0x00000] in :0 at Oxide.Plugins.ServerRewards.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00000] in :0 at Oxide.Plugins.CSharpPlugin.InvokeMethod (HookMethod method, System.Object[] args) [0x00000] in :0 at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x00000] in :0 at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00000] in :0
    "

    Any help please?
     
  17. Looks like I accidentally set the save loop to use minutes but the config is for seconds so by default it saves every 600 minutes. If the server doesn't shutdown properly when restarting (which is the case 90% of the time) it won't save on unload either. You can fix this now by changing the "SaveInterval" in config for a number in minutes (10 or 15 for example) and I'll change the default setting in the next update

    The OnServerInitialized error is because your config is outdated, the Unload error is because a new data file hasn't been created because the plugin is breaking before it loads correctly due the the config error

    If you're having trouble with a plugin why don't you try asking for help from the guy who wrote it...
     
  18. Oh I did - he's on my steam friends - we discussed it all and he has no answers either - I tried all of his uninstall, reinstall, run this command, run that command steps. I still fail to see how you feel you have no burden of support when you REQUIRE the plugin to be used for yours to work. No one around here seems to care about the 1-5% of people having issues, as long as the 95% is fine. Image Library will not download the images. The Image Library update process never completes. I can provide any requested logs or system information to get to the bottom of it.
     
  19. So it would appear I've been able to fix my issue - and as it turns out it was something very simple - type RefreshImages.
    [DOUBLEPOST=1494253951][/DOUBLEPOST]I was wrong - clicking items after typing /s causes client to crash to main menu with - RPC Error in AddUI.

    Failed to call hook 'GetImage' on plugin 'ImageLibrary v1.8.0' (KeyNotFoundException: The given key was not present in the dictionary.)
    at System.Collections.Generic.Dictionary`2[System.String,System.Collections.Generic.Dictionary`2[System.UInt64,System.UInt32]].get_Item (System.String key) [0x00000] in <filename unknown>:0 at Oxide.Plugins.ImageLibrary.GetImage (System.String shortname, UInt64 skin) [0x00000] in <filename unknown>:0 at Oxide.Plugins.ImageLibrary.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 hook, System.Object[] args) [0x00000] in <filename unknown>:0