Page 2 of 3 FirstFirst 123 LastLast
Results 16 to 30 of 33
  1. #16
    R45H1D's Avatar
    Join Date
    May 2010
    Gender
    male
    Location
    Montreal
    Posts
    785
    Reputation
    21
    Thanks
    951
    My Mood
    Amazed
    Quote Originally Posted by ronnie12345 View Post
    no thats not what i mean i was giving an example like were would i add something l ike that in my base and how would i add it and also i need help saving it as a .dll and then using it as a hack
    I need to see ur base

  2. #17
    ronnie12345's Avatar
    Join Date
    Jan 2010
    Gender
    male
    Posts
    26
    Reputation
    10
    Thanks
    1
    its gellins base

    also im not gunna relese because its realy just a private hack for me that i can keep updating

    ty and i also need to know how to save it as a .dll and get the menu working



    Code:
    ////////////////////////////////////////////////////
    //					Credits
    //
    //					Gellin08 aka Gellin( Tha Base )
    //					tim0n and ****** (Getpointer and wait functions)
    //					Ghoster	( pro )
    //					Sinner	( Cdetour mods )
    //					z0mbie  ( ADE32 )
    //					LanceVorigin ( original cdetour class )
    //					Micro ( original menu )
    
    #include "Base.h"
    #include "Menu.h"
    
    cBase Base;
    
    void __cdecl cBase::PushToConsole( const char* szCommand )
    {
    	DWORD *L***ient = ( DWORD* )( 0x37775D68 );
    	void* CONoff = ( void* )*( DWORD* )( *L***ient + 0x208 );
     
    	__asm
    	{
    		push szCommand;
    		call CONoff;
    		add esp, 4;
    	}
    }	
    
    //Every Frame
    void cBase::RenderFrame(LPDIRECT3DDEVICE9 pDevice)
    {
    	if( !Base.bSet.bInit )
    	{
    		D3DXCreateFont(pDevice, 15, 0, FW_BOLD, 1, 0, DEFAULT_CHARSET, OUT_DEFAULT_PRECIS, DEFAULT_QUALITY, DEFAULT_PITCH | FF_DONTCARE, "Arial", &Directx.pFont);
    		Base.bSet.bInit = true;
    	}
    
    	if( Directx.pFont == NULL )
    		Directx.pFont->OnLostDevice();
    	else
    	{
    		Directx.DrawString(10, 22, D3DCOLOR_ARGB(255, 255, 0, 0), Directx.pFont, "[FU-CA]v2 By Gellin for www.*********.com");
    		Menu.RenderMenu();
    	}
    
    	if( Menu.mOpt[2].nopt > 0 )//Fly Hack
    		if( GetAsyncKeyState( FLYKEY ) < 0 )
    			this->PushToConsole( "PlayerGravity 800" );
    		else
    			this->PushToConsole( "PlayerGravity -800" );
    
    	if( Menu.mOpt[12].nopt > 0 )
    		Menu.PanicKey();
    	
    }
    
    //4x Per Second
    void cBase::Update(void)
    {
    	while(1)
    	{
    		if( Menu.mOpt[1].nopt > 0 )//3D Box's
    			this->PushToConsole( "ModelDebug_DrawBoxes 1" );
    		else
    			this->PushToConsole( "ModelDebug_DrawBoxes 0" );
    
    		if( Menu.mOpt[3].nopt > 0 )//No Fog
    			this->PushToConsole( "FogEnable 0" );
    		else
    			this->PushToConsole( "FogEnable 1" );
    
    		Sleep(iRenderSpeed);
    
    		if( Menu.mOpt[4].nopt > 0 )//Speed Hack
    		{
    		    this->PushToConsole("BaseMoveAccel 3000.000000");
    			this->PushToConsole("StartAccel 3000.000000");
    			this->PushToConsole("MaxAccel 3000.000000");
    			this->PushToConsole("AccelInc 3000.000000");
    			this->PushToConsole("WalkVel 3000.000000");
    			this->PushToConsole("FRunVel 3000.000000");
    		    this->PushToConsole("BRunVel 3000.000000");
    			this->PushToConsole("SRunVel 3000.000000");
    		    this->PushToConsole("JumpVel 3000.000000");
    			this->PushToConsole("DuckVel 3000.000000");
    		}else{
    			this->PushToConsole("BaseMoveAccel 3000.000000");
    			this->PushToConsole("StartAccel 500.000000");
    			this->PushToConsole("MaxAccel 3000.000000");
    			this->PushToConsole("AccelInc 6000.000000");
    			this->PushToConsole("WalkVel 70.000000");
    			this->PushToConsole("FRunVel 285.000000");
    			this->PushToConsole("BRunVel 285.000000");
    			this->PushToConsole("SRunVel 285.000000");
    			this->PushToConsole("JumpVel 330.000000");
    			this->PushToConsole("DuckVel 50.000000");
    		}
    
    		Sleep(iRenderSpeed);
    
    		if( Menu.mOpt[5].nopt > 0 )//Less Spread
    		{
    			this->PushToConsole("PerturbRotationEffect  0.000000"); 
    			this->PushToConsole("PerturbIncreaseSpeed 0.000000"); 
    			this->PushToConsole("PerturbWalkPercent 0.000000"); 
    			this->PushToConsole("PerturbFiringIncreaseSpeed 0.000000");
    		}else{
    			this->PushToConsole("PerturbRotationEffect 3.000000");
    			this->PushToConsole("PerturbIncreaseSpeed 3.000000");
    			this->PushToConsole("PerturbDecreaseSpeed 9.000000");
    			this->PushToConsole("PerturbWalkPercent 0.500000");
    		}
    
    		Sleep(iRenderSpeed);
    
    		switch ( Menu.mOpt[6].nopt )//This Doesnt move your player pos it moves your Cam Pos
    		{
    			case 0://Defualt
    				this->PushToConsole("CamMaxPosYOffset 200.000000");
    				this->PushToConsole("DuckDownCamOffSet -13.000000");
    				break;
    			case 1://Up in the Air after u hit CNTRL
    				this->PushToConsole("CamMaxPosYOffset 200.000000");
    				this->PushToConsole("DuckDownCamOffSet 1000.000000");
    				break;
    			case 2://Under the Map after u hit CNTRL
    				this->PushToConsole("CamMaxPosYOffset -1000.000000");
    				this->PushToConsole("DuckDownCamOffSet -13.000000");
    				break;
    		}
    
    		Sleep(iRenderSpeed);
    
    		if( Menu.mOpt[7].nopt  > 0 )//Tracers
    			this->PushToConsole( "ShowFirePath 1" );
    		else
    			this->PushToConsole( "ShowFirePath 0" );
    
    		if( Menu.mOpt[8].nopt  > 0 )//Windowed Mode
    			this->PushToConsole( "windowed 1" );
    		else
    			this->PushToConsole( "windowed 0" );
    
    		if( Menu.mOpt[9].nopt > 0 )//Fps
    			this->PushToConsole( "ShowFps 1");
    		else
    			this->PushToConsole( "ShowFps 0");
    
    		if( Menu.mOpt[10].nopt > 0 )// Unlock Cursor
    			this->PushToConsole( "CursorCenter 0");
    		else
    			this->PushToConsole( "CursorCenter 1");
    
    		if( Menu.mOpt[11].nopt > 0 )//No Guns
    			this->PushToConsole("drawguns 0");
    		else
    			this->PushToConsole("drawguns 0");
    
    		Sleep(iRenderSpeed);
    	}
    }
    
    DWORD cBase::GetPointer(int index)
    {
    	DWORD* devicePtr = ***(DWORD****)0x9096F8;
    
    	if( devicePtr == NULL ) 
    		return 0;
    
    	return devicePtr[index];
    }
    
    bool cBase::IsGameReadyForHook(void)
    {
        if( GetModuleHandle( "d3d9.dll"     ) != NULL 
         && GetModuleHandle( "ClientFX.fxd" ) != NULL 
         && GetModuleHandle( "CShell.dll"   ) != NULL )
            return true;
    
        return false;
    }
    
    DWORD WINAPI dwMainThread(LPVOID)
    {
    	while ( !Base.IsGameReadyForHook() )
    		Sleep(iWaitTime);
    
    	Directx.Hook();
    
    	return 0;
    }
    	
    DWORD WINAPI dwHackThread(LPVOID)
    {
    	while( !Base.IsGameReadyForHook() )
    		Sleep(iWaitTime);
    
    	Base.Update();
    
    	return 0;
    }
    
    BOOL WINAPI DllMain ( HMODULE hDll, DWORD dwReason, LPVOID lpReserved )
    {
    	DisableThreadLibraryCalls(hDll);
    
    	if ( dwReason == DLL_PROCESS_ATTACH )
    	{
    		#ifdef LOG
    			DeleteFile(LogPath); 
    		#endif
    
    		CreateThread(NULL, NULL, dwMainThread, NULL, NULL, NULL);
    		CreateThread(NULL, NULL, dwHackThread, NULL, NULL, NULL);
    	}
    	return TRUE;
    }
    Last edited by ronnie12345; 06-16-2010 at 05:22 AM.

  3. #18
    R45H1D's Avatar
    Join Date
    May 2010
    Gender
    male
    Location
    Montreal
    Posts
    785
    Reputation
    21
    Thanks
    951
    My Mood
    Amazed
    Quote Originally Posted by ronnie12345 View Post
    its gellins base
    Then its freaking easy, lets say we want to add chams the push to console version.

    Code:
    if( Menu.mOpt[13].nopt > 0)
    			this->PushToConsole( "SkelModelStencil 1");
    		else
    			this->PushToConsole( "SkelModelStencil 0");
    You must add the feautre down the other 1 but if it is a memory hack then it is basicly same exept the patern is different.

  4. The Following User Says Thank You to R45H1D For This Useful Post:

    ronnie12345 (06-16-2010)

  5. #19
    ronnie12345's Avatar
    Join Date
    Jan 2010
    Gender
    male
    Posts
    26
    Reputation
    10
    Thanks
    1
    Quote Originally Posted by -RagerZ View Post
    Then its freaking easy, lets say we want to add chams the push to console version.

    Code:
    if( Menu.mOpt[13].nopt > 0)
    			this->PushToConsole( "SkelModelStencil 1");
    		else
    			this->PushToConsole( "SkelModelStencil 0");
    You must add the feautre down the other 1 but if it is a memory hack then it is basicly same exept the patern is different.
    shouldnt this be if( Menu.mOpt[12].nopt > 0) because it only goes to 12 on the hack list and how would i add the tele kill and opk u just gave me and how would i add it to the menu


    also i realy appreciate the help ur giving me

  6. #20
    R45H1D's Avatar
    Join Date
    May 2010
    Gender
    male
    Location
    Montreal
    Posts
    785
    Reputation
    21
    Thanks
    951
    My Mood
    Amazed
    Quote Originally Posted by ronnie12345 View Post
    shouldnt this be if( Menu.mOpt[12].nopt > 0) because it only goes to 12 on the hack list and how would i add the tele kill and opk u just gave me and how would i add it to the menu


    also i realy appreciate the help ur giving me
    That you should know if you can code if you cant then GTFO and also if you want to leech the source go ahead because it will not work unless you update the pointers now gimme my cookie(Thanks)

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

    ronnie12345 (06-16-2010)

  8. #21
    topblast's Avatar
    Join Date
    Mar 2010
    Gender
    male
    Location
    Far from around you Programmer: C++ | VB | C# | JAVA
    Posts
    3,607
    Reputation
    149
    Thanks
    5,052
    My Mood
    Cool
    Hmm i dont kno how to help u with this one....Mostly where all the other hacks are :P
    I just like programming, that is all.

    Current Stuff:

    • GPU Programmer (Cuda)
    • Client/Server (Cloud Server)
    • Mobile App Development

  9. #22
    ronnie12345's Avatar
    Join Date
    Jan 2010
    Gender
    male
    Posts
    26
    Reputation
    10
    Thanks
    1
    Quote Originally Posted by R45H1D View Post
    That you should know if you can code if you cant then GTFO and also if you want to leech the source go ahead because it will not work unless you update the pointers now gimme my cookie(Thanks)
    well i already have the pointers still i told u im still in the process of learning all i need to know now is how to make it in to a .dll file and then inject it i know how to inject it but i dont know about the making it in the . dll

  10. #23
    R45H1D's Avatar
    Join Date
    May 2010
    Gender
    male
    Location
    Montreal
    Posts
    785
    Reputation
    21
    Thanks
    951
    My Mood
    Amazed
    Quote Originally Posted by ronnie12345 View Post
    well i already have the pointers still i told u im still in the process of learning all i need to know now is how to make it in to a .dll file and then inject it i know how to inject it but i dont know about the making it in the . dll
    TO make it dll you must compile it. (BUILD)

  11. #24
    ronnie12345's Avatar
    Join Date
    Jan 2010
    Gender
    male
    Posts
    26
    Reputation
    10
    Thanks
    1
    i get this error : fatal error C1083: Cannot open include file: 'd3dx9.h': No such file or directory

  12. #25
    whatup777's Avatar
    Join Date
    May 2010
    Gender
    male
    Location
    CA Source Code Section
    Posts
    4,025
    Reputation
    147
    Thanks
    351
    My Mood
    Dead
    you need to install DirectX SDK! Thank me!
    Quotes I live by.


    A foolish person learns from his mistakes, I wise person learns from others.
    Quote Originally Posted by AVGN View Post



    mhm

    i live in texas

    i was at the grocery store with my son. He saw a mexican guy, and he said "Look daddy! a mower man!"

    he's 4 yrs old

  13. The Following User Says Thank You to whatup777 For This Useful Post:

    ronnie12345 (06-16-2010)

  14. #26
    ronnie12345's Avatar
    Join Date
    Jan 2010
    Gender
    male
    Posts
    26
    Reputation
    10
    Thanks
    1
    now i get this error

    'D3DXCreateFontW' : cannot convert parameter 11 from 'const char [6]' to 'LPCWSTR'
    1> Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast

  15. #27
    ronnie12345's Avatar
    Join Date
    Jan 2010
    Gender
    male
    Posts
    26
    Reputation
    10
    Thanks
    1
    ok sorry for the double post but does any one know what this means and how i can fix it?

  16. #28
    pr0h4x0r's Avatar
    Join Date
    Jan 2010
    Gender
    male
    Location
    BoobieLand
    Posts
    134
    Reputation
    10
    Thanks
    20
    My Mood
    Relaxed
    WAit you get that because something is wrong with your code
    hahahahahaaaaaaaaaaaaaaaaaaaaaaaaaaaahahahahahaha
    Thats all i can say

  17. #29
    mwb1234's Avatar
    Join Date
    May 2009
    Gender
    male
    Posts
    460
    Reputation
    7
    Thanks
    65
    Quote Originally Posted by ronnie12345 View Post
    now i get this error

    'D3DXCreateFontW' : cannot convert parameter 11 from 'const char [6]' to 'LPCWSTR'
    1> Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
    Instead of using D3DXCreateFont use D3DXCreateFontA
    add A to the end of D3DXCreateFont. To find this function double click the first error then do what I said

  18. The Following User Says Thank You to mwb1234 For This Useful Post:

    ronnie12345 (06-16-2010)

  19. #30
    ronnie12345's Avatar
    Join Date
    Jan 2010
    Gender
    male
    Posts
    26
    Reputation
    10
    Thanks
    1
    error C2664: 'ID3DXFont:rawTextW' : cannot convert parameter 2 from 'char [1024]' to 'LPCWSTR'


    how can i fix this this is the last error im getting

Page 2 of 3 FirstFirst 123 LastLast

Similar Threads

  1. How do i know if i got a hw ban?
    By niekill in forum WarRock - International Hacks
    Replies: 9
    Last Post: 01-12-2008, 10:37 AM
  2. How to add Winchester hack to my hack ?? (VB6)
    By floris12345! in forum Visual Basic Programming
    Replies: 7
    Last Post: 01-04-2008, 06:19 AM
  3. How do i know if im hardware banned..?
    By mc pure cash in forum WarRock - International Hacks
    Replies: 2
    Last Post: 05-06-2007, 03:50 AM
  4. How do you know if
    By ahmetneo in forum WarRock - International Hacks
    Replies: 8
    Last Post: 12-31-2006, 11:54 AM
  5. dose any1 know were 2 get tv episodes
    By sqeak in forum Suggestions, Requests & General Help
    Replies: 8
    Last Post: 02-19-2006, 06:10 AM