FfH2 0.21 Bug Thread

Quite right Nikis... I hadn't rought so.

Thanks Go Boks, I seem to recall that sentiment being voiced earlier on, but evidentally the implimentation didn't work as expected... unless I got a corrupt download? If anyone has a chance to test and see if this same error pops, would be cool.

hhmm... much much later than I thought...

Cheers!
 
Code:
        if eTeam.isHasTech(gc.getInfoTypeForString('TECH_PHILOSOPHY')):
                if pPlayer.getAlignment() < 0:
                        bValid = true
                        for iTeam in range(gc.getMAX_PLAYERS()):
                                eTeam = gc.getTeam(iTeam)
                                if eTeam.isAlive():
                                        if eTeam.isHasTech(gc.getInfoTypeForString('TECH_CORRUPTION_OF_SPIRIT')):
                                                bValid = false
                        if bValid == true:
                                iTech = gc.getInfoTypeForString('TECH_INFERNAL_PACT')

This code means so long as corruption of spirit is unknown, any evil civ with philosophy will research infernal pact.

Except, they can't research infernal pact without AV state religion, which means that they don't research anything. Watching Flauros with the Alt-Z cheat mode engaged for a few turns verified this. He's simply researching nothing. (While the Elohim are turns away from Order) Changing the INFERNAL_PACT to CORRUPTION_OF_SPIRIT and he starts researching Way of the Wicked as intended.

From what I can tell this is because cannotResearch stops researching the 2nd tech of the religion lines without that state religion, so even though chooseTech will follow along a line toward that goal, it gets simply denied by cannotResearch and instead researches nothing.


Saien, I changed INFERNAL_PACT to CORRUPTION_OF_SPIRIT but still evil civilizations get stuck and give up research at the same point. Is this the only change I have to do? Fact that confuses me is they resume their research as soon as I give them the tech CORRUPTION_OF_SPIRIT via world builder. I know close to nothing when it comes to coding (python or whatever; only know some very basic c++), so it's impossible for me to understand where the problem is.
 
The team with Basium doesn't seem to work right. When in a team, there shouldn't be cultural attrition in the city range: the city with the mercurian gate should be able to get the first and second ring of squares but it doesn't.
 
The eyes and ears network cannot give corruption of spirit, but can give infernal pact. These should be reversed to match with all other religious techs.
 
If a scout attacks an animal, the animal gets -100% (not really -100%, the Civ combat calculations handle negative percentages differently. In this case, it divides the defending animal's strength by 2 if there are no other adjustments).

If an animal attacks a scout, the scout gets +100%, doubling the scout's base strength with no other adjustments.

According to how I interpret your words, there is nothing unexpected going on.
Please read that page I linked to if you do not believe me.

- Niilo

Ok the bug is from civ4, but maybe there is a way to make "vs. Specific situations" promotions apply only as bonus and not as penalty
 
A couple more questions about CoS/AV etc.

What do the entries <iFlavor>, <FlavorType> in the CIV4TechInfos.xml exactly do? Are they some sort of weight factors for the AI?
And why is

<Flavor>
<FlavorType>FLAVOR_RELIGION</FlavorType>
<iFlavor>5</iFlavor>
</Flavor>

for Corruption of Spirit and

<Flavor>
<FlavorType>FLAVOR_RELIGION</FlavorType>
<iFlavor>10</iFlavor>
</Flavor>

for Orders from Heaven?

What about the <iAIWeight> entry? Why is it always set to 0? Isn't it the easiest/roughest way of telling the AI what to research?
 
Kael,
I'm having a problem with a CTD. I've saved right up to before it happens, and every time it crashes either at the end of the turn, or as it's going to the next turn. I can't upload a save as it's too big.
Playing as Calabim, in a war with both Dwarf races, I don't really even have any major events. AC is at 45, Blight already happened, only thing I'm building is the Infernal Grimore.
It's not a memory issue, I looked at the error report.
Any ideas?
 
A couple more questions about CoS/AV etc.

What do the entries <iFlavor>, <FlavorType> in the CIV4TechInfos.xml exactly do? Are they some sort of weight factors for the AI?
And why is

<Flavor>
<FlavorType>FLAVOR_RELIGION</FlavorType>
<iFlavor>5</iFlavor>
</Flavor>

for Corruption of Spirit and

<Flavor>
<FlavorType>FLAVOR_RELIGION</FlavorType>
<iFlavor>10</iFlavor>
</Flavor>

for Orders from Heaven?

What about the <iAIWeight> entry? Why is it always set to 0? Isn't it the easiest/roughest way of telling the AI what to research?

There's a pretty detailed discussion on the subject of AiWeights and Flavors over here. The short version is 1) yes, it's a way to increase the priority of a particular technology; 2) the numbers are too small to have a significant impact; 3) I think that the system should be re-scaled.
 
