COMMUNITY FORUM

Vehicle Mod

Forum Overview >> Farming Simulator 22

CategoryFarming Simulator 22
Created10.11.2022 01:30


Anthony Queen (tqueen113) 10.11.2022 01:30
Hello I am trying to convert a personal mod to FS22 and I am getting close but I am getting this LUA error and I'm not sure where to start looking.

2022-11-09 18:26 Error: Running LUA method 'loadSharedI3DFileAsyncFinished'.
dataS/scripts/vehicles/VehicleMotor.lua(267) : attempt to index local 'v' (a nil value)

Any Ideas?

Thanks

David Zadnik (DzInLa) 10.11.2022 20:11
What is the very first error in the game log? Some LUA errors are caused by other errors in the log file.

Anthony Queen (tqueen113) 11.11.2022 01:46
That is the only error

David Zadnik (DzInLa) 11.11.2022 19:05
Are there any warnings in the log.txt file?

Are you using any FS19 LUA Scripts? ? ?

What kind of mod is it? Vehicle or Placeable?

Anthony Queen (tqueen113) 12.11.2022 00:58
It is a vehicle I use for personal use only

There is 1 warning before the error

Warning (C:/Users/.../OneDrive/Documents/My Games/FarmingSimulator2022/mods/K100/rhmK100.xml): No max. update distance set for isActiveDirty moving part (vehicle.cylindered.movingParts.movingPart(0))! Use #maxUpdateDistance attribute.

Then a few lines down the error

2022-11-11 17:50 Error: Running LUA method 'loadSharedI3DFileAsyncFinished'.
dataS/scripts/vehicles/VehicleMotor.lua(267) : attempt to index local 'v' (a nil value)




David Zadnik (DzInLa) 12.11.2022 17:20
Sometimes fixing the waring can get rid of the error.
I would compare your xml file to a similar mod created by GIANTS for reference.


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