CLEO Help aim rotation angle

CLEO related
Status
Not open for further replies.

shanker

Well-known member
Joined
Sep 18, 2016
Messages
291
Reaction score
17
Location
Romania
@springfield, @Opcode.eXe

https://imgur.com/a/UQF4Gtx

O = target, when i'm on the drawn side, it looks more like a spin bot than a smooth, help

what i know is i have to put some conditions if the finalAngle <= UNKNOWN_VAL then finalAngle = UNKNOWN_VAL, right? 

[shcode=cpp]
0A8D: 0@ = read_memory 0xB6F258 size 4 virtual_protect 0 // CurrentAngle           
Actor.StorePos(30@, 2@, 3@, 4@)
call @EnemyAngle 2 XY: 2@ 3@ RetTo 4@ // AimbotAngle
0063: 4@ -= 0@  // (float)
0073: 4@ /= 6@ // (float)
005B: 4@ += 0@  // (float)
0A8C: write_memory 0xB6F258 size 4 value 4@ virtual_protect 0


:EnemyAngle
068D: get_camera_position_to 2@ 3@ 4@
0063: 0@ -= 2@
0063: 1@ -= 3@
0604: get_Z_angle_for_point 0@ 1@ store_to 2@
2@ -= 90.0
0017: 2@ /= 57.2957795
2@ += 0.04253 
ret 1 2@
[/shcode]

https://www.youtube.com/watch?v=mtwixfB-Qps&feature=youtu.be
 

Opcode.eXe

Expert
Joined
Feb 18, 2013
Messages
1,492
Reaction score
236
Location
( ͡° ͜ʖ ͡°)
It looks like it has something to do with 3.14 radian shiet? 2@ += 0.04253 is that your crosshair offset? Add it AFTER all the calculations.


wait.. how about you use degree instead of radian values? Just calculate them back to radians when setting the camera pos.
 

shanker

Well-known member
Joined
Sep 18, 2016
Messages
291
Reaction score
17
Location
Romania
[shcode=cpp]
4@ += 0.04253
0A8C: write_memory 0xB6F258 size 4 value 4@ virtual_protect 0
printf "%f" 51 4@
[/shcode]

now all sides are fcked :(((((
 

shanker

Well-known member
Joined
Sep 18, 2016
Messages
291
Reaction score
17
Location
Romania
Opcode.eXe said:
It is also possible that your smoothing bugs the aimbot, try it once without smoothing and see if it works

https://www.youtube.com/watch?v=Rm17gkddcFI&feature=youtu.be

without the smooth func

obs is something wrong between 3.14 ~ 4.75, i have to make some conditions here, i tried everything that went through my head, still nothing ....................

fck :fuck_yea: :fuck_yea: :fuck_yea: :fuck_yea: :fuck_yea:
 

Opcode.eXe

Expert
Joined
Feb 18, 2013
Messages
1,492
Reaction score
236
Location
( ͡° ͜ʖ ͡°)
The value should never be higher than 3.14159265359 and lower than -3.14159265359

I dont really know whats happening with your script. I dont have GTA SA / Sanny Builder anymore..

If you want a working aim snippet, go here: http://ugbase.eu/Thread-SNIPPET-AIM-AT-POSITION
 
Status
Not open for further replies.
Top