| General | Hosted Sites | Civ5 | CivRev | Civ4Col | Civ4 | Civ3 | Civ2 | Civ1 | Misc | Marketplace |
![]() |
|
|
Welcome to Civilization Fanatics' Center. You are currently viewing our site as a guest which gives you limited access to our site features. By joining our free community, you will be able to participate in the discussions, search the forum, send private messages, vote in polls, upload your own screenshots to the gallery, and access many other special features. Registration is fast, simple and absolutely free, so sign up today! If you have any problems with the registration process or your account login, please contact support. |
|
|||||||
![]() |
|
|
Thread Tools |
|
|
#1 |
|
Dancing Condor
Join Date: Dec 2005
Location: Theatre of Dreams
Posts: 481
|
Strange AI settling behaviour
As the title says it, I have a problem with the AI in the coming version 0.4 for RFCA.
It happened after the concersion to a smaller map. Instead of settling like their settler maps tell them, all AI players build their cities in the north. It doesn't matter if the city is only surrounded by plains or has the crappiest location of the map. They even settle way out of their stability zone abd settle less in general. Instead they stay in their cities and do nothing even if they have settlers. Now, the problem: I checked every dll file which was ever changed, the same goes for python files. I looked through them several times compared them with the code of the previous version and yet I haven't found anything, what could cause that. Does anybody know what could have happened? I'll upload some more screenshots later.
__________________
Smile more!
Last edited by Black Whole; Jun 12, 2010 at 03:50 AM. |
|
|
|
|
|
#2 |
|
Dancing Condor
Join Date: Dec 2005
Location: Theatre of Dreams
Posts: 481
|
After fiddling a whole week without s any success, I released the new version. For those who want to help, here are the DLL files.
Post any ideas or possible solutions you have, any help is appreciated!
__________________
Smile more!
|
|
|
|
|
|
#3 |
|
Carpeing the Diems
Join Date: Aug 2009
Location: Suevia Superior
Posts: 681
|
I think it's all about the AIWars file. There, the y-value are up to nearly 80, while your new, scaled down map have just y-values up to 66...
|
|
|
|
|
|
#4 |
|
Dancing Condor
Join Date: Dec 2005
Location: Theatre of Dreams
Posts: 481
|
Could you point me to the exact line? I just can't find this part of the code... (Maybe, looked too much at it
)
__________________
Smile more!
|
|
|
|
|
|
#5 |
|
Caliph
|
Map arrays in AIWars are used only for AI war declarations, though if they are wrong, they need to be fixed anyway. Settlers are in SDK only. That being said, check if the settler maps in CvRhyes do not have the same mistake.
__________________
Sengoku-mod - Feudal Japan mod preview/test The Sword of Islam: RFC Medieval Middle East - Caliphates, Byzantium, Crusades, Turkic & Mongol Invasions, Rajputs & Mughals and moar! Now with its own subforum! Medieval Reskin Shop | Buildings & Stuff | RFC Epic/Marathon | Warhammer Fantasy Mod | Medieval European Mod II
|
|
|
|
|
|
#6 |
|
Dancing Condor
Join Date: Dec 2005
Location: Theatre of Dreams
Posts: 481
|
Hail to king of fools! (myself)
![]() ![]() In AIWars, there wasn't anything like that, there was only one loop, and it was correct, so there wasn't a problem. BUT, the bug was sitting in Rhyes.h. It was so obvious, even a child could have spotted it. In this file, there are defines, which have the coordinates of the World map (EARTH_Y and EARTH_X) stored in it. I simply forgot to chang them and I haven't noticed it although I scanned this file for at least ten times! Stupid me. ![]() So a patch follows soon.
__________________
Smile more!
|
|
|
|
![]() |
| Bookmarks |
|
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Strange AI behaviour | AngelGabriel | Civ4 - Fall from Heaven | 9 | Jan 14, 2010 04:12 PM |
| Can someone explain this strange AI behaviour? | Pyrrhos | Civ3 - General Discussions | 18 | Feb 21, 2008 11:48 AM |
| Rise of rome, strange AI behaviour. | Grayarea | Civ3 - General Discussions | 9 | Sep 28, 2004 04:17 PM |
| Strange AI behaviour - explanations? | Tweedledum | Civ3 - General Discussions | 8 | Apr 27, 2004 07:54 PM |
| Strange AI Behaviour (Ever Notice...) | NewWaver | Civ3 - General Discussions | 3 | May 06, 2003 02:15 PM |