12:34 [Error] Failed to call hook 'OnTeamLeave' on plugin 'Rustcord v2.4.0' (NullReferenceException: Object reference not set to an instance of an object)
at Oxide.Plugins.Rustcord.OnTeamLeave (RelationshipManager+PlayerTeam team, BasePlayer player) [0x00031] in <e38b18e8e10947139c1031bcdcb366ad>:0
at Oxide.Plugins.Rustcord.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00f04] in <e38b18e8e10947139c1031bcdcb366ad>:0
at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <3e46d2a997e94a3cb08cf065508cd483>:0
at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <1fe782f4b27a43ae85d29ebb2d56c007>:0
at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <1fe782f4b27a43ae85d29ebb2d56c007>:0 NullReferenceException at OnTeamLeaveError
(17:18:35) | Failed to call hook 'OnTeamLeave' on plugin 'Rustcord v2.4.1' (NullReferenceException: Object reference not set to an instance of an object)
at Oxide.Plugins.Rustcord.OnTeamLeave (RelationshipManager+PlayerTeam team, BasePlayer player) [0x00031] in <ebdb2704d2d64a0f97f9f785009a5d1c>:0
at Oxide.Plugins.Rustcord.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00f04] in <ebdb2704d2d64a0f97f9f785009a5d1c>:0
at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <d09a1f46ca2f4432811bcfe45ad13c7b>:0
at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <cf88a28c7fb44d36890d85a78331cc9d>:0
at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <cf88a28c7fb44d36890d85a78331cc9d>:0 I'm unable to replicate, as it's working fine for me. Do you have other plugins that effect the in-game teams?

10:12 [Error] Failed to call hook 'OnTeamLeave' on plugin 'Rustcord v2.4.2' (NullReferenceException: Object reference not set to an instance of an object)
at Oxide.Plugins.Rustcord.OnTeamLeave (RelationshipManager+PlayerTeam team, BasePlayer player) [0x00031] in <e3ab904a25ef4f86afe3c2dd8275165b>:0
at Oxide.Plugins.Rustcord.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00f04] in <e3ab904a25ef4f86afe3c2dd8275165b>:0
at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <d09a1f46ca2f4432811bcfe45ad13c7b>:0
at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <cf88a28c7fb44d36890d85a78331cc9d>:0
at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <cf88a28c7fb44d36890d85a78331cc9d>:0
Never know 100%, but as far as I know none of plugins installed should affect on teams. Can do additional tests if needed.
P.S. this is NOT a common issue. Happens rarely. You can't just join/leave team to reproduce it. Some unknown additional conditions needed. Maybe related to Raidable Bases? As far as I know, the player was trying to leave/join team to get access into a private Raidable Base when the issue happened.
(09:42:03) | Failed to call hook 'OnTeamLeave' on plugin 'Rustcord v2.5.0' (NullReferenceException: Object reference not set to an instance of an object)
at Oxide.Plugins.Rustcord.OnTeamLeave (RelationshipManager+PlayerTeam team, BasePlayer player) [0x00031] in <264173fa281a4f5cbe1098eea2c3f458>:0
at Oxide.Plugins.Rustcord.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00f04] in <264173fa281a4f5cbe1098eea2c3f458>:0
at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <d09a1f46ca2f4432811bcfe45ad13c7b>:0
at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <cf88a28c7fb44d36890d85a78331cc9d>:0
at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <cf88a28c7fb44d36890d85a78331cc9d>:0
Hi also randomly getting this error as well:
Don't know if a player did something to trigger it but ive seen it happen twice in two days now in 2.5 then reverted back to 2.4.2 and happened again today.
Failed to call hook 'OnTeamLeave' on plugin 'Rustcord v2.4.2'
(NullReferenceException: Object reference not set to an instance of an
object)
at Oxide.Plugins.Rustcord.OnTeamLeave (RelationshipManager+PlayerTeam
team, BasePlayer player) [0x00031] in :0
at Oxide.Plugins.Rustcord.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00f04] in :0
at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in :0
at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in :0
at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in :0 Failed to call hook 'OnTeamLeave' on plugin 'Rustcord v2.5.1' (NullReferenceException: Object reference not set to an instance of an objectat Oxide.Plugins.Rustcord.OnTeamLeave (RelationshipManager+PlayerTeam team, BasePlayer player) [0x00031] in <33b27252412947adb1b49527fcb3d9c8>:0
at Oxide.Plugins.Rustcord.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00e16] in <33b27252412947adb1b49527fcb3d9c8>:0
at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <80b90e8213db44b29ec2d4111764172c>:0
at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <ec05e0208c9149bba43236ca58fea105>:0
at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <ec05e0208c9149bba43236ca58fea105>:0 OuTSMoke i not expert in ccharp programing but i Think that came from player administration maybe he make a check on players them leave or joint bencause they crash too présently random and they make recently update, before that everything fine from Rustcord.
When it happens on my server its not while i'm using playeradministration. Ive seen it in the console when ive not even been logged into the server via the game client.
I not thing so if you using or not maybe he make automatically the count when a player when they log in or log out.
Merged post
I think he have conflict between rustcord et player administration but i not sure.
Hi!
I got this error and I was wondering if it's something that I should worry about?
Failed to call hook 'OnTeamLeave' on plugin 'Rustcord v2.5.1' (NullReferenceException: Object reference not set to an instance of an object)
at Oxide.Plugins.Rustcord.OnTeamLeave (RelationshipManager+PlayerTeam team, BasePlayer player) [0x00031] in <1ba6e8df255241419fd7e4e8526da375>:0
at Oxide.Plugins.Rustcord.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00e16] in <1ba6e8df255241419fd7e4e8526da375>:0
at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <80b90e8213db44b29ec2d4111764172c>:0
at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in :0
at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in :0 It's due to another plugin fucking with the way teams are handled. If you're using ClansReborn, that'd be what's doing it.
- 1
- 2