ServerRewards

Moved

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

5/5, 61 likes
  1. i ment to remember, how it didnt work for me, until i removed the /blabla after the.png. was maybe a different plugin.
    ofc, the loadimages is a must do 'reload ServerRewards' -> 'loadimages' after any change with urls
    never mind then Drek, always listen to Resistance first :p
     
  2. I uploaded his file on my test server and it works I know some seem to be having problems so until someone works out what is causing it they will have to live with it if you found a way that it works for you then keep on using it
     
  3. Trusty I load your json
    and Yes Worked now, Items are loaded
    and I ran the loadimages by rcon
    but...
    Images appear Only on Second and the rest of pages,
    On the First page the images are White Rectangles. I dont know why... I must do something more?
     
  4. that one with the salt worked fine for me! ;)
    [DOUBLEPOST=1476783940][/DOUBLEPOST]
    what i did:
    1. edit serverrewards_rewards.json correctly
    2. override the serverrewards_rewards.json in oxide/data/ServerRewards/.. folder on the server
    3. type in rcon console: 'reload ServerRewards' and 'loadimages'

    additional tipps if this doesnt work:
    -relog
    -throw salt
    -pray
     
    Last edited by a moderator: Oct 18, 2016

  5. LOL
    I just relogged 1 time and Charge the half of the images
    I think that Are slow on charge only
    in some hours maybe this will be fixed alone

    Thanks for your help Trusty you are awesome

    Can be possible to take the items on subcategories?
    just for better arrangment on the item list

    ---
    Currently all the images are loaded correctly
     
    Last edited by a moderator: Oct 18, 2016
  6. [Oxide] 19:22 [Error] ServerRewards.cs(1365,48): error CS1929: Type `Oxide.Core.Libraries.Covalence.IPlayerManager' does not contain a member `GetPlayer' and the best extension method overload `UnityEngine.ArgEx.GetPlayer(this ConsoleSystem.Arg, int)' requires an instance of type `ConsoleSystem.Arg'

    What can I do to fix this?
     
  7. did the plugin load? did something cause the error while it was running?
    try to set your errors in some context, maybe add the files you are using, check the version, etc.
     
  8. I updated the plugin and then this error message popped up. So I tried going back to the older version that I was using and then this popped up again. So idk what is wrong.
     
  9. did you try to delete everything and load the new version from scratch?
    ofc you would lose (delete) cfg and data too, but if you make backups of it, you can just copy-paste most content to the new files, after installing SR new.
    the problem seems to be somewhere on your side, since for me and most people the new version is working fine.
     
  10. Same problem and error message here like Skullman has. ServerRewards won´t load since today. Used my backup from yesterday. Replaced the complete oxide folder with the backup. Doesn´t work. I have no clue what this error message wants to tell me.
     
  11. Now getting this error
    [Oxide] 00:06 [Error] Failed to call hook 'OnPlayerInit' on plugin 'ServerRewards v0.3.3' (NullReferenceException: Object reference not set to an instance of an object)
    [Oxide] 00:06 [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
     
  12. Have the same error
    and REWARDS is telling me that SERVERREWARDS is not present :/
     
  13. seems to turn into a major problem :p
     
  14. After wiping the machine, reinstalling Rust remotely, and setting up our server on less plugins it still doesn't work. We're optimized, and there are no bugs or errors on RCON anymore - but this plugin simply refuses to load images. We used your config file too, nothing so far.
     
  15. Hello

    Can you make a sell option ?

    GUI Shop is perfect for that, but if we want to use only Serverrewards we need a sell option ;)

    (And a broadcast for playtimeTracker for know when and how much players win)
    [DOUBLEPOST=1476952863][/DOUBLEPOST]
    IDK if it can help but, try to do (In a RCON console type "loadimages" or "loadlocalimages") few times..

    Reload server rewards, do loadimages or loadlocalimages 2 or 3 times, and disconnect reconnect your client and check
     
    Last edited by a moderator: Oct 20, 2016
  16. Thank you for helping me, I feel like such a complete fool. I went over what Resistance said, time and again, knowing I'm missing the smallest detail somewhere, and when you said "loadimages" I realized I've been typing "loadlocalimages," even AFTER Resistance specifically stated in his response with a new .json URL "loadimages." So that's where I went south, and now, using MY OWN imgur images, as long as it's a direct link on the web - it works just fine. Cut and paste the URLs to the data file, then type in RCON "reload ServerRewards," (or it reverts to a previous state for some reason) then "loadimages," and finally, one more "reload ServerRewards," and they all show up!

    Thank you folks, this community rocks.
     
  17. Many people when reading a post only have a quick look over it but dont really read but dont worry many do the same
     
  18. new update, latest oxide, etc

    [Error] Failed to call hook 'AddPoints' on plugin 'ServerRewards v0.3.31' (NullReferenceException: Object reference not set to an instance of an object)

    (23:32:28) | [Oxide] 23:32 [Debug] at Oxide.Plugins.ServerRewards.AddPoints (System.Object userID, 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
     
  19. What is your oxide build