ServerRewards

Moved

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

5/5, 61 likes
  1. I reload firts the plugin and later the images, if you load images and plugin, not work (in my case)
     
  2. Fujikura fix works with Rewards plugin.
     
  3. Can anyone help me? The player data for the player's playtime and points are gone in-game , but i still have the file in the Data folder in the OXIDE folder. are there by any chance to link it back to that data file, so that everyone stil has their point and playtime?
     
  4. after update i have white squares instead images
     
  5. How old a version were you using? Data directory got changed a few updates ago. Unload the plugin and move the data file to 'oxide/data/ServerRewards/data'
     
  6. K11Y04 u didnt fix the white squares.
     
  7. Did you read the patch notes?
     
  8. so i put a link it will give me all images? but where to put it on the config file
     
  9. Oh Ok Now i understand thx man
     
  10. still doing error when im using loadimages

    (19:16:23) | [Oxide] 17:16 [Error] Failed to call hook 'cmdChangeElement' on plugin 'ServerRewards v0.2.63' (KeyNotFoundException: The given key was not present in the dictionary.)

    (19:16:23) | [Oxide] 17:16 [Debug] at System.Collections.Generic.Dictionary`2[System.String,System.Collections.Generic.Dictionary`2[System.Int32,System.UInt32]].get_Item (System.String key) [0x00000] in <filename unknown>:0

    at Oxide.Plugins.ServerRewards.CreateItemEntry (Oxide.Game.Rust.Cui.CuiElementContainer& container, System.String panelName, System.String itemname, Int32 itemnumber, Int32 amount, Int32 number) [0x00000] in <filename unknown>:0

    at Oxide.Plugins.ServerRewards.ItemElement (.BasePlayer player, Int32 page) [0x00000] in <filename unknown>:0

    at Oxide.Plugins.ServerRewards.cmdChangeElement (.Arg arg) [0x00000] in <filename unknown>:0
    UPDATE:
    its bugged. i can still add pictures if u do loadimages and load back the plugin.

    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

    UPDATE:
    I can still load images if u reload the plugin after u do loadimages
     
    Last edited by a moderator: Jul 15, 2016
  11. ahve this in console :(
    Code:
    (18:15:29) | [Oxide] 18:15 [Error] Failed to call hook 'cmdStore' on plugin 'ServerRewards v0.2.63' (KeyNotFoundException: The given key was not present in the dictionary.)
    (18:15:29) | [Oxide] 18:15 [Debug]   at System.Collections.Generic.Dictionary`2[System.String,System.Collections.Generic.Dictionary`2[System.Int32,System.UInt32]].get_Item (System.String key) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.ServerRewards.CreateKitCommandEntry (Oxide.Game.Rust.Cui.CuiElementContainer& container, System.String panelName, System.String name, System.String description, Int32 cost, Int32 number, Boolean kit) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.ServerRewards.KitsElement (.BasePlayer player, Int32 page) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.ServerRewards.OpenStore (.BasePlayer player, Boolean isNPC) [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
    (18:15:38) | [Oxide] 18:15 [Error] Failed to call hook 'cmdChangeElement' on plugin 'ServerRewards v0.2.63' (KeyNotFoundException: The given key was not present in the dictionary.)
    (18:15:38) | [Oxide] 18:15 [Debug]   at System.Collections.Generic.Dictionary`2[System.String,System.Collections.Generic.Dictionary`2[System.Int32,System.UInt32]].get_Item (System.String key) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.ServerRewards.CreateItemEntry (Oxide.Game.Rust.Cui.CuiElementContainer& container, System.String panelName, System.String itemname, Int32 itemnumber, Int32 amount, Int32 number) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.ServerRewards.ItemElement (.BasePlayer player, Int32 page) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.ServerRewards.cmdChangeElement (.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
    (18:15:39) | [Oxide] 18:15 [Error] Failed to call hook 'cmdChangeElement' on plugin 'ServerRewards v0.2.63' (KeyNotFoundException: The given key was not present in the dictionary.)
    (18:15:39) | [Oxide] 18:15 [Debug]   at System.Collections.Generic.Dictionary`2[System.String,System.Collections.Generic.Dictionary`2[System.Int32,System.UInt32]].get_Item (System.String key) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.ServerRewards.CreateKitCommandEntry (Oxide.Game.Rust.Cui.CuiElementContainer& container, System.String panelName, System.String name, System.String description, Int32 cost, Int32 number, Boolean kit) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.ServerRewards.KitsElement (.BasePlayer player, Int32 page) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.ServerRewards.cmdChangeElement (.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
    (18:15:42) | [Oxide] 18:15 [Error] Failed to call hook 'cmdChangeElement' on plugin 'ServerRewards v0.2.63' (KeyNotFoundException: The given key was not present in the dictionary.)
    (18:15:42) | [Oxide] 18:15 [Debug]   at System.Collections.Generic.Dictionary`2[System.String,System.Collections.Generic.Dictionary`2[System.Int32,System.UInt32]].get_Item (System.String key) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.ServerRewards.CreateItemEntry (Oxide.Game.Rust.Cui.CuiElementContainer& container, System.String panelName, System.String itemname, Int32 itemnumber, Int32 amount, Int32 number) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.ServerRewards.ItemElement (.BasePlayer player, Int32 page) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.ServerRewards.cmdChangeElement (.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
    (18:15:43) | [Oxide] 18:15 [Error] Failed to call hook 'cmdChangeElement' on plugin 'ServerRewards v0.2.63' (KeyNotFoundException: The given key was not present in the dictionary.)
    (18:15:43) | [Oxide] 18:15 [Debug]   at System.Collections.Generic.Dictionary`2[System.String,System.Collections.Generic.Dictionary`2[System.Int32,System.UInt32]].get_Item (System.String key) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.ServerRewards.CreateKitCommandEntry (Oxide.Game.Rust.Cui.CuiElementContainer& container, System.String panelName, System.String name, System.String description, Int32 cost, Int32 number, Boolean kit) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.ServerRewards.KitsElement (.BasePlayer player, Int32 page) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.ServerRewards.cmdChangeElement (.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
    i have all images ending .png or jpg, well mostly png
     
  12. Disregard, figured it out.
     
  13. can i change the name of the NPC dealer?
     
  14. I cannot get images to work. I have tried every method.
    I either get the white ? box with no images..
    If I do "loadimages" then I get blank screen, no kits, no items..
     
  15. you need to upload your file from the data folder so it can be checked
     
  16. "RewardItems": {
    "0": {
    "DisplayName": "Hatchet",
    "URL": "",
    "ID": 698310895,
    "Amount": 1,
    "Skin": 0,
    "Cost": 250
    },

    If I add anything in URL. and reload the plugin and do loadimages.. then I get blank screen on the items page..
    If I leave it blank, I have the white ? Image
     
  17. You need to upload the file not paste a very small part of it I was going to fix it but going to bed soon so you have a few mins at most
     
  18. Thats where I have it now. as images not working.
     

    Attached Files: