Saw this on the oxidemod/umod channel on discord posted by BMGJet. Worked for me.
https://cdn.discordapp.com/attachments/1103747101583749160/1290553985757085736/BuildingSkins.cs?ex=67002d4f&is=66fedbcf&hm=d80d2017e67306cb833db232e5e3c2a6719618a8e11f6a974a84f20df92b7f45&
Update fix
Great! Thank you!
Failed to call hook 'OnPlayerRespawned' on plugin 'BuildingSkins v2.0.8' (NullReferenceException: Object reference not set to an instance of an object)
at Oxide.Plugins.BuildingSkins.OnPlayerRespawned (BasePlayer player) [0x00036] in <b726dc7179a041f6ad0d3e38ed379fda>:0
at Oxide.Plugins.BuildingSkins.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00280] in <b726dc7179a041f6ad0d3e38ed379fda>:0
at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <206a0f2c6ee141f38e2ad549cde44d70>:0
at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000de] in <beb2b64691c64e2b95b99491bd85442c>:0
at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <beb2b64691c64e2b95b99491bd85442c>:0
Yes, it worked fine on my test server.
Link discord
With the help of iA I was able to correct the console error.
ChatGPT
thks
Don't know what to tell ya bud. Worked for me. It's a temp fix to get the plugin working.truerust
Failed to call hook 'OnPlayerRespawned' on plugin 'BuildingSkins v2.0.8' (NullReferenceException: Object reference not set to an instance of an object) at Oxide.Plugins.BuildingSkins.OnPlayerRespawned (BasePlayer player) [0x00036] in <b726dc7179a041f6ad0d3e38ed379fda>:0
at Oxide.Plugins.BuildingSkins.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00280] in <b726dc7179a041f6ad0d3e38ed379fda>:0
at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <206a0f2c6ee141f38e2ad549cde44d70>:0
at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000de] in <beb2b64691c64e2b95b99491bd85442c>:0
at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <beb2b64691c64e2b95b99491bd85442c>:0
THANKS! works like a charm on all 3 of my servers!
it was removed, at least thats the message i am seeing.
truerust
Failed to call hook 'OnPlayerRespawned' on plugin 'BuildingSkins v2.0.8' (NullReferenceException: Object reference not set to an instance of an object) at Oxide.Plugins.BuildingSkins.OnPlayerRespawned (BasePlayer player) [0x00036] in <b726dc7179a041f6ad0d3e38ed379fda>:0
at Oxide.Plugins.BuildingSkins.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00280] in <b726dc7179a041f6ad0d3e38ed379fda>:0
at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <206a0f2c6ee141f38e2ad549cde44d70>:0
at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000de] in <beb2b64691c64e2b95b99491bd85442c>:0
at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <beb2b64691c64e2b95b99491bd85442c>:0
Replace OnPlayerRespawned function with the code below for temp fix.
private void OnPlayerRespawned(BasePlayer player)
{
if (player == null || !player.IsConnected) return;
player.SetInfo("client.SelectedShippingContainerBlockColour",
storedData?.PlayerData?.TryGetValue(player.userID, out var data) == true && data?.RandomColor == true && data.Color != null
? data.Color.ToString()
: player.GetInfoString("client.SelectedShippingContainerBlockColour", "0"));
} This does not work
Has worked for several others, including my server. Don't know what to tell ya.Evo1
This does not work
This plugin is funked. Just get BuildingSkins from GDP
Failed to call hook 'OnPlayerRespawned' on plugin 'BuildingSkins v2.0.8' (NullReferenceException: Object reference not set to an instance of an object)
at Oxide.Plugins.MonitorParedes.OnPlayerRespawned (BasePlayer player) [0x00036] in <c9ef9f8293b44c4094ee1ac714973801>:0
at Oxide.Plugins.MonitorParedes.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00280] in <c9ef9f8293b44c4094ee1ac714973801>:0
at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <206a0f2c6ee141f38e2ad549cde44d70>:0
at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000de] in <beb2b64691c64e2b95b99491bd85442c>:0
at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <beb2b64691c64e2b95b99491bd85442c>:0Evo1
This plugin is funked. Just get BuildingSkins from GDP
where?
TechnoMaster
Replace OnPlayerRespawned function with the code below for temp fix.
private void OnPlayerRespawned(BasePlayer player) { if (player == null || !player.IsConnected) return; player.SetInfo("client.SelectedShippingContainerBlockColour", storedData?.PlayerData?.TryGetValue(player.userID, out var data) == true && data?.RandomColor == true && data.Color != null ? data.Color.ToString() : player.GetInfoString("client.SelectedShippingContainerBlockColour", "0")); }
Thank you. works.
Thanks!! Worked for me too!
shturval
Thank you. works.