Code:[Oxide] 2:00 AM [Error] Failed to call hook 'MostOnlineCommand' on plugin 'PlayTime' (FormatException: Input string was not in a correct format.) [Oxide] 2:00 AM [Debug] at System.String.FormatHelper (System.Text.StringBuilder result, IFormatProvider provider, System.String format, System.Object[] args) [0x00000] in <filename unknown>:0 at System.String.Format (IFormatProvider provider, System.String format, System.Object[] args) [0x00000] in <filename unknown>:0 at System.String.Format (System.String format, System.Object[] args) [0x00000] in <filename unknown>:0 at Oxide.Plugins.RustPlugin.PrintToChat (.BasePlayer player, System.String format, System.Object[] args) [0x00000] in <filename unknown>:0 at Oxide.Plugins.RustPlugin.SendReply (.BasePlayer player, System.String format, System.Object[] args) [0x00000] in <filename unknown>:0 at Oxide.Plugins.PlayTime.MostOnlineCommand (.BasePlayer player, System.String command, System.String[] args) [0x00000] in <filename unknown>:0 at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (object,object[],System.Exception&) at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in <filename unknown>:0 [Oxide] 2:00 AM [Error] Failed to call hook 'MostOnlineCommand' on plugin 'PlayTime' (FormatException: Input string was not in a correct format.) [Oxide] 2:00 AM [Debug] at System.String.FormatHelper (System.Text.StringBuilder result, IFormatProvider provider, System.String format, System.Object[] args) [0x00000] in <filename unknown>:0 at System.String.Format (IFormatProvider provider, System.String format, System.Object[] args) [0x00000] in <filename unknown>:0 at System.String.Format (System.String format, System.Object[] args) [0x00000] in <filename unknown>:0 at Oxide.Plugins.RustPlugin.PrintToChat (.BasePlayer player, System.String format, System.Object[] args) [0x00000] in <filename unknown>:0 at Oxide.Plugins.RustPlugin.SendReply (.BasePlayer player, System.String format, System.Object[] args) [0x00000] in <filename unknown>:0 at Oxide.Plugins.PlayTime.MostOnlineCommand (.BasePlayer player, System.String command, System.String[] args) [0x00000] in <filename unknown>:0 at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (object,object[],System.Exception&) at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in <filename unknown>:0
PlayTime [Replaced]
Discussion in 'Plugin Support' started by AnExiledGod, Jun 22, 2015.
-
When write /mostonline
Error:
Code:[Oxide] 2:16 PM [Error] Failed to call hook 'MostOnlineCommand' on plugin 'PlayTime' (ArgumentException: An element with the same key already exists in the dictionary.) [Oxide] 2:16 PM [Debug] at System.Collections.Generic.Dictionary`2[System.String,System.Int64].Add (System.String key, Int64 value) [0x00000] in <filename unknown>:0 at Oxide.Plugins.PlayTime.MostOnlineCommand (.BasePlayer player, System.String command, System.String[] args) [0x00000] in <filename unknown>:0 at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (object,object[],System.Exception&) at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in <filename unknown>:0
-
/mostonline don't work for us either.
-
I should be making the rounds on my plugins sometime this week when I can grab some time. Should see some fixes and such then.
-
add a rcon command man
-
We all know that the current solution is outdated and provides consistant error logs. Obviously not healthy for the server. There needs to be a new solution just like the old playtime plugin it should have /playtime /playtime player /mostonline and other features like /playtimetop and maybe even configurable permissions for the top 10.
-
Wulf Community Admin
Why not request the features from the plugin author?
-
-
The plugin works fine as is except for the most online command, and the errors it throws are harmless.
That being said, I do intend to stop development on plugins. Not sure I'll be picking it back up.
I've been busy a lot lately trying to further my career and been playing with Mobile App Development. And when I'm not doing that I'm playing ARK.
If someone wants to help me keep the plugin updated, they are welcome to make a pull request on my github or they can take the project over, modify the plugin how they see fit and relaunch it.
All of my plugins source code can be found here: https://github.com/AnExiledGod/Rust-Oxide-Plugins/tree/master/Published
Also as a note, if you want to take ownership of the project, let me know. Perhaps Wulf can transfer the ownership over to you, that way you don't lose the playerbase the plugins have already established.
Right now I really only update my plugins if they are completely broken as Stack Size Controller was yesterday. If they function almost completely other than harmless errors, they aren't a high priority for me right now. -
i would recommend you to only save on server save (you can't loose data if you only save on server save, because even if the server crashs and doesn't save ... the server didnt save neither so both would rollback) -
Add to when a connection to the server for the first time wrote that the first player on the server!
[DOUBLEPOST=1438366804,1438187251][/DOUBLEPOST]When a player connects to the server the first time!
Error
Code:[Oxide] 8:13 PM [Error] Failed to call hook 'OnPlayerInit' on plugin 'PlayTime' (KeyNotFoundException: The given key was not present in the dictionary.) [Oxide] 8:13 PM [Debug] at System.Collections.Generic.Dictionary`2[System.String,Oxide.Plugins.PlayTime+PlayTimeInfo].get_Item (System.String key) [0x00000] in <filename unknown>:0 at Oxide.Plugins.PlayTime.OnPlayerInit (.BasePlayer player) [0x00000] in <filename unknown>:0 at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (object,object[],System.Exception&) at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in <filename unknown>:0
-
Code:
[Oxide] 12:16 AM [Error] Failed to call hook 'OnPlayerDisconnected' on plugin 'PlayTime' (KeyNotFoundException: The given key was not present in the dictionary.) [Oxide] 12:16 AM [Debug] at System.Collections.Generic.Dictionary`2[System.String,Oxide.Plugins.PlayTime+PlayTimeInfo].get_Item (System.String key) [0x00000] in <filename unknown>:0 at Oxide.Plugins.PlayTime.OnPlayerDisconnected (.BasePlayer player) [0x00000] in <filename unknown>:0 at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (object,object[],System.Exception&) at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in <filename unknown>:0
-
is this normal? we have some hard to track down extra lag
Code:[Oxide] 4:12 PM [Info] [PlayTime] Player already has a PlayTime log. 92.3.130.0:51620/76561198081546247/Projex joined [osx/blabababababbabab] TimeWarning: Net.sv.Cycle took 2.56 seconds (2561ms) [Oxide] 4:12 PM [Info] 1 [Oxide] 4:12 PM [Info] player [Oxide] 4:12 PM [Info] player [Oxide] 4:12 PM [Info] player [Oxide] 4:12 PM [Info] player [Oxide] 4:12 PM [Info] player [Oxide] 4:12 PM [Info] player [Oxide] 4:12 PM [Info] player
-
-
good question
-
its still working just fine for me
-
Doesn't work, throws all kinds of errors about keys not present on connect/disconnects
-
getting this recently ... at
Code:System.Collections.Generic.Dictionary`2[System.String,Oxide.Plugins.PlayTime+PlayTimeInfo].get_Item (System.String key) [0x00000] in <filename unknown>:0 at Oxide.Plugins.PlayTime.OnPlayerInit (.BasePlayer player) [0x00000] in <filename unknown>:0 at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (object,object[],System.Exception&) at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in <filename unknown>:0
Last edited by a moderator: Sep 3, 2015 -
Maybe update?!
-
hello anyone here.