ServerRewards

Moved

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

5/5, 61 likes
  1. I tried that new one. Here is the result:
    Code:
    [Oxide] 16:02 [Error] Failed to run a -907.49 timer in 'ServerRewards v0.2.71' (DirectoryNotFoundException: Could not find a part of the path "C:\sspanel\gameservers\rust\8994\server\“BullzEyeGaming\C:\sspanel\gameservers\rust\8994\server\experimental\oxide\logs\ServerRewards - EarntRP_2016-08-13.txt".)
    [Oxide] 16:02 [Debug]   at System.IO.FileStream..ctor (System.String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, Boolean anonymous, FileOptions options) [0x00000] in <filename unknown>:0
      at System.IO.FileStream..ctor (System.String path, FileMode mode, FileAccess access, FileShare share) [0x00000] in <filename unknown>:0
      at (wrapper remoting-invoke-with-check) System.IO.FileStream:.ctor (string,System.IO.FileMode,System.IO.FileAccess,System.IO.FileShare)
      at System.IO.StreamWriter..ctor (System.String path, Boolean append, System.Text.Encoding encoding, Int32 bufferSize) [0x00000] in <filename unknown>:0
      at System.IO.StreamWriter..ctor (System.String path, Boolean append) [0x00000] in <filename unknown>:0
      at (wrapper remoting-invoke-with-check) System.IO.StreamWriter:.ctor (string,bool)
      at System.IO.File.AppendAllText (System.String path, System.String contents) [0x00000] in <filename unknown>:0
      at ConVar.Server.Log (System.String strFilename, System.String strMessage) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.ServerRewards.AddPoints (UInt64 ID, Int32 amount) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.ServerRewards.CheckForReward (.BasePlayer player) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.ServerRewards.SaveActivePlayer (.BasePlayer player) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.ServerRewards+<ResetTimer>c__AnonStorey2.<>m__0 () [0x00000] in <filename unknown>:0
      at Oxide.Core.Libraries.Timer+TimerInstance.FireCallback () [0x00000] in <filename unknown>:0
    [Oxide] 16:02 [Info] [ServerRewards] Saved reward/permission data
    [Oxide] 16:02 [Info] [Notifier] Last wipe was August 4, 2016
    Saved 68,530 ents, serialization(0.01), write(0.01), disk(0.00) totalstall(0.03).
     
    Last edited by a moderator: Aug 16, 2016
  2. Any one have a serverrewards_rewards.json that is already working with everything added and images working?? Thanks in advance!
     
  3. Yeah, i was wondering the same thing....and is there a decent tutorial video or something. I really want to use this plugin. Without learning how to program like some super wizkid ;-)
     
  4. Its super easy. Just spend some time with it.
     
  5. Try this one
     

    Attached Files:

  6. I got tired of dealing with that server provider. I now have my own dedi box and your plugin works just great, as expected on the dedibox. But this will be helpful for anyone that uses a similar service.
     
  7. I tried that last .cs you put up got this....
    (21:57:20) | InvalidProgramException: Invalid IL code in Oxide.Plugins.ServerRewards/UnityWeb/<WaitForRequest>c__Iterator0:MoveNext (): IL_0000: ldstr "System access is restricted, you are not allowed to use System.IO.Stream"
    [DOUBLEPOST=1471323577][/DOUBLEPOST]well shit rolled it back and got the same error
    [DOUBLEPOST=1471323752][/DOUBLEPOST]log file and last known time of working attached
     

    Attached Files:

  8. None of that stuff has changed. Who is your host? and what OS are you using?
     
  9. Dedicated and Win 10. No problems until i just tried to update and roll back. I restarted server Ill reboot the machine as well to see if something weird is going on with it. Never had a problem before.
    [DOUBLEPOST=1471324672][/DOUBLEPOST]ok reboot no good. I tried pulling the config and reinstalling the plugin and still no good.
     
  10. Best to use windows server 2008 or windows server 2012 with a Dedicated server box personally I rather the 2012 one
     
  11. Seems like other plugins that use this method are starting to have the same issue. Did you update the game at all?
     
  12. Last Thursday. Server reboots everyday at 3. I've been gone dor a couple of days. Did they push one this weekend?
     
  13. dont know, and the problem started happening today?
     
  14. Mughisi is looking into it

    Are you using the latest version of SR? I posted a update for something similar the other day that got changed with the last Rust update
     
  15. I can't get the images to load for any items. I've tried the wiki host but they appear to be blocking static links or something so I then uploaded them all to imgur and linked from there and it still just does nothing when I run loadimages. I get no log output in the oxide log and no console output. I'm hosted on GTX Gaming and everything else seems to run fine and the rest of the plugin is working, just not the images.

    Do you have any idea why this might be the case?

    Love the plugin by the way, very cool :D
     
  16. Upload your serverrewards_rewards.json file from your data\ServerRewards\data folder so it can be checked
     
  17. yeah like a few minuets before my first post about it. I updated the plugin to the latest one, popped the error, posted rolled it back and the error was still there. I have no clue as i am not a programmer. I know about enough to get me into trouble :) and im starting to learn more so i can really eff things up :)
     
  18. Wulf

    Wulf Community Admin

    The error is from Oxide, not this plugin. When you restarted, you likely have Oxide updating which updated to a snapshot, not a release. You'd either need to downgrade to the release or wait for a fixed Oxide build.
     
  19. Crap Ive gotten lazy and have been using Rustide for booting. :) Thanks Wulf. Ill have to figure out an easy way to roll it back and then not have it auto update.