Category | Farming Simulator 17 |
Created | 05.12.2016 07:48 |
Igor Lymar (igor29381) | 05.12.2016 07:49 |
---|---|
The problem is here: Combine.lua, 634: local fruitDesc = FruitUtil.fruitIndexToDesc[self:getUnitLastValidFillType(self.overloading.fillUnitIndex)]; fruitDesc = nil, because function getUnitLastValidFillType returns filltype index, but it does not coincide with fruittype index of additional fruittypes. This is the corrected code: local fruitDesc = FruitUtil.fruitIndexToDesc[FruitUtil.fillTypeToFruitType[self:getUnitLastValidFillType(self.overloading.fillUnitIndex)]]; It works properly. |
William Rowe (Bonger76) | 05.12.2016 21:34 |
---|---|
How can i get this to work right on my modded map with the additionalMapTypes.lua so i can get straw swathes on the rye and oat fruit type. I tried Marhus combineStrawFIx but i did not work everything loads fine but when i push start no light on map and get this error Error: Running LUA method 'update'. C:/Users/User/Documents/My Games/FarmingSimulator2017/mods/CombineStrawFix/CombineStrawFix.lua:49: attempt to compare number with nil so i need a differnet way to fix this problem. Thanks,Bill |
Note: Log in to post. Create a new account here.