Page 2 of 2 FirstFirst 12
Results 16 to 24 of 24
  1. #16
    kibbles18's Avatar
    Join Date
    Oct 2008
    Gender
    male
    Location
    US
    Posts
    860
    Reputation
    5
    Thanks
    127
    was the problem that i was trying to use
    Code:
    pPlayerMgr = (cPlayerMgr*)(PlayerMgr);
    to read from an address that didnt exist because i wasnt in game?

    still dosent work.. maybe someone should try it themselves
    Last edited by kibbles18; 04-03-2011 at 11:41 AM.

  2. #17
    _Fk127_'s Avatar
    Join Date
    Nov 2010
    Gender
    male
    Posts
    720
    Reputation
    16
    Thanks
    208
    My Mood
    Bitchy
    Quote Originally Posted by kibbles18 View Post
    k im going to do some research on how to use drawtext, then i shall display the stuff not working
    Wait, you didn't hook i guess, so this wont work...



    Put this image in your signature if you support HTML5 development!

  3. #18
    kibbles18's Avatar
    Join Date
    Oct 2008
    Gender
    male
    Location
    US
    Posts
    860
    Reputation
    5
    Thanks
    127
    im about ready to give up...

  4. #19
    NOOB's Avatar
    Join Date
    Apr 2010
    Gender
    male
    Posts
    3,843
    Reputation
    425
    Thanks
    8,616
    try

    Code:
    pPlayerMgr->Yaw = 90.0f;

  5. #20
    kibbles18's Avatar
    Join Date
    Oct 2008
    Gender
    male
    Location
    US
    Posts
    860
    Reputation
    5
    Thanks
    127
    Code:
    #include <windows.h>
    #include "engine_class.h"
    
    void thread()
    {
    	for(;;)
    	{
    		if(GetAsyncKeyState(VK_NUMPAD1)&1)
    		{
    			pPlayerMgr->Yaw = 90.0f;
    		}
    		Sleep(50);
    	}
    }
    
    bool IsGameReadyForHook()
    {
    	if( GetModuleHandleA( "d3d9.dll"     ) != NULL 
    		&& GetModuleHandleA( "ClientFX.fxd" ) != NULL 
    		&& GetModuleHandleA( "CShell.dll"   ) != NULL )
    		return true;
    	return false;
    }
    
    DWORD WINAPI StartupThread(LPVOID)
    {
    	while( !IsGameReadyForHook() )
    		Sleep(100);
    	MessageBoxA(0,"CA Hooked, press OK to continue", "kibbles201", MB_OK);
    	thread();
    	return 0;
    }
    BOOL WINAPI DllMain( HINSTANCE hinstDLL, DWORD dwReason, LPVOID lpReserved )
    {
    	if( dwReason == DLL_PROCESS_ATTACH )
    	{
    		MessageBoxA(0,"injected", "kibbles201", MB_OK);
    		CreateThread( NULL, NULL, (LPTHREAD_START_ROUTINE)StartupThread, NULL, NULL, NULL);
    	}
    	return TRUE;
    }
    updated code
    someone else should try and see if theirs works!
    Last edited by kibbles18; 04-03-2011 at 08:06 PM.

  6. #21
    kibbles18's Avatar
    Join Date
    Oct 2008
    Gender
    male
    Location
    US
    Posts
    860
    Reputation
    5
    Thanks
    127
    some more information that might be helpfull...
    "PlayerMgr" is the address for the class PlayerManager - should i be using my local character address instead?

  7. #22
    kibbles18's Avatar
    Join Date
    Oct 2008
    Gender
    male
    Location
    US
    Posts
    860
    Reputation
    5
    Thanks
    127
    /close please
    resolved.
    issue: the sticky with all the newest addy had the wrong addy

  8. #23
    DeadLinez's Avatar
    Join Date
    Dec 2009
    Gender
    male
    Location
    https://mpgh.net Sexy Points: 989,576,420
    Posts
    465
    Reputation
    11
    Thanks
    500
    My Mood
    Psychedelic
    man did u even do anything? lol getting everyone to do the work

  9. The Following User Says Thank You to DeadLinez For This Useful Post:

    NOOBJr (04-05-2011)

  10. #24
    kibbles18's Avatar
    Join Date
    Oct 2008
    Gender
    male
    Location
    US
    Posts
    860
    Reputation
    5
    Thanks
    127
    no i just typed out the code and found out the problem, no one helped me in the slightest bit except 1 person. no one did the work for me dumb ass

Page 2 of 2 FirstFirst 12