ServerRewards

Moved

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

5/5, 61 likes
  1. yups, when i upload it... still no images came out even after i oxide.relaod ServerRewards and loadimages / loadlocalimages.

    hi guys, and how do i increase the RP point ? i
    },
    "CurrencyExchange": {
    "Econ_ExchangeRate": 1,
    "RP_ExchangeRate": 5 <-----

    and also i have playtime plguins on... its over 1 hrs in server but still RP is 0
     
  2. i think what Maighstir Resistance meant, was uploading it here in your post (Button called 'Upload a File' beside 'Post Reply') ;)

    "CurrencyExchange": {
    "Econ_ExchangeRate": 1,
    "RP_ExchangeRate": 5 <----- This is the config for exchanging the currencies (1 coin is worth 5 rp in this example)
    in the old config there was something like TokenPerTime and a Interval, now i only find
    "Use_PTT": false (/true)
    But i recommend to use Rewards for Rust | Oxide instead, it supports sr and eco, plus it gives you the possibility to award not only the playtime, but also hunting, killing and more, i like it a lot, it works simple and great.
     
    Last edited by a moderator: Oct 15, 2016
  3. ahh... thank you sir !

    btw, how do i reset the RP point to 0? any commands ?
     
  4. Always read the overview of each plugin before posting as 99% of the time your answers can be found there and if you see no command there then it means there is none
     
  5. k1lly0u updated ServerRewards with a new update entry:

    0.3.3

     
  6. Hello,
    Does anyone have a complete fix for this images not appearing issue ? Tried multiple variations until i got part of the images to appear , the one partialy working is the vignette wikia version.
    Did everything correctly reload plugin , loadimages, reload plugin and still not working.

    Some help would be much appreciated.
    Thanks.

    EDIT:
    Problem solved!
    After doing the mentioned procedure i needed to relog after that everything worked fine.
     
    Last edited by a moderator: Oct 16, 2016
  7. What do you mean relog? I can't get images to load either. URL or local. Tried different image sources etc. When I add the URL and save, reloadimages in rcon and then go back to the serverrewards_rewards.json file. the URL is blank again.
     
    Last edited by a moderator: Oct 17, 2016
  8. relog usually means log out and back in as player. even i never had to do that to make sr work. and i dont see why it should do anything, but its no loss to try it, for sure.
    if you want help with any files you need to show them. best would be to upload the file (serverrewards_rewards.json) how you edited it plus the file how it is after you loaded it.
    Usually theres just some little mistake(s), and many people here can find these in a snap :) geniuses all over the place :p
    and anybody can check his json code it with: JSONLint - The JSON Validator.
    a genius showed me that ;)
     
  9. Here is the file that i am using and its working 100%.
     

    Attached Files:

  10. I did just as the instructions said, and created an Icon folder in the ~Oxide/data/ServerRewards directory and added all the .pngs. When I try to add an URL like it specifies, just the file name, it doesn't work when you loadlocalimages, or when you reload ServerRewards. Same thing happens when I move the folder to ~Oxide/data/ServerRewards/data - nothing happens. Same thing happens when I pull the actual website location off the wiki page, and try to reload, or load local, no result. Same thing happens when I save the image, upload it to imgur to get a direct URL - no dice.

    I'm not completely inept, but after trying for an hour to load one image, the plugin is either broken, or I'm not understanding exactly what to do. Can anyone point me in the right direction?

    EDIT: I even added this fellas .json image locations ^^^^^ to my URLs, and it doesn't work.
     
    Last edited by a moderator: Oct 17, 2016
  11. upload that stuff here, so we can look at it, please.
    i never added any icon folder and its working fine. just had to get the serverrewards_rewards.json right.
     
  12. Code:
    [Oxide] 22:45 [Error] Failed to call hook 'OnServerInitialized' on plugin 'ServerRewards v0.2.71' (NullReferenceException: Object reference not set to an instance of an object)
    [Oxide] 22:45 [Debug]   at Oxide.Plugins.ServerRewards.ResetTimer (.BasePlayer player, Boolean logIn) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.ServerRewards.InitPlayerData (.BasePlayer player) [0x00000] in <filename unknown>:0
      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 
    Code:
    [Oxide] 22:45 [Error] Failed to call hook 'OnPlayerDisconnected' on plugin 'ServerRewards v0.2.71' (NullReferenceException: Object reference not set to an instance of an object)
    [Oxide] 22:45 [Debug]   at Oxide.Plugins.ServerRewards.SavePlayersData (.BasePlayer player) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.ServerRewards.DestroyPlayer (.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 
    Code:
    [Oxide] 22:46 [Error] Failed to call hook 'AddPoints' on plugin 'ServerRewards v0.2.71' (NullReferenceException: Object reference not set to an instance of an object)
    [Oxide] 22:46 [Debug]   at Oxide.Plugins.ServerRewards.AddPoints (UInt64 ID, Int32 amount) [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:
    [Oxide] 22:43 [Error] Failed to call hook 'cmdStore' on plugin 'ServerRewards v0.3.3' (NullReferenceException: Object reference not set to an instance of an object)
    [Oxide] 22:43 [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 
    Code:
    [Oxide] 22:43 [Error] Failed to call hook 'OnPlayerInit' on plugin 'ServerRewards v0.3.3' (NullReferenceException: Object reference not set to an instance of an object)
    [Oxide] 22:43 [Debug]   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 
    [DOUBLEPOST=1476740686][/DOUBLEPOST]Sorry about the spam, I'm getting these errors
     
  13. Here it is

    I tried starting over completely, removing everything, "re loggging" even though that has nothing to do with this, (along with standing on my left foot, throwing salt over my right shoulder, and winking while spitting, etc) nothing seems to do the trick in getting an icon to come up for the item.
     

    Attached Files:

    Last edited by a moderator: Oct 17, 2016
  14. Test this after uploading reload the plugin in rcon then use the loadimages command
     

    Attached Files:

  15. Thanks Trusty! json file is attached. Tried JSONLint and it didn't find any errors either. After I save the file, loadimages and open the JSON again all the "URL" lines are blank again with "".

    I also just tried your JSON, literally copied and pasted it to mine and the same thing happened. When I opened the JSON file again it was back to the old JSON.
     

    Attached Files:

    Last edited by a moderator: Oct 18, 2016
  16. You'rs loads, I save it, it stays, nothing changes my friend. Still a question mark in game. Reset the server because it's low pop at the moment, and still nothing.
     
  17. Your file works for me so not sure why its not working for you
     
  18. Thank you sir - it's alright, I certainly do appreciate your time. We are doing a complete wipe on Thursday, hopefully getting all these other funky bugs out of our system. Making us reinstall Rust and Oxide hopefully fixes this issue as well. I'll be sure to try your .json first ;) Take it easy.
     
  19. What did i say, some little mistake :p the urls need to end on the file type (.npg)
    You did:
    http://vignette3.wikia.nocookie.net...est/scale-to-width-down/100?cb=20151106071621
    this works:
    http://vignette3.wikia.nocookie.net/play-rust/images/2/24/Supply_Signal_icon.png
     
  20. The way you have the url in the file you uploaded is correct you just need to run the loadimages in rcon