Page 2 of 2 FirstFirst 12
Results 16 to 17 of 17
  1. #16
    ac1d_buRn's Avatar
    Join Date
    Aug 2009
    Gender
    female
    Location
    CA Source Section
    Posts
    3,406
    Reputation
    157
    Thanks
    3,991
    My Mood
    Flirty
    Can someone help me here please. I really dont know what the fuck is going on.

    If i define:
    Code:
    PlayerMgr * pPlayerMgr = *(PlayerMgr**)(0x3784E6F8);
    with the rest of my class declerations (pPlayer, pLocal, ect), My hack doesnt hook.

    If i place it with the code like so:
    Code:
    if(CH_test)
    		{
    			PlayerMgr * pPlayerMgr = *(PlayerMgr**)(0x3784E6F8);
    			_Object * IsAimingAt = pPlayerMgr->pTarget->GetTargetObject();
    
    			if(IsAimingAt != 0) {
    			 PrintText(pFont,500,300,Red,"I am aiming at someone");//Just testing
    			}
    		}
    it hooks but nothing happens (text doesnt come up)

    Id really like to know whyy..

  2. #17
    Mr.Magicman's Avatar
    Join Date
    Sep 2009
    Gender
    male
    Location
    Sitting in my cave full of thoughts learning Asembly
    Posts
    2,103
    Reputation
    16
    Thanks
    646
    My Mood
    Cold
    Quote Originally Posted by ac1d_buRn View Post
    Can someone help me here please. I really dont know what the fuck is going on.

    If i define:
    Code:
    PlayerMgr * pPlayerMgr = *(PlayerMgr**)(0x3784E6F8);
    with the rest of my class declerations (pPlayer, pLocal, ect), My hack doesnt hook.

    If i place it with the code like so:
    Code:
    if(CH_test)
    		{
    			PlayerMgr * pPlayerMgr = *(PlayerMgr**)(0x3784E6F8);
    			_Object * IsAimingAt = pPlayerMgr->pTarget->GetTargetObject();
    
    			if(IsAimingAt != 0) {
    			 PrintText(pFont,500,300,Red,"I am aiming at someone");//Just testing
    			}
    		}
    it hooks but nothing happens (text doesnt come up)

    Id really like to know whyy..
    Trying using sounds if text doesnt show up.. Just something to test

Page 2 of 2 FirstFirst 12