
Untitled
By: a guest on
May 9th, 2012 | syntax:
None | size: 1.36 KB | hits: 40 | expires: Never
for(i=0; i<pMain->m_ServerList.size(); i++)
{ //iplen
SetShort( buff, strlen(pMain->m_ServerList[i]->strServerIP), send_index );
//ip
SetString( buff, pMain->m_ServerList[i]->strServerIP, strlen(pMain->m_ServerList[i]->strServerIP), send_index );
//namelen
SetShort( buff, strlen(pMain->m_ServerList[i]->strServerName), send_index );
//name
SetString( buff, pMain->m_ServerList[i]->strServerName, strlen(pMain->m_ServerList[i]->strServerName ), send_index );
#ifdef IS_1453
SetShort(buff, 500, send_index); //available slots
SetShort( buff, pMain->m_ServerList[i]->sUserCount, send_index); // in use
//SetShort( buff, i, send_index);
SetShort(buff, pMain->m_ServerList[i]->sGroupNumber, send_index);
SetShort(buff, strlen(karusKing), send_index);
SetString(buff, karusKing, strlen(karusKing), send_index);
SetShort(buff, strlen(karusText), send_index);
SetString(buff, karusText, strlen(karusText), send_index);
SetShort(buff, strlen(elmoradKing), send_index);
SetString(buff, elmoradKing, strlen(elmoradKing), send_index);
SetShort(buff, strlen(elmoradText), send_index);
SetString(buff, elmoradText, strlen(elmoradText), send_index);
#endif
#ifdef IS_1310
SetShort(buff, 1, send_index);
SetShort(buff, 15001, send_index);
SetByte(buff, 1, send_index);
#endif
}