Looks like it might be an issue with your datafile for the plugin.
ServerRewards
Moved
Total Downloads: 14,033 - First Release: Mar 2, 2016 - Last Update: Jun 9, 2018
- 5/5, 61 likes
-
Wulf Community Admin
-
Thanks! Deleted files, reloaded plugins and it's fine. All except the images but that may just be on my end. Thanks again!
-
hello,
how are you all ,
i want to ask how to get points from invite players to the server?
and how to invite them? -
after i updated the server
the image not shown ?!
before the update it's working perfect ! -
sr add not working
-
@k1lly0u getting this error when people time out
Code:(22:31:06) | [Oxide] 22:31 [Info] [Notifier] NIKO left the server (Reason: Timed Out) (22:31:07) | [Oxide] 22:31 [Error] Failed to run a 1.00 timer in 'ServerRewards v0.2.65' (KeyNotFoundException: The given key was not present in the dictionary.) (22:31:07) | [Oxide] 22:31 [Debug] at System.Collections.Generic.Dictionary`2[System.UInt64,System.Double].get_Item (UInt64 key) [0x00000] in <filename unknown>:0 at Oxide.Plugins.ServerRewards.GetPlaytimeClock (.BasePlayer player) [0x00000] in <filename unknown>:0 at Oxide.Plugins.ServerRewards.DisplayPoints (.BasePlayer player) [0x00000] in <filename unknown>:0 at Oxide.Plugins.ServerRewards+<DisplayPoints>c__AnonStorey1.<>m__0 () [0x00000] in <filename unknown>:0 at Oxide.Core.Libraries.Timer+TimerInstance.FireCallback () [0x00000] in <filename unknown>:0 (22:31:07) | [Oxide] 22:31 [Error] Failed to run a 1.00 timer in 'ServerRewards v0.2.65' (KeyNotFoundException: The given key was not present in the dictionary.) (22:31:07) | [Oxide] 22:31 [Debug] at System.Collections.Generic.Dictionary`2[System.UInt64,System.Double].get_Item (UInt64 key) [0x00000] in <filename unknown>:0 at Oxide.Plugins.ServerRewards.GetPlaytimeClock (.BasePlayer player) [0x00000] in <filename unknown>:0 at Oxide.Plugins.ServerRewards.DisplayPoints (.BasePlayer player) [0x00000] in <filename unknown>:0 at Oxide.Plugins.ServerRewards+<DisplayPoints>c__AnonStorey1.<>m__0 () [0x00000] in <filename unknown>:0 at Oxide.Core.Libraries.Timer+TimerInstance.FireCallback () [0x00000] in <filename unknown>:0
-
is it possible to load your api on lua scripts ?
Last edited by a moderator: Jul 23, 2016 -
> sr check knullrufs
[Oxide] 17:28 [Info] [ServerRewards] [ADMIN] Knullrufs - RP: 0
> sr add knullrufs 100
[Oxide] 17:28 [Info] [ServerRewards] Saved player data
> sr check knullrufs
[Oxide] 17:28 [Info] [ServerRewards] [ADMIN] Knullrufs - RP: 0 -
[Oxide] 17:58 [Info] [ServerRewards] [JeFuGa] DaNeo - RP: 4459
> sr add daneo 100
[Oxide] 17:58 [Info] [ServerRewards] You have given [JeFuGa] DaNeo 100 points
> sr check daneo
[Oxide] 17:58 [Info] [ServerRewards] [JeFuGa] DaNeo - RP: 4559
Error needs to be at you guys
Plugin is working fine -
yeah i just removed all of my files, unloaded it, and then restarted the server and then loaded it, and it worked. thanks
-
After putting a bunch of items in my store, went to check it out and at some point, when i hit next page, it seems to have an error. It still shows the top tabs but that's it.
I have attached my rewards file and config
, as well as a picture of the problem
Attached Files:
Last edited by a moderator: Jul 27, 2016 -
-
-
-
Well I do actually use search but sometimes you are not quite sure what to search on and/or get crap results. I'll go back through and read all the thread. Thanks for the help and direction. I'm happy to know it is user error and not a weird bug.
-
I have only added items through in game commands, except the url's and i haven't added those since the new items have been put in , so it can't be from the URL's
I too will go back and search through
Update: I went through all 33 pages and did not find anything answering my question, sorry if i missed it. Not sure where to go from here. Help would be appreciated. ThanksLast edited by a moderator: Jul 27, 2016 -
If you are added image urls/descriptions it would pay to unload the plugin before making these edits manually. -
Code:
[Oxide] 00:10 [Error] Failed to call hook 'OnPlayerDisconnected' on plugin 'ServerRewards v0.2.63' (KeyNotFoundException: The given key was not present in the dictionary.) [Oxide] 00:10 [Debug] at System.Collections.Generic.Dictionary`2[System.UInt64,Oxide.Plugins.Timer].get_Item (UInt64 key) [0x00000] in <filename unknown>:0 at Oxide.Plugins.ServerRewards.DestroyPlayer (.BasePlayer player) [0x00000] in <filename unknown>:0 at Oxide.Plugins.ServerRewards.OnPlayerDisconnected (.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
-
There are 2 things that will break the data file, both have different errors
1) non-consecutive item numbers (look carefully because even I can't find them sometimes)
2) invalid item short names (check shortnames with the item list found in the docs
Both of these errors are generally caused by manually modifying the data file, copy/pasting is the biggest issue
-
Code:
{ "Disable_Commands": true, "Disable_CurrencyExchange": true, "Disable_CurrencyTransfer": true, "Disable_Items": false, "Disable_Kits": true, "DisableUI_FadeIn": false, "Econ_ExchangeRate": 250, "LogRPTransactions": true, "MSG_Color": "<color=#939393>", "MSG_DisplayEvery": 1, "MSG_MainColor": "<color=orange>", "MSG_OutstandingPoints": true, "NPCDealers_Only": false, "Points_Invites": 3, "Points_Referrals": 2, "Points_Time": 1, "PT_Point_Interval": 60, "RP_ExchangeRate": 1, "Save_Interval": 10, "ShowKitContents": true, "Use_Playtime": true, "Use_Referrals": true }
-
Anyone having issues with adding images? I can't seem to add the images when I do save the file and do the loadimages in rusty the url I put in the file just disappears.