Yep, Selrahc also found this. Unfortunately I don't know of a solution right now, so I'd like to request not to abuse it.
Planetfall PBEM 2
|
Hurray, I've finally figured out the reason why trade networks don't always update the way one would expect to.
![]() Here's a link to the DLL, with the modified cpp file added should anyway wish to check what's changed. https://dl.dropbox.com/u/93140627/CvGame...PBEM2b.zip Is everyone all right with using it? After the year has increased, it should cause the Pirate, CyCon and my trade routes to work correctly. Maniac Wrote:Hurray, I've finally figured out the reason why trade networks don't always update the way one would expect to. So in layman's terms, what was the problem?
Because roads don't exist in early game Planetfall, long ago I changed the code so that your entire territory belonged to your plotgroup. But I didn't add code so that your roadless plots could belong to *another* faction's plotgroups. Meaning rivers and sea trade networks were the only ways to connect to another faction.
A bit more complicated, to construct your plotgroup the game first checks for a function which checks if a plot can belong to your plotgroup at all (CvPlot::isTradeNetwork), and then checks if it can connect to other plots already belonging to your plotgroup (CvPlot::isTradeNetworkConnected). Until now I had been staring myself blind on that second function, which has been modified to accomodate the lack of roads, thinking the problem had to be somewhere there, rather than the very basic problem in CvPlot::isTradeNetwork.
Don't forget to download the changed DLL before then, as you're last in turnorder, before the year switches over. :D
Iskender Wrote:Guys, I'll be able to play the turn in about 20 hours. Sorry okay then ... was just about to ask if everything was allright since i usually recieve the save around 10h ago (it landed at you 12 hours ago) and around now Iskender Wrote:Guys, I'll be able to play the turn in about 20 hours. Sorry Sian Wrote:okay then ... was just about to ask if everything was allright since i usually recieve the save around 10h ago (it landed at you 12 hours ago) and around now Glad to hear you're alright Iskender. |