I'm trying to search for the error message in the source files but everytime I do a search, Visual Studio opens Notepad++ and slowly checks each file in there. It's annoying. And it doesn't let me do anything else, as it calls me back each file that is passed. Is there a way to disable that? I tried searching this on google but no one seems to have had this issue
EDIT: I fixed that by uninstalling Notepad++, not the best solution but a quick one
I didn't find the messages that pop on screen in the source files, so no clue on that.
Then I tried loading Magnus's game and I finally got a crash, but it tells me it can't break on any line because it couldn't track these in the Stack Frame. That makes things harder.
But by reading the loading messages it seems it crashed during ReadStreamableFFreeListTrashArray, a function inside of FFreeListTrashArray.h, which is the same problematic part that we experienced in the Massive MP Game. I'll try to manually cycle through all calls of this function to see in which one it crashes to gather more information, but it seems the game is misusing the FFreeListTrashArray structure again.
EDIT2: I tried putting a breakpoint in the function but it tells me it won't reach that part in the code. Something abou symbols not getting loaded. I remember this happened once when I was trying to debug with files which weren't in accordance with the dll I was using (I was using the original debug dll for the Massive MP while my code was already edited and had generated another dll which I had used before). So instead of using the dll.debug which came in the Assets folder, I'm generating a new one now and will try using it.
EDIT3: Tried generating the DLL but Python.h is missing from the source files.
EDIT4: _precompile.cpp includes CvGameCoreDLL.h, which includes Python.h. But the old C2C MP code also has these calls and it doesn't have Python.h either, so how is the old one able to build, but the new one isn't?
EDIT: I fixed that by uninstalling Notepad++, not the best solution but a quick one
I didn't find the messages that pop on screen in the source files, so no clue on that.
Then I tried loading Magnus's game and I finally got a crash, but it tells me it can't break on any line because it couldn't track these in the Stack Frame. That makes things harder.
But by reading the loading messages it seems it crashed during ReadStreamableFFreeListTrashArray, a function inside of FFreeListTrashArray.h, which is the same problematic part that we experienced in the Massive MP Game. I'll try to manually cycle through all calls of this function to see in which one it crashes to gather more information, but it seems the game is misusing the FFreeListTrashArray structure again.
EDIT2: I tried putting a breakpoint in the function but it tells me it won't reach that part in the code. Something abou symbols not getting loaded. I remember this happened once when I was trying to debug with files which weren't in accordance with the dll I was using (I was using the original debug dll for the Massive MP while my code was already edited and had generated another dll which I had used before). So instead of using the dll.debug which came in the Assets folder, I'm generating a new one now and will try using it.
EDIT3: Tried generating the DLL but Python.h is missing from the source files.
EDIT4: _precompile.cpp includes CvGameCoreDLL.h, which includes Python.h. But the old C2C MP code also has these calls and it doesn't have Python.h either, so how is the old one able to build, but the new one isn't?

Last edited:

But hope this clears that up. 