Working fine over here. thanks
[DOUBLEPOST=1475156332][/DOUBLEPOST]For those having issues, the working solution for loading images is specifically as follows.
Add item
edit config file with image
reload plugin
loadlocalimages or loadimages
reload plugin
If you do it in any different order the images wont show up.
[DOUBLEPOST=1475156373][/DOUBLEPOST]![]()
![]()
ServerRewards
Moved
Total Downloads: 14,033 - First Release: Mar 2, 2016 - Last Update: Jun 9, 2018
- 5/5, 61 likes
-
Permission? no owner id pls
-
I'm having a strange issue lately. I looked back some pages to see if there was a solution but didn't see anything. I am not seeing any reward points avail to use anymore. When I open the /s store the points are not displayed at the bottom and when you try to purchase items nothing happens. The /rewards check also shows nothing. I was curious so I checked the data file that shows player points and it just says "null". I used this plugin for a long time with few issues so maybe I missed something after a recent update. Also I don't get the points for time played or any chat messages letting me know I have unused points. Is this a known issue? If so what can be done to get things repaired? Thanks for any advice!
EDIT: I got it. I just don't remember the playtime tracker being used before so I installed it and reloaded everything. Oh and finally had time to fix my images properly!Last edited by a moderator: Sep 29, 2016 -
[Oxide] 13:26 [Error] Failed to call hook 'cmdStore' on plugin 'ServerRewards v0.3.27' (NullReferenceException: Object reference not set to an instance of an object)
[Oxide] 13:26 [Debug] 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 -
Anyone else not able to accumulate RP points? No points are being added to players. Even when I do an /sr add command and give everyone RP points, no one has any.
Any ideas?
[DOUBLEPOST=1475303582][/DOUBLEPOST]I deleted the ServerRewards data folder, and reloaded the Mod, and it is still not working. It seems as though the Mod is not adding players to the player_data list....anyone else?
[DOUBLEPOST=1475304473][/DOUBLEPOST]Wiped ALL files related to ServerRewards. Did a fresh install of it all. Everything works, except getting RP points, adding command does not work, neither does time. Here is the error I got from logs:
Code:23:40 [Error] Failed to call hook 'ccmdTransferID' on plugin 'ServerRewards v0.3.27' (NullReferenceException: Object reference not set to an instance of an object) 23:40 [Debug] at Oxide.Plugins.ServerRewards.ccmdTransferID (.Arg 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 23:40 [Error] Failed to call hook 'ccmdTransferID' on plugin 'ServerRewards v0.3.27' (NullReferenceException: Object reference not set to an instance of an object) 23:40 [Debug] at Oxide.Plugins.ServerRewards.ccmdTransferID (.Arg 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 23:40 [Error] Failed to call hook 'ccmdTransferID' on plugin 'ServerRewards v0.3.27' (NullReferenceException: Object reference not set to an instance of an object) 23:40 [Debug] at Oxide.Plugins.ServerRewards.ccmdTransferID (.Arg 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
-
-------------------------------------
Last edited by a moderator: Oct 1, 2016 -
-
How i can config this plugin to players earn 1200 rp each hour??
-
Playtime Tracker | Oxide -
hi humble guys. can do help me ?
1)where do i get the standard photo of all items ?
2)when i try to put the url into the .json file. nth appeared. -
Items -
is this working 100% properly for anyone? If so, what other mods are you running in tandem with this one. Could other mods be interfering with RP points and player data for ServerRewards. I badly want to get this working in my server.
-
some one have a icon bundle for this plugin?
-
Phew...that's quiet a list. Might have to think about paring it down a bit...
Looking at some of your earlier posts, you might have a problem with file locations. Check your /oxide/data/ServerRewards/data/serverrewards_rewards.json file for issues. There's a double '/data' in the path. If you've edited it, or the config file check 'em with http://jsonlint.com/ a misplaced comma can kill a plugin.
Code:http://vignette2.wikia.nocookie.net/play-rust/images/d/da/Small_Present_icon.png/revision/latest/scale-to-width-down/100?cb=20151217230749
Code:http://vignette2.wikia.nocookie.net/play-rust/images/d/da/Small_Present_icon.png
Otherwise, you've already got 'em. Got to the application's folder and copy 'em out. On my Windows PC they're under:
Code:D:\Program Files (x86)\SteamLibrary\steamapps\common\Rust\Bundles\items
2) remember when you add the url you have to use "LoadImages" in RCON (Rusty or RustAdmin). Even after that, I end up reloading the plug-in by typing "reload ServerRewards" in RCON.
If that doesn't work, or if you have any questions, let me know.Last edited by a moderator: Oct 2, 2016 -
(17:31:48) | [Oxide] 17:33 [Error] Failed to call hook 'OnPlayerInit' on plugin 'ServerRewards v0.3.27' (NullReferenceException: Object reference not set to an instance of an object)
(17:31:48) | [Oxide] 17:33 [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
at Oxide.Core.Plugins.Plugin.CallHook (System.String name, System.Object[] args) [0x00000] in <filename unknown>:0 -
im using the http://vignette2.wikia.nocookie.net/play-rust/images links, and im still getting nothing but a white picture after following all the steps. am i missing something ?
"URL": "http://vignette3.wikia.nocookie.net/play-rust/images/d/d1/Assault_Rifle_icon.png",
[DOUBLEPOST=1475509879][/DOUBLEPOST]Managed to fix the URL problem.
Now im having a problem with "multiple players found with that name"
And im the only player online/in user file as "Savage" so i cant award RP -
/home/user/serverfiles/server/rust-server/oxide/data/ServerRewards/data ?
If the .json file was messed up, it wouldn't even load the plugin, pretty sure it would just give an error & considering I did an entirely fresh install of the plugin, the only way a .json file would be messed up, is if it the dev incidentally left it that way. But I'll double-check, thanks for the ideas. Plus the Mod seems to know where the filepath to its data files are, because it adds NPC's to the serverrewards_npcids.json file no problem. But it is saving nothing to the serverrewards_players.json file for me. No idea why, its driving me nuts.Last edited by a moderator: Oct 3, 2016 -
-
i just updated the plugin and made my datafile work again: all 137 skinned items
remember to do console command "loadimages" after reloading the pluginAttached Files:
-
-
I'm not getting any errors, but the icons all stopped working at some point today. All we're getting is white boxes.
Anyone else having this problem?