After changing a few settings here and there in some mods I have (I'd post in there, but there isn't a tech support sub-forum in there, and since it's a combination of mods, I don't want to bother anyone in there), and activating just CK2+ and both GIS mods, the game now crashes before reaching the main menu (specifically, it's at the 'initializing map logic' part). Reading the exceptions.log gives me the following.
(I also had some malformed token errors in the errors log, but I fixed those and it didn't change anything.)
While I could reinstall the whole game again, I'm not entirely certain it wouldn't just continue to have the same problem with the same setup. Beyond having those two mods, I also made some of my own modifications to CK2+'s files, namely the defines and religions, as well as traits, and I dropped most of Slvrbuu's cheat menu files in there (I edited the changed defines into CK2+'s defines, then just put the rest besides the cheat menu defines.lua in.), but I don't know why that would make it divide by zero. Plus I have no idea what all these file locations it's referencing are.
EDIT: After some additional testing, it seems CK2+'s files are at fault, as even with all other mods deactivated and the original, clean copy of CK2+'s files, it crashes in exactly the same place in the same way, but with CK2+ deactivated, or with no mods on at all, the game runs fine.
(I also had some malformed token errors in the errors log, but I fixed those and it didn't change anything.)
Code:
######## EXCEPTION: 0xC0000094 at address: 0x01760E80: INT DIVIDE BY ZERO
Version: CK2/branches/2_4_3
25841
11/17/15 14:19:31
c:\jenkins\workspace\ck2-live-r-steam-windows\ck2\source\province.cpp(140) +10 bytes (CProvince::CProvince)
c:\jenkins\workspace\ck2-live-r-steam-windows\ck2\source\map.cpp(332) +45 bytes (CMap::InitPostRead)
c:\jenkins\workspace\ck2-live-r-steam-windows\clausewitzii\clausewitzlib\persistent.cpp(60) +0 bytes (CPersistent::Read)
c:\jenkins\workspace\ck2-live-r-steam-windows\ck2\source\map.cpp(95) +0 bytes (CMap::CreateFromFile)
c:\jenkins\workspace\ck2-live-r-steam-windows\ck2\source\ck_application.cpp(1022) +12 bytes (CCKApplication::LoadDatabases)
c:\jenkins\workspace\ck2-live-r-steam-windows\ck2\source\ck_application.cpp(687) +0 bytes (CCKApplication::InitGame)
c:\jenkins\workspace\ck2-live-r-steam-windows\ck2\source\ck_application.cpp(361) +0 bytes (CCKApplication::Init)
c:\jenkins\workspace\ck2-live-r-steam-windows\ck2\source\main.cpp(717) +0 bytes (SDL_main)
c:\users\rikard.aslund\desktop\external_libs\sdl-1.3.0\src\main\windows\sdl_windows_main.c(145) +13 bytes (main)
c:\users\rikard.aslund\desktop\external_libs\sdl-1.3.0\src\main\windows\sdl_windows_main.c(202) +7 bytes (WinMain)
f:\dd\vctools\crt_bld\self_x86\crt\src\crt0.c(275) +28 bytes (__tmainCRTStartup)
While I could reinstall the whole game again, I'm not entirely certain it wouldn't just continue to have the same problem with the same setup. Beyond having those two mods, I also made some of my own modifications to CK2+'s files, namely the defines and religions, as well as traits, and I dropped most of Slvrbuu's cheat menu files in there (I edited the changed defines into CK2+'s defines, then just put the rest besides the cheat menu defines.lua in.), but I don't know why that would make it divide by zero. Plus I have no idea what all these file locations it's referencing are.
EDIT: After some additional testing, it seems CK2+'s files are at fault, as even with all other mods deactivated and the original, clean copy of CK2+'s files, it crashes in exactly the same place in the same way, but with CK2+ deactivated, or with no mods on at all, the game runs fine.
Last edited: