[SNIPPET] GetBonePosition from Actor

With this snippet you can read out the positions of bones in an actor!

Here are the bone-ids:
(picture not by me)

96C846.jpg



and heres the function:

Code:
{ 
GET BONE POSITION:
0AB1: call_scm_func @GET_BONE_POS 2 FROM_ACTOR $PLAYER_ACTOR BONE 6 _STORE_TO 1@ 2@ 3@  // HEAD 
}    
:GET_BONE_POS
0085: 10@ = 0@ // (int)
0085: 15@ = 1@ // (int)
1@ = 0.0 // X offset
2@ = 0.0 // Y offset {THX TO: WESSER}
3@ = 0.0 // Z offset
0A96: 0@ = actor 10@ struct
0AC7: 4@ = var 1@ offset
0AA6: call_method 0x5E01C0 struct 0@ num_params 3 pop 0 bIncludeAnim 1 iBoneID 15@ vOffset 4@ // CPed__getBonePositionWithOffset
0AB2: retn 3 1@ 2@ 3@

Its useful for lot of shits.. like making an Head Aimbot, Esp Hacks, and blabla..

Drawing a line from Head to foot:
Al3GEL348.png


ok bye
 

Attachments

  • Bones.jpg
    Bones.jpg
    185.8 KB · Views: 214

A$AP.cs

Well-known member
Joined
Apr 17, 2014
Messages
289
Reaction score
1
Location
Spain
Re: GetBonePosition from Actor

With that you can make auto headshot aimbot :urtheman:  :watchout:
 
Joined
Feb 18, 2005
Messages
2,965
Reaction score
271
Re: GetBonePosition from Actor

Opcode.eXe link said:
its useful for lot of shits.. like making an Head Aimbot, Esp Hacks, and blabla..
A$AP.cs link said:
With that you can make auto headshot aimbot :urtheman:  :watchout:

:imoverit:
 

A$AP.cs

Well-known member
Joined
Apr 17, 2014
Messages
289
Reaction score
1
Location
Spain
Re: GetBonePosition from Actor

