thank youMyself, Pazyryk and ls612 delved deeply into this for his Éa Fantasy Mod and game to the conclusion that you cannot trap every possible exit from the game via C++/Lua, which is why he ended up using a heavily modded version of SaveUtils IIRC.
It would be far easier IMHO to make another Cv class and hang it off one of the existing ones (eg CvTeam or CvPlayer) and have it serialise/deserialise as it's owning object does - but "easier" is a relative term, it's still a mass of work
#if defined(MOD_BUGFIX_MINOR)
// Bail early if the unit has no moves left
if (hUnit->maxMoves() > 0 && hUnit->getMoves() <= 0)
{
return false;
}
#endif
There's mod called 'Superpower Complete Edition' I found in Steam Workshop - I really like it a lot but it has a bug when entering new era and bots upgrading their cavalry to landships leading to game crash. I tried upgraded version of the mod ('Clash of Civilizations') with various versions of DLL I discovered on your web page - although some of them are stable, the mod misses important features (like unit upgrades and splash damage) which makes it quite different. Both mods have recommended versions of the DLL and I wanted to try these out to see any improvements at the situation.The differences between v89 (see under Versions on my web site page) and v88 are minimal. I'd be surprised if V66 will even compile on VS-2015/2019. Why do you need two such out-of-date versions?
Awesome, thanks a lot for your help! Will try it later today, hope it will work.V66 of the DLL. Although without V66 of the mod it may not work. If you're lucky, you'll be able to drop it into the V89 mod, if not ...
Oh that's just amazing, many thanks from me man! Really appreciate it, can't wait to try! And sorry for the trouble tooFrom the magic of the Wayback Machine!