[SNIPPET] GetBonePosition from Actor

Opcode.eXe

Well-Known Member
Joined
Feb 18, 2013
Messages
1,318
Likes
63
Points
98
Location
( ͡° ͜ʖ ͡°)
Website
www.youtube.com
10
#1
With this snippet you can read out the positions of bones in an actor!

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




and heres the function:

Code:
{ 
GET BONE POSITION:
0AB1: call_scm_func @GET_BONE_POS 2 FROM_ACTOR $PLAYER_ACTOR BONE 6 _STORE_TO [email protected] [email protected] [email protected]  // HEAD 
}    
:GET_BONE_POS
0085: [email protected] = [email protected] // (int)
0085: [email protected] = [email protected] // (int)
[email protected] = 0.0 // X offset
[email protected] = 0.0 // Y offset {THX TO: WESSER}
[email protected] = 0.0 // Z offset
0A96: [email protected] = actor [email protected] struct
0AC7: [email protected] = var [email protected] offset
0AA6: call_method 0x5E01C0 struct [email protected] num_params 3 pop 0 bIncludeAnim 1 iBoneID [email protected] vOffset [email protected] // CPed__getBonePositionWithOffset
0AB2: retn 3 [email protected] [email protected] [email protected]
Its useful for lot of shits.. like making an Head Aimbot, Esp Hacks, and blabla..

Drawing a line from Head to foot:
http://i.ugbase.eu/up/Al3GEL348.png

ok bye
 

Attachments

A$AP.cs

Well-Known Member
Joined
Apr 17, 2014
Messages
284
Likes
0
Points
16
10
#2
Re: GetBonePosition from Actor

With that you can make auto headshot aimbot :urtheman:  :watchout:
 

A$AP.cs

Well-Known Member
Joined
Apr 17, 2014
Messages
284
Likes
0
Points
16
10
#4
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

Well-Known Member
Joined
Apr 11, 2014
Messages
50
Likes
0
Points
6
5
#5
Re: GetBonePosition from Actor

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

Wut

Well-Known Member
Joined
Mar 1, 2013
Messages
338
Likes
0
Points
66
#6
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:
 

0x688

Wtf I'm not new....
Staff member
Administrator
Joined
Feb 18, 2013
Messages
1,047
Likes
27
Points
98
#7
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

Well-Known Member
Joined
Jul 26, 2013
Messages
111
Likes
0
Points
66
#8
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)
 

0x688

Wtf I'm not new....
Staff member
Administrator
Joined
Feb 18, 2013
Messages
1,047
Likes
27
Points
98
#10
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: http://i.san-mp.de/i/96C846.jpg
 

blackHat

Well-Known Member
Joined
Jul 28, 2013
Messages
931
Likes
0
Points
66
#11
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
 
OP
OP
Opcode.eXe

Opcode.eXe

Well-Known Member
Joined
Feb 18, 2013
Messages
1,318
Likes
63
Points
98
Location
( ͡° ͜ʖ ͡°)
Website
www.youtube.com
10
#12
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

Well-Known Member
Joined
Jul 28, 2013
Messages
931
Likes
0
Points
66
#13
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
 
OP
OP
Opcode.eXe

Opcode.eXe

Well-Known Member
Joined
Feb 18, 2013
Messages
1,318
Likes
63
Points
98
Location
( ͡° ͜ʖ ͡°)
Website
www.youtube.com
10
#14
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.
 
Joined
Jul 27, 2014
Messages
6
Likes
0
Points
1
1
#15
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 [email protected] [email protected] [email protected] 
:GET_BONE_OFFSET 
0A96: [email protected] = actor [email protected] struct 
0085: [email protected] = [email protected] // (int) 
000A: [email protected] += 0x18 
0A8D: [email protected] = read_memory [email protected] size 4 virtual_protect 0 
0AA7: call_function 0x734A40 num_params 1 pop 1 [email protected] [email protected] // _clumpGetFirstSkinAtomicHAnimHierarchy 
0012: [email protected] *= 0x4 
000A: [email protected] += 0x488 
005A: [email protected] += [email protected] // (int) 
0A8D: [email protected] = read_memory [email protected] size 4 virtual_protect 0 
000A: [email protected] += 0x14 
0A8D: [email protected] = read_memory [email protected] size 4 virtual_protect 0 
0A8D: [email protected] = read_memory 0x7C51E0 size 4 virtual_protect 1 
///////////////version_check///////////////
00D6: if 
0039: [email protected] == 0x0424548B
then 
    0AA7: call_function 0x7C51E0 num_params 2 pop 2 [email protected] [email protected] [email protected] // _RpHAnimIDGetIndex 
    0AA7: call_function 0x7C5160 num_params 1 pop 1 [email protected] [email protected] // _RpHAnimHierarchyGetMatrixArray 
    0012: [email protected] *= 0x40 
    005A: [email protected] += [email protected] // (int) 
else
    0AA7: call_function 0x7C51A0 num_params 2 pop 2 [email protected] [email protected] [email protected] // _RpHAnimIDGetIndex
    0AA7: call_function 0x7C5120 num_params 1 pop 1 [email protected] [email protected] // _RpHAnimHierarchyGetMatrixArray
    0012: [email protected] *= 0x40 
    005A: [email protected] += [email protected] // (int) 
end
///////////////version_check///////////////
0A9F: [email protected] = current_thread_pointer 
000A: [email protected] += 0x44 
0AA5: call 0x54EEF0 num_params 4 pop 4 [email protected] [email protected] 1 [email protected] // _transofrmPoints 
0AB2: ret 3 [email protected] [email protected] [email protected]
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_

Well-Known Member
Joined
May 9, 2015
Messages
115
Likes
0
Points
16
10
#16
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.
 

springfield

Well-Known Member
Staff member
Joined
Feb 18, 2005
Messages
2,935
Likes
22
Points
88
Website
www.ugbase.eu
#17
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.
 
Joined
May 2, 2013
Messages
8
Likes
0
Points
1
1
#19
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