04-29-2023, 09:48 PM
1 hour ago, Andrein95 said:
In client side, speaking about November source there is a:
ENGINE_API INDEX iPing;
In Engine.cpp that is used inside Player.cpp (.es)
{for (INDEX iPlayer = 0; iPlayer < ctPlayers; iPlayer++) {
CTString strLine;
CPlayer* penPlayer = _apenPlayers[iPlayer];
INDEX iPing = ceil(penPlayer->en_tmPing * 1000.0f);
CTString strName = penPlayer->GetPlayerName();
strStats += PadStringRight(CTString(0, "%d", iPlayer + 1), ctRankChars) + " ";
strStats += PadStringLeft(CTString(0, "%d", iPing), ctPingChars) + " ";
strStats += PadStringRight(strName, ctNameChars) + " ";
strStats += "\n";
}}
This label in this case is completely misleading?
BTW It's possible to implement natively using Boost Asio, correct me If I'm wrong.
This is pretty old but make sens:
2
I would have to investigate the subject, but ¿is there a possibility that it is to measure ping with the local server?

