•         

            

            

  • HyperFilter | DoS Protection | DDoS Protection | DoS Mitigation | DDoS Mitigation | AntiDoS | AntiDDoS | Proxy Shielding

1960 Clan Paketi 80% Fix

Katılım
29 Ocak 2013
Mesajlar
345
Paketlerin Karşılığını Bulun değiştirin

Kod:
uint16 CGameServerDlg::GetKnightsAllMembers(uint16 sClanID, Packet & result, uint16 & pktSize, bool bClanLeader)

{

	CKnights* pKnights = GetClanPtr(sClanID);

	if (pKnights == nullptr)

		return 0;



	uint16 count = 0;

	foreach_array (i, pKnights->m_arKnightsUser)

	{

		_KNIGHTS_USER *p = &pKnights->m_arKnightsUser[i];

		if (!p->byUsed)

			continue;



		CUser *pUser = p->pSession;

		if (pUser != nullptr)

			result << pUser->GetName() << pUser->GetFame()<<uint8() << pUser->GetLevel() << pUser->m_sClass << uint8(1)<< uint8(0);

		else // normally just clan leaders see this, but we can be generous now.

			result << pKnights->m_arKnightsUser[i].strUserName << uint8(0) << uint8(0)<<uint8(0) << uint16(0) << uint8(0) <<uint8(1) <<uint8(0);



		count++;

	}



	return count;

}







View hidden content is available for registered users!
 
Cevap: 1960 Clan Paketi 80% Fix



denedim sadece useri gösterdi yani user yani sadece kendini gösteriyo başkasıda girse clandan sadce ona kendini gösteriyo bumu %80 ?
 
Geri
Üst