FS22_CombineXP
FS22_CombineXP copied to clipboard
Issue with starting the game
I cant start my savegame as CombineXP has some type of issue. It's not a mod conflict as its the only mod i selected
this is the latest thing in the log that comes up: C:/Users/username/Documents/My Games/FarmingSimulator2022/mods/FS22_CombineXP/src/CombineXP.lua:101: bad argument #1 to 'tonumber' (value expected)
This is what it looks like when i hit start on a savegame
this is addistional stuff in the log:
2022-12-01 18:58 Error: C:/Users/username/Documents/My Games/FarmingSimulator2022/modSettings/combineXP.xml. XML_ERROR_EMPTY_DOCUMENT.
2022-12-01 18:58 Warning (script): Unknown entity id 0 for 'object' in method 'getXMLString'.
2022-12-01 18:58 LUA call stack:
=C:/Users/username/Documents/My Games/FarmingSimulator2022/mods/FS22_CombineXP/src/CombineXP.lua (101) : getXMLString
=C:/Users/username/Documents/My Games/FarmingSimulator2022/mods/FS22_CombineXP/src/CombineXP.lua (139) : loadDependantSpeed
=C:/Users/username/Documents/My Games/FarmingSimulator2022/mods/FS22_CombineXP/src/main.lua (55) : onMissionStart
dataS/scripts/utils/Utils.lua (461) : newFunc
dataS/scripts/gui/MPLoadingScreen.lua (187) : onStartMission
dataS/scripts/gui/elements/ButtonElement.lua (762) : raiseCallback
dataS/scripts/gui/elements/ScreenElement.lua (182) : sendAction
dataS/scripts/gui/elements/ScreenElement.lua (186) : callButtonsWithAction
dataS/scripts/gui/elements/ScreenElement.lua (186) : callButtonsWithAction
dataS/scripts/gui/elements/ScreenElement.lua (216) : callButtonsWithAction
dataS/scripts/gui/elements/GuiElement.lua (652) : inputEvent
dataS/scripts/gui/base/Gui.lua (782) : inputEvent
dataS/scripts/gui/base/Gui.lua (809) : notifyControls
dataS/scripts/input/InputEvent.lua (100) : callback
dataS/scripts/input/InputBinding.lua (3328) : notifyInput
dataS/scripts/input/InputBinding.lua (3041) : updateInput
dataS/scripts/main.lua (1202) : update
2022-12-01 18:58 Error: Running LUA method 'update'.
C:/Users/username/Documents/My Games/FarmingSimulator2022/mods/FS22_CombineXP/src/CombineXP.lua:101: bad argument #1 to 'tonumber' (value expected)
Also my game freezes if i press the menu button
Hello @JakkUB29 Sorry I missed your issue. It looks like the file C:/Users/username/Documents/My Games/FarmingSimulator2022/modSettings/combineXP.xml is empty and so cannot be loaded. You might rename/remove it so it would be created from scratch when starting a game. Please let me know if it’s fixed then.