Bug Thread for Fallout LS Mod

yeah, this is my experience too. I am really not sure what about it that is causing the CTD, it just seems really strange, normally when an artfile is wrong it goes properly wrong in game, this is an entirely new kind of problem that I have never experienced before, at some point I will try removing the button and going back to the old archer, but I can't really see why the button art would break it, I have looked at the art file and I can't work out why this one would cause issues over any other, I am just at a complete loss to explain it. I have posted a thread to see if anyone is willing to help me try to debug it I will just have to wait and see. I have looked at the art file but can't see anything that would be an issue....there are a few small things I can try but I am not holding my breasth that they will have an effect...

It would be my guess that its not the art file, if it was a broken link it would simply show a red blob, my guess is there is something looking for something and when it finds it , it produces the crash, but i have no idea what it would be. double check the unit classes with the schema file, thats probably where the problem is now that i think about it. if there is not a correct entry in the schema, then that will cause a crash.
 
Ok take a look at this. there is a "copy" of the CivCoreGame.dll Folder in the dropbox and consequently in my game build. I assume this should not be the case - correct? perhaps this is contributing to the ctd???
 

Attachments

  • Assets Folder.jpg
    Assets Folder.jpg
    247.8 KB · Views: 158
No that is fine, I shouldn't really be putting either of the DLL folders in the dropbox, but it is too much of a faff to move them, but basically the game does not read either DLL folder, it only reads the compiled DLL file at the bottom. the reason for the copied DLL folder is that if I break the DLL adding in a new component, I have a backup that I can revert to that will compile. But the game doesn't actually use these.
 
oh also, I think the current version of the dll is a debug version, if you get messages in a grey box, just click ignore always, or make a note of it in your test log, before ignoring always, a lot of the recurring ones I know about, at least till the point of the Xbow crash. I just don't know if or how to fix them yet. But they may just be for debugging, as a lot of them seem to refer to Kmods AI I think. So it may just be there to tell K when something is or is not happening so he can track his AI changes.
 
Turn 16 debug error

Turn 101 debug error

Spoiler :
Assert Failed

File: CvInfos.cpp
Line: 4332
Expression: iRouteType > -1
Message: Index out of bounds

----------------------------------------------------------


Turn 165

Spoiler :
Assert Failed

File: CvCity.cpp
Line: 6764
Expression: getSpecialistUnhappiness() >= 0
Message:

----------------------------------------------------------


Turn 187

Spoiler :
Assert Failed

File: CvPlayer.cpp
Line: 12489
Expression: eIndex >= 0
Message: eIndex is expected to be non-negative (invalid Index)

----------------------------------------------------------


Turn 225

Spoiler :
Assert Failed

File: CvPlayer.cpp
Line: 14292
Expression: isHuman() || isBarbarian() || ((getGold() + iGoldChange) >= 0) || isAnarchy()
Message:

----------------------------------------------------------
 

Attachments

  • Assert Failure.jpg
    Assert Failure.jpg
    273.9 KB · Views: 130
Ok cool, some of those are ones I have seen some are not, I am going to take a look at the barricade code, that is one of the newest things, with any luck it is the same issue as the Xbow.

Ok Job done, Just replace your artdefinesbuilding file with the one in the dropbox. Or if you fancy doing a spot of coding just delete the ',' at the beginning of the button reference :-)

Still need to learn what these debug errors are about and if/how they need fixing, the iroute one sounds like it might be jroute code, which (if it is working) allows me to define whether or not something can use a specific bit of road. I don't know how to use that code yet though.

Ok I have added some more additions to the dropbox version. Just trying to decide the next step to take...maybe terrain...maybe resources..ugh dunno... too tired to think :)
 
The following error occur prior to the main menu load:

Spoiler :
Assert Failed

File: c:\games\civiv\2k games\firaxis games\sid meier's civilization 4 complete\beyond the sword\mods\k-fallout\assets\cvgamecoredll - copy\CvInfos.h
Line: 66
Expression: false
Message: Override this

----------------------------------------------------------



This error occurs while the game is being built

Spoiler :
Assert Failed

File: CvPlayer.cpp
Line: 11990
Expression: getFreeCityCommerce(eIndex) >= 0
Message:

----------------------------------------------------------


This error occurs between turn 0 and turn 1

Spoiler :
Assert Failed

File: CvCity.cpp
Line: 9549
Expression: m_aiCommerceRate[eIndex] >= 0
Message:

----------------------------------------------------------


This error occurs between turn 0 and turn 1

Spoiler :
Assert Failed

File: CvPlayer.cpp
Line: 12124
Expression: getCommerceRate(eIndex) >= 0
Message:

----------------------------------------------------------


This error occurs between turn 0 and turn 1

Spoiler :
Assert Failed

File: CvCity.cpp
Line: 1214
Expression: GET_PLAYER(getOwnerINLINE()).getFreeCityCommerce((CommerceTypes)iI) >= 0
Message:

----------------------------------------------------------


Turn 18

Spoiler :
Assert Failed

File: CvCity.cpp
Line: 1214
Expression: GET_PLAYER(getOwnerINLINE()).getFreeCityCommerce((CommerceTypes)iI) >= 0
Message:

----------------------------------------------------------


Turn 19

Spoiler :
Assert Failed

File: CvTeamAI.cpp
Line: 6161
Expression: false
Message:

----------------------------------------------------------


Turn 35

Spoiler :
Assert Failed

File: CvCity.cpp
Line: 9549
Expression: m_aiCommerceRate[eIndex] >= 0
Message:

----------------------------------------------------------


Turn 35

Spoiler :
Assert Failed

File: CvPlayer.cpp
Line: 12124
Expression: getCommerceRate(eIndex) >= 0
Message:

----------------------------------------------------------


Turn 93

Spoiler :
Assert Failed

File: CvGlobals.cpp
Line: 1445
Expression: eUnitNum > -1
Message:

----------------------------------------------------------


Turn 107

Spoiler :
Assert Failed

File: CvInfos.cpp
Line: 4332
Expression: iRouteType > -1
Message: Index out of bounds

----------------------------------------------------------
 
Spoiler :
Assert Failed

File: CvCity.cpp
Line: 6764
Expression: getSpecialistUnhappiness() >= 0
Message:

----------------------------------------------------------

TURN 305
Spoiler :
Assert Failed

File: c:\games\civiv\2k games\firaxis games\sid meier's civilization 4 complete\beyond the sword\mods\k-fallout\assets\cvgamecoredll - copy\CvTeamAI.h
Line: 22
Expression: eTeam != NO_TEAM
Message: eTeam is not assigned a valid value

----------------------------------------------------------

TURN 305
Spoiler :
Assert Failed

File: CvTeam.cpp
Line: 3862
Expression: eIndex >= 0
Message: eIndex is expected to be non-negative (invalid Index)


----------------------------------------------------------


TURN 494
Spoiler :
Assert Failed

File: CvPlayer.cpp
Line: 12497
Expression: getFreeBuildingCount(eIndex) >= 0
Message:

----------------------------------------------------------


Crash To Desktop TURN 510
 
I created a report in the drop box folder as well as the first and last autosaves (following Graywarden's Structure). Are you able to see these files or is there something I need to do to make them visible?
 
wow you got all the way to the AD and only researched to building....we may have to look into that.

Yeah that is all fine :) in the dropbox, I can't always use the auto saves as i am always adding new bits to my version, but if you note anything particular about the timing of your crash that is always good too :) like for instance if you were pushing a button or you just discovered a tech, anything that you can think of is good :)
 
Top Bottom