Advertisement
Civilization Fanatics' Center  

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.

Go Back   Civilization Fanatics' Forums > CIVILIZATION IV > Civ4 - Creation & Customization > Civ4 - Project & Mod Development > Civ4 - Rhye's and Fall of Civilization > Rhye's and Fall Modmods

Notices

Reply
 
Thread Tools
Old Jun 10, 2010, 03:02 PM   #1
Black Whole
Dancing Condor
 
Black Whole's Avatar
 
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.
Attached Thumbnails
Click image for larger version

Name:	Civ4ScreenShot0009.JPG
Views:	116
Size:	160.7 KB
ID:	254949   Click image for larger version

Name:	Civ4ScreenShot0010.JPG
Views:	103
Size:	210.8 KB
ID:	255124  
__________________
Smile more!

Last edited by Black Whole; Jun 12, 2010 at 03:50 AM.
Black Whole is offline   Reply With Quote
Old Jun 20, 2010, 10:27 AM   #2
Black Whole
Dancing Condor
 
Black Whole's Avatar
 
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!
Black Whole is offline   Reply With Quote
Old Jun 26, 2010, 03:42 PM   #3
civ-addicted
Carpeing the Diems
 
civ-addicted's Avatar
 
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...
civ-addicted is offline   Reply With Quote
Old Jun 27, 2010, 03:05 AM   #4
Black Whole
Dancing Condor
 
Black Whole's Avatar
 
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!
Black Whole is offline   Reply With Quote
Old Jun 27, 2010, 03:26 AM   #5
embryodead
Caliph
 
embryodead's Avatar
 
Join Date: Jan 2003
Location: basement
Posts: 5,126
Images: 25
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
embryodead is offline   Reply With Quote
Old Jun 27, 2010, 07:06 AM   #6
Black Whole
Dancing Condor
 
Black Whole's Avatar
 
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!
Black Whole is offline   Reply With Quote
Reply

Bookmarks

Go Back Civilization Fanatics' Forums > CIVILIZATION IV > Civ4 - Creation & Customization > Civ4 - Project & Mod Development > Civ4 - Rhye's and Fall of Civilization > Rhye's and Fall Modmods > Strange AI settling behaviour

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


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


Advertisement

All times are GMT -6. The time now is 08:39 PM.


Powered by vBulletin®
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
This site is copyright © Civilization Fanatics' Center.
Support CFC: Amazon.com | Amazon UK | Amazon DE | Amazon CA | Amazon FR