Jump to content

[REPORTED]Stack traceback on dedicated server when client occupies MiG-29G


danvac

Recommended Posts

There is stack traceback everytime joins plane:

 

2019-12-14 15:37:10.795 INFO    NET: player 2 occupied unit 1
2019-12-14 15:37:12.764 INFO    Scripting: event:type=takeoff,initiatorPilotName=danvac,initiator=Pilot #001,place=Senaki-Kolkhi,t=28812.766,placeDisplayName=Senaki-Kolkhi,initiatorMissionID=1,
2019-12-14 15:37:12.808 ALERT   WRADIO: Error in wMessage::buildSpeech(), event = wMsgATCClearedForEngineStartUp: [string "./Sounds/Speech/common.lua"]:2496: attempt to index local 'roleData' (a nil value)
stack traceback:
[C]: ?
[string "./Sounds/Speech/common.lua"]:2496: in function 'make'
[string "Sounds/Speech/speech.lua"]:140: in function <[string "Sounds/Speech/speech.lua"]:119>
2019-12-14 15:37:12.816 INFO    Scripting: event:type=land,initiatorPilotName=danvac,initiator=Pilot #001,place=Senaki-Kolkhi,t=28812.818,placeDisplayName=Senaki-Kolkhi,initiatorMissionID=1,

 

it can be fixed by adding check if roleData is not nil inside:

--Accent
if roleData.accents ~= nil then
	local messageAccent = accentTable[messageLanguage][country] or accent.USA
	result.directory = result.directory..base.country.name[messageAccent]..'/'
	roleData = roleData.accents[messageAccent]
end

 

if roleData ~= nil and roleData.accents ~= nil then

 

Reproducing mission and logs attached.

dcs.zip


Edited by danvac
Link to comment
Share on other sites

  • ED Team

Hi

 

I tried to reproduce but could not, can you attach a short track replay after you experience this, and let me know what server you are on.

 

thank you

smallCATPILOT.PNG.04bbece1b27ff1b2c193b174ec410fc0.PNG

Forum rules - DCS Crashing? Try this first - Cleanup and Repair - Discord BIGNEWY#8703 - Youtube - Patch Status

Windows 11, NVIDIA MSI RTX 3090, Intel® i9-10900K 3.70GHz, 5.30GHz Turbo, Corsair Hydro Series H150i Pro, 64GB DDR @3200, ASUS ROG Strix Z490-F Gaming, HP Reverb G2

Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...