Cand stuctura de la mob_proto e gresita, in loc sa iti dea eroare - vei lua crash random in client, fara sa stii de ce.
FIX-ul de mai jos doar se asigura ca in loc sa iei crash fara motiv, vei lua crash si va scrie motivul acestuia - ca sa stii sa il rezolvi
Text original:
*Link download / Code:Hello everyone, you probably noticed that when the structure mob proto are not correct then the client loads almost until the end and then hangs?Recently saw this error, it is time to correct this deficiency. Make the test structure is very simple.
Cautam:
Code:
if ((zObj.GetSize() % sizeof(TMobTable)) != 0)
{
TraceError("CPythonNonPlayer::LoadNonPlayerData: invalid size %u check data format.", zObj.GetSize());
return false;
}

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

