Results 1 to 4 of 4
  1. #1
    abbygupta27's Avatar
    Join Date
    Jun 2015
    Gender
    male
    Posts
    8
    Reputation
    10
    Thanks
    0

    help me in finding bone matrix please

    please help me
    John Kittz
    DWORD x=getpid("Counter-Strike: Global Offensive");
    HANDLE y=gethproc(x);
    int client=getmod(x,"client.dll");
    int LocalPlayer=read<int>(y,client+oLocalPlayer);
    int EntityList=read<int>(y,client+oEntityList+0x10);
    int botbonebase=read<int>(y,EntityList+0x2698);

    while(true){
    cout<<"x-cord="<<read<float>(y,botbonebase + (0x30 * 10 + 0xC))<<endl;
    cout<<"y-cord="<<read<float>(y,botbonebase + (0x30 * 10 + 0x1C))<<endl;
    cout<<"z-cord="<<read<float>(y,botbonebase + (0x30 * 10 + 0x2C))<<endl;
    Sleep(1000);
    system("cls");
    }



    this is the code i am debuging i have 1 bot in my server whose entity list is (client+oEntityList+0x10 )so i created baseb******** (EntityList+0x2698)
    now when i run this code this does not give bone position of that BOT please help me to find bone cord

  2. #2
    KMWTW's Avatar
    Join Date
    Nov 2015
    Gender
    male
    Location
    www.learncpp.com
    Posts
    2,466
    Reputation
    321
    Thanks
    14,450
    My Mood
    Blah
    Code:
    while(true){
    cout<<"x-cord="<<read<float>(y,botbonebase + (0x30 * 10 + 0xC))<<endl;
    cout<<"y-cord="<<read<float>(y,botbonebase + (0x30 * 10 + 0x1C))<<endl;
    cout<<"z-cord="<<read<float>(y,botbonebase + (0x30 * 10 + 0x2C))<<endl;
    Sleep(1000);
    system("cls");
    }
    WTF
    use vectors
    Code:
    	Vector GetBonePosition(int boneId);

    Code:
    Vector Player::GetBonePosition(int boneId)
    {
    	Vector bone;
    	DWORD boneMatrix = Mem->Read<DWORD>(BaseAddr + Offsets::boneMatrix);
    
    	bone.x = Mem->Read<float>(boneMatrix + (0x30 * boneId) + 0x0C);
    	bone.y = Mem->Read<float>(boneMatrix + (0x30 * boneId) + 0x1C);
    	bone.z = Mem->Read<float>(boneMatrix + (0x30 * boneId) + 0x2C);
    	return bone;
    }
    it's so fck easy to make bro
    Last edited by KMWTW; 06-26-2017 at 09:08 AM.

  3. #3
    eth0s's Avatar
    Join Date
    Oct 2015
    Gender
    male
    Posts
    188
    Reputation
    10
    Thanks
    1,887
    Quote Originally Posted by MaGicSuR View Post
    Code:
    while(true){
    cout<<"x-cord="<<read<float>(y,botbonebase + (0x30 * 10 + 0xC))<<endl;
    cout<<"y-cord="<<read<float>(y,botbonebase + (0x30 * 10 + 0x1C))<<endl;
    cout<<"z-cord="<<read<float>(y,botbonebase + (0x30 * 10 + 0x2C))<<endl;
    Sleep(1000);
    system("cls");
    }
    WTF
    use vectors
    Code:
    	Vector GetBonePosition(int boneId);

    Code:
    Vector Player::GetBonePosition(int boneId)
    {
    	Vector bone;
    	DWORD boneMatrix = Mem->Read<DWORD>(BaseAddr + Offsets::boneMatrix);
    
    	bone.x = Mem->Read<float>(boneMatrix + (0x30 * boneId) + 0x0C);
    	bone.y = Mem->Read<float>(boneMatrix + (0x30 * boneId) + 0x1C);
    	bone.z = Mem->Read<float>(boneMatrix + (0x30 * boneId) + 0x2C);
    	return bone;
    }
    it's so fck easy to make bro
    bad code, stop calling readprocessmemory too many times

    Code:
    struct BoneInfo_t
    {
    	char __pad0x0[0xA];
    	float x;
    	char __pad0x10[0xA];
    	float y;
    	char __pad0x20[0xA];
    	float z;
    };
    
    BoneInfo_t bone_info = read(bonematrix + 0x30 * boneId);
    
    bone.x = bone_info.x;
    bone.y = bone_info.y;
    bone_z = bone_info.z;
    i assume this works
    Last edited by eth0s; 06-26-2017 at 10:40 AM.

  4. #4
    abbygupta27's Avatar
    Join Date
    Jun 2015
    Gender
    male
    Posts
    8
    Reputation
    10
    Thanks
    0
    thanks for the help guys

Similar Threads

  1. [Help] help me in finding bone matrix please
    By abbygupta27 in forum C++/C Programming
    Replies: 3
    Last Post: 07-17-2017, 01:57 AM
  2. Help me find this hat please!!
    By Tuuuuan in forum General
    Replies: 13
    Last Post: 11-02-2016, 07:59 PM
  3. some 1 help me to find war commander hack please :)
    By zokofire in forum Social Game Hacks & Trainers
    Replies: 0
    Last Post: 10-18-2012, 06:38 PM
  4. [Solved] I Need Help Finding A MultiClient Please Help!
    By enzify in forum CrossFire Help
    Replies: 2
    Last Post: 07-07-2012, 09:19 PM
  5. [Solved] Help Me Find A Console? please?
    By kill11 in forum Vindictus Help
    Replies: 4
    Last Post: 09-18-2011, 10:11 AM