[1.61 and Warlords]bug in AI_bestTech

Iustus

King
Joined
Jul 18, 2006
Messages
609
Location
Sunnyvale, CA
Pardon the crosspost, I just found this forum.

As detailed here, I found a bug in the SDK code (both 161 and Warlords).

The bug appears to be a simple copy and paste error, which causes the AI to improperly value some techs when choosing which tech to research (next or take as a free tech).

With the default game, the error is quite small, and only the following techs are affected:

Agriculture (+100)
Metal Casting (+100)
Pottery (+100)
Mathematics (+250)
Replaceable Parts (-50)

(positive values mean overvaluing a tech, negative values are undervaluing a tech)

Since these values are small compared to the overall value of techs, it is a minor point. However, if a mod has a lot of tech enabled improvements which are terrain or feature specific (rather than being based on bonuses or base plot type), bigger errors are possible.

-Iustus
 
I have found another bug (this one causes the AI to undervalue coastal locations for initial starting locations).

Is this the correct forum to post such bugs? Or is the Civ 4 - Creation & Customization forum a better spot to post specific coding bugs in the SDK?

I was thinking perhaps I should start a thread either here or there to document these bugs.

Would anyone from Firaxis read such a thread (in either place?)

Which location seems more appropriate? (The other forum seems to me to be better suited to a technical discussion, am I wrong?)

-Iustus
 
Back
Top Bottom