Genetic AI Project

Just a guess, since I haven't tried this project out at all, but it looks like you're having video card problems. The screwy graphics, plus the run-time error are very reminiscent of things that have happened to me with my not-so-hot graphics card. No suggestions for how to fix it though, sorry.
 
Gyathaar said:
I tried this.. but came across something that appears like a bug..
Some time into the games (around year 0 AD) I always seem to get some units autodisbanded 'due to lack of funds' even if there are 100+ gold stored up when this happens.. usually the AI is running 20-30% sci at this point, and is doing a few negative gpt (like -2 or -3 gpt)

in the current game I have lost 1 unit per turn roughly from around 0AD to 1200AD

Edit: still disbanding a unit per turn in 1950AD.. with economy in a plus at 50% sci now.. in previos game it stopped loosing units after just a few turns of disbanding

Edit2: The disbanding stopped in 1992AD when another AI declared war.. that is prolly what stopped the disbanding in the previous game too.. because there was a war roughly when it stopped..
That's just some variable making the AI appaling at finance management. The default AI does quite a bit of disbanding like this as well, though I've seen some of these AIs do it much more often.
 
JMaltman said:
And one possible spinoff... for those people that are getting sick of playing against predictable AIs - I wonder how they would enjoy playing against erratic AIs? ;)
That's one of the plans. I have to get save/load compatability working first.

One of my aims, as somebody mentioned earlier in this thread, to have a database of, say, 30 AIs, all with different attributes. Then, when you start a game it attaches AIs to leader traits (financial would get an AI good at managing it's economy, for example). Would both enhance the AI personalities, improve the AI, and leave a bit to chance as they wouldn't always be the same AI.
 
Craterus22 said:
285 and gen1 ai's the game was so fast it was shocking

29 and gen2(the ones released with 29) ai's and it is so slow I can't believe it
Have you tried .29 with generation 1 AIs?

I must admit, I'm not noticing much of a slowdown, so I'm slightly confused.
 
PatrickDockens said:
Sorry for so many posts in row! :mischief:

I finished a set and it says to send them to you (TGA) but the files it says to send are not in the folder it is indicating. There are some files with the sam name but none with the extension .dat, just .bak and .txt. Did I do something wrong? Was I supposed to just exit after I was done? I exited to desktop from the game.
Sorry. They are .txt. Early versions were .dat but you can't upload them to the forum so I changed them. Will fix the prompt. Thanks for letting me know.

As for other problems - never seen that problem with the python screen not closing before, nor have I been getting many runtime errors. I don't know about anyone else. Could it be your vid card?
 
The Great Apple said:
Have you tried .29 with generation 1 AIs?

I must admit, I'm not noticing much of a slowdown, so I'm slightly confused.


arrrgh - apologies

*i think*
Due to the increase in AI's my first four test games were appearing slow due to playing 12 AI's per game instead of 10 (why they would be 4 seconds slower per turn is really puzzling to me though) - playing less ai's game appears to be chugging along pretty fast again - sorry if I made you waste anytime...
 
The Great Apple said:
Sorry. They are .txt. Early versions were .dat but you can't upload them to the forum so I changed them. Will fix the prompt. Thanks for letting me know.

As for other problems - never seen that problem with the python screen not closing before, nor have I been getting many runtime errors. I don't know about anyone else. Could it be your vid card?

I have never seen the error with vanilla CIV or any other Mod, but this Mod probably puts a very high demand on the video card since its all auto and the graphics seem to struggle to keep up with the game itself. As long as I can go back in and keep going, it should be all right. One thing I did notice is that if I have had it minimized for a while and I go back into the game, there are lotsa those little circle pointing you towrds units, events, buildings, great people, etc. As if they have been building up for a while. I will be sending those .txt files right away!
 
I noticed when pressing ctrl and shift and holding down, you get a FPS meter.. is this part of your mod or part of another mod you are using?

Is it part of the sdk mod, or is it coded in python?
 
Hmmm got this error, like 10 min into running the mod. It is the 0.29 and AIData22.txt
Running again to see if it'll crash again. No data was generated that I could see.

 
I would imagine I'm the support team. Sorry, no idea. I'm going to have to have more info before I can either try to fix it.

For anybody experiencing a crash:
Code:
LoggingEnabled = 1
OverwriteLogs = 1
SynchLog = 1
RandLog = 1
MessageLog = 1
GenerateCrashDumps = 1
In your Civilization4.ini will generate some logs in the My Docs/My Games/SMC4/Logs directory. The particular ones I'm interested are the last few (about 100 should do) entries of MPLog.txt, the whole of GenAIDbg.log, PythonDbg.log, and if PythonErr.log is not empty I will need both of PythonErr.log and PythonErr2.log.

If I can't see anything wrong with that, the crash dump may be useful, as that should show me whereabouts in the SDK it's crashing, if it isn't crashing in the main .exe.
 
Gyathaar said:
I noticed when pressing ctrl and shift and holding down, you get a FPS meter.. is this part of your mod or part of another mod you are using?

Is it part of the sdk mod, or is it coded in python?
That's part of the CCP. CvSimCutieMainInterface.py line 820 onward. I personally find it one of the more useful changes (can see lots more info with the press of a button).

There are other changes enablable thought the custom options menu that somebody posted a screen of earlier - interface tweaks mainly.
 
What is the "TrackedAIData.txt" file for? Am I not supposed to send this to you? Should I leave it in the GenericAI directory? Before I start a new set, should I erase (or move to a different folder for storage) everything except "GeneticAI.ini" and "Version.txt"? Or should I leave some of these other files in there? :confused:
 
It's meant to keep track of your personally tracked AIs - it's just for a bit of fun. Doesn't work properly at the moment. On my todo list to get fixed.
 
Here come the logs

*edit

Dang... look at the time :) I'll try and see if I can get this baby going tomorrow. Sweet dreams people!
 

