Source Code OpenGL Model Logger

Hexui Undetected CSGO Cheats Sinkicheat PUBG Cheat


Respected Hacker
Dank Tier VIP
Dec 15, 2013
So I've got a pretty basic model logger going for OpenGL games, and I've run into an issue with AssaultCube.

The models render like this when attempting to apply a wallhack + cham to them.

//glDrawElements Counts
#define Player (count == 534 || count == 537 || count == 540 || count == 543 || count == 546 || count == 549 || count == 552 || count == 555 || count == 558 || count == 561 || count == 564 || count == 567 || count == 570 || count == 573 || count == 576)

//In glDrawElements
if Player
    //Credits to Liduen

	glDepthFunc(GL_LEQUAL); // normal state
	glColor3f(1.0f, 0.0f, 0.0f); // red before walls
	__glDrawElements(mode, count, type, indicies);

	glColor3f(0.0f, 1.0f, 0.0f); // green behind walls
	__glDrawElements(mode, count, type, indicies);

	glDepthFunc(GL_LEQUAL); // restore normal state
I found that when I have the model logger checking between 0 - 100, then I reset the graphics (Change resolution, etc), the models to render in color and through the edges of walls. This doesn't work for player's though. Completely confused as to why AssaultCube has these issues, yet if I were to hook the same functions in Half-Life 1, it would work just fine.

Full Model Logger Source:

Any sort of attempt to modify depth buffers is incredibly glitchy with AssaultCube.
Last edited:


Respected Hacker
Dank Tier VIP
Dec 15, 2013
I like the idea of that BatchGrab. :)
Pretty usefull!
Thanks! I've seen a few people do that with their loggers, so I did it here since it makes things go a bit faster :D
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