@Pho3niX90 how can be error NRE in OnPlayerDisconnect ? )
error: player = null
you think it's the plugin trouble ?
error: player = null
you think it's the plugin trouble ?
Failed to call hook 'OnPlayerInit' on plugin 'Trade v1.2.41' (NullReferenceException: Object reference not set to an instance of an object)
at Oxide.Plugins.Trade.OnPlayerInit (BasePlayer player) [0x0000c] in <704865f26f854613947229ad240cbc33>:0
at Oxide.Plugins.Trade.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00853] in <704865f26f854613947229ad240cbc33>:0
at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <33f7c42a56934dae8ec04b11017dce31>:0
at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <33287985591c40d6983f0b8f0e915565>:0
at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <33287985591c40d6983f0b8f0e915565>:0 It isn't an issue with the plugin, which is why it is taged as such.harland555
Error still exists, on latest branch, *is a issue*
Merged postFailed to call hook 'OnPlayerInit' on plugin 'Trade v1.2.41' (NullReferenceException: Object reference not set to an instance of an object) at Oxide.Plugins.Trade.OnPlayerInit (BasePlayer player) [0x0000c] in <704865f26f854613947229ad240cbc33>:0 at Oxide.Plugins.Trade.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00853] in <704865f26f854613947229ad240cbc33>:0 at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <33f7c42a56934dae8ec04b11017dce31>:0 at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <33287985591c40d6983f0b8f0e915565>:0 at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <33287985591c40d6983f0b8f0e915565>:0
Heres an example of Trade showing the error:
ExType: TargetInvocationException
Failed to call hook 'OnPlayerInit' on plugin 'Trade v1.2.41' (ArgumentException: An item with the same key has already been added. Key: [God] Mrbytedk) at System.Collections.Generic.Dictionary`2[TKey,TValue].TryInsert (TKey key, TValue value, System.Collections.Generic.InsertionBehavior behavior) [0x000c1] in :0
at System.Collections.Generic.Dictionary`2[TKey,TValue].Add (TKey key, TValue value) [0x00000] in :0
at Oxide.Plugins.Hash`2[TKey,TValue].Add (TKey key, TValue value) [0x00000] in <33f7c42a56934dae8ec04b11017dce31>:0
at (wrapper managed-to-native) System.Reflection.MonoMethod.InternalInvoke(System.Reflection.MonoMethod,object,object[],System.Exception&) at System.Reflection.MonoMethod.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00032] in :0But the error is the same if you have a blank method.
Failed to call hook 'OnPlayerInit' on plugin 'Trade v1.2.41' (ArgumentException: An item with the same key has already been added. AVOCoder
@Pho3niX90 how can be error NRE in OnPlayerDisconnect ? )
error: player = null
you think it's the plugin trouble ?
Well partially yes I do. Since BasePlayer can be null, you should do checks, this scenario is a prime example.
In the 1/10000 chance that happens; very unlikely.Pho3niX90Well partially yes I do. Since BasePlayer can be null, you should do checks, this scenario is a prime example.
mediatomcat
Hi Wulf,
My server is also giving OnPlayerinit errors on Vanish and Trade. I have updated to latest version 2.0.4457
Thanks...
4457 is not the latest.
Wulf
4457 is not the latest.
Do you have to restart the Rust server to have Oxide reload? I did o.reload *
Oxide updates are applied when the server is offline; o.reload is for plugins.mediatomcat
Do you have to restart the Rust server to have Oxide reload? I did o.reload *
okay - will do that now - now on .4460
where can we find the latest version number please Wulf? I went to download page, but this simply states Rust - updated 2 hours ago.