CLEO Help 0A25 misusage (?)

CLEO related
Status
Not open for further replies.

mpol77

Active member
Joined
Oct 24, 2018
Messages
66
Reaction score
6
-> 0AD2: 0@ = player $PLAYER_CHAR targeted_acto
-> 0AB1: @GET_BONE_POS 2 actor 0@ bone 8 XYZ: 1@ 2@ 3@ ( http://ugbase.eu/index.php?threads/snippet-getboneposition-from-actor.5405/ )
-> 0AB1: @AIM_AT_POS 4 XYZ: 1@ 2@ 3@ ADD_CAMERA_OFFSET 0.04253 ( http://ugbase.eu/index.php?threads/snippet-aim-at-position.14588/#post-85740 )

This works fine, but only on the horizontal axis, how come?

0A8D: 7@ = read_memory 0xB6F248 size 4 virtual_protect 0

Why is it using 0xB6F248 for the vertical axis though? It doesn't seem to work properly, either that or it's misused
 
Last edited:

mpol77

Active member
Joined
Oct 24, 2018
Messages
66
Reaction score
6
that'd be the angle i'm looking for, how to proceed exactly? (tryna aim on the head)
 

Attachments

  • 1591261230465.png
    1591261230465.png
    1.8 MB · Views: 21

ItsRobinson

Active member
Joined
Nov 16, 2017
Messages
105
Reaction score
20
Im not good with mathematics, I ain’t gonna lie. But, could you not use distance_between opcode if you have the top point and the bottom point? Will that not give you the distance between head and stomach for example?
 

Zin

Expert
Joined
Aug 1, 2013
Messages
1,719
Solutions
1
Reaction score
111
It's just that snippet doesn't do Y axis aim probably because when you shoot from roofs and shit you need a different Y which you might aswell adjust yourself (like what those sarg beggars where asking for).
ugbase.eu/index.php?threads/skin-aimbot-by-rscaerzx-wheel-aim.17521/
This is open source and has a XY "aim at pos" func.
 

Parazitas

God
Staff member
Joined
Jan 2, 2017
Messages
3,315
Solutions
7
Reaction score
935
Location
Lithuania
It's just that snippet doesn't do Y axis aim probably because when you shoot from roofs and shit you need a different Y which you might aswell adjust yourself (like what those sarg beggars where asking for).
100%
 
Status
Not open for further replies.
Top