- alvinegro escreveu:
- XUPA SEUS MERDA ERA BUG MESMO SEUS NOOB FDP!
Esse site mostra outra coisa...........................
mostra que gl doutor é wall hack.....nao bug.......e é muita coincidência esse bug ser com o name de um xiter............ tem ate uma ss no final da pagina!!!!!!!!é usado para fazer wall hack em cs tambem...............
http://board.cheat-project.com/showthread.php?t=4132
.
OpenGL MSDetours 2.1 Basehook
Well here it is. Im pretty fucking proud of it .
Big thanks goes out to h1web (webby, whos now grounded cuz its past his bedtime) for his help on the wglSwapBuffers hook, you can read the comments as to why I had problems.
Anyhow here we go.
I have included a PureGL base (as if anyone is gonna use PureGL ) and a hybrid base. In both I have included an XQZ2 wallhack using glShadeModel and nosky both of which that use inline asm (webby ). I did them in inline asm...well, cuz I wanted to and im in the process of learning it.
Ok, enough bullshit.
You will need the attached detourslibset.zip. Detours.h should stay locally with your project and the lib should go into your platformsdk/lib directory. Other then that, everything should compile fine.
Feedback is much encouraged!
Also, I made this because I havent seen any OpenGL basehook for Detours 2.1, only 1.5.
PureGL Base readme (also at the top of every file I created myself)
Code:
//MSDetours 2.1 OpenGL Hook
//( c ) Charles Kozler
//
//Credits:
// Microsoft for the detours
// h1web for the wglSwapBuffers hook ( see comments )
// Whomever it was that figured 5th glViewport/glEnable allows drawing
// Whomever it was that figured out the bOGLSubtractive
// RobotFood for the wallhack in glShadeModel( left in as an example )
// OGC for nosky( left in as an example )
// xer0 for his original tutorial on hooking GL functions with detours 1.5 which inspired me to do this
//
//Please Visit:
// http://www.vacdisabled.net
// http://www.cheat-network.net
//
//Notes:
// 1.) I was going to release this under GPL...But I figured since its nothing new
// and because it uses Microsoft code I assumed I couldn't release it under GPL,
// so I didnt...
// 2.) If you use this base and release the source please leave the links in and the copyright at the
// top of the files, you can remove all the credits and links so long as you include them in the readme
// 3.) The binary for this needs to be injected. Since the loader I use is seen as a virus by alot of AntiVirus'
// I decided to delete it.
Hybrid base readme
Code:
//MSDetours 2.1 OpenGL Hook with Engine Access
//( c ) Charles Kozler
//
//Credits:
// Microsoft for the detours
// h1web for the wglSwapBuffers hook ( see comments )
// Patrick/Dominik for contents CPatch file
// Suxx for auto offset sigs
// LanceVorgin for showing public how to access engine functions
// Tetsuo for the glowshell( credited to avoid issues with GD... )
// Whomever it was that figured 5th glViewport/glEnable allows drawing
// Whomever it was that figured out the bOGLSubtractive
// RobotFood for the wallhack in glShadeModel( left in as an example )// OGC for nosky( left in as an example )
// xer0 for his original tutorial on hooking GL functions with detours 1.5 which inspired me to do this
//
//Please Visit:
// http://www.vacdisabled.net
// http://www.cheat-network.net
// http://forum.gamedeception.net - Developers ONLY!!!
//
//Notes:
// 1.) I was going to release this under GPL...But I figured since its nothing new
// and because it uses Microsoft code I assumed I couldn't release it under GPL,
// so I didnt...
// 2.) If you use this base and release the source please leave the links in and the copyright at the
// top of the files, you can remove all the credits and notes so long as you include them in the readme
// 3.) The binary for this needs to be injected. Since the loader I use is seen as a virus by alot of AntiVirus'
// I decided to delete it.