Rezolva cel mai folosit exploit din era metin2 - Bug-ul cu valoarea negativa la comanda /war (razboi bresle).
Daca pui valoare negativa atunci cand folosesti comanda /war, serverul va pica.
*Link download / Code:
Varianta #1:
Deschidem cmd_general.cpp si cautam:
Code:
if (type >= GUILD_WAR_TYPE_MAX_NUM)
type = GUILD_WAR_TYPE_FIELD;Varianta #2:
In cmd_general.cpp cautam:
Code:
if (*arg2)
{
str_to_number(type, arg2);
if (type >= GUILD_WAR_TYPE_MAX_NUM)
type = GUILD_WAR_TYPE_FIELD;
}

la acest mesaj și conținutul se va afișa automat.



