Results 1 to 7 of 7
  1. #1
    ppl2pass's Avatar
    Join Date
    Sep 2009
    Gender
    male
    Posts
    804
    Reputation
    5
    Thanks
    111
    My Mood
    Amused

    [Tutorial] Inputting Addies into your Hacks (Including Teleport Hack)

    I decided to write a nice little tutorial for new coders here. I am also new but through tutorials I have read on this forum, I have gradually expanded my knowledge.

    This Tutorial Includes:
    - How to Use Teleport Addy
    - How to Use No Recoil Addy

    These are all tested and works 100% for the [9-22] patch!

    Teleport Addy:
    Code:
    0x3782E360
    Credits: CodeDemon

    How To Use:

    Here are your Globals:
    Code:
    #define playerpoint 0x66F34
    #define teleportaddy 0x3782E360
    #define yoffset 0xCC
    #define posyoffset 0xCC
    DWORD nom, pos, teleloc;
    Here is the "Teleport" function:
    Code:
    void teleport(void) {
     
            while(1){
     
                    nom=NULL;
                    nom = (DWORD)GetModuleHandleA("ClientFX.fxd");
                    nom += playerpoint;
     
                    memcpy(&pos,(void *)(nom),4);
                    pos += posyoffset;
     
                    memcpy(&teleloc,(void *)(teleportaddy),4);
                    teleloc += yoffset;
       
                    if(GetAsyncKeyState(VK_INSERT)&1) //this stores the location you want to teleport
                    {
                            if(pos > posyoffset && teleloc > yoffset)
                            {
                                    *(float*)teleloc = *(float*)pos;
                                    *(float*)(teleloc+0x4) = *(float*)(pos+0x4);
                                    *(float*)(teleloc-0x4) = *(float*)(pos-0x4);
                            }
                    }
     
                    if(GetAsyncKeyState(VK_DELETE)<0) // this teleports you back
                    {
                            if(pos > posyoffset && teleloc > yoffset)
                            {
                                    *(float*)pos = *(float*)teleloc;
                                    *(float*)(pos+0x4) = *(float*)(teleloc+0x4);
                                    *(float*)(pos-0x4) = *(float*)(teleloc-0x4);
                            }
                    }
     
            }
    }
    No Recoil Addies:
    Code:
    0x3745FA90
    0x3745FAA1
    0x3745FAB0
    0x3745FAA4
    Credits: ppl2pass

    How to Use:
    Define Memoria Function:
    Code:
    bool Memoria( void * pDest, char * szPatch, size_t sSize )
    { 
        DWORD dwOrgProtect = NULL; 
        if ( !VirtualProtect ( pDest, sSize, PAGE_EXECUTE_READWRITE, &dwOrgProtect ))
            return FALSE;
    
        memcpy( pDest, szPatch, sSize ); 
        VirtualProtect( pDest, sSize, dwOrgProtect, NULL ); 
        return TRUE; 
    }
    Here is the No Recoil code:
    Code:
                Memoria((LPVOID) (0x3745FA90), "\x90\x90\x90", 3);
                Memoria((LPVOID) (0x3745FAA1), "\x90\x90\x90", 3);
                Memoria((LPVOID) (0x3745FAB0), "\x90\x90\x90", 3);
                Memoria((LPVOID) (0x3745FAA4), "\x90\x90\x90\x90\x90\x90", 6);
    Last edited by ppl2pass; 09-24-2010 at 12:27 PM.

  2. The Following 2 Users Say Thank You to ppl2pass For This Useful Post:

    NOOB (10-04-2010),qwerty01 (10-07-2010)

  3. #2
    dontcrymore15's Avatar
    Join Date
    Aug 2010
    Gender
    male
    Location
    Honduras....
    Posts
    72
    Reputation
    10
    Thanks
    26
    My Mood
    Angelic
    Thank you so happen to my friend to add to hack xD

  4. #3
    RandomCoders's Avatar
    Join Date
    Sep 2010
    Gender
    male
    Posts
    52
    Reputation
    9
    Thanks
    1
    this will give you error

    Real Way :

    Code:
    while(1){
     
                    nom=NULL;
                    nom = (DWORD)GetModuleHandleA("ClientFX.fxd");
                    nom += playerpoint;
     
                    memcpy(&pos,(void *)(nom),4);
                    pos += posyoffset;
     
                    memcpy(&teleloc,(void *)(teleportaddy),4);
                    teleloc += yoffset;
       
    
    				void teleport (void);
    				{
    					while(1){
                    if(GetAsyncKeyState(VK_INSERT)&1) //this stores the location you want to teleport
                    {
                            if(pos > posyoffset && teleloc > yoffset)
                            {
                                    *(float*)teleloc = *(float*)pos;
                                    *(float*)(teleloc+0x4) = *(float*)(pos+0x4);
                                    *(float*)(teleloc-0x4) = *(float*)(pos-0x4);
                            }
                    }
     
                    if(GetAsyncKeyState(VK_DELETE)<0) // this teleports you back
                    {
                            if(pos > posyoffset && teleloc > yoffset)
                            {
                                    *(float*)pos = *(float*)teleloc;
                                    *(float*)(pos+0x4) = *(float*)(teleloc+0x4);
                                    *(float*)(pos-0x4) = *(float*)(teleloc-0x4);
                            }
                    }
     
            }
    }
    }
    }
    Make Sure To Add The Globals

  5. #4
    ppl2pass's Avatar
    Join Date
    Sep 2009
    Gender
    male
    Posts
    804
    Reputation
    5
    Thanks
    111
    My Mood
    Amused
    Quote Originally Posted by RandomCoders View Post
    this will give you error

    Real Way :

    Code:
    while(1){
     
                    nom=NULL;
                    nom = (DWORD)GetModuleHandleA("ClientFX.fxd");
                    nom += playerpoint;
     
                    memcpy(&pos,(void *)(nom),4);
                    pos += posyoffset;
     
                    memcpy(&teleloc,(void *)(teleportaddy),4);
                    teleloc += yoffset;
       
    
    				void teleport (void);
    				{
    					while(1){
                    if(GetAsyncKeyState(VK_INSERT)&1) //this stores the location you want to teleport
                    {
                            if(pos > posyoffset && teleloc > yoffset)
                            {
                                    *(float*)teleloc = *(float*)pos;
                                    *(float*)(teleloc+0x4) = *(float*)(pos+0x4);
                                    *(float*)(teleloc-0x4) = *(float*)(pos-0x4);
                            }
                    }
     
                    if(GetAsyncKeyState(VK_DELETE)<0) // this teleports you back
                    {
                            if(pos > posyoffset && teleloc > yoffset)
                            {
                                    *(float*)pos = *(float*)teleloc;
                                    *(float*)(pos+0x4) = *(float*)(teleloc+0x4);
                                    *(float*)(pos-0x4) = *(float*)(teleloc-0x4);
                            }
                    }
     
            }
    }
    }
    }
    Make Sure To Add The Globals
    Lol this gives you error. You have too many brackers.

  6. #5
    kotentopf's Avatar
    Join Date
    Nov 2009
    Gender
    male
    Posts
    602
    Reputation
    26
    Thanks
    251
    [php]struct LTVector{

    float x;
    float y;
    float z;

    };[/php]

    [php]void teleport(void) {

    while(1){

    nom=NULL;
    nom = (DWORD)GetModuleHandle("ClientFX.fxd");
    nom += playerpoint;

    memcpy(&pos,(void *)(nom),4);
    pos += posxoffset;

    memcpy(&teleloc,(void *)(teleportaddy),4);
    teleloc += xoffset;

    if(GetAsyncKeyState(VK_INSERT)&1) //this stores the location you want to teleport
    {
    if(pos > posxoffset && teleloc > xoffset)
    {
    *(LTVector*)teleloc = *(LTVector*)pos;
    }
    }

    if(GetAsyncKeyState(VK_DELETE)<0) // this teleports you back
    {
    if(pos > posxoffset && teleloc > xoffset)
    {
    *(LTVector*)pos = *(LTVector*)teleloc;
    }
    }

    }
    }[/php]

    i always use LTVector
    u must not write so much and its simple to understand

  7. The Following User Says Thank You to kotentopf For This Useful Post:

    RandomCoders (09-24-2010)

  8. #6
    RandomCoders's Avatar
    Join Date
    Sep 2010
    Gender
    male
    Posts
    52
    Reputation
    9
    Thanks
    1
    i just added them, make it so people cant just c+p

  9. #7
    Stephen's Avatar
    Join Date
    Jun 2009
    Gender
    male
    Location
    Engine.exe
    Posts
    4,690
    Reputation
    184
    Thanks
    1,147
    My Mood
    Aggressive
    Quote Originally Posted by kotentopf View Post
    [php]struct LTVector{

    float x;
    float y;
    float z;

    };[/php]

    [php]void teleport(void) {

    while(1){

    nom=NULL;
    nom = (DWORD)GetModuleHandle("ClientFX.fxd");
    nom += playerpoint;

    memcpy(&pos,(void *)(nom),4);
    pos += posxoffset;

    memcpy(&teleloc,(void *)(teleportaddy),4);
    teleloc += xoffset;

    if(GetAsyncKeyState(VK_INSERT)&1) //this stores the location you want to teleport
    {
    if(pos > posxoffset && teleloc > xoffset)
    {
    *(LTVector*)teleloc = *(LTVector*)pos;
    }
    }

    if(GetAsyncKeyState(VK_DELETE)<0) // this teleports you back
    {
    if(pos > posxoffset && teleloc > xoffset)
    {
    *(LTVector*)pos = *(LTVector*)teleloc;
    }
    }

    }
    }[/php]

    i always use LTVector
    u must not write so much and its simple to understand

    Thats what I use.

Similar Threads

  1. [Detected] 258456's First hack!!! (including weapon hack not seen before...)
    By 258456 in forum CrossFire Hacks & Cheats
    Replies: 53
    Last Post: 09-23-2011, 10:32 AM
  2. [Tutorial] Video tutorial on setting up your hacks.
    By Morior in forum Vindictus Tutorials
    Replies: 6
    Last Post: 08-10-2011, 01:51 PM
  3. TUTORIAL: How to make your Windows 7 into Windows 7 Ultimate
    By Sir Nathan in forum General Hacking
    Replies: 7
    Last Post: 12-06-2010, 07:48 AM
  4. [Tutorial]Adding Glitcher to your hack
    By NOOBJr in forum Combat Arms Hack Coding / Programming / Source Code
    Replies: 55
    Last Post: 10-02-2010, 11:32 PM
  5. [[TUTORIAL]] How to make your OWN warrock hacks
    By th9end in forum WarRock Discussions
    Replies: 15
    Last Post: 08-19-2009, 03:16 AM