Results 1 to 10 of 10
  1. #1
    cobi45's Avatar
    Join Date
    Sep 2011
    Gender
    male
    Location
    THE United States of America
    Posts
    101
    Reputation
    10
    Thanks
    61
    My Mood
    Breezy

    I could use just a little bit of help...

    I've made a few hotkey hacks before, but I have never made a menu hack. I found the base for it that was just released, CA Base D3D Menu Selection v4 Updated And I was wondering how I should go about transferring my hotkey hack processes to the menu hack, if there is any differentiation that I need to be precise about, or not. I could also use some help from someone who knows their PTC's and hooks. I'm building my hack up, but I could really use some help. If anyone would like to help me out with this, it would be awesome Thanks!

  2. #2
    merp.'s Avatar
    Join Date
    Aug 2012
    Gender
    male
    Posts
    147
    Reputation
    10
    Thanks
    301
    My Mood
    Bored
    Quote Originally Posted by cobi45 View Post
    I've made a few hotkey hacks before, but I have never made a menu hack. I found the base for it that was just released, CA Base D3D Menu Selection v4 Updated And I was wondering how I should go about transferring my hotkey hack processes to the menu hack, if there is any differentiation that I need to be precise about, or not. I could also use some help from someone who knows their PTC's and hooks. I'm building my hack up, but I could really use some help. If anyone would like to help me out with this, it would be awesome Thanks!
    I'm currently learning too! Although I don't know much yet, maybe we can help each other out if we're stuck?

  3. #3
    cobi45's Avatar
    Join Date
    Sep 2011
    Gender
    male
    Location
    THE United States of America
    Posts
    101
    Reputation
    10
    Thanks
    61
    My Mood
    Breezy
    Quote Originally Posted by merp. View Post
    I'm currently learning too! Although I don't know much yet, maybe we can help each other out if we're stuck?
    Sounds good to me!

  4. #4
    cobi45's Avatar
    Join Date
    Sep 2011
    Gender
    male
    Location
    THE United States of America
    Posts
    101
    Reputation
    10
    Thanks
    61
    My Mood
    Breezy
    None of the coders on here can help me some? D: maybe if I get some source code on here?

    Let's start out with the RunConsoles, are they any good? from the redemption base:

    Code:
    #include "Includes.h"
    #include "Xor.h"
    
    void cHack::InitHacks(LPDIRECT3DDEVICE9 pDevice)
    {
    	this->HackThread(pDevice);
    }
    
    void cHack::HackThread(LPDIRECT3DDEVICE9 pDevice)
    {
    	if(Variables.iCrosshair) Main->D3D->Crosshair(pDevice, 15, 1, Green);
    
    	if(Variables.iEngineChams != Variables.iEngineChamsBuffer)
    	{
    		if(Variables.iEngineChams)
    		{
    			Main->Tools->RunConsoleCommand(/*SkelModelStencil 1*/XorStr<0xC0,19,0x5FF5A46B>("\x93\xAA\xA7\xAF\x89\xAA\xA2\xA2\xA4\x9A\xBE\xAE\xA2\xAE\xA7\xA3\xF0\xE0"+0x5FF5A46B).s);
    		}
    		else
    		{
    			Main->Tools->RunConsoleCommand(/*SkelModelStencil 0*/XorStr<0xA4,19,0x97F2A1EB>("\xF7\xCE\xC3\xCB\xE5\xC6\xCE\xCE\xC0\xFE\xDA\xCA\xDE\xD2\xDB\xDF\x94\x85"+0x97F2A1EB).s);
    		}
    		Variables.iEngineChamsBuffer = Variables.iEngineChams;
    	}
    
    	if(Variables.iNoSpread != Variables.iNoSpreadBuffer)
    	{
    		if(Variables.iNoSpread)
    		{
    			Main->Tools->RunConsoleCommand(/*PerturbRotationEffect 0.000000*/XorStr<0xA9,31,0x5EA0D4F5>("\xF9\xCF\xD9\xD8\xD8\xDC\xCD\xE2\xDE\xC6\xD2\xC0\xDC\xD9\xD9\xFD\xDF\xDC\xDE\xDF\xC9\x9E\x8F\xEE\xF1\xF2\xF3\xF4\xF5\xF6"+0x5EA0D4F5).s);
    			Main->Tools->RunConsoleCommand(/*PerturbIncreaseSpeed 0.000000*/XorStr<0x76,30,0xD2E41309>("\x26\x12\x0A\x0D\x0F\x09\x1E\x34\x10\x1C\xF2\xE4\xE3\xF0\xE1\xD6\xF6\xE2\xED\xED\xAA\xBB\xA2\xBD\xBE\xBF\xA0\xA1\xA2"+0xD2E41309).s);
    			Main->Tools->RunConsoleCommand(/*PerturbWalkPercent 0.000000*/XorStr<0xDE,28,0x0C26ABD4>("\x8E\xBA\x92\x95\x97\x91\x86\xB2\x87\x8B\x83\xB9\x8F\x99\x8F\x88\x80\x9B\xD0\xC1\xDC\xC3\xC4\xC5\xC6\xC7\xC8"+0x0C26ABD4).s);
    			Main->Tools->RunConsoleCommand(/*PerturbFiringIncreaseSpeed 0.000000*/XorStr<0xB5,36,0x391F5D61>("\xE5\xD3\xC5\xCC\xCC\xC8\xD9\xFA\xD4\xCC\xD6\xAE\xA6\x8B\xAD\xA7\xB7\xA3\xA6\xBB\xAC\x99\xBB\xA9\xA8\xAA\xEF\xE0\xFF\xE2\xE3\xE4\xE5\xE6\xE7"+0x391F5D61).s);
    			Main->Tools->RunConsoleCommand(/*PerturbRecoil 0.000000*/XorStr<0xF7,23,0x46EC31CE>("\xA7\x9D\x8B\x8E\x8E\x8E\x9F\xAC\x9A\x63\x6E\x6B\x6F\x24\x35\x28\x37\x38\x39\x3A\x3B\x3C"+0x46EC31CE).s);
    			Main->Tools->RunConsoleCommand(/*FireMovePerturb 0.000000*/XorStr<0x4F,25,0xE670422A>("\x09\x39\x23\x37\x1E\x3B\x23\x33\x07\x3D\x2B\x2E\x2E\x2E\x3F\x7E\x6F\x4E\x51\x52\x53\x54\x55\x56"+0xE670422A).s);
    			Main->Tools->RunConsoleCommand(/*ZoomedFireMoveDuckPerturb 0.000000*/XorStr<0xB5,35,0x5DB7551C>("\xEF\xD9\xD8\xD5\xDC\xDE\xFD\xD5\xCF\xDB\xF2\xAF\xB7\xA7\x87\xB1\xA6\xAD\x97\xAD\xBB\xBE\xBE\xBE\xAF\xEE\xFF\xFE\xE1\xE2\xE3\xE4\xE5\xE6"+0x5DB7551C).s);
    			Main->Tools->RunConsoleCommand(/*ZoomedFireMovePerturb 0.000000*/XorStr<0xEA,31,0x51F1CFB8>("\xB0\x84\x83\x80\x8B\x8B\xB6\x98\x80\x96\xB9\x9A\x80\x92\xA8\x9C\x88\x8F\x89\x8F\x9C\xDF\x30\x2F\x32\x33\x34\x35\x36\x37"+0x51F1CFB8).s);
    			Main->Tools->RunConsoleCommand(/*ZoomedFireDuckPerturb 0.000000*/XorStr<0x50,31,0x9FD7AC36>("\x0A\x3E\x3D\x3E\x31\x31\x10\x3E\x2A\x3C\x1E\x2E\x3F\x36\x0E\x3A\x12\x15\x17\x11\x06\x45\x56\x49\x58\x59\x5A\x5B\x5C\x5D"+0x9FD7AC36).s);
    		}
    		else
    		{
    			Main->Tools->RunConsoleCommand(/*PerturbRotationEffect  3.000000*/XorStr<0x61,32,0x3EA8D288>("\x31\x07\x11\x10\x10\x14\x05\x3A\x06\x1E\x0A\x18\x04\x01\x01\x35\x17\x14\x16\x17\x01\x56\x57\x4B\x57\x4A\x4B\x4C\x4D\x4E\x4F"+0x3EA8D288).s);
    			Main->Tools->RunConsoleCommand(/*PerturbIncreaseSpeed 3.000000*/XorStr<0x94,30,0x89B5C68E>("\xC4\xF0\xE4\xE3\xED\xEB\xF8\xD2\xF2\xFE\xEC\xFA\xC1\xD2\xC7\xF0\xD4\xC0\xC3\xC3\x88\x9A\x84\x9B\x9C\x9D\x9E\x9F\x80"+0x89B5C68E).s);
    			Main->Tools->RunConsoleCommand(/*PerturbWalkPercent 9.000000*/XorStr<0xBA,28,0xD1FBCA31>("\xEA\xDE\xCE\xC9\xCB\xCD\xA2\x96\xA3\xAF\xAF\x95\xA3\xB5\xAB\xAC\xA4\xBF\xEC\xF4\xE0\xFF\xE0\xE1\xE2\xE3\xE4"+0xD1FBCA31).s);
    			Main->Tools->RunConsoleCommand(/*PerturbFiringIncreaseSpeed 0.500000*/XorStr<0x22,36,0x250806EF>("\x72\x46\x56\x51\x53\x55\x4A\x6F\x43\x59\x45\x43\x49\x66\x5E\x52\x40\x56\x55\x46\x53\x64\x48\x5C\x5F\x5F\x1C\x0D\x10\x0A\x70\x71\x72\x73\x74"+0x250806EF).s);
    			Main->Tools->RunConsoleCommand(/*PerturbRecoil 9.000000*/XorStr<0x35,23,0x9DE29D06>("\x65\x53\x45\x4C\x4C\x48\x59\x6E\x58\x5D\x50\x29\x2D\x62\x7A\x6A\x75\x76\x77\x78\x79\x7A"+0x9DE29D06).s);
    			Main->Tools->RunConsoleCommand(/*FireMovePerturb 9.000000*/XorStr<0x43,25,0x51A0ABDD>("\x05\x2D\x37\x23\x0A\x27\x3F\x2F\x1B\x29\x3F\x3A\x3A\x22\x33\x72\x6A\x7A\x65\x66\x67\x68\x69\x6A"+0x51A0ABDD).s);
    			Main->Tools->RunConsoleCommand(/*ZoomedFireMoveDuckPerturb 9.000000*/XorStr<0x94,35,0xB4384714>("\xCE\xFA\xF9\xFA\xFD\xFD\xDC\xF2\xEE\xF8\xD3\xF0\xD6\xC4\xE6\xD6\xC7\xCE\xF6\xC2\xDA\xDD\xDF\xD9\xCE\x8D\x97\x81\x80\x81\x82\x83\x84\x85"+0xB4384714).s);
    			Main->Tools->RunConsoleCommand(/*ZoomedFireMovePerturb 9.000000*/XorStr<0x20,31,0xD7C09964>("\x7A\x4E\x4D\x4E\x41\x41\x60\x4E\x5A\x4C\x67\x44\x5A\x48\x7E\x4A\x42\x45\x47\x41\x56\x15\x0F\x19\x08\x09\x0A\x0B\x0C\x0D"+0xD7C09964).s);
    			Main->Tools->RunConsoleCommand(/*ZoomedFireDuckPerturb 9.000000*/XorStr<0x59,31,0x169080C0>("\x03\x35\x34\x31\x38\x3A\x19\x09\x13\x07\x27\x11\x06\x0D\x37\x0D\x1B\x1E\x1E\x1E\x0F\x4E\x56\x5E\x41\x42\x43\x44\x45\x46"+0x169080C0).s);
    		}
    		Variables.iNoSpreadBuffer = Variables.iNoSpread;
    	}
    
    	if(Variables.iNoFog != Variables.iNoFogBuffer)
    	{
    		if(Variables.iNoFog)
    		{
    			Main->Tools->RunConsoleCommand(/*FogEnable 0*/XorStr<0x53,12,0x0CB88266>("\x15\x3B\x32\x13\x39\x39\x3B\x36\x3E\x7C\x6D"+0x0CB88266).s);
    		}
    		else
    		{
    			Main->Tools->RunConsoleCommand(/*FogEnable 1*/XorStr<0xB2,12,0xA935791E>("\xF4\xDC\xD3\xF0\xD8\xD6\xDA\xD5\xDF\x9B\x8D"+0xA935791E).s);
    		}
    		Variables.iNoFogBuffer = Variables.iNoFog;
    	}
    }
    
    void cHack::ScanForAddresses()
    {
    	Variables.dwEngineEntryPoint = (DWORD)GetModuleHandleA("Engine.exe");
    	Variables.dwEngineCodeSize = Main->Tools->GetSizeofCode("Engine.exe");
    
    	Variables.dwLTClientEXE = Main->Tools->FindPattern(Variables.dwEngineEntryPoint, Variables.dwEngineCodeSize,(BYTE*)"\x8B\x44\x24\x04\x50\x68\x00\x00\x00\x00\xE8\x00\x00\x00\x00\x83\xC4\x08\xC3\xCC\xCC\xCC\xCC\xCC\xCC\xCC\xCC\xCC\xCC\xCC\xCC\xCC\x8B\xC1\x33\xC9", "xxxxxx????x????xxxxxxxxxxxxxxxxxxxxx");
    }


    ---------- Post added at 05:22 PM ---------- Previous post was at 05:02 PM ----------

    and then I have this from when I was trying to learn to hack before (My previous account was Blackdragon4661, but I lost my password AND access to my email, so I made this account. This is my auto on chams from before, think it might still work? Or can I pull ANYTHING from them?
    Code:
    //You may want to use a class for the RunConsoleCommand, IsInGame, Main, and IsGameReadyForHook Functions.
    /* Just in case you decide adding some stuff.
    #include <d3d9.h>
    #include <d3dx9.h>
    #include <d3dx9core.h>
    #include <fstream>
    #include <iostream>
    #include <sstream>
    #include <stdio.h>
    #include <stdlib.h> 
    #include <string>
    #include <time.h>
    #include <Winuser.h>
    */
    #include <windows.h>
    void __cdecl RunConsoleCommand( const char* cCommand )
    {
    	void* address = ( void* )0x00485FA0; //Unwrapped Console Address
    	__asm
    	{
    		Push cCommand
    		call address
    		add esp, 0x4
    	}
    }
    bool IsInGame()
    {
    	switch(*(int*)0x377B11B0) //Game Status Address
    	{ 
    	case 1:
    		return true; //Your in a game
    	case 5:
    		return false; //Your in the lobby
    	}
    	return false; //Even if you aren't
    }
    void main( void )
    {
    	while ( true )
    	{
    		if ( IsInGame() /*In-Game*/ && GetAsyncKeyState( VK_NUMPAD1 ) < 0 /*Self Explanitory*/ )
    		{
    			this->RunConsoleCommand( "SkelModelStencil 1" ); //On
    		}else{
    			this->RunConsoleCommand( "SkelModelStencil 0" ); //Off
    		}
    	}
    }
    bool IsGameReadyForHook()
    {
    	if( GetModuleHandleA( "d3d9.dll"     ) != NULL &&
    		GetModuleHandleA( "ClientFX.fxd" ) != NULL &&
    		GetModuleHandleA( "CShell.dll"   ) != NULL )
    		return true;
    
    	return false;
    }
    DWORD WINAPI dwHackThread( LPVOID )
    {
    	while ( !IsGameReadyForHook() )
    		Sleep( 25 );
    
    	main();
    
    	return EXIT_SUCCESS;
    }
    BOOL WINAPI DllMain ( HMODULE hDll, DWORD dwReason, LPVOID lpReserved )
    {
    	DisableThreadLibraryCalls( hDll );
    	if ( dwReason == DLL_PROCESS_ATTACH )
    	{
    		CreateThread( NULL, NULL, dwHackThread, NULL, NULL, NULL );
    	}
    	return TRUE;
    }
    Credits for earlier corrections on bottom code ^ : Yodaliketaco, DeadLine, Flameswort10, Gellin
    Last edited by cobi45; 01-06-2013 at 07:46 PM.

  5. #5
    Flengo's Avatar
    Join Date
    May 2010
    Gender
    male
    Location
    Ontario, Canada
    Posts
    15,696
    Reputation
    3319
    Thanks
    11,111
    My Mood
    Happy
    You wont need anything. You'll have to add your PTC hacks and any other functions you created in your hotkey hack.

    A lot of things are predefined in the Redemption Base. You'll most likely just have to add the commands for the features again. And that alone.
    I Read All Of My PM's & VM's
    If you need help with anything, just let me know.
     
     
    VM | PM

    Publicist Since 04.04.2015
    Middleman Since Unknown - Unknown
    Global Moderator Since 08.01.2013
    Donator Since 05.29.2013

    Minion+ Since 04.18.2013

    District 187 Minion Since 04.04.2013
    Steam Minion Since 02.26.2013
    WarRock Minion Since 02.19.2013
    A.V.A Minion Since 02.13.2013
    DayZ Minion Since 01.21.2013
    Combat Arms Minion Since 12.26.2012
    Contributor Since 11.16.2012
    Member Since 05.11.2010


  6. #6
    cobi45's Avatar
    Join Date
    Sep 2011
    Gender
    male
    Location
    THE United States of America
    Posts
    101
    Reputation
    10
    Thanks
    61
    My Mood
    Breezy
    arent the commands between a hotkey and menu completely different? like the PTC's? I remember someone telling me that when I first started coding. I have some of the code down now, is there any way you'd be able to help me more?

  7. #7
    Flengo's Avatar
    Join Date
    May 2010
    Gender
    male
    Location
    Ontario, Canada
    Posts
    15,696
    Reputation
    3319
    Thanks
    11,111
    My Mood
    Happy
    Quote Originally Posted by cobi45 View Post
    arent the commands between a hotkey and menu completely different? like the PTC's? I remember someone telling me that when I first started coding. I have some of the code down now, is there any way you'd be able to help me more?
    No the commands are the same. They way you may be calling them and checking conditions will be different.

    Its all similar though. In a hotkey, you'll be checking if a key is pressed. In this menu, you'll be checking the value of a variable. I think he used a Boolean value, so you'll be checking if the condition is true or false.

    If its true (Hack enabled), It'll push the command through the PTC function already defined, else, it'll push the command to disable the feature through the PTC function.
    I Read All Of My PM's & VM's
    If you need help with anything, just let me know.
     
     
    VM | PM

    Publicist Since 04.04.2015
    Middleman Since Unknown - Unknown
    Global Moderator Since 08.01.2013
    Donator Since 05.29.2013

    Minion+ Since 04.18.2013

    District 187 Minion Since 04.04.2013
    Steam Minion Since 02.26.2013
    WarRock Minion Since 02.19.2013
    A.V.A Minion Since 02.13.2013
    DayZ Minion Since 01.21.2013
    Combat Arms Minion Since 12.26.2012
    Contributor Since 11.16.2012
    Member Since 05.11.2010


  8. #8
    cobi45's Avatar
    Join Date
    Sep 2011
    Gender
    male
    Location
    THE United States of America
    Posts
    101
    Reputation
    10
    Thanks
    61
    My Mood
    Breezy
    Okay, I was also wondering if there is any way you could TV me or anything like that to take a look at what I have to make sure it's not all messed up?

    ---------- Post added at 09:41 PM ---------- Previous post was at 09:18 PM ----------

    Yeah I definitely think I just messed a LOT of things up, I have a lot of undefined things, identifier can't define, and I just confused the hell out of myself >.< can someone help please??

    ---------- Post added at 09:54 PM ---------- Previous post was at 09:41 PM ----------

    1>------ Build started: Project: ReduxHotkey, Configuration: Release Win32 ------
    1> main.cpp
    1>C:\Program Files\Microsoft SDKs\Windows\v7.0A\include\objidl.h(11280): error C2061: syntax error : identifier '__RPC__out_xcount_part'
    1>C:\Program Files\Microsoft SDKs\Windows\v7.0A\include\objidl.h(11281): error C2059: syntax error : ')'
    1>C:\Program Files\Microsoft SDKs\Windows\v7.0A\include\objidl.h(11281): fatal error C1903: unable to recover from previous error(s); stopping compilation
    ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========

    erm someone help please?

  9. #9
    teehee15's Avatar
    Join Date
    Aug 2011
    Gender
    male
    Posts
    334
    Reputation
    52
    Thanks
    109
    I thought you said you where working on a menu base? "Build started: Project: ReduxHotkey, Configuration: Release Win32" is not a menu base....

  10. #10
    cobi45's Avatar
    Join Date
    Sep 2011
    Gender
    male
    Location
    THE United States of America
    Posts
    101
    Reputation
    10
    Thanks
    61
    My Mood
    Breezy
    Quote Originally Posted by teehee15 View Post
    I thought you said you where working on a menu base? "Build started: Project: ReduxHotkey, Configuration: Release Win32" is not a menu base....
    was checking to see if i could even build with the hotkey I was working on. Transferring it to Menu right now with Merp

Similar Threads

  1. Could use a little help
    By xi2fastxi in forum Minecraft Help
    Replies: 3
    Last Post: 05-23-2011, 10:41 AM
  2. Need a little bit of help
    By Ed in forum General
    Replies: 9
    Last Post: 03-18-2011, 02:28 AM
  3. Warrock Philippines Addies(Just a little bit addies)
    By newBoy in forum WarRock Philippines Hacks
    Replies: 2
    Last Post: 02-07-2011, 07:10 AM
  4. Need a little bit of help
    By Chickente in forum Combat Arms Mod Discussion
    Replies: 6
    Last Post: 01-08-2011, 09:20 PM
  5. just a little thing to help some people
    By Mauled in forum Playstation Hacking
    Replies: 7
    Last Post: 07-22-2010, 09:25 AM