+ Reply to Thread
Results 1 to 8 of 8

  Click here to go to the first staff post in this thread.   Thread: simple Aimroutine with Enginefunctions

  1. #1
    Join Date
    Jul 2009
    Location
    .de
    Posts
    16
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Rep Power
    0

    simple Aimroutine with Enginefunctions

    ok, first ETQW post here, more to follow :-)

    the main calculation is done by idLib as it can be done in every idgame or others as long you implement idLib

    please note that im writing the output angles directly into etqw.exe's memory to avoid any clamping.

    PHP Code:
    void mAim::AimToidVec3 to )
    {
        
    idVec3 deltaVector;
        
    idAngles deltaAngles;

        
    float *pitch = (float*)(DW_etqwexebase+0x3FF704);
        
    float *yaw   = (float*)(DW_etqwexebase+0x3FF708);

        
    deltaVector to gameLocal->GetLocalPlayer()->firstPersonViewOrigin;
        
    deltaAngles deltaVector.ToAngles() - gameLocal->GetLocalPlayer()->firstPersonViewAxis.ToAngles();
        
    deltaAngles.Normalize180();

        
    idAngles endAngles(*pitch,*yaw,0);
        
    endAngles+=deltaAngles;
        
    endAngles.Normalize180();

        *
    pitch=eAngles.pitch;
        *
    yaw=eAngles.yaw;


    FSH

  2. #2
    Join Date
    Sep 2004
    Posts
    813
    Thanks
    0
    Thanked 1 Time in 1 Post
    Rep Power
    94

    Re: simple Aimroutine with Enginefunctions

    Well done, thanks!
    Code:
    21:43 <+Xarg0> But she said she was a virgin 
    21:43 <+Xarg0> :'(
    21:43 <%HybridTF> that doesnt mean guyonasm didnt rape her
    Quote Originally Posted by random_man View Post
    I would also recommend using __asm blocks to prevent those areas of code from being detected by VAC2.

  3. #3
    Join Date
    Nov 2007
    Location
    Great Britain
    Posts
    338
    Thanks
    1
    Thanked 0 Times in 0 Posts
    Blog Entries
    1
    Rep Power
    48

    Re: simple Aimroutine with Enginefunctions

    Awesome.
    I never really got fully into etqw, however its good to see some interest at last

  4. #4
    Join Date
    Dec 2006
    Location
    The Cliffs of Insanity
    Posts
    87
    Thanks
    1
    Thanked 0 Times in 0 Posts
    Rep Power
    46

    Re: simple Aimroutine with Enginefunctions

    Can you post the engine hook?

  5. #5
    Join Date
    Jun 2007
    Location
    Deutsches Reich
    Posts
    977
    Thanks
    33
    Thanked 57 Times in 37 Posts
    Rep Power
    96

    Re: simple Aimroutine with Enginefunctions

    Quote Originally Posted by silverfish View Post
    Can you post the engine hook?
    i don't think so, because everyone will make a cheat for it then
    Quote Originally Posted by wav View Post
    Your language is set to Terrorist. PB kicks for that you know.

  6. #6
    Join Date
    Nov 2007
    Location
    Great Britain
    Posts
    338
    Thanks
    1
    Thanked 0 Times in 0 Posts
    Blog Entries
    1
    Rep Power
    48

    Re: simple Aimroutine with Enginefunctions

    Posting a hook would ruin this game - which is already half dead anyway.

  7. #7
    Join Date
    Sep 2004
    Posts
    813
    Thanks
    0
    Thanked 1 Time in 1 Post
    Rep Power
    94

    Re: simple Aimroutine with Enginefunctions

    Quote Originally Posted by Deceptor View Post
    Posting a hook would ruin this game - which is already half dead anyway.
    rifk, yeah.
    This game takes about 5 minutes to hook anyway - depending on how fast you can type.
    Code:
    21:43 <+Xarg0> But she said she was a virgin 
    21:43 <+Xarg0> :'(
    21:43 <%HybridTF> that doesnt mean guyonasm didnt rape her
    Quote Originally Posted by random_man View Post
    I would also recommend using __asm blocks to prevent those areas of code from being detected by VAC2.

  8. #8
    Join Date
    Jul 2009
    Location
    .de
    Posts
    16
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Rep Power
    0

    Re: simple Aimroutine with Enginefunctions

    hehe its possible to hack the shit out of it without using any hooks
    also there is enough information in the id4 section to create one even as a newbie

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

     

Similar Threads

  1. Simple ESP
    By noEntry in forum Beginner
    Replies: 4
    Last Post: 08-25-2008, 10:22 AM
  2. Simple SHE
    By Zero78 in forum Advanced
    Replies: 5
    Last Post: 08-08-2008, 05:00 PM
  3. Simple ESP
    By howesey1 in forum Beginner
    Replies: 4
    Last Post: 07-05-2007, 08:15 AM
  4. How Would I Do This Is? (Simple?)
    By KREMLIN in forum Gold Source/HL1 Engine
    Replies: 5
    Last Post: 05-15-2004, 02:11 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts