Thank you for a beautiful and wonderfully made map. I cannot imagine how much effort it took to put this all together.
I am also impressed at the patience you are showing in dealing with all the inevitable bug reports and the dedication you have to fix even the small points. You are truly a treasure for the Farm Sim community.
LOVE the map and truly impressed with the work you've put into it - however, I've noticed something that no one has mentioned yet. Under construction -> factories, the included "Country View Dairy" doesn't have a building. Just three triggers, still for the full $210k. Is that an overlay that's meant for some existing building somewhere?
So I have been having terrible framerate issues on this map, I mean really bad at 9 FPS. After a bunch of testing I found out it was the "Use up your tires" mod, I deleted that and now I am averaging 60 FPS. Just figured I would mention it. Amazing Map as always by the BEST map maker in the game
Last night we had someone leave our server that has purchason Bison Ridge. The only way we could open the lands was to delete his farm because we couldn't sell the farm. Some one else purchased Bison Ridge and now there are no triggers for the silo's and barn. Any suggestions?
I've noticed 2 moew issues. In multiplayer when I accept a weeding or hoeing contract, it starts at 91% complete and won't actually finish. Also Barley and Canola have 2 planting times. Is this intentional?
The 91% complete issue is a problem with Precision Farming, not the map (I assume you have PF installed?). If you update PF, you 'should' be able to complete the field, but the 91% bug is still present.
If you check, wheat also has two planting times - this reflects real life as 'summer planting' is a thing for those crops. In real life you get less yield, but I am not sure how that is reflected in this map.
I noticed today that when March hits, and the Grass fields are ready to harvest for the first time in the year when on calendar mode, the grass shows as "Ready to harvest", but it still looks brown and withered. As you run the mower over it, the grass still comes out green though.
2025-06-11 09:50:49.180 Error: Failed to open xml file 'H:/FS25 Mods/FS25_AnhydrousAmmoniaAddon/H:/FS25 Mods/FS25_Montana_4X/objects/pallets/anhydrousTank.xml'.
2025-06-11 09:50:49.180 Error: Failed to open xml file 'H:/FS25 Mods/FS25_AnhydrousAmmoniaAddon/H:/FS25 Mods/FS25_Montana_4X/objects/pallets/anhydrousTank.xml'.
2025-06-11 09:50:50.858 Error: Failed to open xml file 'H:/FS25 Mods/FS25_AnhydrousAmmoniaAddon/H:/FS25 Mods/FS25_Montana_4X/objects/pallets/anhydrousTank.xml'.
2025-06-11 09:50:50.858 Error: Failed to open xml file 'H:/FS25 Mods/FS25_AnhydrousAmmoniaAddon/H:/FS25 Mods/FS25_Montana_4X/objects/pallets/anhydrousTank.xml'.
The error you’re encountering in Farming Simulator 2025 (FS25) with the FS25 Precision Farming mod stems from a divide by zero calculation in the NitrogenMap.lua script. Here’s a breakdown of the likely causes and solutions:
Root Cause
The error occurs in the getFertilizerUsage function (line 1376 of NitrogenMap.lua), which calculates fertilizer/sprayer usage. A division by zero happens when a critical variable used as a divisor (e.g., area, speed, or application rate) is zero or undefined. This is common in farming simulations where calculations depend on dynamic values like:
Field area coverage
Sprayer width
Application rate settings
Vehicle speed
Map layer data (e.g., weed or nitrogen maps)
Possible Triggers
Zero Application Rate
If the slurry spreader’s application rate is set to 0 (e.g., in the vehicle’s UI), the mod might attempt to divide by this value during calculations.
Invalid Work Area Detection
The sprayer’s work area might not detect the field properly (e.g., if the tool is not fully over the field or the field is unmarked). This results in an area of 0, causing division by zero.
Missing/Corrupted Map Layers
The precision farming mod relies on map layers (e.g., weed maps, nitrogen maps). If these layers are missing, incomplete, or improperly generated, the script might use 0 values for calculations.
Mod Compatibility Issues
Conflicts between FS25 Precision Farming and other mods (e.g., custom sprayers, terrain mods) could pass invalid values to the script.
Bug in the Mod’s Script
The script might lack safeguards for edge cases (e.g., when starting/stopping the sprayer or when the tool is idle).
Solutions
1. Check Application Rate Settings
Ensure the slurry spreader’s application rate is set to a non-zero value in the vehicle’s UI.
If using a precision farming map (e.g., weed map), verify it’s properly loaded and active.
2. Validate Field Coverage
Make sure the sprayer’s work area is fully covering the field.
Check for terrain/field definition errors (e.g., gaps in the field’s ground type).
3. Recreate Map Layers
If using custom maps, regenerate the weed, nitrogen, or soil maps via the mod’s in-game tools.
Ensure map layers are saved correctly and not corrupted.
4. Update Mods
Check for updates to FS25 Precision Farming (version 25.0.1+ might fix this).
Ensure all mods are compatible with FS25 and do not conflict with the sprayer’s specialization scripts.
5. Debug the Script (Advanced)
Open NitrogenMap.lua and locate line 1376. Add a check to prevent division by zero:
lua
Copy
local divisor = ... -- the value being used as a divisor
if divisor == 0 then divisor = 1 -- or handle the error gracefully
end
This is a temporary fix and may require modding expertise.
If the Issue Persists
Report the error to the FS25 Precision Farming mod developers with your log file and steps to reproduce.
Disable other mods temporarily to isolate conflicts.
By addressing the zero-value divisor in calculations, you should resolve the error. Let me know if you need further help! 🚜
← Return to map
Comments
Log in with itch.io to leave a comment.
Thank you for a beautiful and wonderfully made map. I cannot imagine how much effort it took to put this all together.
I am also impressed at the patience you are showing in dealing with all the inevitable bug reports and the dedication you have to fix even the small points. You are truly a treasure for the Farm Sim community.
the map loaded for me but once I tried to save it, it said game could not save and I don't know why.
can't play on the map because it say its compiling shaders and then the game wont let me in and crashes.
Try loading map alone and see once,Think its is because of mod conflcit, check the release notes once which has link to modconflicts
love the map but would be awesome if your buildings were placeable
i want to place down another animal barn but i cant because there are too many existing pens can you allow me to sell some so i can place mine
I had the same problem. Make sure you download the required mods and that should fix it.
LOVE the map and truly impressed with the work you've put into it - however, I've noticed something that no one has mentioned yet. Under construction -> factories, the included "Country View Dairy" doesn't have a building. Just three triggers, still for the full $210k. Is that an overlay that's meant for some existing building somewhere?
Hi just wondering if there are any more updates planned and if so would they be save game compatible?
still issue with course play and compiling shaders on newest update
So I have been having terrible framerate issues on this map, I mean really bad at 9 FPS. After a bunch of testing I found out it was the "Use up your tires" mod, I deleted that and now I am averaging 60 FPS. Just figured I would mention it. Amazing Map as always by the BEST map maker in the game
Last night we had someone leave our server that has purchason Bison Ridge. The only way we could open the lands was to delete his farm because we couldn't sell the farm. Some one else purchased Bison Ridge and now there are no triggers for the silo's and barn. Any suggestions?
I've noticed 2 moew issues. In multiplayer when I accept a weeding or hoeing contract, it starts at 91% complete and won't actually finish. Also Barley and Canola have 2 planting times. Is this intentional?
Thank you.
The 91% complete issue is a problem with Precision Farming, not the map (I assume you have PF installed?). If you update PF, you 'should' be able to complete the field, but the 91% bug is still present.
If you check, wheat also has two planting times - this reflects real life as 'summer planting' is a thing for those crops. In real life you get less yield, but I am not sure how that is reflected in this map.
PF is up to date. Thanks for the heads up. Wasn't sure if the planting times were deliberate or not
Its doing it for harvesting contracts as well as cultivating. I think all contracts, those are just the four that I ever do.
I noticed today that when March hits, and the Grass fields are ready to harvest for the first time in the year when on calendar mode, the grass shows as "Ready to harvest", but it still looks brown and withered. As you run the mower over it, the grass still comes out green though.
I turned visuals to July for this reason. Hah
Any chance of adding your forage silo to the placeables?
like to see that also or where to obtain I have looked everywhere
for anhydrous mods getting below
2025-06-11 09:50:49.180 Error: Failed to open xml file 'H:/FS25 Mods/FS25_AnhydrousAmmoniaAddon/H:/FS25 Mods/FS25_Montana_4X/objects/pallets/anhydrousTank.xml'.
2025-06-11 09:50:49.180 Error: Failed to open xml file 'H:/FS25 Mods/FS25_AnhydrousAmmoniaAddon/H:/FS25 Mods/FS25_Montana_4X/objects/pallets/anhydrousTank.xml'.
2025-06-11 09:50:50.858 Error: Failed to open xml file 'H:/FS25 Mods/FS25_AnhydrousAmmoniaAddon/H:/FS25 Mods/FS25_Montana_4X/objects/pallets/anhydrousTank.xml'.
2025-06-11 09:50:50.858 Error: Failed to open xml file 'H:/FS25 Mods/FS25_AnhydrousAmmoniaAddon/H:/FS25 Mods/FS25_Montana_4X/objects/pallets/anhydrousTank.xml'.
You can get rid of that by removing AnhydrousAmmoniaAddon. Anhydrous is built into the map so you don't need the mod.
Oh that's handy info, having the same ongoing issue - will try this too - thanks!
Anyone know why using slurry spreader getting this error?
Script error: Divide by zero error. LUA call stack: =dataS/scripts/internalMods/FS25_precisionFarming/scripts/maps/NitrogenMap.lua:1376 getFertilizerUsage =dataS/scripts/internalMods/FS25_precisionFarming/scripts/specializations/ExtendedSprayer.lua:1468 getSprayerUsage =dataS/scripts/utils/Utils.lua:601 =dataS/scripts/internalMods/FS25_precisionFarming/scripts/specializations/WeedSpotSpray.lua:161 getSprayerUsage =dataS/scripts/utils/Utils.lua:601 =dataS/scripts/vehicles/specializations/Sprayer.lua:1177 onStartWorkAreaProcessing =dataS/scripts/specialization/SpecializationUtil.lua:56 raiseEvent =dataS/scripts/vehicles/specializations/WorkArea.lua:210 onUpdateTick =dataS/scripts/specialization/SpecializationUtil.lua:56 raiseEvent =dataS/scripts/vehicles/Vehicle.lua:2121 updateTick =dataS/scripts/network/NetworkNode.lua:214 updateActiveObjectsTick =dataS/scripts/network/Server.lua:83 update =dataS/scripts/BaseMission.lua:1019 update =dataS/scripts/FSBaseMission.lua:1925 update =dataS/scripts/mission00.lua:663 update =dataS/scripts/main.lua:1226 update 2025-06-03 12:52:59.014
The error you’re encountering in Farming Simulator 2025 (FS25) with the FS25 Precision Farming mod stems from a divide by zero calculation in the
NitrogenMap.lua
script. Here’s a breakdown of the likely causes and solutions:Root Cause
The error occurs in the
getFertilizerUsage
function (line 1376 ofNitrogenMap.lua
), which calculates fertilizer/sprayer usage. A division by zero happens when a critical variable used as a divisor (e.g., area, speed, or application rate) is zero or undefined. This is common in farming simulations where calculations depend on dynamic values like:Possible Triggers
0
(e.g., in the vehicle’s UI), the mod might attempt to divide by this value during calculations.0
, causing division by zero.0
values for calculations.Solutions
1. Check Application Rate Settings
2. Validate Field Coverage
3. Recreate Map Layers
4. Update Mods
5. Debug the Script (Advanced)
NitrogenMap.lua
and locate line 1376. Add a check to prevent division by zero: lua Copy local divisor = ... -- the value being used as a divisor if divisor == 0 then divisor = 1 -- or handle the error gracefully endIf the Issue Persists
By addressing the zero-value divisor in calculations, you should resolve the error. Let me know if you need further help! 🚜
any idea why this map won’t let me save the game? I tried a few other maps to make sure and it’s only this one
Were playing on multi player and have no issues saving. You do have to be logged in as admin to manually save.
same here, server map and no issues
do you have to add maintence points to sheds on prebuilt farms or
cant wait for more maps always loved yours especially umrv