I am taking disconnect from the server because my ping is very high does anyone have a solution?
error : HIGHT PING!!! disconnect player000393.395| r3dNetwork: Deinitialize
Printable View
I am taking disconnect from the server because my ping is very high does anyone have a solution?
error : HIGHT PING!!! disconnect player000393.395| r3dNetwork: Deinitialize
get a better Internet bandwidth? :v
@Bombillo With normal low ping but when the ping is high is altomatically disconnected from the server how to remove? Ex: with 250 ping I'm offline
Maybe you can fix this by increasing the condition in which the server will disconnect
If the server disconnects you with ping 250 increase it to 300 ping
PS: Only one example might be that the source code is bug
Search and increase RED line
Code:if(localPlayer_ && net_ && net_->lastPing_>550)
{
m_highPingTimer += r3dGetFrameTime();
if(m_highPingTimer>10) // ping > x for more than 10 seconds -> disconnect
{
PKT_C2S_ClientConnection_s n; //AlexRedd:: Hight Ping
n.isHightPing = true;
p2pSendToHost(NULL, &n, sizeof(n), true);
r3dOutToLog("HIGHT PING!!! disconnect player\n");
Disconnect();
return;
}
}
550 ?
you need to disconnect player if ping is above 300.
i dont recommend you to decrease that value.
@LukasCCB Thank you problem fixed
@Burak DatLife It's just an example! @murilocela good! :}