• Our friends from AlphaCentauri2.info are in need of technical assistance. If you have experience with the LAMP stack and some hours to spare, please help them out and post here.

Bug Reports and Technical Issues

Did they used to have one? I am always playing without sound. Since when is it gone?
 
Take this with a grain of salt since I play without sound around 80% of the time. I believe it made a "ker-chunk" sound effect. Part of the problem with that making a sound effect though is that it also plays that effect when you discover a resource due to teching. So if you say, research the tech that reveals coal and have a large empire - kerchunkkerchunkkerchunkkerchunkkerchunkkerchunkkerchunkkerchunkkerchunkkerchunkkerchunkkerchunk
 
Take this with a grain of salt since I play without sound around 80% of the time. I believe it made a "ker-chunk" sound effect. Part of the problem with that making a sound effect though is that it also plays that effect when you discover a resource due to teching. So if you say, research the tech that reveals coal and have a large empire - kerchunkkerchunkkerchunkkerchunkkerchunkkerchunkkerchunkkerchunkkerchunkkerchunkkerchunkkerchunk
Fair point. Therefore I'll be glad to await further community input on the matter before deciding on implementation. Funny I literally just posted about the Border Expansion sound haunting my dreams 🤣 so I can for sure sympathize.
 
The random discoveries and the scripted appearances use different code though.
 
From my recent Babylonia campaign, notice how much time passes with me finishing the construction of Hanging Gardens and then moving onto Ishtar Gate, a huge amount of turns passes and it was on marathon speed. Assyrian most capable units sit on that very tile and do literally nothing. They sit on the Independent territory, they're evidently in a state of war with Elam which they declared just to get on that tile, not even trying to actually fight the Elamites and capture Shushan. They sent four units there, most of their military force that they have at spawn. This happens every single round from my observation and might be a huge reason behind the Assyrians lacking in aggressiveness and expansionism
Still quite curious to learn what might be making this happen, is this because it is scripted for the civilizations to really be attracted to the happiness resources this much?
 
I haven't had the time to look into this yet, if you share a save of a situation like that it would help me along.
 
Was having a nice Malay game and now i get a crash to desktop in 1240
Thanks for reporting this, especially with the preceding saves. It enabled me to fix a long standing bug that I was unable to identify the cause of before.

At the time the crash occurs, the bug is already "baked into" the game: there is an inconsistency about the location of a Mongol trebuchet. The plot that thinks it has the unit on it is not the plot that the unit thinks it is on. This causes a conflict when the unit eventually tries to enter the plot that already believes it has the unit on it.

I had seen this issue before but when it's already present in the save it is basically impossible to say which bug in the system allowed this situation to occur. Fortunately your earliest save did not have this issue present, which allowed me to actually catch the moment the problem is created and fix it.

If you're interested, it is actually the Mongol spawn that causes this. There is a sequence of events where the Mongol city flip causes them to make contact with other civs which triggers their conquerors which includes a war declaration which also triggers their expansion units. Since all these events interrupt each other and war declarations also cause units to be moved around because they cannot share tiles anymore, which eventually creates this inconsistent state.

I will include the fix in my next update, you should be able to resume from the earliest save then if you still want to.
 
I haven't had the time to look into this yet, if you share a save of a situation like that it would help me along.
I may share the save once I replay it again, however It was happening every single round that I was starting as Babylonia, it's a very consistently repeatable bug that I haven't seen not happening yet during my playthroughs, meaning it's also very easy to replicate, especially given how early it is in 3000 BC scenario
 
Playing as Korea. Hanseong borders refuse to expand to the silk tile, even if they have expanded beyond the second ring. Here's the initial save from turn 165 and the save from turn 185.

1739728030864.png
 

Attachments

I may share the save once I replay it again, however It was happening every single round that I was starting as Babylonia, it's a very consistently repeatable bug that I haven't seen not happening yet during my playthroughs, meaning it's also very easy to replicate, especially given how early it is in 3000 BC scenario
Even so, if I reproduce things myself 1) I do not know if that is actually what you mean (often enough I could not reproduce an issue but then am unsure if this means it is not actually an issue) and 2) doing so still costs me time that I could use to fix more actionable issues, so things like that go to the bottom of my priority list.
 
1700AD Scenario: Several Portuguese core tiles controlled by Spain (and with about 10,000 Spanish culture each). Spain also controls a French core tile in Gascony.
Civ4ScreenShot0030.JPG


Also: Scripted 600AD Edo and pre-placed 1700AD Edo are on different tiles. 66,32 (Benin City) seems to be the intended one, nay?

There are several other items that could be submitted for discussion and review but this wouldn't be the appropriate thread.
 

Attachments

  • Civ4ScreenShot0031.JPG
    Civ4ScreenShot0031.JPG
    331.9 KB · Views: 36
1700AD Scenario: Several Portuguese core tiles controlled by Spain (and with about 10,000 Spanish culture each). Spain also controls a French core tile in Gascony.
View attachment 720273

Also: Scripted 600AD Edo and pre-placed 1700AD Edo are on different tiles. 66,32 (Benin City) seems to be the intended one, nay?

There are several other items that could be submitted for discussion and review but this wouldn't be the appropriate thread.
I didn't spend any effort on fixing borders yet - by default everything simply follows the rules for cultural control. It's easy enough to fix though, so if you find anything else let me know.
 
Playing as Korea. Hanseong borders refuse to expand to the silk tile, even if they have expanded beyond the second ring. Here's the initial save from turn 165 and the save from turn 185.

View attachment 720149
When I start from your earlier save and expand Hanseong's culture, it works normally. But I can confirm that something is wrong in the later save. The tile is eventually covered but way too late in the order. Explicitly telling the game to recalculate culture costs fixes this. I am unsure what the original cause was, though.

Was this tile ever covered by Chinese culture? I notice that China collapsed, do you happen to still have a save before that occurred?
 
When I start from your earlier save and expand Hanseong's culture, it works normally. But I can confirm that something is wrong in the later save. The tile is eventually covered but way too late in the order. Explicitly telling the game to recalculate culture costs fixes this. I am unsure what the original cause was, though.

Was this tile ever covered by Chinese culture? I notice that China collapsed, do you happen to still have a save before that occurred?

No. China had already collapsed when I spawned and I don't have a save before that.
 
Ending the turn on the following save I get the following error, running the Feb 17 version:

Code:
Traceback (most recent call last):
  File "BugEventManager", line 382, in _handleDefaultEvent
  File "Events", line 17, in handler_func
  File "Resurrection", line 45, in checkResurrection
  File "Resurrection", line 244, in doResurrection
  File "RFCUtils", line 1012, in killUnits
  File "Core", line 937, in where
  File "Core", line 926, in copy
  File "Core", line 937, in <generator expression>
  File "Core", line 1658, in _factory
  File "Core", line 754, in unit
AttributeError: 'NoneType' object has no attribute 'getUnit'
 

Attachments

Was Jetavanaramaya supposed to expire with Humanities? Playing the latest Git version, and it doesn't seem to expire with Humanities.
 
Java with the Central Planning civic has the civ name TXT_KEY_CIV_JAVA_COMMUNIST
Just in case, the AI Java in my game that has this name has these civics: Democracy, Bureaucracy, Slavery, Central Planning, Syncretism, Colonialism
 
Back
Top Bottom