Results 1 to 4 of 4
  1. #1
    yge3d's Avatar
    Join Date
    Nov 2011
    Gender
    male
    Posts
    14
    Reputation
    10
    Thanks
    0

    Help with norecoil code

    Yo guys... im new to game hacking, so i need help with a norecoil code....

    Code:
    #include <string>
    #include <ctime>
    
    using namespace std;
    
    int main()
    {
    	HWND hWnd = FindWindow(0, "Call of Duty 4");
    		if(hWnd == 0)
    		{
    			cout << "Could Not Find CoD4";
    			system("CLS");
    		}
    			else
    			{
    				cout << "CoD4 Found!";
    				cin.get();
    				DWORD proccess_ID;
    				GetWindowThreadProcessId(hWnd, &proccess_ID);
    				HANDLE hProcess = OpenProcess(PROCESS_ALL_ACCESS, FALSE, proccess_ID);
    				if(!hProcess)
    				{
    					cout << "Could not open the process!";
    				}
    				else
    				{
    					BYTE newdata[] = {0x90};
    					DWORD newdatasize = sizeof(newdata);
    					if(WriteProcessMemory(hProcess, (LPVOID)0x00457C79, &newdata, newdatasize, NULL))
    					{
    						MessageBox(NULL, "Worked", "Success", MB_OK);
    					}
    					else
    					{
    						MessageBox(NULL, "Error cannot WriteProcessMemory!", "Error", MB_OK);
    					}
    					CloseHandle(hProcess);
    				}
    		}
    		return 0;
    }
    Okay, so im pretty much sure D that the code works... but when i open the hack, IW3MP NOT RESPONDING... it worked perfect in ollydbg.. so whats the problem? can someone more experienced coder help me? I know that this way is 100% PB Detected... but just wanted to test it in bots.

    -Thank you

  2. #2
    vistamtigamami's Avatar
    Join Date
    Oct 2010
    Gender
    male
    Posts
    18
    Reputation
    10
    Thanks
    5
    Very good but u can add those positions in the same way as i did
    Code:
    using System;
    using System.Collections.Generic;
    using System.Linq;
    using System.Text;
    namespace HWID
    {
        class Program
        {
            static void Main(string[] args)
            {
    
                Hwid hwid = new Hwid();
                // Change this to your desired password;
                string password = "secret1234";
    
                if (args.Length < 1)
                    PrintHelp();
                else
                    switch (args[0])
                    {
                        case "--display":
                            {
                                Console.WriteLine("CPU ID: " + hwid.CpuId);
                                Console.WriteLine("HDD ID: " + hwid.HddId);
                                Console.WriteLine();
                                break;
                            }
                        case "--generate":
                            {
                                if (args.Length < 2)
                                {
                                    Console.WriteLine("Path not specified!");
                                    break;
                                }
                                string path = args[1];
                                Console.WriteLine("Encrypted HWID: " + hwid.Generate(password, path));
                                // If we don't specify the path it will only return the encrypted string
                                //Console.WriteLine("Encrypted HWID: " + hwid.Generate(password));
                                break;
                            }
                        case "--verify":
                            {
                                if (args.Length < 2)
                                {
                                    Console.WriteLine("Path not specified!");
                                    break;
                                }
                                string path = args[1];
                                Console.WriteLine(hwid.Verify(password, path));
                                break;
                            }
                        default:
                            {
                                PrintHelp();
                                break;
                            }
    
                    }
                Console.WriteLine("Press any key to continue . . .");
                Console.ReadLine();
            }
            private static void PrintHelp()
            {
                Console.WriteLine("Usage: hwid.exe <option>");
                Console.WriteLine("");
                Console.WriteLine("Options:");
                Console.WriteLine("       --display            Display the HWID(CPUID and HDDID)");
                Console.WriteLine("       --generate <path>    Saves the crypted HWID to path");
                Console.WriteLine("       --verify <path>      Verifies the HWID is available in the path");
            }
        }
    }

  3. #3
    veryniceguy's Avatar
    Join Date
    Nov 2012
    Gender
    male
    Posts
    14
    Reputation
    10
    Thanks
    15
    Try this

    Code:
    {
            static void Main(string[] args)
            {
    
                Hwid hwid = new Hwid();
                // Change this to your desired password;
                string password = "secret1234";
    
                if (args.Length < 1)
                    PrintHelp();
                else
                    switch (args[0])
                    {
                        case "--display":
                            {
                                Console.WriteLine("CPU ID: " + hwid.CpuId);
                                Console.WriteLine("HDD ID: " + hwid.HddId);
                                Console.WriteLine();
                                break;
                            }
                        case "--generate":
                            {
                                if (args.Length < 2)
                                {
                                    Console.WriteLine("Path not specified!");
                                    break;
                                }
                                string path = args[1];
                                Console.WriteLine("Encrypted HWID: " + hwid.Generate(password, path));
                                // If we don't specify the path it will only return the encrypted string
                                //Console.WriteLine("Encrypted HWID: " + hwid.Generate(password));
                                break;
                            }
                        case "--verify":
                            {
                                if (args.Length < 2)
                                {
                                    Console.WriteLine("Path not specified!");
                                    break;
                                }
                                string path = args[1];
                                Console.WriteLine(hwid.Verify(password, path));
                                break;
                            }
                        default:
                            {
                                PrintHelp();
                                break;
                            }
    
                    }
                Console.WriteLine("Press any key to continue . . .");
                Console.ReadLine();
            }

  4. #4
    The Corvo's Avatar
    Join Date
    Aug 2012
    Gender
    male
    Location
    $_SERVER['REMOTE_ADDR']
    Posts
    1,631
    Reputation
    270
    Thanks
    2,305
    My Mood
    Angelic
    Quote Originally Posted by veryniceguy View Post
    Try this

    Code:
    {
            static void Main(string[] args)
            {
    
                Hwid hwid = new Hwid();
                // Change this to your desired password;
                string password = "secret1234";
    
                if (args.Length < 1)
                    PrintHelp();
                else
                    switch (args[0])
                    {
                        case "--display":
                            {
                                Console.WriteLine("CPU ID: " + hwid.CpuId);
                                Console.WriteLine("HDD ID: " + hwid.HddId);
                                Console.WriteLine();
                                break;
                            }
                        case "--generate":
                            {
                                if (args.Length < 2)
                                {
                                    Console.WriteLine("Path not specified!");
                                    break;
                                }
                                string path = args[1];
                                Console.WriteLine("Encrypted HWID: " + hwid.Generate(password, path));
                                // If we don't specify the path it will only return the encrypted string
                                //Console.WriteLine("Encrypted HWID: " + hwid.Generate(password));
                                break;
                            }
                        case "--verify":
                            {
                                if (args.Length < 2)
                                {
                                    Console.WriteLine("Path not specified!");
                                    break;
                                }
                                string path = args[1];
                                Console.WriteLine(hwid.Verify(password, path));
                                break;
                            }
                        default:
                            {
                                PrintHelp();
                                break;
                            }
    
                    }
                Console.WriteLine("Press any key to continue . . .");
                Console.ReadLine();
            }
    You copied the post above but removed some parts and only got main left.
    I'm only giving my skype through PM. If you got added by someone claiming to be me verify it with a pm!

Similar Threads

  1. [Help Request] Help With UI Coding
    By Vincent Dominguez in forum C++/C Programming
    Replies: 1
    Last Post: 06-14-2012, 01:39 PM
  2. [Help Request] need help with injecting code/using it
    By 0xx-kyle-xx0 in forum Combat Arms Help
    Replies: 0
    Last Post: 07-06-2011, 04:24 PM
  3. Help with Request Code for Adobe Illustrator
    By Groover111 in forum General Game Hacking
    Replies: 1
    Last Post: 02-27-2008, 09:46 AM
  4. need help with teleport code
    By konni in forum WarRock - International Hacks
    Replies: 0
    Last Post: 07-30-2007, 12:07 AM
  5. NEED help with verification code when registering!
    By vinogradov in forum WarRock Korea Hacks
    Replies: 2
    Last Post: 05-30-2007, 08:20 PM