Steps to get DLL to work with 3.17

deanej

Deity
Joined
Apr 8, 2006
Messages
4,859
Location
New York State
I tried to update my DLL for 3.17. I used the following steps (with CodeBlocks):

1. Copy files from the new SDK files in the BtS directory into my project directory.
2. Add the file that was added to the project
3. Re-add my changes from the source files I had in my mod directory
4. Compile DLL, think nothing's wrong

When I went to load the game, I got a python error. It seems that CvAdvisorUtils.resetNoLiberateCities() is not recognized. I used a python hack to get my mod to work and noticed that the culture fix in 3.17 works so everything should be fine. Why do some of the changes in 3.17 work and not others? I don't seem to have anymore errors of CTD's (but I only played a couple of turns to make sure there were no more python errors). Did I do anything wrong?
 
Back
Top Bottom