Jump to content
  • Advertisement

Archived

This topic is now archived and is closed to further replies.

bilsa

"game hacking" :) - HOOKS ?

This topic is 5414 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Ohoi Hello guys! Now If you entered this topic just to flame me... better leave with once, cus thats not what I''m asking for... Ok, now the thing is that I want to draw my own bitmap on the backbuffer surface of a DX based game. Now I have found where in memory the BackBuffer surface is stored. Ok, now I want my trainer program to draw some nice text on top of the screen, right? Ok, so I could just retrieve the BackBuffer surface from memory and draw to it with my own drawingfunctions... Ok, so I draw it to the backbuffer... but still nothing is printed because the game prints the graphics to the backbuffer after that I have printed the stuff... So my graphics won''t be shown. Now lets say I have deassembled the game and found the "draw loop" So, I would want my trainer to "catch" that loop and in the end of it draw my own stuff before ending. I have a vauge memory that this could be done with so called "Hooks"? am I right? I would appreciate if anyone could tell me more about the "Hooks" and even point out some nice tutorials about it. Cuz I found it very hard to find anything useful about it with google... Thx!

Share this post


Link to post
Share on other sites
Advertisement
Guest Anonymous Poster
"Now If you entered this topic just to flame me... better leave..."

Tough! Don''t come here saying how you hacked a game and asking us to help you hack it more.

Maybe you should not be "hacking" if you can''t figure things out for yourself?

You are asking the wrong people. I and many here would hook you FACE if you hack our games

Share this post


Link to post
Share on other sites
Unless the programmers gave you a framework that let the game call third party functions, you''ll have to do it without the game''s cooperation. Hooks don''t magically happen, they have to be explicitely planned for. Scour the DirectX documentation to see if any of the DX functions called "at the end of the render loop" do provide hooks you can use. If not... tough luck.

Hooks



[ Start Here ! | How To Ask Smart Questions | Recommended C++ Books | C++ FAQ Lite | Function Ptrs | CppTips Archive ]
[ Header Files | File Format Docs | LNK2001 | C++ STL Doc | STLPort | Free C++ IDE | Boost C++ Lib | MSVC6 Lib Fixes ]

Share this post


Link to post
Share on other sites
funny: ok, i see...

anonymous poster:
Uhm, lol... cmon it''s a freaking game... not like i killed you or something. Now btw, since i have bought this game and all i have done is messing with the memory in my computer, WHICH i OWN, so why should it be such a big deal...



But how would it be if i jumped from the place in the code that calls for the "FlipSurface" function and jumped to another codesection and from there somehow called my "C-function", would it be possible to call my own "C-function", that is located in my trainer, from within the game code memory?

So is it possible to call for a C-function with assembly code, like I described?

thx!

Share this post


Link to post
Share on other sites
Guest Anonymous Poster
"why should it be such a big deal... "

It is a big deal and should be illegal. You aren''t simply "messing with memory on your computer" you are potentially robbing a company of it''s main source of revenue, which in my eyes makes you a thief. Check the license agreement you must have clicked YES to when you installed the game. Email the company and ask them if it''s "ok" to crack their software.
I don''t get it, it''s a federal offense to rip the tags off a pillow you OWN, but it''s perfectly legal to break into someones game and tear out all the things it took them years of work to develop.

It makes as much sense as pot being illegal and not alcohol, when alcohol kills people and is more hazardous to society.

I think our lawmakers do much too much crack with their hookers.

Of course you can call C functions thru ASM.. every hacker knows that!

(And no I''m not the same AP...)

Share this post


Link to post
Share on other sites
To me it sounds more like he wants to either mess with the games internal coding and display some results on the screen, or just alter some variables in the game like cheating. He never said he wanted to create a CRACK for the game so he could pirate it.

Share this post


Link to post
Share on other sites
Guest Anonymous Poster
think, if it were YOUR game would you want some guy doing that?

Share this post


Link to post
Share on other sites
Guest Anonymous Poster
quote:
Original post by Anonymous Poster
"why should it be such a big deal... "

It is a big deal and should be illegal. You aren''t simply "messing with memory on your computer" you are potentially robbing a company of it''s main source of revenue, which in my eyes makes you a thief.


Excuse me? How the FUCK does drawing on a game''s backbuffer qualify as robbing a company of revenue?

Idiot.

Share this post


Link to post
Share on other sites
Guest Anonymous Poster
Get a life AP.

Share this post


Link to post
Share on other sites

This topic is 5414 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Guest
This topic is now closed to further replies.

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!