AlexKage69 / OlympusExtra

GNU General Public License v2.0
57 stars 6 forks source link

Game crashes updating codex upon exiting 'Defeated Hades' screen #189

Closed dmdonnelly closed 8 months ago

dmdonnelly commented 9 months ago

I've tried multiple times now, but every time I try to use this mod, I get the exact same error after I defeat Hades:

Script Crash: CodexScripts.lua:133 attempt to index local 'entryData' (a nil value)

Lua Stack Trace: E:\Steam\steamapps\common\Hades\Content\Scripts\Main.lua:420: E:\Steam\steamapps\common\Hades\Content\Scripts\CodexScripts.lua:133: attempt to index local 'entryData' (a nil value) at l_msghandler in d:\jenkins\workspace\minos_pc_latest\gsge\engine.native\code\helpers\luaext.cpp:line 335 (0x00007ff8d31185c5) at luaD_precall (0x00007ff8d329e800) at luaD_call (0x00007ff8d329e490) at luaG_errormsg (0x00007ff8d3299e90) at lua_error (0x00007ff8d3297cc0) at luaL_error (0x00007ff8d329ae60) at luaD_precall (0x00007ff8d329e800) at luaV_execute (0x00007ff8d32a4da0) at luaD_call (0x00007ff8d329e490) at luaD_rawrunprotected (0x00007ff8d329ed10) at luaD_pcall (0x00007ff8d329e6a0) at lua_pcallk (0x00007ff8d3298440) at sgg::ScriptManager::Update in d:\jenkins\workspace\minos_pc_latest\gsge\engine.native\code\script\scriptmanager.cpp:line 223 (0x00007ff8d319ab0d) at sgg::World::Update in d:\jenkins\workspace\minos_pc_latest\gsge\engine.native\code\world\world.cpp:line 922 (0x00007ff8d3229eaf) at sgg::GameplayScreen::Update in d:\jenkins\workspace\minos_pc_latest\gsge\engine.native\code\gui\screenmanager\screens\gameplayscreen.cpp:line 78 (0x00007ff8d30c298a) at sgg::ScreenManager::Update in d:\jenkins\workspace\minos_pc_latest\gsge\engine.native\code\gui\screenmanager\screenmanager.cpp:line 566 (0x00007ff8d30b13b1) at sgg::App::Update in d:\jenkins\workspace\minos_pc_latest\gsge\engine.native\code\app.cpp:line 782 (0x00007ff8d2f5b25b) at sgg::App::UpdateAndDraw in d:\jenkins\workspace\minos_pc_latest\gsge\engine.native\code\app.cpp:line 575 (0x00007ff8d2f5a81d) at sgg::HadesMainApp::Update in d:\jenkins\workspace\minos_pc_latest\gsge\engine.native\windows\code\program.cpp:line 2443 (0x00007ff8d329207c) at WindowsMain in d:\jenkins\workspace\minos_pc_latest\gsge\the-forge\common_3\os\windows\windowsbase.cpp:line 1174 (0x00007ff8d3245aee) at AppMain in d:\jenkins\workspace\minos_pc_latest\gsge\engine.native\windows\code\program.cpp:line 2029 (0x00007ff8d32909fb) RAM usage: 63% (~11 GB available or 12514947072 bytes)

As far as I can tell from the code

local entryData = Codex[chapterName].Entries[entryName] entryData.Message = entryData.UnlockMessage or "Codex_EntryUnlocked" when it tries to add the Message, it's adding it to an object it can't find. I've first tried it with just Hera, then Hestia and Hera, then all three, so it might be unable to find the Goddesses tab in the Codex when saving it.

The other mods I've been running (other than ModUtil and ModImporter, of course) are:

Update (15/11): I think I might have found the problem. I'll need to test further, but I believe this mod was clashing with 'Pony's Quality Of Life'. Specifically, the Commendations tab. After I disabled that, I was able to complete a run using Apollo without error.

AlexKage69 commented 8 months ago

Good to know. Since I never got that error with OE. I'll close the ticket.