GithubHelp home page GithubHelp logo

Comments (7)

designer1337 avatar designer1337 commented on May 24, 2024

U should hook bsp query not engine client...

reinterpret_cast<void*>(get_virtual(interfaces::engine->get_bsp_query()

from csgo-cheat-base.

Aham-Admin avatar Aham-Admin commented on May 24, 2024

get_bsp_querry() doesnt exist as a method. and from searching up I cant find a method that would work
edit. Nvm the method was bsp_query()
void* get_bsp_query() { using original_fn = void*(__thiscall*)(iv_engine_client*); return (*(original_fn * *)this)[41](this); }
edit 2: crashes

from csgo-cheat-base.

monthyx1337 avatar monthyx1337 commented on May 24, 2024

using list_leaves_in_box_fn = int(__fastcall*)(std::uintptr_t ecx, std::uintptr_t edx, Vector & mins, Vector & maxs, unsigned short* list, int list_max);

list_leaves_in_box_fn o_list_leaves_in_box = nullptr;

auto list_leaves_in_box_target = reinterpret_cast<void*>(get_virtual(g_pEngine->GetBSPTreeQuery(), 6));

if (MH_CreateHook(list_leaves_in_box_target, &hooks::list_leaves_in_box, reinterpret_cast<void**>(&o_list_leaves_in_box)) != MH_OK) {
		throw std::runtime_error("5");
		return false;
}

from csgo-cheat-base.

Aham-Admin avatar Aham-Admin commented on May 24, 2024

using list_leaves_in_box_fn = int(__fastcall*)(std::uintptr_t ecx, std::uintptr_t edx, Vector & mins, Vector & maxs, unsigned short* list, int list_max);

list_leaves_in_box_fn o_list_leaves_in_box = nullptr;

auto list_leaves_in_box_target = reinterpret_cast<void*>(get_virtual(g_pEngine->GetBSPTreeQuery(), 6));

if (MH_CreateHook(list_leaves_in_box_target, &hooks::list_leaves_in_box, reinterpret_cast<void**>(&o_list_leaves_in_box)) != MH_OK) {
		throw std::runtime_error("5");
		return false;
}

That is exactly what I have. The method Im missing is g_pEngine->GetBSPTreeQuery()
for the base your using. For the base for this cheat the engine interface doesn't have a GetBSPTreeQuery or any method to get it.

from csgo-cheat-base.

monthyx1337 avatar monthyx1337 commented on May 24, 2024

add it then???

from csgo-cheat-base.

Aham-Admin avatar Aham-Admin commented on May 24, 2024

void* get_bsp_query() { using original_fn = void*(__thiscall*)(iv_engine_client*); return (*(original_fn * *)this)[41](this); }
This is the method... It causes crashing

from csgo-cheat-base.

designer1337 avatar designer1337 commented on May 24, 2024

I mean this is not even related to the base, just add bsp query method and hook it, nothing else to say

from csgo-cheat-base.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.