Page 1 of 6 123 ... LastLast
Results 1 to 15 of 89
  1. #1
    wassup40's Avatar
    Join Date
    Jun 2010
    Gender
    male
    Location
    I dont know help me
    Posts
    2,238
    Reputation
    28
    Thanks
    790
    My Mood
    Lurking

    (Help) OPK/telekill

    Idk why but this isnt working
    Code:
    #include <windows.h>
    #define nor1 0x3745BDE0
    #define nor2 0x3745BDF1
    #define nor3 0x3745BDF4
    #define nor4 0x3745BDF7
    #define nor5 0x3745BE00 
    
    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; 
    }
    
    void __cdecl dbl( const char* Command )
    {
    
    DWORD *Client = ( DWORD* )( 0x377C4450 );
    void* shackscall = ( void* )*( DWORD* )( *Client + 0x208 );
    __asm
    {
    push Command;
    call shackscall;
    add esp, 4;
    }
    }
    
    bool Hook(){
    if( GetModuleHandleA( "ClientFX.fxd" ) != NULL 
    && GetModuleHandleA( "CShell.dll" ) != NULL )
    return true;
    return false;
    }
    
    void hack(){
    bool activate = false;
    while (!Hook()){
    Sleep(20);
    }
    bool flyhack = false;
    #define playerpoint 0x66F34
    #define teleportaddy 0x373FED04  
    #define yoffset 0xCC
    #define posyoffset 0xCC
    #define otherplayerpoint 0x37804D50  
    DWORD nom, posy, teleloc, playertarget;
    while(1){
    nom=NULL;
    nom = (DWORD)GetModuleHandleA("ClientFX.fxd");
    nom += playerpoint;
    memcpy(&posy,(void *)(nom),4);
    posy += posyoffset;
    memcpy(&teleloc,(void *)(teleportaddy),4);
    teleloc += yoffset;
    memcpy(&playertarget,(void *)(otherplayerpoint),4);
    playertarget += yoffset;
    dbl("ShowFps 1"); //Auto On
    dbl("WeaponSway 0.000000");
    dbl("ActivationDistance 100000");
    dbl("ShowBreath 1");
    dbl("PerturbRotationEffect 0.000000"); 
    dbl("PerturbIncreaseSpeed 0.000000"); 
    dbl("PerturbWalkPercent 0.000000"); 
    dbl("PerturbFiringIncreaseSpeed 0.000000");
    dbl("PerturbRecoil 0.000000");
    dbl("FireMovePerturb 0.000000");
    dbl("ZoomedFireMoveDuckPerturb 0.000000");
    dbl("ZoomedFireMovePerturb 0.000000");
    dbl("ZoomedFireDuckPerturb 0.000000");
    dbl("SkelModelStencil 1");
    dbl("ShowHitSphere 0.000000");
    dbl("DrawParticles 0");
    dbl("KnockBack 0");
    dbl("CrossHairB 255");
    Memoria((LPVOID)nor1, "\x90\x90\x90", 3);
    Memoria((LPVOID)nor2, "\x90\x90\x90", 3);
    Memoria((LPVOID)nor3, "\x90\x90\x90", 3);
    Memoria((LPVOID)nor4, "\x90\x90\x90", 3);
    Memoria((LPVOID)nor5, "\x90\x90\x90", 3);
    
    
    
                    if(GetAsyncKeyState(VK_NUMPAD1)<0){ // Activation
                if(activate){
                    dbl("CamMaxPosYOffset 0.000000");
                    activate = false;
                } else {
                    dbl("CamMaxPosYOffset -5000.0000000");
                    activate = true;
                }
            }
    
                    Sleep(20);
    if(GetAsyncKeyState(VK_NUMPAD1)&1){
    flyhack = true;
    }
    if(flyhack == true && (GetAsyncKeyState(VK_SPACE)<0))
    {
    dbl( "PlayerGravity 800" );
    }else{
    dbl( "PlayerGravity -800" );
    }
    }
    
    if(GetAsyncKeyState(VK_F11)<0){ //OPK
    if(posy > 0xCC && playertarget > 0xCC )
    if(posy > 0xC8 && playertarget > 0xC8 )
    if(posy > 0xD0 && playertarget > 0xD0 ){
    *(float*)playertarget = *(float*)posy;
    *(float*)(playertarget+0x4) = *(float*)(posy+0x4);
    *(float*)(playertarget-0x4) = *(float*)(posy-0x4);
    Sleep(10);
    }
    }
    
    if(GetAsyncKeyState(VK_F12)<0){ //Telekill
    if(posy > 0xCC && playertarget > 0xCC )
    if(posy > 0xC8 && playertarget > 0xC8 )
    if(posy > 0xD0 && playertarget > 0xD0 ){
    *(float*)(posy) = *(float*)(playertarget);
    *(float*)(posy+0x4) = *(float*)(playertarget+0x4);
    *(float*)(posy-0x4) = *(float*)(playertarget-0x4);
    Sleep(10);
    }
    }
    
    
    
    Sleep(20);
    }
    BOOL APIENTRY DllMain( HMODULE hModule, DWORD ul_reason_for_call, LPVOID lpReserved){
    switch (ul_reason_for_call){
    case DLL_PROCESS_ATTACH:
    CreateThread(NULL, 0, (LPTHREAD_START_ROUTINE)&hack, NULL, 0,NULL);
    
    
    break;
    case DLL_THREAD_ATTACH:
    case DLL_THREAD_DETACH:
    case DLL_PROCESS_DETACH:
    break;
    }
    return TRUE;
    }
    please help meh .

  2. #2
    ac1d_buRn's Avatar
    Join Date
    Aug 2009
    Gender
    female
    Location
    CA Source Section
    Posts
    3,404
    Reputation
    157
    Thanks
    4,003
    My Mood
    Flirty
    Gawd your code is so messy. How do you code like that.
    I also heard that the offsets changed O.o

  3. The Following User Says Thank You to ac1d_buRn For This Useful Post:

    doofbla (09-26-2010)

  4. #3
    wassup40's Avatar
    Join Date
    Jun 2010
    Gender
    male
    Location
    I dont know help me
    Posts
    2,238
    Reputation
    28
    Thanks
    790
    My Mood
    Lurking
    can ya fix it up plox.

  5. #4
    freedompeace's Avatar
    Join Date
    Jul 2010
    Gender
    female
    Posts
    3,033
    Reputation
    340
    Thanks
    2,792
    My Mood
    Sad
    Quote Originally Posted by ac1d_buRn View Post
    Gawd your code is so messy. How do you code like that.
    I also heard that the offsets changed O.o
    How's it messy? Completely readable to me. I even code a few commands per line. etc:

    int a = 1; doThis(&a) ; __asm { push a };
    int b...

  6. #5
    God601's Avatar
    Join Date
    Jan 2010
    Gender
    male
    Location
    In The End Of The Time
    Posts
    554
    Reputation
    10
    Thanks
    362
    My Mood
    Angelic
    Quote Originally Posted by wassup40 View Post
    Idk why but this isnt working
    Code:
    #include <windows.h>
    #define nor1 0x3745BDE0
    #define nor2 0x3745BDF1
    #define nor3 0x3745BDF4
    #define nor4 0x3745BDF7
    #define nor5 0x3745BE00 
    
    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; 
    }
    
    void __cdecl dbl( const char* Command )
    {
    
    DWORD *Client = ( DWORD* )( 0x377C4450 );
    void* shackscall = ( void* )*( DWORD* )( *Client + 0x208 );
    __asm
    {
    push Command;
    call shackscall;
    add esp, 4;
    }
    }
    
    bool Hook(){
    if( GetModuleHandleA( "ClientFX.fxd" ) != NULL 
    && GetModuleHandleA( "CShell.dll" ) != NULL )
    return true;
    return false;
    }
    
    void hack(){
    bool activate = false;
    while (!Hook()){
    Sleep(20);
    }
    bool flyhack = false;
    #define playerpoint 0x66F34
    #define teleportaddy 0x373FED04  
    #define yoffset 0xCC
    #define posyoffset 0xCC
    #define otherplayerpoint 0x37804D50  
    DWORD nom, posy, teleloc, playertarget;
    while(1){
    nom=NULL;
    nom = (DWORD)GetModuleHandleA("ClientFX.fxd");
    nom += playerpoint;
    memcpy(&posy,(void *)(nom),4);
    posy += posyoffset;
    memcpy(&teleloc,(void *)(teleportaddy),4);
    teleloc += yoffset;
    memcpy(&playertarget,(void *)(otherplayerpoint),4);
    playertarget += yoffset;
    dbl("ShowFps 1"); //Auto On
    dbl("WeaponSway 0.000000");
    dbl("ActivationDistance 100000");
    dbl("ShowBreath 1");
    dbl("PerturbRotationEffect 0.000000"); 
    dbl("PerturbIncreaseSpeed 0.000000"); 
    dbl("PerturbWalkPercent 0.000000"); 
    dbl("PerturbFiringIncreaseSpeed 0.000000");
    dbl("PerturbRecoil 0.000000");
    dbl("FireMovePerturb 0.000000");
    dbl("ZoomedFireMoveDuckPerturb 0.000000");
    dbl("ZoomedFireMovePerturb 0.000000");
    dbl("ZoomedFireDuckPerturb 0.000000");
    dbl("SkelModelStencil 1");
    dbl("ShowHitSphere 0.000000");
    dbl("DrawParticles 0");
    dbl("KnockBack 0");
    dbl("CrossHairB 255");
    Memoria((LPVOID)nor1, "\x90\x90\x90", 3);
    Memoria((LPVOID)nor2, "\x90\x90\x90", 3);
    Memoria((LPVOID)nor3, "\x90\x90\x90", 3);
    Memoria((LPVOID)nor4, "\x90\x90\x90", 3);
    Memoria((LPVOID)nor5, "\x90\x90\x90", 3);
    
    
    
                    if(GetAsyncKeyState(VK_NUMPAD1)<0){ // Activation
                if(activate){
                    dbl("CamMaxPosYOffset 0.000000");
                    activate = false;
                } else {
                    dbl("CamMaxPosYOffset -5000.0000000");
                    activate = true;
                }
            }
    
                    Sleep(20);
    if(GetAsyncKeyState(VK_NUMPAD1)&1){
    flyhack = true;
    }
    if(flyhack == true && (GetAsyncKeyState(VK_SPACE)<0))
    {
    dbl( "PlayerGravity 800" );
    }else{
    dbl( "PlayerGravity -800" );
    }
    }
    
    if(GetAsyncKeyState(VK_F11)<0){ //OPK
    if(posy > 0xCC && playertarget > 0xCC )
    if(posy > 0xC8 && playertarget > 0xC8 )
    if(posy > 0xD0 && playertarget > 0xD0 ){
    *(float*)playertarget = *(float*)posy;
    *(float*)(playertarget+0x4) = *(float*)(posy+0x4);
    *(float*)(playertarget-0x4) = *(float*)(posy-0x4);
    Sleep(10);
    }
    }
    
    if(GetAsyncKeyState(VK_F12)<0){ //Telekill
    if(posy > 0xCC && playertarget > 0xCC )
    if(posy > 0xC8 && playertarget > 0xC8 )
    if(posy > 0xD0 && playertarget > 0xD0 ){
    *(float*)(posy) = *(float*)(playertarget);
    *(float*)(posy+0x4) = *(float*)(playertarget+0x4);
    *(float*)(posy-0x4) = *(float*)(playertarget-0x4);
    Sleep(10);
    }
    }
    
    
    
    Sleep(20);
    }
    BOOL APIENTRY DllMain( HMODULE hModule, DWORD ul_reason_for_call, LPVOID lpReserved){
    switch (ul_reason_for_call){
    case DLL_PROCESS_ATTACH:
    CreateThread(NULL, 0, (LPTHREAD_START_ROUTINE)&hack, NULL, 0,NULL);
    
    
    break;
    case DLL_THREAD_ATTACH:
    case DLL_THREAD_DETACH:
    case DLL_PROCESS_DETACH:
    break;
    }
    return TRUE;
    }
    please help meh .
    You need to void a thread and put your opk and telekill source in their so your other PTC Commands will work

    Starting my own Web hosting service
    Finaly completed.

    Progress for Exchange Server : 100%


  7. #6
    wassup40's Avatar
    Join Date
    Jun 2010
    Gender
    male
    Location
    I dont know help me
    Posts
    2,238
    Reputation
    28
    Thanks
    790
    My Mood
    Lurking
    Quote Originally Posted by God601 View Post
    You need to void a thread and put your opk and telekill source in their so your other PTC Commands will work
    Can you do that please /

  8. #7
    God601's Avatar
    Join Date
    Jan 2010
    Gender
    male
    Location
    In The End Of The Time
    Posts
    554
    Reputation
    10
    Thanks
    362
    My Mood
    Angelic
    Quote Originally Posted by wassup40 View Post


    Can you do that please /
    Sure why not

    Starting my own Web hosting service
    Finaly completed.

    Progress for Exchange Server : 100%


  9. #8
    freedompeace's Avatar
    Join Date
    Jul 2010
    Gender
    female
    Posts
    3,033
    Reputation
    340
    Thanks
    2,792
    My Mood
    Sad
    Quote Originally Posted by God601 View Post
    You need to void a thread and put your opk and telekill source in their so your other PTC Commands will work
    "You need to void a thread and [...]"?

    What the flux is "voiding a thread"? For one, no such thing exists...

  10. #9
    God601's Avatar
    Join Date
    Jan 2010
    Gender
    male
    Location
    In The End Of The Time
    Posts
    554
    Reputation
    10
    Thanks
    362
    My Mood
    Angelic
    im talking to a noob here. well in dllmain you create a thread so i thought he would understand it more clearly you see you see
    Last edited by God601; 09-26-2010 at 04:32 AM.

    Starting my own Web hosting service
    Finaly completed.

    Progress for Exchange Server : 100%


  11. #10
    freedompeace's Avatar
    Join Date
    Jul 2010
    Gender
    female
    Posts
    3,033
    Reputation
    340
    Thanks
    2,792
    My Mood
    Sad
    Quote Originally Posted by God601 View Post
    im talking to a noob here. well in dllmain you create a thread so i thought he would understand it more clearly you see you see
    You still haven't told me what voiding a thread is.

  12. The Following User Says Thank You to freedompeace For This Useful Post:

    markoj (09-26-2010)

  13. #11
    God601's Avatar
    Join Date
    Jan 2010
    Gender
    male
    Location
    In The End Of The Time
    Posts
    554
    Reputation
    10
    Thanks
    362
    My Mood
    Angelic
    Quote Originally Posted by freedompeace View Post
    You still haven't told me what voiding a thread is.
    Chill out you void the function then create a thread for that function

    Starting my own Web hosting service
    Finaly completed.

    Progress for Exchange Server : 100%


  14. #12
    wassup40's Avatar
    Join Date
    Jun 2010
    Gender
    male
    Location
    I dont know help me
    Posts
    2,238
    Reputation
    28
    Thanks
    790
    My Mood
    Lurking
    i tried this
    Code:
    #include <windows.h>
    //defines
    #define nor1 0x3745BDE0
    #define nor2 0x3745BDF1
    #define nor3 0x3745BDF4
    #define nor4 0x3745BDF7
    #define nor5 0x3745BE00 
    
    //bool
    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; 
    }
    
    DWORD posptr;
    DWORD posy;
    
    #define posyoffset 0xCC
    #define charposoffset 0x66F34
    
    DWORD playertarget;
    
    #define otherplyrptr 0x377CD639
    #define yoffset 0xCC
    
    
    
    void VIP(void)
    {
    		posptr = (DWORD)GetModuleHandleA( "ClientFX.fxd" );
    		posptr += charposoffset;
    
    		memcpy(&posy,(void *)(posptr),4);
    		posy += posyoffset;
    
    		memcpy(&playertarget,(void *)(otherplyrptr),4);
    		playertarget += yoffset;
    
    		if(posy > posyoffset && playertarget > yoffset)
    		{
    
    			if( GetAsyncKeyState(VK_F11) > 0 ) //Tele-Kill 
    			{
    				*(float*)posy		= *(float*)playertarget+20.0f;
    				*(float*)(posy+0x4) = *(float*)(playertarget+0x4);
    				*(float*)(posy-0x4) = *(float*)(playertarget-0x4);
    			}
    			
    			if( GetAsyncKeyState(VK_F12)> 0 ) //OPK 
    			{
    				*(float*)playertarget		= *(float*)posy;
    				*(float*)(playertarget+0x4) = *(float*)(posy+0x4);
    				*(float*)(playertarget-0x4) = *(float*)(posy-0x4);
    			}	
    			
    			
    		}
    }
    DWORD posptr1;
    DWORD posy1;
    
    #define posyoffset1 0xCC
    #define charposoffset1 0x66F34
    
    DWORD playertarget1;
    
    #define otherplyrptr1 0x377CD640
    #define yoffset1 0xCC
    void GhostMode(void)
    {
    	posptr1 = (DWORD)GetModuleHandleA( "ClientFX.fxd" );
    	posptr1 += charposoffset1;
    
    	memcpy(&posy1,(void *)(posptr1),4);
    	posy1 += posyoffset1;
    			
    	if(posy1 > posyoffset1 )
    	{
    
    		if( GetAsyncKeyState( VK_F11 ) &1) //Tele-Kill 
    		{
    			*(float*)(posy1)		=	*(float*)(posy1);
    			*(float*)(posy1+0x4)	=	*(float*)(posy1+0x4);
    			*(float*)(posy1-0x4)	=	*(float*)(posy1-0x4)+100.0f;
    		}
    
    		if( GetAsyncKeyState( VK_F12 ) &1) //Tele-Kill 
    		{
    			*(float*)(posy1)		=	*(float*)(posy1);
    			*(float*)(posy1+0x4)	=	*(float*)(posy1+0x4);
    			*(float*)(posy1-0x4)	=	*(float*)(posy1-0x4)-100.0f;
    		}
    }
    
    	}
    
    
    void __cdecl dbl( const char* Command )
    {
    
    DWORD *Client = ( DWORD* )( 0x377C4450 );
    void* shackscall = ( void* )*( DWORD* )( *Client + 0x208 );
    __asm
    {
    push Command;
    call shackscall;
    add esp, 4;
    }
    }
    
    bool Hook(){
    if( GetModuleHandleA( "ClientFX.fxd" ) != NULL 
    && GetModuleHandleA( "CShell.dll" ) != NULL )
    return true;
    return false;
    }
    
    void hack(){
    bool GhostMode = false;
    bool VIP = false;
    
    while (!Hook()){
    Sleep(20);
    }
    bool flyhack = false;
    
    Sleep(20);
    }
    BOOL APIENTRY DllMain( HMODULE hModule, DWORD ul_reason_for_call, LPVOID lpReserved){
    switch (ul_reason_for_call){
    case DLL_PROCESS_ATTACH:
    CreateThread(NULL, 0, (LPTHREAD_START_ROUTINE)&hack, NULL, 0,NULL);
    
    
    break;
    case DLL_THREAD_ATTACH:
    case DLL_THREAD_DETACH:
    case DLL_PROCESS_DETACH:
    break;
    }
    return TRUE;
    }
    didnt work.

  15. #13
    -ExileD-'s Avatar
    Join Date
    Jul 2010
    Gender
    male
    Location
    https://mpgh.net Posts: 25,987
    Posts
    552
    Reputation
    32
    Thanks
    795
    My Mood
    Lurking
    Your LTC is wrong.
    It's 0x377ED910

  16. #14
    God601's Avatar
    Join Date
    Jan 2010
    Gender
    male
    Location
    In The End Of The Time
    Posts
    554
    Reputation
    10
    Thanks
    362
    My Mood
    Angelic
    Quote Originally Posted by -ExileD- View Post
    Your LTC is wrong.
    It's 0x377ED910
    Lol Fail !!!

    Starting my own Web hosting service
    Finaly completed.

    Progress for Exchange Server : 100%


  17. #15
    wassup40's Avatar
    Join Date
    Jun 2010
    Gender
    male
    Location
    I dont know help me
    Posts
    2,238
    Reputation
    28
    Thanks
    790
    My Mood
    Lurking
    Iam in eu,
    so can anyone fix my source?
    Last edited by wassup40; 09-26-2010 at 04:52 AM.

Page 1 of 6 123 ... LastLast

Similar Threads

  1. help with NPC opk/telekill
    By supercarz1991 in forum Combat Arms Coding Help & Discussion
    Replies: 16
    Last Post: 02-06-2011, 12:18 AM
  2. Help OPK
    By Shakey1232 in forum Combat Arms Hacks & Cheats
    Replies: 7
    Last Post: 10-21-2008, 03:03 AM
  3. (help) OPK
    By shawnee21 in forum Combat Arms Hacks & Cheats
    Replies: 3
    Last Post: 08-21-2008, 02:26 PM
  4. [Help] Opk, ByPass
    By Raever in forum Visual Basic Programming
    Replies: 4
    Last Post: 06-09-2008, 11:30 AM
  5. [Help] OPK
    By JuniorD in forum WarRock - International Hacks
    Replies: 3
    Last Post: 11-26-2007, 12:36 AM