Video Tutorial CSGO How to Find TraceRay - Call Traceline Tutorial

  • CSGO recently moved logic from 'client_panorama.dll' to 'client.dll', you must update all code that uses 'client_panorama.dll' and replace it with 'client.dll' or the code will not work.
Hexui Undetected CSGO Cheats Sinkicheat PUBG Cheat

Rake

Cesspool Admin
Administrator
Jan 21, 2014
12,066
78,998
2,371
1 byte (8 bit): byte, DB, RESB
2 bytes (16 bit): word, DW, RESW
4 bytes (32 bit): dword, DD, RESD
8 bytes (64 bit): qword, DQ, RESQ
10 bytes (80 bit): tword, DT, REST
16 bytes (128 bit): oword, DO, RESO, DDQ, RESDQ ( oword - octoword )
32 bytes (256 bit): yword, DY, RESY
64 bytes (512 bit): zword, DZ, RESZ
If I become president of the New World Order, I am making octowords illegal
 
  • Haha
Reactions: Chucky

abrn

Dank Tier Donator
Full Member
Mar 13, 2020
33
683
1
Hello Rake, and everybody, my game crashes when trace.hit_entity occurs multiple times (in a row i think) even with 2000 Sleep. Is there a fix to this or did i do something wrong?
C++:
while (!(GetAsyncKeyState(VK_END) & 1)) {
    CGameTrace trace;
    Ray_t ray;
    CTraceFilter tracefilter;
    Ent* ent2 = (Ent*)clientEntityList->GetClientEntity(2);
    Ent* pLocal = *(Ent**)(clientdll + offsets::dwLocalPlayer);
    vec3 eyepos = pLocal->origin + pLocal->m_vecViewOffset;
    vec3 targeteyepos = ent2->origin + ent2->m_vecViewOffset;
    tracefilter.pSkip = (void*)pLocal;
    ray.Init(eyepos, targeteyepos);
    EngineTrace->TraceRay(ray, MASK_SHOT | CONTENTS_GRATE, &tracefilter, &trace);
    if (ent2 == trace.hit_entity)
        {
            std::cout << "ent2 health " << ent2->m_iHealth << " is visible\n";
        }
        else {
            std::cout << "ent2 health " << ent2->m_iHealth << "\n";
        }
    Sleep(2000);
}
 

Rake

Cesspool Admin
Administrator
Jan 21, 2014
12,066
78,998
2,371
Hello Rake, and everybody, my game crashes when trace.hit_entity occurs multiple times (in a row i think) even with 2000 Sleep. Is there a fix to this or did i do something wrong?
C++:
while (!(GetAsyncKeyState(VK_END) & 1)) {
    CGameTrace trace;
    Ray_t ray;
    CTraceFilter tracefilter;
    Ent* ent2 = (Ent*)clientEntityList->GetClientEntity(2);
    Ent* pLocal = *(Ent**)(clientdll + offsets::dwLocalPlayer);
    vec3 eyepos = pLocal->origin + pLocal->m_vecViewOffset;
    vec3 targeteyepos = ent2->origin + ent2->m_vecViewOffset;
    tracefilter.pSkip = (void*)pLocal;
    ray.Init(eyepos, targeteyepos);
    EngineTrace->TraceRay(ray, MASK_SHOT | CONTENTS_GRATE, &tracefilter, &trace);
    if (ent2 == trace.hit_entity)
        {
            std::cout << "ent2 health " << ent2->m_iHealth << " is visible\n";
        }
        else {
            std::cout << "ent2 health " << ent2->m_iHealth << "\n";
        }
    Sleep(2000);
}
call it inside a hook

https://guidedhacking.com/threads/glowhack-with-traceray-is-crashing.14868/?view=votes#post-91246
 
  • Like
Reactions: abrn

Solemny

Full Member
Sep 3, 2020
1
102
0
Quick question i have been developing an external cheat does this only work in a hooked process?
 

Kekz

Maybe Pasting
Dank Tier Donator
Nobleman
Jan 10, 2020
137
3,668
12
Attention! Before you post:

Read the How to Ask Questions Guide
99% of questions are answered in the Beginner's Guide, do it before asking a question.

No Hack Requests. Post in the correct section.  Search the forum first. Read the rules.

How to make a good post:

  • Fill out the form correctly
  • Tell us the game name & coding language
  • Post everything we need to know to help you
  • Ask specific questions, be descriptive
  • Post errors, line numbers & screenshots
  • Post code snippets using code tags
  • If it's a large project, zip it up and attach it

If you do not comply, your post may be deleted.  We want to help, please make a good post and we will do our best to help you.

Community Mods