Christmas update broke gingerbread skin?

since todays christmas patch all the gingerbread houses of players turned into twig

Came here for support on the same problem as well. Our Christmas village looks like twig disaster right now, instead of our beautiful gingerbread houses and town!

Yep same.

same but i think it maybe 2 different issues as after unloading the plugin. the native gingerbread skin that facepunch has just added also doesn't work. but with the plugin loaded you can't upgrade to wood at all for me.

uQBjuco9JCIvXtQ.jpg JuanTonCummins

same but i think it maybe 2 different issues as after unloading the plugin. the native gingerbread skin that facepunch has just added also doesn't work. but with the plugin loaded you can't upgrade to wood at all for me.

Is it still broken after deleting the config and reloading the plugin?

i haven't tried that yet i just unloaded the plugin and had to leave i will try now

Taracmeden

Is it still broken after deleting the config and reloading the plugin?

it infact still does not work. it just avoids upgrading to wood with bskins loaded. 

Taracmeden

Is it still broken after deleting the config and reloading the plugin?

just change the skin id from 10226 to 2 

wV4lfFpP0OiCOpY.png Warkingz

just change the skin id from 10226 to 2 

Just 2?

yes mate

Merged post

Change the lines below in the cs file
line 139 if (skinID == 10226 to if (skinID == 2
line 157 if (skinID == 10226 to  if (skinID == 2  
line 466 if (skinID == 10226 to if (skinID ==  2

wV4lfFpP0OiCOpY.png Warkingz

yes mate

Merged post

Change the lines below in the cs file
line 139 if (skinID == 10226 to if (skinID == 2
line 157 if (skinID == 10226 to  if (skinID == 2  
line 466 if (skinID == 10226 to if (skinID ==  2

do we also need to change the skin id in the config?

only if it has one in witch i dont think it has

wV4lfFpP0OiCOpY.png Warkingz

yes mate

Merged post

Change the lines below in the cs file
line 139 if (skinID == 10226 to if (skinID == 2
line 157 if (skinID == 10226 to  if (skinID == 2  
line 466 if (skinID == 10226 to if (skinID ==  2

Unloaded the plugin, deleted the plugin, config, data, and lang files, updated the .cs file with this new info, uploaded it and it still the same as before. FP needs to release their fix for gingerbread for the skin to appear in game Im afraid.

Facepunch updated this morning so gingerbread works without the skins plugin but not with it installed.

Bushfix till its updated:
- change skinid 10226 to 2
- let the game upgrade to gingerbread if xmas event enabled (since gingerbread skin is not in steam inventory)
- config and data need to be wiped or adapted

diff --git a/BuildingSkins.cs b/BuildingSkins.cs
--- a/BuildingSkins.cs
+++ b/BuildingSkins.cs
@@ -5,6 +5,7 @@ using Oxide.Core.Plugins;
 using System.Linq;
+using ConVar;
 using UnityEngine;
 
@@ -136,7 +137,7 @@ namespace Oxide.Plugins
-            if (skinID == 10226 && block.grade.ToString() == "Wood" && block.prefabID == 870964632) return;
+            if (skinID == 2 && block.grade.ToString() == "Wood" && block.prefabID == 870964632) return;
@@ -151,10 +152,11 @@ namespace Oxide.Plugins
+            if (skin == 2 && XMas.enabled) return null;
-            if (skinID == 10226 && grade.ToString() == "Wood" && block.prefabID == 870964632) return null;
+            if (skinID == 2 && grade.ToString() == "Wood" && block.prefabID == 870964632) return null;
@@ -205,7 +207,7 @@ namespace Oxide.Plugins
-                        new("Gingerbread", "https://i.ibb.co/Tw67yBM/gingerbread.png", 10226)
+                        new("Gingerbread", "https://i.ibb.co/Tw67yBM/gingerbread.png", 2)
@@ -463,7 +465,8 @@ namespace Oxide.Plugins
-                if (skinID == 10226 && block.grade.ToString() == "Wood" && block.prefabID == 870964632) continue;
+                if (skinID == 2 && XMas.enabled) continue;
+                if (skinID == 2 && block.grade.ToString() == "Wood" && block.prefabID == 870964632) continue;