google-site-verification: googlebaca44933768a824.html Injection help - Old Royal Hack Forum

Announcement

Collapse
No announcement yet.

Injection help

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Injection help

    Hai.

    I'm trying to convert my HL1 cheat to HL2 basically. I'm proud of the work I did on my HL1 cheat and it's a neat hook with much years of editing and adding. But I need some advice in hooking HL2 from the masters..

    To do this, I only need to start off with two clean files, Main.cpp and Client.cpp. I'm trying to IAT hook, but I haven't been able to do it like in HL1.. In desperation I've tried compiling RoyalHack basehook and many other basehooks but they never seem to work.. But before I even think about converting my aimbot and functions to source, I have to make the hook itself work. Are there any basehooks I can use that actually work? As I mentioned I've fixed some up and compiled a few, but none of them seem to work. I was disappointed at this because the public version of your hack injects perfectly, but the basehook didn't initialize (no console msg, doesn't work etc.) . I'm trying this for HL2DM and CS:S, so I dled the latest SDK labeled 'Episode 1' instead of 'Orange Box'.. so the SDK is updated to the latest.

    I just need some advice or some basic idea of how to hook, and once I get the clientfuncs going it should be straightforward from there.

    Thanx in advance.

    #2
    Hi. HL1 is pretty different compared to HL2 so porting your source to HL2 would be mostly limited to visual features (FillRGBA blaah etc. drawing ).
    When using latest SDK make sure you're not using any static offsets or such unless you have confirmed them yourself.
    Health can be achieved pBaseEnt->GetHealth(), flags GetFlags() , etc. etc... and there aint any public basehooks at the moment that would work since there was "big" update about month or two ago. Best way is as you have done already, download latest SDK, check how things are done in HLH or RH or other public sourcecodes, start working. VTable hooking is great way to hook memberfunctions from classes in client.dll and engine.dll. Find user aVitamin from our forums, find all threads by user and check out his nice VMT hooking class. It's pretty nice way or then you could hook functions same way as in RH pub source.
    Last edited by mencore; 09-19-2009, 11:07 PM.
    lolmaoman: Germans are born with a lifetime x22 login engraved into their birth certificates. True story.
    I DONT HAVE TEAMVIEWER AND IM NOT GOING TO GIVE ANY 24/7 ONLINE SUPPORT VIA STEAM, XFIRE OR OTHER IM PROGRAMS SO DONT BOTHER ASKING. THANKS.

    Comment


      #3


      should help

      Comment


        #4
        Originally posted by entername View Post
        it would help him out if the link wasnt dead :P

        Comment


          #5
          Originally posted by mencore View Post
          It's pretty nice way or then you could hook functions same way as in RH pub source.
          Which is actually VMT-Hooking too, and ACTUALLY its exactly the same principle. =)

          Comment


            #6
            look what i got for you...a basic css base hook :wanking:


            have fun
            :smiley_414:
            Attached Files
            I 0x90 you!

            Comment


              #7
              Wow. I appreciate all of these nice answers and responses. Thank you very much esspecially Vitamin for being so public about his code.

              Comment


                #8
                Originally posted by Lawgiver View Post
                Which is actually VMT-Hooking too, and ACTUALLY its exactly the same principle. =)
                Yes i know, i just meant the "style" to achieve this, using of class or just doing it the way it's done in RH pub src, didnt express myself clear enough obviously :D
                lolmaoman: Germans are born with a lifetime x22 login engraved into their birth certificates. True story.
                I DONT HAVE TEAMVIEWER AND IM NOT GOING TO GIVE ANY 24/7 ONLINE SUPPORT VIA STEAM, XFIRE OR OTHER IM PROGRAMS SO DONT BOTHER ASKING. THANKS.

                Comment

                Working...
                X