Are you, in fact, a pregnant lady who lives in the apartment next door to Superdeath's parents? - Commodore

Create an account  

 
Planetfall PBEM 2

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.
Reply

OK, np.
Reply

Hurray, I've finally figured out the reason why trade networks don't always update the way one would expect to. jive This bug has been haunting me for ages!

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.
Reply

Maniac Wrote:Hurray, I've finally figured out the reason why trade networks don't always update the way one would expect to. jive This bug has been haunting me for ages!

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.

So in layman's terms, what was the problem?
Blog | EitB | PF2 | PBEM 37 | PBEM 45G | RBDG1
Reply

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.
Reply

Guys, I'll be able to play the turn in about 20 hours. Sorry
Reply

Don't forget to download the changed DLL before then, as you're last in turnorder, before the year switches over. :D
Reply

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
Reply

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.
Blog | EitB | PF2 | PBEM 37 | PBEM 45G | RBDG1
Reply

Iskender Wrote:Guys, I'll be able to play the turn in about 20 hours. Sorry
Don't worry about it, the pace has been otherwise superb and Real Life is more important anyway.
EitB 25 - Perpentach
Occasional mapmaker

Reply



Forum Jump: