My #1 retweeter finally signed up, welcome!Just signed up (OFFICIALLY) after leeching off Windows Internals stuff from here for 2 years. I figured it's time to actually learn how to hack games.
Gonna be interesting following GHB. If anyone is following the bible with a day job and only has time after work, kindly let me know.
Hahaha happy to be here man. This is the only forum i am in. Still learning the ins and outs. I promise I'll finish GHB no matter how long it takes.My #1 retweeter finally signed up, welcome!
Welcome to the team! I am also starting the GHB right now and learning cheat engine, I don't have work but I do have school and can only do the GHB for a few hours each day but I make it work!Hahaha happy to be here man. This is the only forum i am in. Still learning the ins and outs. I promise I'll finish GHB no matter how long it takes.
Thanks man. I am in the same position. Only a few hours a day. 3 hours a day is better than zero.Welcome to the team! I am also starting the GHB right now and learning cheat engine, I don't have work but I do have school and can only do the GHB for a few hours each day but I make it work!
Happy your here!
Welcome back! Kinda the same story for me but not school just me being me!After about 1.5 years of not doing a lot of hacking cus school, i started working on a cheat for a fighting game, cus a friend complained about having too little freedom in the game.
Feels good to get back into complicated stuff C:
I like that font, what is it?
I hope your ready for this one. its called MinecraftiaI like that font, what is it?
import winim, subhook, opengl
{.passL: "-s -static-libgcc".}
type wglSwapBuffersDef = proc(hdc: HDC): bool {.stdcall.}
var
viewPort: array[0..3, GLint]
glSwapHook: Hook
oglSwapBuffers = cast[wglSwapBuffersDef](GetProcAddress(GetModuleHandleA("opengl32.dll"), "wglSwapBuffers"))
template setupOrtho =
glGetIntegerv(GL_VIEWPORT, viewPort[0].addr)
glViewport(0, 0, viewport[2], viewport[3])
glMatrixMode(GL_PROJECTION)
glLoadIdentity()
glOrtho(0, viewPort[2].GLdouble, viewPort[3].GLdouble, 0, -1, 1)
glMatrixMode(GL_MODELVIEW)
glLoadIdentity()
glDisable(GL_DEPTH_TEST)
template restoreGL =
glEnable(GL_DEPTH_TEST)
proc hackLoop =
glLineWidth(3)
glBegin(GL_LINES)
glColor3f(255, 0, 0)
glVertex2f(0, 0)
glVertex2f(viewPort[2].GLfloat, viewPort[3].GLfloat)
glEnd()
proc hkSwapBuffers(hdc: HDC): bool {.stdcall.} =
glSwapHook.remove()
setupOrtho()
hackLoop()
restoreGL()
result = oglSwapBuffers(hdc)
glSwapHook.install()
proc main =
{.gcsafe.}:
AllocConsole()
discard stdout.reopen("CONOUT$", fmWrite)
glSwapHook = initHook(
GetProcAddress(GetModuleHandleA("opengl32.dll"), "wglSwapBuffers"),
cast[pointer](cast[ByteAddress](hkSwapBuffers))
)
discard glSwapHook.install()
loadExtensions()
when isMainModule:
var t: Thread[void]
t.createThread(main)