show ping under radar
#4


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?



Messages In This Thread
[No subject] - by deudas2 - 04-29-2023, 10:46 AM
[No subject] - by nicolasg - 04-29-2023, 01:02 PM
[No subject] - by Andrein95 - 04-29-2023, 08:52 PM
[No subject] - by nicolasg - 04-29-2023, 09:48 PM
[No subject] - by Andrein95 - 04-30-2023, 11:29 AM
[No subject] - by nicolasg - 04-30-2023, 09:33 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)