- Katılım
- 20 Kas 2025
- Konular
- 104
- Mesajlar
- 670
- Online süresi
- 12g 78686s
- Reaksiyon Skoru
- 706
- Altın Konu
- 0
- Başarım Puanı
- 163
- Yaş
- 32
- TM Yaşı
- 4 Ay 29 Gün
- MmoLira
- 10,621
- DevLira
- 3
Metin2 EP, Valorant VP dahil tüm oyun ürünlerini en uygun fiyatlarla bulabilir, Item ve Karakterlerinizi hızlıca satabilirsiniz. HEMEN TIKLA!
Selamlar,
GameServer Lisanslamak için ufak bir kod paylaşıyorum.
GameServer Lisanslamak için ufak bir kod paylaşıyorum.
Kod:
// License System Start
bool IsValidLicense = false; std::string LicensedIPAddresses = "127.0.0.1"; std::string ServerIPAddress = "0.0.0.0"; foreach_stlmap_nolock (itr,m_ServerArray) { if (LicensedIPAddresses.find(itr->second->strServerIP) == std::string::npos) continue; ServerIPAddress = itr->second->strServerIP; IsValidLicense = true; break; } if (!IsValidLicense) { printf("ERROR:IP Address is not have a license.\n"); return false; }
// License System End






