help me in finding bone matrix please

Posts 1–4 of 4 · Page 1 of 1
help me in finding bone matrix please
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 how to get bone position
thank you
Quote Originally Posted by abbygupta27 View Post
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); // you are using a framework or another library?
you are using a framework or another library?, anyway you mean Pitch and Yaw?
Quote Originally Posted by abbygupta27 View Post
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 how to get bone position
thank you
1. Check your offsets they look wrong
2. Local Player is a DWORD, not an int. Also you are not even iterating the Entity List
3. Put all read statements in the loop
4. Don't cout a read statement directly and don't use system()
5. learncpp.com
use enum for offsets
Posts 1–4 of 4 · Page 1 of 1

Post a Reply

Similar Threads

Tags for this Thread

None

Talk with us