Black Screen with mod v6 'Advanced Target Priorities EVO'
-
If I activate the mod v6, I just get a black screen when I start the game. Even when I disable all other mods. Can you have a look, please?
-
ok i start to investigate... it works at home. will check it asap
-
info: Hooked /lua/ui/game/unitview.lua with /mods/advanced target priorities evo/hook/lua/ui/game/unitview.lua
info: Hooked /lua/ui/game/construction.lua with /mods/advanced target priorities evo/hook/lua/ui/game/construction.lua
info: Hooked /lua/ui/game/orders.lua with /mods/advanced target priorities evo/hook/lua/ui/game/orders.lua
info: Hooked /lua/keymap/misckeyactions.lua with /mods/advanced target priorities evo/hook/lua/keymap/misckeyactions.lua
warning: ...\faforever\1\gamedata\lua.nx2\lua\ui\game\orders.lua(1844): attempt to concatenate field `Preset' (a nil value)
warning: stack traceback:
warning: ...\faforever\1\gamedata\lua.nx2\lua\ui\game\orders.lua(1844): in main chunki don t have this bug, thanks for the report. i m checking...
-
Thank you for your hard work. I have also encountered a black screen issue, even if only using your MOD and keeping the screen scaling at 100% or 125% . At this point, pressing the HOME button can enter split screen mode, and the FA screen will appear, but the original UI will completely disappear; if select ACU, you will find that your MOD UI is missing, even the original game UI is gone. I can only exit by pressing ALT+F4.
-
a hotfix should be available very soon.
do you know where/how to set lazyvar.ExtendedErrorMessages ?
the debugger is so lite without.I found some side effects relative to gameprefs and the preset management.
May occurs at startup when the prioSettings are unknown, nil error that cause crash.
and an uppercase bug on the preset filename. Stogo1_1.lua => stogo1_1.lua.
Also, a part of the safety code was missing.i checked from scratch, got errors with use cases, critical, but never a black screen.
Actually the fix is ok. it solves the issues.
the code is way more robust now but need another testing iteration. -
-
-
-
- ---Is the following content related to the capitalization issue you mentioned?
-
- -- from init_faf.lua
-
-
-
-
-
- --- Lowers the strings of a hash-based table, crashes when other type of keys are used (integers, for example)
-
- local function LowerHashTable(t)
-
-
local o = { }
-
-
-
for k, v in t do
-
-
-
o[StringLower(k)] = v
-
-
-
end
-
-
-
return o
-
-
- end
-
-
-
-
-
- -- mods that have been integrated, based on folder name
-
- local integratedMods = { }
-
- integratedMods = LowerHashTable(integratedMods)
-
-
-
-
-
- -- convert all mod folder name keys to lower case to prevent typos
-
- deprecatedMods = LowerHashTable(deprecatedMods)
-
-
-
-
-
- -- typical FAF packages
-
- local allowedAssetsNxy = { }
-
- allowedAssetsNxy = LowerHashTable(allowedAssetsNxy)
-
-
-
-
-
- -- typical FA packages
-
- local allowedAssetsScd = { }
-
- allowedAssetsScd = LowerHashTable(allowedAssetsScd)
-
-
-
-
-