C++ How to improve ur engine prediction

Начинающий
Статус
Оффлайн
Регистрация
1 Ноя 2024
Сообщения
11
Реакции[?]
7
Поинты[?]
7K
we just need to set cl_pred_optimize to 0 so that the game doesn't try to re-predict if it didn't receive a network update or if there were no errors
C++:
 // @xrefs: 4C 89 4C 24 20 48 89 4C 24 08 53 55 56 57 41 55 41 56 48 - client.dll
// 89 54 24 10 48 89 4C 24 08 55 53 41 55 41 - client.dll
void c_engine_prediction::update( )
{
    // we dont need to extra prediction, etc
    g_cs2.cl_pred_optimize->set_value( 0 );
   
    // here ur CPrediction::Update.
    return g_cs2.m_prediction->Update( ... );
}
 
Сверху Снизу