ServerRewards

Moved

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

5/5, 61 likes
  1. Oh, I'm not challenging or debating.
    I just didn't realise ServerRewards was still capable of giving playtime RP on its own.
    Thanks dude. :)
     
  2. it's not, again, Rewards

    Rewards for Rust | Oxide
     
  3. Oh, I see. My mistake.

    Does that do RP for hours played?
     
  4. Yeh it has a 'for activity' one which I think is an hour, depends on what you set it to, cant remember what mine is right now but its definitely better
     
  5. Ah cool stuff. Looks like a great plug. :)
     
  6. Unofficial fix confirmed working for the most part but spazzes on my local images even though the files are all where they should be, stranger still, 1 out of 113 images works and its in the same folder.

    upload_2016-11-4_5-58-45.png

    upload_2016-11-4_5-42-52.png

    Was working fine before today, here's a pic from a couple weeks back

    [​IMG]

    Guess I'll wait on @k1lly0u who I'm sure is working hard on other plugins, seen so many updates today.

    It also seems like if you remove an item the other items dont shift up on an NPC's loot

    upload_2016-11-4_5-57-45.png
     

    Attached Files:

    Last edited by a moderator: Nov 4, 2016
  7. Code:
    09:17 [Error] ServerRewards plugin failed to compile!
    09:17 [Error] ServerRewards.cs(2341,65): error CS0266: Cannot implicitly convert type `ulong' to `int'. An explicit conversion exists (are you missing a cast?)
    Hey I am not sure if I am first to this question prob not but is there a fix out for this error?
     
  8. k1lly0u updated ServerRewards with a new update entry:

    0.3.5

     
  9. Hi. Please, tell me where to indicate issuance interval RP.
    What is responsible for this line.
    Thanks.
     
  10. [Oxide] 15:52 [Debug] at Oxide.Plugins.ServerRewards.cmdBuyItem (.Arg arg) [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
     
  11. I found a solution to the problem. I did not know what to use in conjunction with another plugin
     
  12. "Points_Time": 2, seems to have been removed from the config?
     
    Last edited by a moderator: Nov 4, 2016
  13. nevermind, a restart seems to have fixed it
     
  14. [Error] Failed to call hook 'OnServerInitialized' on plugin 'ServerRewards v0.3.5' (NullReferenceException: Object reference not set to an instance of an object)
    (18:27:47) | [Oxide] 18:29 [Debug] 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

    i do a restart in few moment maybe solve it? ok back to explain it not work fine the server restat ok no error when load 1st start but when i do /s that make the error and when a player join too :/ is it need to start a new default config files?

    okay recraeate a new config file plugin show when /s but do:
    [Error] Failed to call hook 'cmdStore' on plugin 'ServerRewards v0.3.5' (NullReferenceException: Object reference not set to an instance of an object)
    (20:20:32) | [Oxide] 20:22 [Debug] at Oxide.Plugins.ServerRewards.DisplayPoints (.BasePlayer player) [0x00000] in <filename unknown>:0
    at Oxide.Plugins.ServerRewards.OpenNavMenu (.BasePlayer player, System.String npcid) [0x00000] in <filename unknown>:0
    at Oxide.Plugins.ServerRewards.OpenStore (.BasePlayer player, System.String npcid) [0x00000] in <filename unknown>:0
    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

    i add i cannot show in Exchange tab the count RP exchanged idk how to say...
     
    Last edited by a moderator: Nov 4, 2016
  15. probably going to need to delete your config & data files and reconfigure.
    [DOUBLEPOST=1478293891][/DOUBLEPOST]@k1lly0u

    The Overview page could use an update since some functions were moved to Play Time Tracker ;)
     
  16. I'm having this problem :



    (23:01:59) | [Oxide] 22:01 [Info] ServerRewards was compiled successfully in 1976ms

    (23:01:59) | [Oxide] 22:01 [Info] Loaded plugin ServerRewards v0.3.5 by k1lly0u

    (23:01:59) | [Oxide] 22:01 [Info] [ServerRewards] Creating a new config file

    (23:01:59) | [Oxide] 22:01 [Warning] [ServerRewards] Playtime Tracker could not be found! Unable to monitor user playtime

    (23:01:59) | [Oxide] 22:01 [Warning] [ServerRewards] Creating and storing all UI elements to cache

    (23:01:59) | [Oxide] 22:01 [Error] Failed to call hook 'OnServerInitialized' on plugin 'ServerRewards v0.3.5' (NullReferenceException: Object reference not set to an instance of an object)

    (23:01:59) | [Oxide] 22:01 [Debug] at Oxide.Plugins.ServerRewards.CreateKitsUI () [0x00000] in <filename unknown>:0

    at Oxide.Plugins.ServerRewards.InitializeAllElements () [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

    (23:02:36) | [Oxide] 22:02 [Info] [ServerRewards] Saved player data
     
  17. appearantly i cant get the selling items to work :S any one know why it wont work?
     
  18. in the serverrewards_saleprices.json
    "Enabled": true
     
  19. got it, did not know you need to have the item in your inventory