Jump to content

[Client Crash] - widgetsetup is nil when using shadowchester string


DarkXero

Recommended Posts

Bug Submission:

Category: Client Crash

Issue Title:

widgetsetup is nil when using shadowchester string

Issue Description:

I wanted to mod a 3x4 chest into the game, but params from containers.lua is not global and I didn't want to overwrite the file, so I decided to call WidgetSetup("shadowchester") for my container.

Because shadowchester is not a prefab, when the container replica called WidgetSetup, no widget was created, and when the client opened the chest, the game gave a warning on a nil widget on containerwidget.

Also, there is a typo in params.shadowchester:
chetser in animbuild

And I want a way to make containers without having to overwrite the file.

Steps to Reproduce:

Make a container.
inst:AddComponent("container")
inst.components.container:WidgetSetup("shadowchester")
And make a client open the chest.

 

EDIT: replacing shadowchester with treasurechest on host and client allows for 3x4 treasurechests

Archived

This topic is now archived and is closed to further replies.

Please be aware that the content of this thread may be outdated and no longer applicable.

×
  • Create New...