Results 1 to 3 of 3
  1. #1
    szczyurcio's Avatar
    Join Date
    Nov 2013
    Gender
    female
    Posts
    10
    Reputation
    10
    Thanks
    0

    Why doesn't tag position change depending on stance?

    Hey,
    I've reversed AimAssist_GetTagPos and it seems to be working, but the weird thing is that the stance of the player doesn't affect the tag position - as if I were using entity_t.origin. I've isolated the relevant part of the code, this is the actual GetTagPos call (1.4.382):

    Code:
    float result[3];
    int tagNum = 0x127A;        //j_head
    
    DWORD dwCall = GETTAGPOS_ADDR;        //0x571790
    __asm LEA ESI, [result]
    __asm PUSH ESI
    __asm MOV EDI, tagNum
    __asm MOV ESI, ENTITY_BASE_ADDR        //0xA08630
    __asm CALL dwCall
    __asm ADD ESP, 4
           
    printf("location %.2lf %.2lf %.2lf | %.2lf %.2lf %.2lf ", result[0], result[1], result[2], ((entity_t*)ENTITY_BASE_ADDR)->Origin[0], ((entity_t*)ENTITY_BASE_ADDR)->Origin[1], ((entity_t*)ENTITY_BASE_ADDR)->Origin[2]);
    Obviously this only finds j_head for entity 0, I test it joining my empty server so that I'm entity 0. I know there's the function to resolve tag names to numbers, it's not included here because it's not relevant.

    So basically, in this way, the position will change if I'm moving around, or even when I fire because of the recoil, but it will not change if I crouch/prone. Since it works for everyone I've asked, I'm not really sure what the issue could be. Thanks for your help.
    Last edited by szczyurcio; 11-30-2014 at 03:23 PM.

  2. #2
    殺す必要がある唯一のものは殺されるために準備され人 々である。
    Premium Member
    Hitokiri~'s Avatar
    Join Date
    Oct 2012
    Gender
    female
    Location
    Cancer.
    Posts
    1,201
    Reputation
    24
    Thanks
    937
    My Mood
    Bitchy
    1.) Why ask here? 99% of people here just come for hacks and know nothing about coding.
    2.) Why does it matter? If I'm to guess, it'll be because that'll be taken into account when SV_ClientThink() is called.

  3. #3
    szczyurcio's Avatar
    Join Date
    Nov 2013
    Gender
    female
    Posts
    10
    Reputation
    10
    Thanks
    0
    Quote Originally Posted by Hitokiri~ View Post
    1.) Why ask here? 99% of people here just come for hacks and know nothing about coding.
    2.) Why does it matter? If I'm to guess, it'll be because that'll be taken into account when SV_ClientThink() is called.
    1) IDK, wanted to try everything :P
    2) Well for me, it matters a lot, because if somebody lays down and I try to aim for their j_head, I won't hit jack shit. You're not gonna tell me hkBot has (or had) such problems, or any other public aimbot, hence I must be doing something wrong.

Similar Threads

  1. [Solved] Why doesn't crossfire start?
    By Valken in forum CrossFire Help
    Replies: 14
    Last Post: 02-28-2011, 08:41 PM
  2. WHY DOESN'T SOMEONE GET SMART?
    By HustlaOwnz in forum CrossFire Discussions
    Replies: 16
    Last Post: 07-22-2010, 11:10 PM
  3. why doesn't my chams work when i use my chams?
    By El Narco in forum Combat Arms Discussions
    Replies: 4
    Last Post: 09-01-2009, 06:00 PM
  4. Why Doesn't my Combat ARms hack work...
    By skittlezpwn43 in forum General Hacking
    Replies: 16
    Last Post: 03-10-2009, 12:31 AM
  5. Why doesn't the hack seem to work for me?
    By eric1850 in forum Combat Arms Hacks & Cheats
    Replies: 36
    Last Post: 10-13-2008, 05:54 PM