springfield link said:
[quote author=Opcode.eXe link=topic=7067.msg39959#msg39959 date=1399126438]
its useful for lot of shits.. like making an Head Aimbot, Esp Hacks, and blabla..
A$AP.cs link said:
With that you can make auto headshot aimbot :urtheman:  :watchout:

:imoverit:
[/quote]
I didn't read actually  :fuck_yea:
 

Diablo

Active member
Joined
Apr 11, 2014
Messages
50
Reaction score
0
Re: GetBonePosition from Actor

and could someone make that aimbot? :D  :watchout:
 

Wut

Well-known member
Joined
Mar 1, 2013
Messages
338
Reaction score
1
Re: GetBonePosition from Actor

Diablo link said:
and could someone make that aimbot? :D  :watchout:
You're talking like making an aimbot takes like 5 mins... :eek:mg_run:
 

0x_

Wtf I'm not new....
Staff member
Administrator
Joined
Feb 18, 2013
Messages
1,123
Reaction score
174
Re: GetBonePosition from Actor

Fainoșag link said:
[quote author=Diablo link=topic=7067.msg39972#msg39972 date=1399129810]
and could someone make that aimbot? :D  :watchout:
You're talking like making an aimbot takes like 5 mins... :eek:mg_run:
[/quote]
Uhm it is like that, making an aimbot is not a hugh task.
 

Steezy

Active member
Joined
Jul 26, 2013
Messages
111
Reaction score
0
Re: GetBonePosition from Actor

Could someone post source of some aimbots?
I'd like to make a lag aimbot for 3z..
(Opcode's one is easy bustable, and much servers can detect it)
 

a10210319

Active member
Joined
Mar 21, 2014
Messages
38
Reaction score
0
Re: GetBonePosition from Actor

bone-ids Pictures have been damaged , can reupload?
 

0x_

Wtf I'm not new....
Staff member
Administrator
Joined
Feb 18, 2013
Messages
1,123
Reaction score
174
Re: GetBonePosition from Actor

Steezy link said:
Could someone post source of some aimbots?
I'd like to make a lag aimbot for 3z..
(Opcode's one is easy bustable, and much servers can detect it)
That means you not make it you more or less copy & paste it.

and here the Bone Picture:
96C846.jpg
 

blackHat

Expert
Joined
Jul 28, 2013
Messages
930
Reaction score
2
Re: GetBonePosition from Actor

Code:
0 - crashes the game
1 - spine 2
2 - head
3 - left upper arm
4 - right upper arm
5 - left hand
6 - right hand
7 - left thigh
8 - right thigh
9 - left foot
10 - right foot
11 - right calf
12 - left calf
13 - left fore arm
14 - right fore arm
15 - left clavicle
16 - right clavicle
17 - neck
18 - jaw
19 - crashes the game
 

Opcode.eXe

Expert
Joined
Feb 18, 2013
Messages
1,488
Reaction score
231
Location
( ͡° ͜ʖ ͡°)
Re: GetBonePosition from Actor

blackHat link said:
Code:
0 - crashes the game
1 - spine 2
2 - head
3 - left upper arm
4 - right upper arm
5 - left hand
6 - right hand
7 - left thigh
8 - right thigh
9 - left foot
10 - right foot
11 - right calf
12 - left calf
13 - left fore arm
14 - right fore arm
15 - left clavicle
16 - right clavicle
17 - neck
18 - jaw
19 - crashes the game
These ids are wrong! They are used to attach objects to the player body.
Anyways, i attached a picture with the ids on my first post.
 

blackHat

Expert
Joined
Jul 28, 2013
Messages
930
Reaction score
2
Re: GetBonePosition from Actor

Opcode.eXe link said:
[quote author=blackHat link=topic=7067.msg49669#msg49669 date=1406148624]
Code:
0 - crashes the game
1 - spine 2
2 - head
3 - left upper arm
4 - right upper arm
5 - left hand
6 - right hand
7 - left thigh
8 - right thigh
9 - left foot
10 - right foot
11 - right calf
12 - left calf
13 - left fore arm
14 - right fore arm
15 - left clavicle
16 - right clavicle
17 - neck
18 - jaw
19 - crashes the game
These ids are wrong! They are used to attach objects to the player body.
Anyways, i attached a picture with the ids on my first post.
[/quote]

I got it from some website , i think it is gta garage , why wrong ? Head is 2 right?, idk about the others..

Anyway thanks for the reupload
 

Opcode.eXe

Expert
Joined
Feb 18, 2013
Messages
1,488
Reaction score
231
Location
( ͡° ͜ʖ ͡°)
Re: GetBonePosition from Actor

blackHat link said:
[quote author=Opcode.eXe link=topic=7067.msg49672#msg49672 date=1406151553]
[quote author=blackHat link=topic=7067.msg49669#msg49669 date=1406148624]
Code:
0 - crashes the game
1 - spine 2
2 - head
3 - left upper arm
4 - right upper arm
5 - left hand
6 - right hand
7 - left thigh
8 - right thigh
9 - left foot
10 - right foot
11 - right calf
12 - left calf
13 - left fore arm
14 - right fore arm
15 - left clavicle
16 - right clavicle
17 - neck
18 - jaw
19 - crashes the game
These ids are wrong! They are used to attach objects to the player body.
Anyways, i attached a picture with the ids on my first post.
[/quote]

I got it from some website , i think it is gta garage , why wrong ? Head is 2 right?, idk about the others..

Anyway thanks for the reupload
[/quote]
As i told you: They are used to attach objects to the player body.
Head ID is 6, ID 2 is the stomach.
 

J16D

Member
Joined
Jul 27, 2014
Messages
6
Reaction score
0
Re: GetBonePosition from Actor

nice ;) this one only works in multiplayer? or it also works in singleplayer?

I always used this one;
Code:
0AB1: call_scm_func @GET_BONE_OFFSET 5 actor $PLAYER_ACTOR bone 6 offset 0.1 0.0 0.2 store_to 0@ 1@ 2@ 
:GET_BONE_OFFSET 
0A96: 0@ = actor 0@ struct 
0085: 5@ = 0@ // (int) 
000A: 5@ += 0x18 
0A8D: 5@ = read_memory 5@ size 4 virtual_protect 0 
0AA7: call_function 0x734A40 num_params 1 pop 1 5@ 5@ // _clumpGetFirstSkinAtomicHAnimHierarchy 
0012: 1@ *= 0x4 
000A: 1@ += 0x488 
005A: 1@ += 0@ // (int) 
0A8D: 1@ = read_memory 1@ size 4 virtual_protect 0 
000A: 1@ += 0x14 
0A8D: 1@ = read_memory 1@ size 4 virtual_protect 0 
0A8D: 7@ = read_memory 0x7C51E0 size 4 virtual_protect 1 
///////////////version_check///////////////
00D6: if 
0039: 7@ == 0x0424548B
then 
    0AA7: call_function 0x7C51E0 num_params 2 pop 2 1@ 5@ 1@ // _RpHAnimIDGetIndex 
    0AA7: call_function 0x7C5160 num_params 1 pop 1 5@ 5@ // _RpHAnimHierarchyGetMatrixArray 
    0012: 1@ *= 0x40 
    005A: 1@ += 5@ // (int) 
else
    0AA7: call_function 0x7C51A0 num_params 2 pop 2 1@ 5@ 1@ // _RpHAnimIDGetIndex
    0AA7: call_function 0x7C5120 num_params 1 pop 1 5@ 5@ // _RpHAnimHierarchyGetMatrixArray
    0012: 1@ *= 0x40 
    005A: 1@ += 5@ // (int) 
end
///////////////version_check///////////////
0A9F: 5@ = current_thread_pointer 
000A: 5@ += 0x44 
0AA5: call 0x54EEF0 num_params 4 pop 4 5@ 1@ 1 5@ // _transofrmPoints 
0AB2: ret 3 2@ 3@ 4@
list of bones;
Code:
Crashes the Game   = 0 
Chest              = 1 
Neck               = 2 
Left Shoulder      = 3 
Right Shoulder     = 4 
Left Hand          = 5 
Right Hand         = 6 
Root               = 7 
-                  = 8 
Left Foot          = 9 
Right Foot         = 10
Right Knee         = 11
-                  = 12
Left Elbow         = 13
Right Elbow        = 14
Left Clavicle      = 15
Right Clavicle     = 16
Back of Neck       = 17
Mouth or Chin      = 18
Crashes the Game   = 19
 

Child_

Active member
Joined
May 9, 2015
Messages
115
Reaction score
0
I was hoping if someone could really use this and turn it into a headshot aimbot some something like a random bullet shot, like 20% of the bullets don't hit em, the rest does hit his head, so it could be kinda undetectable

#Mod edit; this is a snippet section, if you don't have questions related to this snippet or want to add something new, don't post, don't beg, don't request shit.
 
Joined
Feb 18, 2005
Messages
2,965
Reaction score
271
Child_ said:
I was hoping if someone could really use this and turn it into a headshot aimbot some something like a random bullet shot, like 20% of the bullets don't hit em, the rest does hit his head, so it could be kinda undetectable

or do it yourself?

to aim use this http://ugbase.eu/Thread-AIM-AT-POSITION


now all you have to do is use logic and copy/paste.
 

rscaerzx

Member
Joined
May 2, 2013
Messages
8
Reaction score
2
Code:
1: BONE_PELVIS1
2: BONE_PELVIS
3: BONE_SPINE1
4: BONE_UPPERTORSO
5: BONE_NECK
6: BONE_HEAD2
7: BONE_HEAD1
8: BONE_HEAD
21: BONE_RIGHTUPPERTORSO
22: BONE_RIGHTSHOULDER
23: BONE_RIGHTELBOW
24: BONE_RIGHTWRIST
25: BONE_RIGHTHAND
26: BONE_RIGHTTHUMB
31: BONE_LEFTUPPERTORSO
32: BONE_LEFTSHOULDER
33: BONE_LEFTELBOW
34: BONE_LEFTWRIST
35: BONE_LEFTHAND
36: BONE_LEFTTHUMB
41: BONE_LEFTHIP
42: BONE_LEFTKNEE
43: BONE_LEFTANKLE
44: BONE_LEFTFOOT
51: BONE_RIGHTHIP
52: BONE_RIGHTKNEE
53: BONE_RIGHTANKLE
54: BONE_RIGHTFOOT

source: https://wiki.multitheftauto.com/wiki/GetPedBonePosition
 
Top