View Single Post
  #20  
Old 02-16-2017, 12:26 AM
bdens01
Fire Beetle
 
Join Date: Feb 2017
Posts: 2
Default

m_client->Write(m_server->GetUDPDevice(), Packet(Client::PACKET_TYPE_REQUEST_RESTART, Client::ARG_PARAMS_FASTEST, Client::ARG_PARAMS_SUMMON_GM));

for(unsigned long i = 0; i < 5000; i +=100)
{
if(m_semaphore->GetCount() > 0)
break;
}

if(i >= 5000)
Global::KillSelf();
else
m_client->SetLogin(true);
Reply With Quote