the line of code that crashed my game was the last lines
[warning: Error running OnFailedToBuild script in Entity uel0301_Engineer at 28348b08: ...\gamedata\units.nx2\units\uel0301\uel0301_script.lua(103): Game object has been destroyed
stack traceback:
[C]: in function `SetPrecedence'
...\gamedata\units.nx2\units\uel0301\uel0301_script.lua(103): in function <...\gamedata\units.nx2\units\uel0301\uel0301_script.lua:100>
warning: Error running OnFailedToBuild script in Entity uel0301_Engineer at 23af4808: ...\gamedata\units.nx2\units\uel0301\uel0301_script.lua(103): Game object has been destroyed
stack traceback:
[C]: in function `SetPrecedence'
...\gamedata\units.nx2\units\uel0301\uel0301_script.lua(103): in function <...\gamedata\units.nx2\units\uel0301\uel0301_script.lua:100>
info: GPGNET: setting nat handler to 0x00000000
info: CNetTCPBuf::Read(): recv() failed: WSAEINTR
info: Run time: 1h03m32s]
That must of caused the crash cause it was the last thing it posted to the log before it crashed.
EDIT:Game object has been destroyed.
Wtf how could game object be destroyed.
EDIT2:units.nx2\units\uel0301\uel0301_script.lua:100>
Ehh it appears to be a SACU Unit.
EDIT3: So line 100 is this "OnFailedToBuild = function(self)
TWalkingLandUnit.OnFailedToBuild(self)
self:BuildManipulatorSetEnabled(false)
self.BuildArmManipulator:SetPrecedence(0)
self:SetWeaponEnabledByLabel('RightHeavyPlasmaCannon', true)
self:GetWeaponManipulatorByLabel('RightHeavyPlasmaCannon'):SetHeadingPitch( self.BuildArmManipulator:GetHeadingPitch() )
end,"Statistics: Posted by TheFearFullSeraphim — 14 Nov 2014, 00:26
]]>