- Katılım
- 24 May 2018
- Konular
- 35
- Mesajlar
- 64
- Online süresi
- 16d 13h
- Reaksiyon Skoru
- 89
- Altın Konu
- 0
- TM Yaşı
- 8 Yıl 16 Gün
- Başarım Puanı
- 97
- Yaş
- 34
- MmoLira
- 8,533
- DevLira
- 75
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!
Hello, once upon a time I met a fool who had such a bug in Source that the player was in a different kingdom than he should have been. He didnt have kingdoms 1, 2, 3 but only 0 or 4, which created problems in the game as he didnt have any kingdom. I had never come across such an error in my life, but once I wrote a simple fix for these types of situations, so here you go:
You dont have to have this bug, this fix is for idiots who cant do anything right and take on metin2 and create new bugs
Open:
input_login.cpp
You dont have to have this bug, this fix is for idiots who cant do anything right and take on metin2 and create new bugs
Open:
input_login.cpp
Kod:
Find:
void CInputLogin::CharacterSelect(LPDESC d, const char * data)
{
add before:
bool FixByMuchomor(LPDESC d)
{
switch (d->GetEmpire())
{
case 1:
case 2:
case 3:
return false;
}
return true;
}
Now again go:
void CInputLogin::CharacterSelect(LPDESC d, const char * data)
Find:
player_load_packet.account_id = c_r.id;
player_load_packet.player_id = c_r.players[pinfo->index].dwID;
player_load_packet.account_index = pinfo->index;
add after:
if (FixByMuchomor(d))
{
sys_err("FixByMuchomor %d\n", c_r.id);
d->DelayedDisconnect(0);
return;
}
now every player is verified, if he has other kingdom than 1,2,3 then kick from server








