Error on InfoTownMayor.cpp (Again)
Error on InfoTownMayor.cpp (Again)
I was building a new city and when the 30 years of the first turn is up, When I enter the election screen and press the election bottom, a Error on File : InfoTownMayor.cpp Line:255 occurred
- Attachments
-
- Mayor_Error.JPG (344.52 KiB) Viewed 1230 times
Last edited by eleaza on Sat Jul 23, 2016 10:02 am, edited 1 time in total.
E is for Endear, all cute and cuddly
L is for Luxury, longing for splendid
E is for Elate, making others happy
A is for Amenable, a serene nature
Z is for Zeal, zest for wonderful life
A is for Admirers, all of you love me

L is for Luxury, longing for splendid
E is for Elate, making others happy
A is for Amenable, a serene nature
Z is for Zeal, zest for wonderful life
A is for Admirers, all of you love me
Re: Error on InfoTownMayor.cpp
Should be this one, but not always trigger this error. I already overwrite the older save. It seems to be related to what sequence I enter the screen, in Jan 1, 2019, before the pop-up screen says there's an election, and during the change to Jan 2, enter the party screen to view the new city with View Election Screen, and if the default is Delegation screen, press the Election bottom will trigger this error.
- Attachments
-
- ELEA_008.zip
- (2.27 MiB) Downloaded 111 times
E is for Endear, all cute and cuddly
L is for Luxury, longing for splendid
E is for Elate, making others happy
A is for Amenable, a serene nature
Z is for Zeal, zest for wonderful life
A is for Admirers, all of you love me

L is for Luxury, longing for splendid
E is for Elate, making others happy
A is for Amenable, a serene nature
Z is for Zeal, zest for wonderful life
A is for Admirers, all of you love me
- David
- Community and Marketing Manager at Enlight
- Posts: 10968
- Joined: Sat Jul 03, 2010 1:42 pm
- Has thanked: 131 times
- Been thanked: 409 times
Re: Error on InfoTownMayor.cpp
We couldn't replicate the bug in our testing but the programmer has modified some code in attempt to resolve it and the update will be available in the next patch v4.2.04.
Re: Error on InfoTownMayor.cpp
That was my bad. I only have one save from long time ago, and have to use autosave from Feb 2018 the 2019 election, and once I pass Jan 2 and didn't trigger the bug again (that's why I think the sequence of actions contribute to this error), I accidently pressed 5, instead of "T" and went pass Feb 2019, and the previous autosave was overwritten.
I missed clicked "T" and 5 a lot, the hotkey of cities screen is very useful managing multiple cities, but easily miss click
I missed clicked "T" and 5 a lot, the hotkey of cities screen is very useful managing multiple cities, but easily miss click
E is for Endear, all cute and cuddly
L is for Luxury, longing for splendid
E is for Elate, making others happy
A is for Amenable, a serene nature
Z is for Zeal, zest for wonderful life
A is for Admirers, all of you love me

L is for Luxury, longing for splendid
E is for Elate, making others happy
A is for Amenable, a serene nature
Z is for Zeal, zest for wonderful life
A is for Admirers, all of you love me
Re: Error on InfoTownMayor.cpp
This bug still happened in 4.2.04, I only have an autosave in previous February. I don't know what I did causing it. Just click the city and see the mayor screen and click election button.
- Attachments
-
- InfoTownMayor.jpg (574.71 KiB) Viewed 1178 times
-
- ELEA_010.zip
- (6.83 MiB) Downloaded 112 times
E is for Endear, all cute and cuddly
L is for Luxury, longing for splendid
E is for Elate, making others happy
A is for Amenable, a serene nature
Z is for Zeal, zest for wonderful life
A is for Admirers, all of you love me

L is for Luxury, longing for splendid
E is for Elate, making others happy
A is for Amenable, a serene nature
Z is for Zeal, zest for wonderful life
A is for Admirers, all of you love me
Re: Error on InfoTownMayor.cpp (Again)
This is the furthest I can approach the next election, and actually once causing the same error with InfoTownMayor.cpp
The strange thing is, not every time I enter the Mayor screen, this error occured. I tried to repeat what I did exactly, however still not always trigger this error. What I did the first time to trigger this error is I bought 2 apartments from the city my party is the mayor, I borrowed money from the bank to buy the stock of my subsidiary to 75%. And before the election notice screen pop up, I clicked the building new apartment using city management interface, after I click the notice screen, I enter the mayor's screen, and click the election button.
Right now, I am more keen to think that this error is triggered due to which AIs from which party are running against me, than what I did.
The strange thing is, not every time I enter the Mayor screen, this error occured. I tried to repeat what I did exactly, however still not always trigger this error. What I did the first time to trigger this error is I bought 2 apartments from the city my party is the mayor, I borrowed money from the bank to buy the stock of my subsidiary to 75%. And before the election notice screen pop up, I clicked the building new apartment using city management interface, after I click the notice screen, I enter the mayor's screen, and click the election button.
Right now, I am more keen to think that this error is triggered due to which AIs from which party are running against me, than what I did.
- Attachments
-
- ELEA_011.zip
- (7.19 MiB) Downloaded 110 times
E is for Endear, all cute and cuddly
L is for Luxury, longing for splendid
E is for Elate, making others happy
A is for Amenable, a serene nature
Z is for Zeal, zest for wonderful life
A is for Admirers, all of you love me

L is for Luxury, longing for splendid
E is for Elate, making others happy
A is for Amenable, a serene nature
Z is for Zeal, zest for wonderful life
A is for Admirers, all of you love me
- David
- Community and Marketing Manager at Enlight
- Posts: 10968
- Joined: Sat Jul 03, 2010 1:42 pm
- Has thanked: 131 times
- Been thanked: 409 times
Re: Error on InfoTownMayor.cpp (Again)
We have added some code in another attempt to fix this problem in the upcoming v4.2.05.