Reneb submitted a new resource:
Player Informations - Stores player IPs , usernames, positions, last seen, first connection ...
Read more about this resource...
Player Informations [Replaced]
Discussion in 'Plugin Support' started by Reneb, Dec 7, 2015.
-
Getting errors when players join and leave
Code:[Oxide] 11:39 PM [Error] Failed to call hook 'OnPlayerConnected' on plugin 'PlayerInformations v1.0.0' (NullReferenceException: Object reference not set to an instance of an object)[Oxide] 11:39 PM [Debug] at Oxide.Plugins.PlayerInformations.RecordIP (NetworkPlayer netPlayer, .PlayerIdentity player) [0x00000] in <filename unknown>:0 at Oxide.Plugins.PlayerInformations.OnPlayerConnected (.PlayerIdentity player, NetworkPlayer netPlayer) [0x00000] in <filename unknown>:0 at Oxide.Plugins.PlayerInformations.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00000] in <filename unknown>:0 at Oxide.Plugins.CSharpPlugin.InvokeMethod (System.Reflection.MethodInfo 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 hookname, System.Object[] args) [0x00000] in <filename unknown>:0
-
Wulf Community Admin
There's also an error on Unload:
Code:[Oxide] 12:43 AM [Error] Failed to call hook 'Unload' on plugin 'PlayerInformations v1.0.0' (NullReferenceException: Object reference not set to an instance ofan object) [Oxide] 12:43 AM [Debug] at Oxide.Plugins.PlayerInformations.EndRecordTime (.PlayerIdentity player) [0x00000] in <filename unknown>:0 at Oxide.Plugins.PlayerInformations.Unload () [0x00000] in <filename unknown>:0 at Oxide.Plugins.PlayerInformations.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00000] in <filename unknown>:0 at Oxide.Plugins.CSharpPlugin.InvokeMethod (System.Reflection.MethodInfo 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 hookname, System.Object[]
-
-
Reneb updated Player Informations with a new update entry:
1.0.1
-
Wulf Community Admin
-
i forgot how to unload a plugin via oxide C# ^^?
-
Wulf Community Admin
-
why dont you make something like on the forum:
For required reference
Code:[PluginReferenceRequired] Plugin PlayerDatabase;
Code:[PluginReference] Plugin PlayerDatabase;
-
not work
-
My error
Attached Files:
-
-
-
Working for me so far, thanks
Added the playerdatabase plus the updateLast edited by a moderator: Dec 13, 2015 -
i'll still fix it! -
Code:
6:36 PM [Error] Failed to call hook 'OnPlayerDisconnected' on plugin 'PlayerInformations v1.0.1' (NullReferenceException: Object reference not set to an instance of an object) 6:36 PM [Debug] at Oxide.Plugins.PlayerInformations.RecordLastSeen (NetworkPlayer netPlayer, .PlayerIdentity player) [0x00000] in <filename unknown>:0 at Oxide.Plugins.PlayerInformations.OnPlayerDisconnected (.PlayerIdentity player, NetworkPlayer netPlayer) [0x00000] in <filename unknown>:0 at Oxide.Plugins.PlayerInformations.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00000] in <filename unknown>:0 at Oxide.Plugins.CSharpPlugin.InvokeMethod (System.Reflection.MethodInfo 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 hookname, System.Object[] args) [0x00000] in <filename unknown>:0
also tested the plugin with default configs to see if the problem was some change that i had made but it was not
-
don't worry this is a harmless error.
most likely the player just connected/disconnected instantly.
[DOUBLEPOST=1450052883][/DOUBLEPOST]unless you are telling me it is spamming. -
/played isnt working for me.
Says the player doesnt have any playtime recorded. -
you need to wait for the plugin to load.
If you try /played right after starting the plugin you wont get any record. The best moment to install the plugin is on wipe to record all players. -
I did it during a wipe. All the other commands are working fine but /played wont for some reason.