github loki79uk/FS25_UniversalAutoload v1.0.0.1

one month ago

v1.0.0.1 - Add guards for unknown errors

There have been a few reported errors that I cannot reproduce

mods/FS25_UniversalAutoload/UniversalAutoload.lua:1342
Function setTranslation
Script error: 'setTranslation': Argument 1 has wrong type. Expected: Int. Actual: Nil
Location mods/FS25_UniversalAutoload/UniversalAutoload.lua:4507
Function testLocation
Message attempt to perform arithmetic (div) on nil and number
Location mods/FS25_UniversalAutoload/gui/GlobalSettingsMenuUALSettings.lua:292
Function inputEvent
Message attempt to call missing method 'onClickSave' of table

The added guards should prevent these errors from happening. There could be some unintended consequences, but I think it is low risk as the errors probably only happen when the load areas or triggers are not configured properly.

NOTE:
If you are able to reproduce any of these, please open a new issue and upload your log file. Also please report if this new version resolves the problem or not.

Don't miss a new FS25_UniversalAutoload release

NewReleases is sending notifications on new releases.