Promotions:
The Civopedia entry for Blitz says that Melee units can get it after having Combat V (and the tech for it). I have had Losha Valas and Wilbomen (World Builder for W.) and neither could get Blitz.
It also says Mounted units can get it, but Rosier the Fallen couldn't.

These seem like bugs.

you need the Celerity tech
 
Saien, I changed INFERNAL_PACT to CORRUPTION_OF_SPIRIT but still evil civilizations get stuck and give up research at the same point. Is this the only change I have to do? Fact that confuses me is they resume their research as soon as I give them the tech CORRUPTION_OF_SPIRIT via world builder. I know close to nothing when it comes to coding (python or whatever; only know some very basic c++), so it's impossible for me to understand where the problem is.

I think you also need to change this line:

Code:
if eTech == gc.getInfoTypeForString('TECH_INFERNAL_PACT'):
		if pPlayer.getStateReligion() != gc.getInfoTypeForString('RELIGION_THE_ASHEN_VEIL'):
			return True

to this:

Code:
if eTech == gc.getInfoTypeForString('TECH_CORRUPTION_OF_SPIRIT'):
		if pPlayer.getStateReligion() != gc.getInfoTypeForString('RELIGION_THE_ASHEN_VEIL'):
			return True

Not sure, though, I'm no coder.
 
Saien, I changed INFERNAL_PACT to CORRUPTION_OF_SPIRIT but still evil civilizations get stuck and give up research at the same point. Is this the only change I have to do? Fact that confuses me is they resume their research as soon as I give them the tech CORRUPTION_OF_SPIRIT via world builder. I know close to nothing when it comes to coding (python or whatever; only know some very basic c++), so it's impossible for me to understand where the problem is.

I actually stopped playing after this bug was posted, the first time. I hope Kael & Co posts a patch soon. :confused:
 
I think you also need to change this line:

Code:
if eTech == gc.getInfoTypeForString('TECH_INFERNAL_PACT'):
		if pPlayer.getStateReligion() != gc.getInfoTypeForString('RELIGION_THE_ASHEN_VEIL'):
			return True

to this:

Code:
if eTech == gc.getInfoTypeForString('TECH_CORRUPTION_OF_SPIRIT'):
		if pPlayer.getStateReligion() != gc.getInfoTypeForString('RELIGION_THE_ASHEN_VEIL'):
			return True

Not sure, though, I'm no coder.

No, that means you can't research infernal pact if you don't have AV as state religion.
 
This is very minor, but teh music that was playing during the game was the music from the Vanilla
 
i fixed the ashen veil technology glitch, and is it just me or is the AI now more adamant about researching the AV?

In three games I've played, the computer has founded AV by year 150, where it usually took to around early 200 for them to find it.
 
I apologize for missing this.

I read only the Special Abilities section for Druids and when I did not see it there in red that they were not buildable by my civ I never thought of reading the History section on Druids.

I'm not sure why (civs have to be Neutral to build Druids), but I'll know better next time to read everything.

Thanks.

Kael explained to me some time back that:

Only Good Civs get Paladins,
Only Neutral Civs get Druids,
Only Evil Civs get Eidolins.

It is considered a balance issue.
 
The Temple of the Overlords doesn't actually gives +1 happiness from incense, AFAICT.

Actually, an addendum to this bug: the presence of a Temple of Leaves or a Temple of the Overlords alone doesn't give +1 happiness from incense. However, the presence of both, or in combination with a Temple of the Order, does. My hypothesis is that the first temple isn't giving happiness for some reason.
 
at a certain point in one of my games, it always exits me out to the desktop.

I would upload a save, but i don't know how:mad:

can anyone tell me please?
 
you got a link to that fix?

no, I manually fixed it. I found the line of code and switched the instances where "Infernal Pact" are still considered the religion granting tech.

Also, playing as the sheaim i'm getting errors left and right. Here are a few screenies i've taken


this one was when i tried to cast "wither", or "Contaigen", i'm not quite sure which this specific image is. However both of them did the same thing. It seems to be requesting a casting location before I have the chance to designate one.


Sabathiel whined to me about making entropy nodes, but then builds one himself... Am I the only one seeing hypocrisy here? I don't think this is something the 'good' Civ's should be able to do


This one opened 20 python errors at once. I had to press OK many times for it to go away, and the box got a little more transperant each time untill it looked normal.
 
Back
Top Bottom