#Loading mods into the game will appear
1 messages · Page 1 of 1 (latest)
What is the bug?
Game crash, i guess.
Can't really point at anything specific given yet
but it looks the same as https://discord.com/channels/549281623154229250/1047080297042280518/threads/1455751097754058752
Thats just messed up tweakdef
tweakdefs are effectively changing the game source, crash can just happen when the code is wrong, report to mod author
Not a game bug
we cannot give "nice error" here, engine is basically asked to load incorrect code
it's not on load though
it's like the tweak has changed a value on a weapon to an invalid and it then complains on a check
The root cause of this error is: In line 1950 of the file gamedata/alldefs_post.lua, the code calls math.max() (or another function named "max"), but the first argument passed to this function was expected to be a number, while it actually received a table (the Lua table type). This caused the function to fail and subsequently triggered an error in the configuration parser.
this sounds like you just asked ChatGPT
The sentence above was translated by an AI, haha
This kind of issue typically occurs when there‘s an error in the key-value pairs while writing the def, or when the curly braces {} are not wrapping the structure correctly, which leads to such an error report.