Ayyıldız2 | 2008 TR Yapısı • 1-99 Orta Emek Destan • Oto Avsız • 10 Temmuz 21:00 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
Şu an konuyu görüntüleyenler (Toplam : 0, Üye: 0, Misafir: 0)
Benzer konular
- Cevaplar
- 14
- Görüntüleme
- 1K
- Cevaplar
- 4
- Görüntüleme
- 435
- Cevaplar
- 4
- Görüntüleme
- 104