Исходник Fake stats

Участник
Статус
Оффлайн
Регистрация
6 Апр 2021
Сообщения
338
Реакции[?]
207
Поинты[?]
113K
found this randomly
Код:
  //  constexpr std::ptrdiff_t m_iScore = 0x80C; // int32_t
   // constexpr std::ptrdiff_t m_vecKills = 0x810; // C_NetworkUtlVectorBase<EKillTypes_t>
  //  constexpr std::ptrdiff_t m_iMVPs = 0x828; // int32_t

void evo::misc_t::fake_score( ) {
    if ( !_cfg->alot_of_booleans[ bool_cfg_element::fake_score ] )
        return;

    int score = _cfg->alot_of_ints[ int_cfg_element::what_score ];

    // don't overwrite it
    static int old_score = score;
    static bool updated = false;

    // was it changed
    if ( ( old_score != score ) && updated ) {
        // update fov
        old_score = score;

        // update check
        updated = false;
    }

    if ( !updated ) {
        _driver.write( _ent_cache->local.controler.address + offsets::everything.i_score, score );

        // update
        updated = true;
    }
}

// edit:
// found this
void evo::misc_t::fake_mvp() {
    if ( !_cfg->alot_of_booleans[ bool_cfg_element::fake_mvp ] )
        return;

    int mvp = _cfg->alot_of_ints[ int_cfg_element::what_mvp ];

    // don't overwrite it
    static int old_mvp = mvp;
    static bool updated = false;

    // was it changed
    if ( ( old_mvp != mvp ) && updated ) {
        // update fov
        old_mvp = mvp;

        // update check
        updated = false;
    }

    if ( !updated ) {
        _driver.write( _ent_cache->local.controler.address + offsets::everything.mvpu, mvp );

        // update
        updated = true;
    }
}

// edit #3
void evo::misc_t::fake_kills() {
    if ( !_cfg->alot_of_booleans[ bool_cfg_element::fake_stuff ] )
        return;

    int kill = _cfg->alot_of_ints[ int_cfg_element::what_kills ];

    // don't overwrite it
    static int old_kill = kill;
    static bool updated = false;

    // was it changed
    if ( ( old_kill != kill ) && updated ) {
        // update fov
        old_kill = kill;

        // update check
        updated = false;
    }

    if ( !updated ) {
        _driver.write( _ent_cache->local.controler.address + offsets::everything.killanu, mvp );

        // update
        updated = true;
    }
}
 
Сверху Снизу