Any form to make it fast? for example, in L2PatchD has an option to make it load in a few seconds (npc spawning take some minutes), im interested in the fast load, may be later on the EnterWorld. @MasterToma i invoke you
Посмотрите видео ниже, чтобы узнать, как установить наш сайт в виде веб-приложения на главном экране.
Примечание: Эта функция может быть недоступна в некоторых браузерах.
void CNpcMakerDB::TimerExpired(intptr_t id)
{
guard(__FUNCTIONW__);
ProcessOneNpcMaker();
if (ProcessOneNpcMaker())
{
// AddTimer(100, 0); FIXED: speeded up 10 times
AddTimer(10, 0);
}
}
void CNpcMakerDB::TimerExpired(intptr_t id)
{
guard(__FUNCTIONW__);
while (ProcessOneNpcMaker())
{
; // loop for all NPC without timeouts
}
}
I'm using open-source Ghidra from National Security Agency for patching. Here isCFF Explorer is appropiate for change the values of AddTimer?
void CNpcMakerDB::TimerExpired (int timer_id) {
while ( ProcessOneNpcMaker() )
{
// Put Timer or leave void
}
while ( ProcessOneNpcMakerEx() )
{
// Put Timer or leave void
}
}