Genetic AI Project

hamtastic said:
I have a suggestion for how to figure out which characteristics help the AI most, so you can try to create new ones with better combos, rather than completely random. You need some data analysis - run some regressions of scores on various attributes, see which attributes predict scores best. I would theoretically volunteer to do this if you're interested....
Sounds good. I've already got a few analysis tools, but they are mainy good for looking at indiviudal values, rather then looking for connections between values.

If you want to help I would suggest joining the CCP forum here, as this is where the development thread is.
 
The Great Apple said:
People have mentioned a similar error, but I have no idea what's causing it. I take it you don't get this error when playing Civ normally?

Until I can reproduce it there is little I can do unfortunetly.

I've gotten this a few times and no, it doesnt come in normal civ. Also I have a question about difficulty. The noble difficulty affects the player differently than it does the computer, so wouldn't the AI that is in the human slot be getting a different difficulty setting then the rest of the AIs?
 
I've changed the difficulty settings so that they are all the same as noble. It doesn't matter what you pick, it'll always be noble. I could perhaps remove the other ones (that might make slightly more sense).
 
Yes, what I am saying is that the noble difficulty affects the player diffirently than the AI. People have looked through the SDK and found this. This would make an advantage for one side.
Edit: Added project to my sig :)
 
Data set 79 complete, all settings random, world type was shuffle, starting age was ancient.

Do random settings get re-randomised between games? I noticed a hell of a lot of games on Tiny in a row...

Grabbing data set 80.

When using a new set, besides deleting AI data and deadaidata should we removed the tracker file too?
 

Attachments

Dataset 81 still chugging away on my home system.

I was hoping to have it finished by now, but I seem to have underestimated my system (AMD 3500+, 1 gig, 6800GT).
 
Conlan said:
Dataset 81 still chugging away on my home system.

I was hoping to have it finished by now, but I seem to have underestimated my system (AMD 3500+, 1 gig, 6800GT).
81 is a big set, so it'll take twice as long as the first 10. This is probably the reason for the slowness. I have had reports of the popup displaying incorrectly so it may be an idea to quit and continue, as it definately shows then.

A fairly big update has just gone up, and can be installed over your current copy with no problems. I would suggest upgrading ASAP. It will not invalidate current (or any) datasets.

v0.32
*Fixed a bug where the alternative AI algorithms weren't being loaded correctly on game restart.
*Full load/save compatability.
*Performance enhancments (~ 0-1s a turn, depending on settings).
 
The Great Apple said:
81 is a big set, so it'll take twice as long as the first 10. This is probably the reason for the slowness. I have had reports of the popup displaying incorrectly so it may be an idea to quit and continue, as it definately shows then.

A fairly big update has just gone up, and can be installed over your current copy with no problems. I would suggest upgrading ASAP. It will not invalidate current (or any) datasets.

v0.32
*Fixed a bug where the alternative AI algorithms weren't being loaded correctly on game restart.
*Full load/save compatability.
*Performance enhancments (~ 0-1s a turn, depending on settings).


Omg save compatible! NOW THE REAL THING START :D

And Im finisheing a generation 3 AI data, guess today..You still will use it right?
 
Just to report, I got a C++ error as well for the first time..It was the first time I was useing the new version and I dunno when it stopped to work cuz it was running for hours already in a pc with the monitor off, so it may delay m report in 1 day or so..
 
The Great Apple said:
Don't worry about it. Which new version were you using?

I told oyu, the last one you just release.

And now it is not even worknig anymore, after all the loading and such, I appears in that screen of the begining of game and when I click "play the game" my monitor goes off and i need to restart the pc -.-, I will try to reinstall..
 
Hmmm. Anybody else running the latest version? Sounds like there is a glitch somewhere.

If you still have a copy of the old version I'd suggest running that until I can find out what's wrong.

Just as a note, all the work you've done until it crashed will have been saved, so you won't have lost any data.
 
I dont have any old version anymore, just deleted what I thoguht I wouldent need about civ4 like 3 days ago >.<


*EDIT*

Didnt work again, same problem! Can you post the version 0.3 again? I guess that is the one i had, or perhaps 0.29(wich one was released togheter with the generation 3? Is that one I had)..Its funny cuz yesterday that same compuiter ran your mod for aobut 6 hours without problems..
 
Arlborn said:
Didnt work again, same problem! Can you post the version 0.3 again? I guess that is the one i had, or perhaps 0.29(wich one was released togheter with the generation 3? Is that one I had)..Its funny cuz yesterday that same compuiter ran your mod for aobut 6 hours without problems..
Version 0.3? We're on version 0.32 at the moment (0.31 has been around for several days). Can you explain in more detail how and when it crashes? Do you have logging enabled? Can you send me the logs?
 
The Great Apple said:
Version 0.3? We're on version 0.32 at the moment (0.31 has been around for several days). Can you explain in more detail how and when it crashes? Do you have logging enabled? Can you send me the logs?

Wich was the version that came +- at same time of the generation 3? I was still useing tihs one cuz I didnt want to change version(or perhaps Im lazy)...Fact it, it worked with older version yesterday and today after new version, it just wont work...And I guess I needed only 4 games to finish >.<

Logging enble? Where you enable it? Perhaps tell me where to find the log if you have it on and maybe I have it there.. <so I guess I dont have it on lol>

The thing is, if you send me a older version Im prob able to finsh the set while you check what is my problem?
 
TGA - This sounds like a great project. I won't upload any data sets until I'm sure I've got the time to run them. As far as AI behaviours go, I note that the current Firaxis AI seems to build one square off the coast fairly often and to burn a lot of its great people on golden ages. As very few human players would make these choices, it suggests that they are sub-optimal. Are these behaviours easily tweakable? How much do you want to engage in genetic engineering and how much are you relying on natural evolution?
 
Hatty said:
TGA - This sounds like a great project. I won't upload any data sets until I'm sure I've got the time to run them. As far as AI behaviours go, I note that the current Firaxis AI seems to build one square off the coast fairly often and to burn a lot of its great people on golden ages. As very few human players would make these choices, it suggests that they are sub-optimal. Are these behaviours easily tweakable? How much do you want to engage in genetic engineering and how much are you relying on natural evolution?
It's a bit of both. I mainly focus on things that I don't think the AI will grasp through evolution, though helping it along isn't such a bad thing. One of the dev team spotted a glitch with the AIs which meant that they didn't settle on the coast, and hopefully it'll be something that will be engineered in the next generation.

Arlborn said:
The thing is, if you send me a older version Im prob able to finsh the set while you check what is my problem?
Here we go - version 0.30:

http://forums.civfanatics.com/uploads/25902/GeneticAIv0.30.zip

To enable logging go into the Civilization4.ini and enable these switches:
Code:
ShowPythonDebugMsgs = 1
LoggingEnabled = 1
OverwriteLogs = 1
SynchLog = 1
RandLog = 1
MessageLog = 1

The logs should be found in the My Docs/My Games/SMC4/Logs directory.
 
Back
Top Bottom