Techgeek20 / 7D2D-V1_Aircraft_Carrier_Challenge

Aircraft Carrier Challenge for V1.0 of 7 Days to Die
GNU General Public License v3.0
0 stars 0 forks source link

Character has no crafting slots #5

Closed theloser closed 1 week ago

theloser commented 1 week ago

Modpack Release: DEV-07282024_111900_V1(b333) Tested with V1.1 (b14) and with V1.0 (b336), as Steam doesn't let me download V1.0 (b333) anymore

After starting a new game, the character is missing its crafting slots, therefore I can't craft/repair/scrap anything in my inventory. Trying to do any of these actions gives the following error:

NullReferenceException: Object reference not set to an instance of an object
  at XUiC_CraftingWindowGroup.AddItemToQueue (Recipe _recipe, System.Int32 _count) [0x00000] in <e8e43063270440388d2e6b7642da1a62>:0 
  at ItemActionEntryScrap.OnActivated () [0x001ca] in <e8e43063270440388d2e6b7642da1a62>:0 
  at XUiC_ItemActionEntry.OnPressAction (XUiController _sender, System.Int32 _mouseButton) [0x00041] in <e8e43063270440388d2e6b7642da1a62>:0 
  at XUiController.OnPressed (System.Int32 _mouseButton) [0x0000e] in <e8e43063270440388d2e6b7642da1a62>:0 
  at XUiController.Pressed (System.Int32 _mouseButton) [0x00000] in <e8e43063270440388d2e6b7642da1a62>:0 
  at XUiView.OnClick (UnityEngine.GameObject _go) [0x0003f] in <e8e43063270440388d2e6b7642da1a62>:0 
  at UIEventListener.OnClick () [0x0001c] in <d643cbf63e8345fc83835f5f33e6ed21>:0 

image

theloser commented 1 week ago

Removing the following line...

<set xpath="/xui/ruleset[@name='default']/window_group[@name='crafting']/window[@name='windowCraftingQueue']/@name">WARwindowCraftingQueue</set>

...from the file Aircraft Carrier Challenge\Config\XUi\xui.xml fixed it.

I also had to remove the following three lines which change the "window" for the crafting slots for the workbench, the cement mixer and the chemistry station, because otherwise accessing those stations will give these continuous errors:

2024-11-10T15:38:42 80.967 ERR [XUi] Error while updating window group 'workstation_cementMixer':
2024-11-10T15:38:42 80.968 EXC Object reference not set to an instance of an object
  at XUiC_WorkstationWindowGroup.Update (System.Single _dt) [0x00007] in <e8e43063270440388d2e6b7642da1a62>:0 
  at XUi.OnUpdateDeltaTime (System.Single updateDeltaTime) [0x00159] in <e8e43063270440388d2e6b7642da1a62>:0 
UnityEngine.StackTraceUtility:ExtractStringFromException(Object)
Log:Exception(Exception)
XUi:OnUpdateDeltaTime(Single)
XUiUpdater:Update()
XUiUpdateHelper:LateUpdate()
Techgeek20 commented 1 week ago

Updated version of modpack has this fixed. New release tag created this morning.