ServerRewards

Moved

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

5/5, 61 likes
  1. Rak

    Rak

    @k1lly0u how would I be able to add custom images for items now?

    thank you
     
  2. if it's not showing workshop images then likely you have "download workshop images" set to false in the IL config. It needs to be true to get the URLs and skin data for the workshop images, it will only actually download all the images if you have "download when required" set to false
     
  3. solved
     
    Last edited by a moderator: May 14, 2017
  4. Rak

    Rak

    i have custom skins i have created, i'd like to use a custom image url, how would I do that?
     
  5. k1lly0u updated ServerRewards with a new update entry:

    0.4.53

     
  6. Was the ability to receive rp points each hour on the server removed? Its not working for me and I cant find the spot that I used to set it before.
     
  7. How do I change the ammount of RP gained/ hour?
     
  8. Yeah, 8 months ago

    Use PlaytimeTracker to issue RP for time played, there are other alternatives also
     
  9. Failed to call hook 'OnServerInitialized' on plugin 'ServerRewards v0.4.53' (NullReferenceException: Object reference not set to an instance of an object)

    (14:50:50) | at Oxide.Plugins.ServerRewards.CreateAllElements () [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 hook, System.Object[] args) [0x00000] in <filename unknown>:0
     
  10. Rak

    Rak

    delete your config and data
     
    Last edited by a moderator: May 14, 2017
  11. Rak

    Rak

  12. I delete everything and reinstall and still have the same error
     
  13. Anyone can upload own reward_data.json for me?
     
  14. ImageLibrary is a bit weird, you kind of just have to wait and it eventually finds the image, not always though. Custom ones will eventually load in, confirmed with some testing done earlier. It's a shame as it was nice having the ability to do loadimages in ServerRewards and it would all pull down right away. Personally hoping the ability to remove items is improved, having to check every skinid to find the right one so you can either manually add an icon or change the skinid so it'll pull down one that does work is a pain because they're consolidated in the UI but all over the place in the reward_data file.
     
  15. It woulds be great if we could delete skins from the shop the same way as adding them put it in your hands and do /rewards remove item :)
     
  16. (17:42:01) | Failed to call hook 'OnServerInitialized' on plugin 'ServerRewards v0.4.53' (NullReferenceException: Object reference not set to an instance of an object)

    (17:42:01) | at Oxide.Plugins.ServerRewards.CreateAllElements () [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 hook, System.Object[] args) [0x00000] in <filename unknown>:0
     
  17. I saved the data.json files then deleted everything from server rewards then copied the data.json info back (if not you will have to add again anything you changed IE any sales data reward data that you changed or entered , i just copied and pasted it into word then back again ) in and it worked fine this was the only way i got it to work ,i also did this to all my plugins that used image library lustymap ect , i deleted the .cs, .json ,data.json and any lang files i lost only 1 custom image on lusty map so wasnt bothered backing that up
     
  18. nahhh, this would be heaven!

    SERVER REWARDS PERFECTION.png
     
  19. Deleted everything and still getting this one:

    Code:
    (17:47:45) | Error while compiling: ServerRewards.cs(750,137): error CS1525: Unexpected symbol `end-of-file'
     
  20. upload all files I will check them over if you would rather pm them to me I can do that
    File you need to upload in a zip format
    From config folder
    ServerRewards.json

    From data/ServerRewards folder
    sale_data.json
    reward_data.json
    player_data.json
    npc_data.json

    From data/ImageLibrary
    skin_data.json
    image_urls.json
    image_data.json

    From lang/en folder
    ServerRewards.json

    zip these all up and upload them here or I can do it over a pm