Commander Bello
Say No 2 Net Validations
Hi and merry Christmas to all of you! 
First, let me remind you that I am only a beginner in coding, so look at my remarks with some cautiousness.
Intention:
Anyway, I want to start this thread as a point where modders (DLL and Python) can meet and exchange findings about weaknesses, errors, bugs and strangenesses in the vanilla code.
This shall give all of us the chance to mention such things and (in the best case) to find solutions to improve the code - which then in turn of course can be used in any mod.
It is important that this thread is not meant to be used for discussions of mod-specific functionality, but only for vanilla code as this (unless already changed in the mods) will impact all of us.
Furthermore, this is not meant to be a "wish list thread", except for the wish to improve the mentioned functionalities.
If someone finds a solution (correction, improvement, whatever) for any of the findings here, it would be very much appreciated if this solution would be released here or if a link would be placed to where such solution can be found.
Thanks in advance for contributing.
Findings:
Let me start with this:
In CvPlayer.cpp we have the doTurn() function which itself calls several other functions, one of them being the doGold()
As far as I see it, this function just doesn't do anything (at least, it doesn't do anything meaningful except for consuming computing power).
From placing, naming and included functions we may assume that doGold() shall update the player's gold at the beginning of the turn - which actually it doesn't.
To me, it looks pretty much like this function could just be deactivated.

First, let me remind you that I am only a beginner in coding, so look at my remarks with some cautiousness.

Intention:
Anyway, I want to start this thread as a point where modders (DLL and Python) can meet and exchange findings about weaknesses, errors, bugs and strangenesses in the vanilla code.
This shall give all of us the chance to mention such things and (in the best case) to find solutions to improve the code - which then in turn of course can be used in any mod.
It is important that this thread is not meant to be used for discussions of mod-specific functionality, but only for vanilla code as this (unless already changed in the mods) will impact all of us.
Furthermore, this is not meant to be a "wish list thread", except for the wish to improve the mentioned functionalities.
If someone finds a solution (correction, improvement, whatever) for any of the findings here, it would be very much appreciated if this solution would be released here or if a link would be placed to where such solution can be found.
Thanks in advance for contributing.

Findings:
Let me start with this:
In CvPlayer.cpp we have the doTurn() function which itself calls several other functions, one of them being the doGold()
Spoiler :
Code:
void CvPlayer::doGold()
{
CyArgsList argsList;
argsList.add(getID());
long lResult=0;
gDLL->getPythonIFace()->callFunction(PYGameModule, "doGold", argsList.makeFunctionArgs(), &lResult);
if (lResult == 1)
{
return;
}
[COLOR="Red"]int iGoldChange = 0;[/COLOR]
FAssert(isHuman() || ((getGold() + iGoldChange) >= 0));
[COLOR="Red"]changeGold(iGoldChange);[/COLOR]
}
From placing, naming and included functions we may assume that doGold() shall update the player's gold at the beginning of the turn - which actually it doesn't.
To me, it looks pretty much like this function could just be deactivated.
