[BTS] Never Happened Before: My mod is crashing when founding a city in Stone Age

Sword_Of_Geddon

Arbiter of the Sword
Joined
Dec 21, 2003
Messages
14,184
Location
New England, USA
Not sure why this is happening. I have done no changes to anything that might cause this. Anyone experience this before and know a fix? As you know when you reach a new era in the normal game, you get an era splash, new music, and new city graphics. Nothing is different about that in Majesty.

Which is why I am confused.

Edit 3: It happens when you advance to the stone age from the Prehistoric, or when you found a city in the Stone Age. Confirmed Nothing to do with era splash or music.
 
Last edited:
Alright so I tried a duel sized map on a different map type. I reached the Stone Age. The music changed, the era splash came up fine. But after that, something caused the game to crash. I'm at a loss

Edit: So I tried again. This time with a Stone Age start. When I changed eras, without the era splash, everything seemed fine, city changed, everything, then it freezed, and the game crashed to desktop

Edit 2: It isn't related to the city graphics. I'm at a loss as to what is going on
 
Last edited:
I had a few "Nothing is wrong! Why is the bug?! :badcomp:" situations too.
In the end what usually worked was to compare the present version of my mod with whit a previous one that was stable.
Use WinMerge and compare the files line by line. It highlights the lines that are different and you can jump to next/previous difference simply by pressing ALT + UP/DOWN.
Still a tedious work it worked for me so far.
Good luck!
 
Thing is I changed nothing related to the the error
You certainly had to change something whether it looks related or not.
The other option is worse: The bug was hiding there for a much longer time just didn't show up for some reason.
Still my advise is Winmerge.
 
Well I had not touched the city graphics related xml for a very long time. I took a year off modding, was working fine then. That is the error I found it, but I don't know how to fix it.

"It happens when you advance to the stone age from the Prehistoric, or when you found a city in the Stone Age. Confirmed"

I don't have the previous version. I'm hoping someone does.
 
My first thought when this happens, is to ask if I have added a button for something a city can build that is not exactly 64x64 pixels. The part of the program that converts buttons into the circle bit on the city bar crashes when the city tries to build the thing with a wrong size button.
 
Back
Top Bottom