[MODCOMP] AIAutoPlay

jdog5000 said:
When you say locked up, do you mean completely locked and nothing responds? Does it reach the end turn it should or get stuck part way through?

The game locks and when I alt-tab back to Windows I see a window saying civ threw an exception. I'm not saying it is your mod that causes this. It could be an interaction between your mod and somethine else I have in my setup. It's just that I didn't see this sort of lockup before so I thought I'd ask if I was the only one. I'll investigate it furthur and see if I can figure out the cause.

fujisan said:
Is it possible to merge AIAutoPlay in a mod that uses its own CvGameCoreDLL.dll? I am interesting in merging it with Three Square Radius Cities mod ( http://forums.civfanatics.com/showthread.php?t=169847 ).

That's my mod and it should be very easy for you to merge because mine only changed a couple of files and they weren't the same ones that jdog changed. My currend sutup has those two (as well as many others) merged.

Roger Bacon
 
Jdog whial you are at it is their a way that pop-up can be suppressed when in Auto-play. I find a lot of these occur very rapidly and its anoying/distracting to close them, the primary ones that come up are naming cities and the "Greatest Civ list" thingy.
 
Impaler[WrG] said:
Jdog whial you are at it is their a way that pop-up can be suppressed when in Auto-play. I find a lot of these occur very rapidly and its anoying/distracting to close them, the primary ones that come up are naming cities and the "Greatest Civ list" thingy.
Check his thread for the complete mod, there he has changed this the way you proposed ;)
 
Hey JDog, I really hate to bother you on another thread of yours, but you make such good stuff I cant help but want to use it for my own mod..

Anyway the deal is this: I am not really sure where to find this "CustomEventManager" nor how to work it if I were to find it. I think that the AIAutoPlay would help IMMENSELY for my mod because I am editting alot of the leader personalities and I am interested in how it will help or harm them in the game.

If you could just let me know what I have to do to get this to work that would be awesome, I am just dumber than a baseball bat when it comes to Python and dont really understand fully your instructions... sorry again, but I would really appreciate any help you'd offer.

Thanks! :)

~ElConejo
 
ElConejo said:
Hey JDog, I really hate to bother you on another thread of yours, but you make such good stuff I cant help but want to use it for my own mod..

Anyway the deal is this: I am not really sure where to find this "CustomEventManager" nor how to work it if I were to find it. I think that the AIAutoPlay would help IMMENSELY for my mod because I am editting alot of the leader personalities and I am interested in how it will help or harm them in the game.

If you could just let me know what I have to do to get this to work that would be awesome, I am just dumber than a baseball bat when it comes to Python and dont really understand fully your instructions... sorry again, but I would really appreciate any help you'd offer.

Thanks! :)

~ElConejo
I'm not sure quite what you mean, but the file CvCustomEventManager.py should be in the mods Assets\Python folder. It's written by DrElmerGiggles, and the thread can be found here:

thread
 
jdog5000 said:
I'm not sure quite what you mean, but the file CvCustomEventManager.py should be in the mods Assets\Python folder. It's written by DrElmerGiggles, and the thread can be found here:

thread
See I couldnt find that blasted thread for the life of me! Ok, now that I have that let me see if I can figure this out.. just going to try to get it to work now that I have that... :) Thanks for the quick and helpful reply.
 
Second is the AIAutoPlay.py file. This should be placed in your mod's Assets\Python folder. Then, AIAutoPlay must have three things registered with the event manager in the game: the onKbdEvent function must receive keyboard events, and the two popup handlers must be registered as well. The recommended way to acheive this is to use DrElmerGiggles CustomEventManager to handle all the events for your mod. It is a well thought out and well supported mod component and will greatly ease future merging for your mod. With this CustomEventManager, all that you need to do is add the following line to CvCustomEventManager.py's __init__ function:

Ok, heres my issue (I now have found out!) I dont know what you mean by getting any of that registered ...also I dont know where to add that line, should it go directly under the paragraph or inside it somewhere? Again I suck at Python to be sure but I'd appreciate any bone you can toss at me :)

Terribly sorry for the trouble I am sure I am causing..

EDIT: Ok so ignore all of this.. I got it to work. Although I am going to be perfectly honest with you: I have no idea how. I just re-downloaded it and it worked just fine? Alls well that ends well as they say :D I do however want to take this time to say that this is the single most useful tool I have downloaded for Civ4 or any game for that matter. This is just absolutely great and I want to thank you for all your hard work. :)
 
i tried to merge autoplay with fall from heaven 2, but i end p with no interface. teh only intefce i can see is when i press escape and need to exit. any reccomendations on what to do? or is the alternate interface not compatible?
 
i'm havign a little trouble with AIAutoPlay for warlords. revolution works fin though. i put teh aiautplay folder in teh mods folder as its own mod. when i load the mod it get to the loading screen and then has a problem, and then windows asks me if i want to send an error report. i'm not sure what's going on.
 
Sorry to bring an old thread back up, but, i installed everything like you said for Warlords, but when i load the CvGameCoreDll.dll, my MOD crashes right away.
Whats the deal??

It's been a while, but I believe the DLL posted is for 2.00, not 2.08. If you just need a DLL, you can use the DLL from the Revolution mod. It contains no changes to gameplay without the associated Python files, so it should work fine.
 
It's been a while, but I believe the DLL posted is for 2.00, not 2.08. If you just need a DLL, you can use the DLL from the Revolution mod. It contains no changes to gameplay without the associated Python files, so it should work fine.

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:
 
Back
Top Bottom