JosEPh_II
TBS WarLord
%2Yeah, we can multi-thread most
That was the non verbose edit.
JosEPh
%2Yeah, we can multi-thread most
Wow... the site and my bad internet connection did it to me again huh? This time I didn't notice it and fix it beforehand.
... now what was it I wanted to say? hmph
It was something about the AI section being a great candidate for multi-threading but I wanted to know if it increased any OOS risks.
Short answer is 'yes'. I can't see how to multi-thread the AI at the obvious level (different units on different threads calculating their moves simultaneously) without OOS, so I think I could only turn the multi-threading (of that aspect at least) on for single player games (at least without significant constraints on which units parallel calculate, which would increase complexity and reduce efficiency)
The good thing about that though is that in an MP game there is a lot less stuff for the comp and the AI to do on an end turn, so that should not be as big of a deal.
Would it be possible to change single player so that the AI move their units while you have to select new buildings after old are finished (takes a lot of time when you don't auto your cities and select the next tech? When you move your troups, the AI could evaluate which buildings to build next or what they want to research.
That would be tricky since there are (admittedly rare, but still possible) interactions - e.g. - someone decides to trade something with an AI which might modify AI build choices, AI moves include a city attack or other attacks, the results of which alter your build choices, etc.
Just parallelizing the unit movement (to the extent it can be) is simpler and should still yield very appreciable speedups, so best to do the more self-contained things first
The other thing I've found taking an inordinate amount of time in end turns from my profiling is the countNumBonuses method, which for some reason is taking almost 10% of the turn now. Is that normal, or should I post a save somewhere for that?
Post a save for me please and I'll look at it. It isn't normal.
Here is one a couple turns after (I profiled a non-Autosaved turn unfortunately so I don't have the exact save). The times are pretty consistent though so with any luck this will show the issue too.
Just pushed a small modification to address this performance issue. On my machine reduced time for this method in your saved game end turn from 17 seconds (in a total turn time of 148 seconds) to 0.2 seconds.
Hello C2C Devs,
....
I tried playing a full game of C2C recently, with all the advanced features enabled (except the ones that are known to be heavily unbalanced/problematic, not yet truly integrated into c2c).
.... there is the major balance issues I keep reading about everywhere, though I cannot speak of those myself since I have not played long or regularly.
... However, you have taken the "more is better" just too far, if one of your goals is still to to provide an enjoyable experience to not just the most extreme hardcore civ players.
..... But then you should be honest that there is no longer a goal for a playable mod, and that this is more of an experimental modding hobby group oriented towards fellow modders, rather than a mod oriented towards fans/players.
Quantity is great as long as all it does is add content and/or additional complexity to the game.
.. it is frustrating that I see no playable version in sight, with the current "more is better, at any cost" philosophy. I am not saying you owe fans anything, but if your goal is to keep existing fans and bring in new ones...
Just pushed a small modification to address this performance issue. On my machine reduced time for this method in your saved game end turn from 17 seconds (in a total turn time of 148 seconds) to 0.2 seconds.
-snip long quote for ease on eyes-
I just registered on CivFanatics to congratulate the C2C team and laud them for their tireless efforts. I'm new to this mod, but I've been around the mod block and this one is by far the best. I've played mods with significantly less content that somehow tend to perform far below the bar set by this talented team. C2C may crash and run a little slowly at times, but not only are these repercussions a small price to pay for a Civilization experience truly inspiring and educational in its scope, but they pale in comparison to the frustrations I've endured from other mods, and hence, I have the utmost confidence that this team will continue to rectify them to the players' benefit.
I will never play another mod again, as C2C is a perfect realization of what Civilization should be, and this development team shares my views and opinions exactly. I would be more than happy to pay for the privilege to enjoy this mod despite its flaws and setbacks and I want to thank everyone involved for making such a game possible.
I'll avail myself to improving this mod by whatever means I can and hope to one day see these guys' vision come to full fruition.