Page 1 of 1

Solved: DevWarning: Object:getNextDirtyFlag(), too many dirty flags

Posted: Tue Apr 02, 2024 12:56 pm
by kenny456
DevWarning: Object:getNextDirtyFlag(), too many dirty flags

Hello i get this error in the log when i load my mod in the shop (with parameter -devWarning turned on). Can someone explain me what causes this issue please?

Re: DevWarning: Object:getNextDirtyFlag(), too many dirty flags

Posted: Sat Apr 06, 2024 9:22 am
by kenny456
Update: Here is log from console testing when this error appears:

- The first configuration throws a LUA call stack in the log:
DevWarning: Object:getNextDirtyFlag(), too many dirty flags
LUA call stack:
dataS/scripts/network/Object.lua (161) : printCallstack
dataS/scripts/vehicles/specializations/Dischargeable.lua (274) : getNextDirtyFlag
dataS/scripts/specialization/SpecializationUtil.lua (23)
dataS/scripts/vehicles/Vehicle.lua (993) : raiseEvent
dataS/scripts/i3d/I3DManager.lua (134) : asyncCallbackFunction
DevWarning: Object:getNextDirtyFlag(), too many dirty flags
LUA call stack:
dataS/scripts/network/Object.lua (161) : printCallstack
dataS/scripts/vehicles/specializations/Shovel.lua (147) : getNextDirtyFlag
dataS/scripts/specialization/SpecializationUtil.lua (23)
dataS/scripts/vehicles/Vehicle.lua (993) : raiseEvent
dataS/scripts/i3d/I3DManager.lua (134) : asyncCallbackFunction

If i remove specializations Dischargeable and Shovel from my vehicleType in modDesc, there is no error/warning.

Re: DevWarning: Object:getNextDirtyFlag(), too many dirty flags

Posted: Sun Apr 07, 2024 12:02 pm
by kenny456
Solved: There were used too many movingTools.