Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

Received the following crash to desktop today and found the following error in the log....


2022-06-08 06:00 Error: Running LUA method 'draw'.

C:/Users/cagco/OneDrive/Documents/My Games/FarmingSimulator2022/mods/FS22_PrecisionFarmingAnhydrousReady/scripts/hud/ExtendedSprayerHUDExtension.lua:483: attempt to call method 'getIsUsingExactNitrogenAmount' (a nil value)

2022-06-08 06:00 Error: Running LUA method 'draw'.

C:/Users/cagco/OneDrive/Documents/My Games/FarmingSimulator2022/mods/FS22_PrecisionFarmingAnhydrousReady/scripts/hud/ExtendedSprayerHUDExtension.lua:483: attempt to call method 'getIsUsingExactNitrogenAmount' (a nil value)

2022-06-08 06:00 Error: Running LUA method 'draw'.

C:/Users/cagco/OneDrive/Documents/My Games/FarmingSimulator2022/mods/FS22_PrecisionFarmingAnhydrousReady/scripts/hud/ExtendedSprayerHUDExtension.lua:483: attempt to call method 'getIsUsingExactNitrogenAmount' (a nil value)

2022-06-08 06:00 Error: Running LUA method 'draw'.


and it just keeps repeating until it CTD



Hi sir thanks for the feebacks !


 Is it possible you try to "spray" anhydrous ammonia with a SLURRY TANKER ???


This is what we found ...


- GIANTS messed up the code -


<ExtendedSprayerHUDExtension>


if self.nitrogenMap ~= nil then

minValue, maxValue = self.nitrogenMap:getMinMaxValue()

local nAmount = spec.lastNitrogenProportion

if nAmount == 0 then

nAmount = self.nitrogenMap:getNitrogenAmountFromFillType(sprayFillType)

end

if spec.isSlurryTanker then

local str = " (~%skgN/m³)"

if sourceVehicle:getIsUsingExactNitrogenAmount() then

str = " (%skgN/m³)"

end

applicationRateStr = applicationRateStr .. string.format(str, MathUtil.round(nAmount * 1000, 1))

else

applicationRateStr = applicationRateStr .. string.format(" (%s%%%%N)", MathUtil.round(nAmount * 100, 1))

end

stepResolution = self.nitrogenMap:getNitrogenFromChangedStates(1)

end

 

So by now there's no real issue cause you try to do something that is not intended to (Slurred Anhydrous app) but we will "fit" it anyways. Second thing is the NH3 is supposed to be injected to the ground by a toolbar and you'll be able to this friday June 10th at 5pm E.T


 Till then have a good one ! 

Thanks for the reply.   I will take a look.  I was on the Green Valley map and all I was trying to do was fill a tank up at the bulk store with liquid fert.  I am now wondering if the other mod (tank mod) was causing the conflict.  I will take a closer look later tonight if I get a chance.  I didn't have any sprayers working on the map when it crashed.