Thread: Send Error?

Results 1 to 2 of 2
  1. #1
    aanthonyz's Avatar
    Join Date
    Aug 2010
    Gender
    male
    Location
    Hitler's Minivan
    Posts
    483
    Reputation
    27
    Thanks
    83
    My Mood
    Relaxed

    Send Error?

    Hello. This is my code for Player Glow and it has the latest LTC, but for some reason its not working. Is the PTC detected?

    Code:
    #include <windows.h>
    #include <iostream>
    #include <d3d9.h>
    #pragma comment (lib, "d3d9.lib")
    
    using namespace std;
    
    LPDIRECT3D9 d3d;
    LPDIRECT3DDEVICE9 d3ddev;
    
    void __cdecl PTC(char* command ) {
       DWORD dwCShell = (DWORD)GetModuleHandleA("CShell.dll");
       if( dwCShell != NULL )
       {
          DWORD *LTC = ( DWORD* )( (dwCShell + 0x2E39C8) );
          void* Console = ( void* )*( DWORD* )( *LTC + 0x1F8 );
          _asm
          {
             push command;
             call Console;
             add esp, 4;
          }
       }
    }
    
    
    
    DWORD WINAPI Happyface(LPVOID) {
    	while(GetModuleHandleA("CShell.dll") == NULL ) {
    	Sleep(100); //100ms
    }
    int glow = 0;
    
    for(;;) {
    	__asm pushad;
    			if(GetAsyncKeyState(VK_NUMPAD1)&1) {
    				glow = 0;
    			}
    			if(GetAsyncKeyState(VK_NUMPAD2)&1) {
    				glow = 1;
    			}
    			if  (glow = 0) {
    				PTC("ScreenGlowEnable 0");
    			}
    			else {
    				PTC("ScreenGlowEnable 1");
    			}
    			Sleep(100);
    			__asm popad;
    	}
    }
    
    BOOL WINAPI DllMain ( HMODULE hDll, DWORD dwReason, LPVOID lpReserved )
    {
    	DisableThreadLibraryCalls(hDll);
    	if ( dwReason == DLL_PROCESS_ATTACH )
    	{
    		MessageBox(NULL, TEXT("By: aanthonyz ||| Successfully Injected"), TEXT ("Crossfire Hack: SUCCESS"), NULL);
    		MessageBox(NULL, TEXT(" F3:Glow"), TEXT ("Crossfire Hotkeys"), NULL);
    		//system("start https://crossfire.z8games.com/");
    		CreateThread(NULL, NULL,Happyface, NULL, NULL, NULL);
    	}
    	else if(dwReason == DLL_PROCESS_DETACH)
    	{
    		MessageBox(NULL, TEXT("By: aanthonyz ||| Injection Failed"), TEXT ("Crossfire Hack: FAIL"), NULL);
    	}
    	return TRUE;
    }
    "The best way to predict your future is to create it."

    Contributions I made:

    DirectX E-Books
    Hacking Tools
    Hacking into a PC

    Need Help?
    Send me a PM, or send me a email at : aanthonyz10@gmail.com

    Click My Dragon:


  2. #2
    NOOBJr's Avatar
    Join Date
    Jul 2010
    Gender
    male
    Location
    in NOOB
    Posts
    1,423
    Reputation
    112
    Thanks
    693
    I am currently unsure to why that is happening i will check in on it later! In the mean time keep experimenting with it!

Similar Threads

  1. Crossfire Send Error Report?
    By Murat in forum CrossFire Help
    Replies: 26
    Last Post: 11-05-2010, 04:36 PM
  2. [SOLVED]Send error report- all hacks tested with fi inject
    By xx claws xx in forum CrossFire Help
    Replies: 3
    Last Post: 10-03-2010, 12:19 PM
  3. crossfire error: send error report[SOLVED]
    By royalpb in forum CrossFire Help
    Replies: 6
    Last Post: 08-13-2010, 04:49 AM
  4. [SOLVED] send error report?
    By grk2meet in forum CrossFire Help
    Replies: 6
    Last Post: 08-05-2010, 12:15 AM
  5. CROSS FIRE ERROR: send error report
    By royalpb in forum CrossFire Help
    Replies: 16
    Last Post: 07-28-2010, 12:54 PM