Page MenuHomeFeedback Tracker

Adding "Light" Entities to Object Spawner creates excessive log output.
Awaiting internal Testing, NormalPublic

Description

When adding any "Light" for example, "WarheadStorageLight" to an object spawner file, the server constantly logs

NULL pointer to instance
Class:      'WarheadStorageLight'
Entity id:3049769

Function: 'EOnFrame'
Stack trace:
scripts/4_World/entities\scriptedlightbase\pointlightbase\warheadstoragelight.c:73

And so on. When unchecked, this creates log files that are potentially 100GB plus causing Nitrado to flag and lock the service in question.

The simple fix is to remove the crash logging in warheadstoragelight.c and just have silent failure (I have not actually reviewed the file in question).

Sorry for opening this can of worms and unleashing it on the DayZ community! :D :D but we want lights!

Details

Severity
None
Resolution
Open
Reproducibility
N/A
Operating System
Windows 7
Category
General

Event Timeline

JinieJ created this task.Mar 19 2025, 7:53 PM
Geez changed the task status from New to Awaiting internal Testing.Mar 20 2025, 12:24 PM
JinieJ updated the task description. (Show Details)Mar 20 2025, 6:43 PM

Here is the simple fix, check m_Bunker exists before applying dimming behavior / low energy behavior. Edge cases!

		if (m_Bunker && m_Bunker.IsLowEnergy() && !m_IsLowEnergyDim)
		{
			m_IsLowEnergyDim = true;
			GetDimming().SwapConfig(1);
		}
		else if (m_Bunker&& !m_Bunker.IsLowEnergy() && m_IsLowEnergyDim)
		{
			m_IsLowEnergyDim = false;
			GetDimming().SwapConfig(0);
			UpdateLightSourceMaterial(LIGHT_MAT_ON);
		}

Apparently, this is also an issue with "Goat Light" though I have not investigated that.

JinieJ added a subscriber: Geez.Wed, Apr 16, 8:06 PM

Hey @Geez - any update on this for 1.28? You guys need to be prepared; these light entities will be in DayZ Editor soon. Poor Nitrado and their tiny little log files with no file system management or log size capping :)

@JinieJ Honestly, you’ll probably have better luck reopening this as a new ticket. I’ve had tickets sit in “Awaiting Internal Testing” for years, only to get addressed immediately once I submitted a new one tied to the latest update. Unfortunately, it seems like a lot of good feedback is slipping through the cracks.

Geez added a comment.Thu, Apr 17, 4:16 PM

@JinieJ Honestly, you’ll probably have better luck reopening this as a new ticket. I’ve had tickets sit in “Awaiting Internal Testing” for years, only to get addressed immediately once I submitted a new one tied to the latest update. Unfortunately, it seems like a lot of good feedback is slipping through the cracks.

no need to reacreate the ticket. We are aware of this one and it is going to be tested as soon as possible

JinieJ added a comment.Thu, May 8, 3:17 PM

Just thought I would share a "word on the street" update :D

The Light entities are now in DayZ editor for use by anyone using the editor.

This issue exists with other lights than just the WarheadStorageLight, or so I have been told, still have not tested this.

I have heard of several Nitrado servers admin locked because of this, and several Imperium servers on PC experiencing the issue.

This is an edge case - simple edge case checks like in the code snippet I provided would fix this issue. Really hoping to see these fixes in 1.28, and I think it will save everyone a headache! Or, a lot more head aches!

Have a great day