- Katılım
- 20 Kas 2025
- Konular
- 131
- Mesajlar
- 845
- Çözüm
- 4
- Online süresi
- 14d 15h
- Reaksiyon Skoru
- 878
- Altın Konu
- 19
- Başarım Puanı
- 163
- Yaş
- 32
- MmoLira
- 9,312
- DevLira
- 3
ROHAN2 WORLD 1-120 TR TİPİ OFFICIAL YOHARA, BALATHOR VE AMON! 80. GÜNÜNDE! +10.000 ONLİNE! HİLE VE BOT %100 ENGELLİ 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





