[MODCOMP] AIAutoPlay

How do you get to look at the other CIVs while they are doing the autoplay, or cant you?

Here's a copy of my python files, if you cant take a look at them, and see if i got them correct or not??:blush:

If you want to watch what everyone else is doing for testing purposes, I suggest you check out the methods built into the in-game debug console. Search around the forums for 'chipotle' and you should find something to get you started. Be forwarned, however, that this method will kill you civ. You could also try a cheat for revealing the whole map and then running autoplay.

As far as the Python files, the one thing that looks fishy is CvEventInterface.py in the EntryPoints folder ... it appears to have several functions defined twice, so I'm not sure which one would be called ... perhaps combine the event managers? If CvCustomEventManager is properly invoked, then autoplay should be working fine.
 
so i can use this to watch the AI take turns? potentialy watch a whole game of nothing but the AI doing stuff?
 
Yes, absolutely. If you want to examine cities and build decisions or foreign relations you'll have to stop the automation by pressing Ctrl+Shift+X again, as during automation things just fly past.

You can also try things out like declaring war on another player and then automating and watch how the AI goes about executing the war, it can be pretty fun.
 
OK does this work if trying to use with a custom map?

Every map i try it crashes when TRYING to load the map??

BtS 3.13, and i didnt add anything to it either.

EDIT: I deleted the dll and got it to work somewhat, but now all the civs i pick lists them as You have been defeated.
 
The DLL in this download only works on maps with 34 civs and as you saw the DLL is necessary for the mod to work. You can get another DLL from the main Revolution download page for 18 or 48 civs by following the link in my sig, or change the player/team count on your map by adding empty slots.
 
The DLL in this download only works on maps with 34 civs and as you saw the DLL is necessary for the mod to work. You can get another DLL from the main Revolution download page for 18 or 48 civs by following the link in my sig, or change the player/team count on your map by adding empty slots.

I had one that i tried that has 39 civs and still same results??
Must it be exactly 34?

EDIT: Nevermind, i tried the 18 like you suggested and it works great, thx.
 
You could replace the DLL in the download with the one from my Revolution mod which has Bhuric's 1.11 in it. There's only one minor game play change in that dll to the location of barbarian cities ... placement is less random, more weighted by terrain. Also removed a piece that could block barb cities forming in empty areas under certain circumstances.

I'll release an updated version when the next patch comes out.
 
It looks like the BTS version of the file is missing.

Not Found

The requested URL /uploads/38534/AIAutoPlay_1.41bts.zip was not found on this server.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

Could somebody re-upload the file?
 
Where can I find the source for just this AiAutoPlay component?
 
This is really, really useful. This is going to sound a little nit picky (since it is), but is there any possible way you could add in an easier turn by turn play then having to hit ctr+shift+m over and over again. Usually when I'm debugging I'll just run the autoplay for 20 or more turns at a time, but sometimes I want to go turn by turn for a few dozen turns or so, and having it be a single button, or even mouse clickable would just be much smoother.
 
Great, jdog! I'm off to test some new stuff... :goodjob:
 
Hey jdog5000, just got this compiled under BtS v3.17 and I'm still loving to watch the AIs fight themselves as much as the first time I used this component. :king:

I'm almost 300 turns into a Deity game on Dual with 4 AIs(well 5 counting me I guess :crazyeye:). I've AIAutoPlayed it since the first turn and my Civ is down to 1 city now. I just love watching the world evolve.

I noticed there is an option in the ini to disable all the popups, ie city naming, top civs, ect. Has that been implemented?
 
It has in the version of AIAutoPlay in Revolution, it's been a while since I updated this version. I intend to put out a 3.17 version of this and would certainly include the latest AIAutoPlay Python code but I'm not sure whether to include Solver's unofficial patch or not ... probably not since it's constantly evolving.
 
It has in the version of AIAutoPlay in Revolution, it's been a while since I updated this version. I intend to put out a 3.17 version of this and would certainly include the latest AIAutoPlay Python code but I'm not sure whether to include Solver's unofficial patch or not ... probably not since it's constantly evolving.

I would suggest not including any other SDK changes except the AIAutoPlay stuff. It seems to me there are two groups of people that use this comp.
1) The group that wants a compiled DLL so they can autoplay games, test python/xml mods, and generally play with the mod comp on its own rights.
2) The other group is the SDK modders that want the sources so they can merge it into their mods.
If the latter group is merging AAP into their mod already, then they can just as easyly go get whatever other mod they want and merge that aswell.

Anyway, just my two cents. Take what you want from it. :)
 
Back
Top Bottom