[Error] Error while compiling: TopKDR.cs(172,23): error CS0246: The type or namespace name `Player' could not be found. Are you missing `Oxide.Game.Rust.Libraries' using directive?

TopKDR
Kill and death ratio with a top list
Total Downloads: 587 - First Release: Dec 14, 2015 - Last Update: Jul 20, 2018
- 5/5, 3 likes
-
Wombat, you are trying to run it in Rust, however the plugin does not currently work with Reign of Kings. Im getting this error with no other plugins installed.
Code:05:55 [Error] Failed to initialize plugin 'TopKDR v0.3.0' (ArgumentException: An element with the same key already exists in the dictionary.) 05:55 [Stacktrace] at System.Collections.Generic.Dictionary`2[System.String,System.String].Add (System.String key, System.String value) [0x00000] in <filename unknown>:0 at Oxide.Plugins.TopKDR.LoadDefaultMessages () [0x00000] in <filename unknown>:0 at Oxide.Plugins.TopKDR.Loaded () [0x00000] in <filename unknown>:0 at Oxide.Plugins.TopKDR.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.Plugins.CSharpPlugin.HandleAddedToManager (Oxide.Core.Plugins.PluginManager manager) [0x00000] in <filename unknown>:0 05:55 [Info] Unloaded plugin TopKDR v0.3.0 by PaiN
-
@Wulf
I have fixed the above error and got this plugin working again as written and if you want to use it here you can, I know you don't want us to post the entire plugin, so send me a PM and I will give it to you to check out. -
Wulf Community Admin
-
I know it's not yours, I also know you update a lot of plugins that were abandoned, that's why I was willing to help.
-
Wulf Community Admin
-
Here @Wulf
I commented within the code where I made the change, it seems to work as before..Last edited by a moderator: Aug 21, 2017 -
Plugin Dosent Work when type /top or /toplist nothing happend
-
I think this plugin is still broken. Hasn't been updated in a long time.
Last edited by a moderator: Jan 6, 2018 -
Anybody got a fix for this plugin yet? :/
-
-
Question, unrelated to the mod however given that you modded this, any chance you can mod something up to fix death messages?
-
I think Ruby just took over DeathMessages, so an update for that should come out soon
-
Thanks for the update Mordeus I will test this later on my Duels server.
Thing is though I remember when I had this was plugin working (i was the 1 who paid pain to make this plugin) he sent me another plugin to go along with this 1 called Offline Player Names.cs
This plugin made it so every minute or so it'd automatically show the top 5 players in chat as a server message. It was really good. I'll test the Offline Player Names with your updated version tommorow.
If you want I can send you the Offline Player Names Plugin if you want to have a look at it too.
Thanks -
Code:
10:48 [Error] Failed to initialize plugin 'TopKDR v0.4.0' (ArgumentException: An element with the same key already exists in the dictionary.) at System.Collections.Generic.Dictionary`2[System.String,System.String].Add (System.String key, System.String value) [0x00000] in <filename unknown>:0 at Oxide.Plugins.TopKDR.LoadDefaultMessages () [0x00000] in <filename unknown>:0 at Oxide.Plugins.TopKDR.Loaded () [0x00000] in <filename unknown>:0 at Oxide.Plugins.TopKDR.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00000] in <filename unknown>:0 at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.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.Plugins.CSharpPlugin.HandleAddedToManager (Oxide.Core.Plugins.PluginManager manager) [0x00000] in <filename unknown>:0
is there an easy fix for this?Last edited by a moderator: May 7, 2018 -