@NoRapist
Do you use a legal and up-to-date version of the game ?
As much as you want to use IGE, trying to find ghost bugs will only make me lose my time.
CompareFileTime is a function introduced during one of the latest months' patches.
Nevertheless, I just added a check to disable the autosave if the function does not exist.
@Donlep
The bug you observed is indeed caused by the presence of another version of IGE. Deleting it and flushing the cache will solve everything. The directories are actually under "My documents/My games", see the
troubleshooting guide if you need more help.
Regarding the SP cost, indeed you're right, thank you. Reloading currently fixes the problem and I found a way to make the game properly updates the SP cost in the next version.
@Mars83
Regarding the crash, I don't think IGE has anything to do with it, unless you used IGE to force something unusual you forgot to mention (alliance between people at war?).
Now, for the fog not being updated after a city borders expansion... I guess the "glance at map" feature was on while you expanded borders, am I correct? If I am, I am not sure whether I can fix it, Firaxis made handling this really tricky: basically,
on my computer, some updates are performed three frames after I expand the borders, so I had to disable some parts of the fog monitor during those three frames. Shorter than that, the update wasn't fired; longer than that there is a risk that the user perform another action while the fog monitor is disabled and therefore causes a bigger mess. But this "three frames" magic number may vary between computers.
So, you may want to try to experiment different magic values: on line number 29 in IGE_Core.lua, replace the "3" on the IGE_Schedule call by another higher number, "100" for example, then click once on "expand borders" and make sure you don't do anything else for the three-five seconds after that. If the bug doesn't occur after that, it's great, we confirmed the problem. Now restart with smaller values, "4", then "5", etc, until you find a number that suits your computer and report it to me, I will consider whether it's low enough to still be safe for other users.
Yes, I know, it's clumsy, but it's how the Firaxis API is when it comes to fog.
PS: It's quite obvious that you're not comfortable with English. If by chance you're more familiar with the French language, we can use it. No offense here, just a friendly proposition.