Attachments

All looks alright from there. Except... the MpLog, which could be showing something or should not be. If you still have that log file I'd quite like to see a bit more of it - give me about 20 lines before the rands start.

EDIT: First sets of generation 2 are coming in (already - 24 hour turnaround :eek:). Looks like I'm going to have to kick up the number of AI's produced per generation - I've almost run out already. I don't really want to add more AI's per batch as people have different time scales. No need to hurry me guys, I can't add new stuff fast enough!

How would several large batches (50ish) and a few smaller batches (25ish) go down? That way people with more spare CPU power wouldn't have to download so many batches (and I don't have to keep updating them), while we'd still get a relatively quick turnaround on people with less power (me - been going pretty much solid since about half a day before I released them to you lot, and still not nearly done). Keep up the good work guys!
 
The Great Apple said:
All looks alright from there. Except... the MpLog, which could be showing something or should not be. If you still have that log file I'd quite like to see a bit more of it - give me about 20 lines before the rands start.

EDIT: First sets of generation 2 are coming in (already - 24 hour turnaround :eek:). Looks like I'm going to have to kick up the number of AI's produced per generation - I've almost run out already. I don't really want to add more AI's per batch as people have different time scales. No need to hurry me guys, I can't add new stuff fast enough!

How would several large batches (50ish) and a few smaller batches (25ish) go down? That way people with more spare CPU power wouldn't have to download so many batches (and I don't have to keep updating them), while we'd still get a relatively quick turnaround on people with less power (me - been going pretty much solid since about half a day before I released them to you lot, and still not nearly done). Keep up the good work guys!

Mega data sets along with smaller sets would be cool.


If you don't mind another suggestion:
Any chance that you could combine the best 18-24 AI's of each generation into individual AIdata.txt files? (and perhaps leave them up for people to play against as humans? no need to record the data unless you want it - perhaps it would allow us to see progression over time)
 
Gyathaar said:
I tried this.. but came across something that appears like a bug..
Some time into the games (around year 0 AD) I always seem to get some units autodisbanded 'due to lack of funds' even if there are 100+ gold stored up when this happens.. usually the AI is running 20-30% sci at this point, and is doing a few negative gpt (like -2 or -3 gpt)
I've played with jdog5000's AI Autoplay for a while prior to this GeneticAI project and I think I've figured out why this occurs. Even though it says a unit has been disbanded due to lack of funds, it actually has been disbanded simply because the AI chose to disband it. There is some bug in the autoplay that reports it to you as a lack of funds.

Isn't tech support fun TGA?
 
The Great Apple said:
All looks alright from there. Except... the MpLog, which could be showing something or should not be. If you still have that log file I'd quite like to see a bit more of it - give me about 20 lines before the rands start.

Well... my MpLog is about 6,34 MBs of just "Rands" I mean every entry starts with Rand. Is that normal? In the case it is what rands would you like for me to upload? (Whole file zipped is about 1.6 MB so I could perhaps mail it to you)
 
Back
Top Bottom