Timp schimbare bonus.
Salut , am si eu o problema . Cand schimb bonusul e un anumit interval de 10 minute de schimbare intre bonusuri ,stie cineva cum pot sa scot acele 10 minute sa schimb permanent? ,un tutorial explicat bine sa inteleg .
Diff 34k
Fara timp de asteptare intre schimbarile de bonus
Rezolvare c++ :
Intraţi in game/src/char_item.cpp şi căutaţi :
Modificaţi in :
DIFF TIMP 0 SCHIMBARE BONUSURI:
Fara timp de asteptare intre schimbarile de bonus
Cod: Selectaţi tot
0005ECA3: 0A 00Intraţi in game/src/char_item.cpp şi căutaţi :
Cod: Selectaţi tot
if (pPC)
{
DWORD dwNowMin = get_global_time() / 60;
DWORD dwLastChangeItemAttrMin = pPC->GetFlag(msc_szLastChangeItemAttrFlag);
if (dwLastChangeItemAttrMin + dwChangeItemAttrCycle > dwNowMin)
{
ChatPacket(CHAT_TYPE_INFO, LC_TEXT("ĽÓĽşŔ» ąŮ˛ŰÁö %dşĐ ŔĚł»żˇ´Â ´Ů˝Ă şŻ°ćÇŇ Ľö ľř˝Ŕ´Ď´Ů.(%d şĐ ł˛Ŕ˝)"),
dwChangeItemAttrCycle, dwChangeItemAttrCycle - (dwNowMin - dwLastChangeItemAttrMin));
return false;
}
pPC->SetFlag(msc_szLastChangeItemAttrFlag, dwNowMin);
}Cod: Selectaţi tot
if (pPC)
{
DWORD dwNowMin = get_global_time() / 60;
//Comment for 0 switch players start
//DWORD dwLastChangeItemAttrMin = pPC->GetFlag(msc_szLastChangeItemAttrFlag);
//if (dwLastChangeItemAttrMin + dwChangeItemAttrCycle > dwNowMin)
//{
//ChatPacket(CHAT_TYPE_INFO, LC_TEXT("ĽÓĽşŔ» ąŮ˛ŰÁö %dşĐ ŔĚł»żˇ´Â ´Ů˝Ă şŻ°ćÇŇ Ľö ľř˝Ŕ´Ď´Ů.(%d şĐ ł˛Ŕ˝)"),
//dwChangeItemAttrCycle, dwChangeItemAttrCycle - (dwNowMin - dwLastChangeItemAttrMin));
//return false;
//}
//Comment for 0 switch players end
pPC->SetFlag(msc_szLastChangeItemAttrFlag, dwNowMin);
}
}Cod: Selectaţi tot
game_r40250
0005E4E1: 0A 00Am observat o chestie , GM -ul nu trebuie sa astepte 10 minute .
Am aplicat difful ala dar nush daca a fost aplicat corect ca nu merge
Ma ajuta cineva sa aplic un diff?
Ma ajuti terog sa aplic acest diff ,am incercat si nu reusesc.
Da , lasa-mi datele de la team fara instalare in privat .
Subiect inactiv de peste 3 zile. Arhivat.
-
- Informaţie
-
Cine este conectat
Utilizatori ce ce navighează pe acest forum: Niciun utilizator înregistrat și 160 vizitatori






