What rev? Doesn't match my current PDB.
Sorry, 4715.
What rev? Doesn't match my current PDB.
1>CyTeam.cpp(207) : warning C4244: 'return' : conversion from 'unsigned __int64' to 'int', possible loss of data
Secondly, they don't get any EXP if their siege weapons bombard.
EDIT: Infact when a NEW forest is built by the core, it now uses the "green" forest one 3rd pic
Also, I'm getting this warning when compiling from the latest sources.
Code:1>CyTeam.cpp(207) : warning C4244: 'return' : conversion from 'unsigned __int64' to 'int', possible loss of data
I suspect that Thunderbrd's Culture stuff may be causing that.
Those plastic trees are really hideous - I urge/beg you to get totally rid of them.
Yeah, a loose end from last night's fix. I got that warning in one of my compiles but I wasn't sure how to best approach it since its a bit of a funny situation where I'm not sure if I update it correctly if it will cause any potential problems for any python referring to CyTeam.countCultureTotal due to the change in data type from int to unsigned long long. Koshling? AIAndy? Anyone who knows? Would that cause trouble for any python? Can Python even USE such data type? Is it likely python is even using CyTeam.countCultureTotal anywhere at all?
I have a CvTeam:: processedNationalCulture() function that is intended to replace any absolutely necessary calls for an integer (in knowledge that this integer could frequently be returning a completely inaccurate response as this number, when accurate, classically goes beyond our maximum somewhere in the Industrial age.) processedNationalCulture will return max_int instead if it goes past the int limit. So I could use that as the return for the python .countCultureTotal if python can't utilize the unsigned long long type.
BTW: to answer a question you may have already based on this 'fix' and the issue it brought up - I used unsigned long long due to the understanding that long actually doesn't give much more if any range. So according to all references I could find, this is the absolutely largest number we can allow is with unsigned long long (and may only ever be positive). I'm really hoping even that will be enough for a full length Galactic era game end point.
And yes, I'm aware that we can gain a few digits by hedging against the times100 taking place in the calculation of countTotalCulture in CvPlayer and that'll be the next way to hopefully address a problem if another one presents itself. And its something I do plan to go back and smooth out later either way. But from the cultural output per round I saw on the game I was evaluating, I did not think a gain of even 2 digits would've put the problem off for long enough to make it the quick fix for now to opt for.
Anyhow, sorry for the warning popping up there ls... its probably not too critical (not nearly as much so as the fix itself was necessary) and it will soon be addressed. I should've mentioned it but I was rushing off to bed (stayed up way too late trying to get the fix sorted out as it was!)
You get used to them.
Or is this a "fashion" show now? Just sayin'.
JosEPh
No you never do.
Nothing to do with fashion. You have perfectly natural looking trees in the mod already, what on earth is the need for plastic ones????!!!
I don't know if (this version of) Python supports 64 bit integers, so you're probably right that Python cannot cope. Using the same approach you suggested elsewhere (return MAX_INT for anything above that) in the Python interfaces would be best, so the code that is giving the warning would probably be best replaced with a text for MAX_INT and appropriate return (and if it's less than MAX_INT explicitly cast it before returning it so as to suppress the warning)
So in the meantime, its probably perfectly ok to ignore any warnings on that matter when compiling. (I'll only be a day or two before I can get the update in.)
In my c2c they get experience by bombarding.Probably because siege weapons don't get exp from bombard either. There is a mod out there that adds exp for siege units doing their thing, perhaps we need to look at incorporating it.
No you never do.
Nothing to do with fashion. You have perfectly natural looking trees in the mod already, what on earth is the need for plastic ones????!!!
No offense to the coders here, but isn't a problem really another problem, that will eventually turn into "alot" of problems, if unsolved soon? I'm just sayin'
Out of the sudden, the game stopped cycling to other units when the currently selected unit finalizes its moves. I have to press enter every time, and when on the last unit end the turn with the button in the corner of minimap. Quite annoying, really.
In this case no, it will only do anything if national culture is more than 3 billion or so.