Skip to content

Mod incompatibilities #15

@KZumbusch

Description

@KZumbusch

I played a bit more with your mod and it is great to get the multi fruit harvesters for contracts as the Premium DLC harvesters are really annoying to use in single player even with Courseplay and Autodrive installed. But I stumbled over some mod incompatibility issues and added some logging to your code to figure those out.

Although the Precision Farming DLC is listed as an ignored mod, the missionVehicles.xml of Precision Farming is loaded with your custom loadVehicles function. As the Precision Farming DLC includes a custom John Deere sprayer and your code ignores modded vehicles with an empty mod name, the custom sprayer is not added to the spraying contracts. This results in sprayer missions with just the John Deere tractor and weight of the Precision Farming DLC missionVehicles.xml and no sprayer missions for small fields.

A second mod with compatibility issues is FS22_adurante_R200A_crossplay. It comes with its own missionVehicles.xml adding harvest mission vehicle configs with its trailers. As that XML file lacks the variants section, your mod loads the included missionVehicles.xml instead. Therefore there are no missions with the Adurante trailers available.

Is also seems to be the case that your custom loadVehicles function overwrites all existing mission vehicle configurations instead of adding modded mission configurations to the existing configs. This might be needed for compatibility reasons but could result in false error reporting for other mods as those mods might announce custom mission equipment which might not be if your mod is installed loading the included configurations after other mods and DLCs have added theirs.

This log file is from a fresh savegame with all DLCs, the FS22_adurante_R200A_crossplay and the Precision Farming DLC activated on Hobo's Hollow.

log.txt

As the Adurante mod is loaded after the DLCs and is not compatible with your mod, your fallback config is loaded replacing all existing configurations. Therefore there are no DLC vehicles and no Adurante trailers available for missions. The warning messages

Warning: Cannot load missionVehicle that is neither part of the baseGame nor part of a mod.

are for the sprayer in the Precision Farming DLC. As the Precision Farming DLC configurations are loaded with your custom function, all existing sprayer missions are overwritten with the mission configs from the Precision Farming DLC and the sprayer is missing from all of them. There also is a warning message from FS22_BetterContracts about missing sprayer configs for small fields.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingenhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions