Hi "J",,,,, say,,any idea if the problem described in "Modbuddy Error Message" is a known problem that someone is working on? Looks like a few of us are hitting the same wall.
Wow! My first script is working! Thank you very much!
There were several problems with the script: I put it on the wrong function! First put under onGameStart function and added iGameTurn = argsList[0] to it. I get a plenty of errors, so the idea was dropped. Then I put it under onBeginGameTurn which already had iGameTurn = argsList [0] and still got errors. Then I saw that I wrote popupInfo.setButtonPopupType(ButtonPopupTypes.setText) instead of popupInfo.setButtonPopupType(ButtonPopupTypes.BUTTONPOPUP_TEXT) It was fixed and it works really good!
Thanks to you. Whitout you I would never find those mistakes.
I'm going to leave you alone now, don't worry , but can you tell me how can I create a working python function in Civ 4? I figured out myself the 'def NameOfNewFunction' part in CvEventsManager.py but I don't think that is all.
Well, I don't know. You helped a lot last time so you mustn't be a way too bad programmer i suppose. Maybe I'll figure this out myself, as I figured out the dll too (compiling didn't work, and I didn't find help but I already compiled my dll AND it is working).
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.