ServerRewards

Moved

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

5/5, 61 likes
  1. Try reloading the plugin? I noticed sometins it takes a moment for the GUI to update to reflect things
     
  2. Anyone have a fix for stuck UI after exiting the store?

    Either the top grey bar stays or the playtime bar/RP points stays
     
    Last edited by a moderator: Sep 13, 2016
  3. Hell of a lot of items to add, anyone got an item config file with everything pointing to that Rust wiki I could nab? Would save some time. thanks
     
  4. I did

    /rewards permission add vip1 30

    and got

    (23:24:29) | Permission 'serverrewards.vip1' doesn't exist

    Got no error in chat or console.

    So I went and looked at Playtime Tracker and did /ptt add <permission> <multiplier> and it worked.
     
  5. Having an issue when trying to assign loot to npcs using "/srnpc loot", basically it'll asign the loot but when you goto the npc it muddles up all the items. It'll take the name of the intended item but list the cost and image of the normal store item and if you click buy it'll just buy what would usually be in the store rather than what was assigned to the npc.

    I've reinstalled the mod fully a few times and cant seem to solve the issue (gone through all the oxide folders and deleted everything to do with ServerRewards)

    20160914143029_1.jpg 20160914143052_1.jpg
     
  6. Is there a error in console when it happens?
    All that shit was removed from this, now this is solely the store and currency handler.

    I'm surprised I didn't notice that earlier :p Ill post a fix soon
     
  7. k1lly0u updated ServerRewards with a new update entry:

    0.3.2

     
  8. Thanks!!
     
  9. Hello,
    After updating from 0.3.0 to 0.3.2 I am seeing some errors -


    (16:17:54) | [Oxide] 16:17 [Info] Loaded plugin ServerRewards v0.3.2 by k1lly0u
    (16:17:54) | [Oxide] 16:17 [Error] Failed to call hook 'OnServerInitialized' on plugin 'ServerRewards v0.3.2' (NullReferenceException: Object reference not set to an instance of an object)
    (16:17:54) | [Oxide] 16:17 [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
     
  10. A good idea, but would require a pretty major rework so not at this stage unfortunately. I am extremely busy atm and am trying to spread my time around where its needed most
    Probably a config error. Delete it and reload
     
  11. exchange does not work
     
  12. Безымянный.png
    [DOUBLEPOST=1473836414][/DOUBLEPOST]what could be the problem?
     
  13. It tells you right there can you really not see
     
  14. It can not be exchanged Economic ----> RP
     
  15. If you look at the screenshot it tells you what the problem is
     
  16. k1lly0u updated ServerRewards with a new update entry:

    0.3.21


    [DOUBLEPOST=1473842739][/DOUBLEPOST]
    It was because he had no saved data, I missed it when I wrote the update :p
     
  17. thank you very much. work
     
  18. [Oxide] 15:45 [Error] Failed to call hook 'cmdBuyItem' on plugin 'ServerRewards v0.3.21' (NullReferenceException: Object reference not set to an instance of an object)
    [Oxide] 15:45 [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
    [DOUBLEPOST=1473864271][/DOUBLEPOST][Oxide] 15:46 [Error] Failed to call hook 'OnServerInitialized' on plugin 'ServerRewards v0.3.21' (NullReferenceException: Object reference not set to an instance of an object)
    [Oxide] 15:46 [Debug] 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