Community Forum

FS17 Helping

Forum Overview >> Scripting

CategoryScripting
Created25.11.2019 22:47


Martin Aga (Martinaga) 25.11.2019 22:47
log.txt
Warning: 3D stereo audio files are not supported. Convert 'C:/Users/s/Documents/My Games/FarmingSimulator2017/mods/Fs15_Dogan_converted/sound/run.wav'.
to monoWarning (Script): Entity 'mirrors' has invalid type in method 'setReflectionMapObjectMasks'.
LUA call stack:
dataS/scripts/vehicles/specializations/Drivable.lua (81) : setReflectionMapObjectMasks
dataS/scripts/vehicles/Vehicle.lua (631)
dataS/scripts/BaseMission.lua (777) : load
dataS/scripts/BaseMission.lua (924) : loadVehicle
dataS/scripts/shop/BuyVehicleEvent.lua (88) : loadVehiclesAtPlace
dataS/scripts/network/Connection.lua (77) : run
dataS/scripts/gui/ShopScreen.lua (1038) : sendEvent
dataS/scripts/gui/ShopConfigScreen.lua (467) : update
dataS/scripts/gui/elements/Gui.lua (306) : update
dataS/scripts/main.lua (1918) : update
Validity check failed in TransformGroup_localToWorld:
..\..\..\src\engine\app\ReflectionAndScriptBinding.cpp (3229): !MathUtil::isNaN(pArgs->arg[0].f)
Adapted from FS 15 to FS 17. What should I do ?

Bilbo Beutlin (BBeutlin) 26.11.2019 08:38
For error tracking the complete log is needed, a short extract is completely useless (in most cases).
Merely repeated error messages may be abbreviated (with a note).

Gtx | Andy (GtX_Andy) 26.11.2019 10:11
BB is correct, it is so much easier to help with a full log file.

To try and give a quick answer though, the first issue is simple as it states the issue.
'Stereo' sound files are not supported and you need to use mono.

The second issue looks to be that there is a mirror referencing a node that is not using the correct reflectionMapping.
Check the mirror node paths are correct and not referencing a TG or an invalid node.


Note: Log in to post. Create a new account here.