CLEO Help Editing HitBox marker

CLEO related
Status
Not open for further replies.

ziddang

Active member
Joined
Apr 3, 2013
Messages
33
Reaction score
0
which part of the script should i change to make the box bigger?
Code:
// This file was decompiled using sascm.ini published by Seemann (http://sannybuilder.com/files/SASCM.rar) on 13.10.2007

{$VERSION 3.1.0027}
{$CLEO .cs}

//-------------MAIN---------------
thread "PingPoint" 
0662: NOP "Made by FYP" 
03F0: enable_text_draw 1 
if 
0@ = SAMP.Base()
else_jump @PINGPOINT_50 
0A93: end_custom_thread 

:PINGPOINT_50
   not SAMP.Available
else_jump @PINGPOINT_71 
wait 400 
jump @PINGPOINT_50 

:PINGPOINT_71
wait 0 
if 
   Player.Defined(0)
else_jump @PINGPOINT_687 
if 
0AB0:   key_pressed 187 
else_jump @PINGPOINT_136 
25@ = 1 

:PINGPOINT_113
0AB0:   key_pressed 187 
else_jump @PINGPOINT_136 
wait 20 
jump @PINGPOINT_113 

:PINGPOINT_136
if 
0AB0:   key_pressed 189 
else_jump @PINGPOINT_182 
25@ = 0 

:PINGPOINT_159
0AB0:   key_pressed 189 
else_jump @PINGPOINT_182 
wait 20 
jump @PINGPOINT_159 

:PINGPOINT_182
if 
   not 25@ == 0 
else_jump @PINGPOINT_687 
1@ = 0 

:PINGPOINT_207
if 
   SAMP.IsPlayerConnected(1@)
else_jump @PINGPOINT_665 
if 
2@ = SAMP.GetActorHandleByPlayerID(1@)
else_jump @PINGPOINT_665 
if 
02CB:   actor 2@ bounding_sphere_visible 
else_jump @PINGPOINT_665 
if 
   not Actor.Driving(2@)
else_jump @PINGPOINT_346 
0A96: 6@ = actor 2@ struct 
6@ += 68 
0A8D: 3@ = read_memory 6@ size 4 virtual_protect 0 
6@ += 4 
0A8D: 4@ = read_memory 6@ size 4 virtual_protect 0 
6@ += 4 
0A8D: 5@ = read_memory 6@ size 4 virtual_protect 0 
jump @PINGPOINT_419 

:PINGPOINT_346
6@ = Actor.Car(2@)
0A97: 6@ = car 6@ struct 
6@ += 68 
0A8D: 3@ = read_memory 6@ size 4 virtual_protect 0 
6@ += 4 
0A8D: 4@ = read_memory 6@ size 4 virtual_protect 0 
6@ += 4 
0A8D: 5@ = read_memory 6@ size 4 virtual_protect 0 

:PINGPOINT_419
Actor.StorePos(2@, 6@, 7@, 8@)
9@ = SAMP.GetPlayerPing(1@)
11@ = SAMP.GetSAMPPlayerIDByActorHandle($PLAYER_ACTOR)
10@ = SAMP.GetPlayerPing(11@)
005A: 9@ += 10@ // (int) 
0093: 10@ = integer 9@ to_float 
0AD1: show_formatted_text_highpriority "%d: %d" 100 1@ 9@  
12@ = 17.0 
12@ /= 360.0 
006B: 3@ *= 12@ // (float) 
006B: 4@ *= 12@ // (float) 
006B: 5@ *= 12@ // (float) 
006B: 3@ *= 10@ // (float) 
006B: 4@ *= 10@ // (float) 
006B: 5@ *= 10@ // (float) 
005B: 6@ += 3@ // (float) 
005B: 7@ += 4@ // (float) 
005B: 8@ += 5@ // (float) 
0AB1: call_scm_func @PINGPOINT_694 3 6@ 7@ 8@ 6@ 7@ 
038E: draw_box_position 6@ 7@ size 10.0 10.0 RGBA 0 50 155 200 
038E: draw_box_position 6@ 7@ size 3.0 3.0 RGBA 255 0 0 200 

:PINGPOINT_665
1@ += 1 
  1@ > 1000 
else_jump @PINGPOINT_207 

:PINGPOINT_687
jump @PINGPOINT_71 

:PINGPOINT_694
0AB1: call_scm_func @PINGPOINT_922 1 0 12@ 
0AB1: call_scm_func @PINGPOINT_922 1 3 13@ 
0AB1: call_scm_func @PINGPOINT_922 1 6 14@ 
0AB1: call_scm_func @PINGPOINT_922 1 9 15@ 
0AA5: call 7392816 6 pop 6 0 0 15@ 14@ 13@ 12@ 
0AB1: call_scm_func @PINGPOINT_815 2 3@ 4@ 3@ 4@ 
0AB2: ret 2 3@ 4@ 

:PINGPOINT_815
2@ = 640.0 
0A8D: 4@ = read_memory 12677188 size 4 virtual_protect 0 
0093: 4@ = integer 4@ to_float 
0073: 2@ /= 4@ // (float) 
006B: 0@ *= 2@ // (float) 
3@ = 448.0 
0A8D: 5@ = read_memory 12677192 size 4 virtual_protect 0 
0093: 5@ = integer 5@ to_float 
0073: 3@ /= 5@ // (float) 
006B: 1@ *= 3@ // (float) 
0AB2: ret 2 0@ 1@ 

:PINGPOINT_922
0A9F: 1@ = current_thread_pointer 
0@ *= 4 
0A8E: 2@ = 1@ + 220 // int 
if 
  2@ == 1 
else_jump @PINGPOINT_980 
0@ += 10783072 
jump @PINGPOINT_995 

:PINGPOINT_980
005A: 0@ += 1@ // (int) 
0@ += 60 

:PINGPOINT_995
0AB2: ret 1 0@
 

xzytro

God
Joined
Apr 1, 2013
Messages
2,294
Reaction score
7
038E: draw_box_position 6@ 7@ size 10.0 10.0 RGBA 0 50 155 200
038E: draw_box_position 6@ 7@ size 3.0 3.0 RGBA 255 0 0 200
 

ziddang

Active member
Joined
Apr 3, 2013
Messages
33
Reaction score
0
038E: draw_box_position 6@ 7@ size 10.0 10.0 RGBA 0 50 155 200
038E: draw_box_position 6@ 7@ size 3.0 3.0 RGBA 255 0 0 200

after changing it to

038E: draw_box_position 6@ 7@ size 20.0 20.0 RGBA 0 50 155 200
038E: draw_box_position 6@ 7@ size 6.0 6.0 RGBA 255 0 0 200

and compiled

the cleo stopped working.
 

Roughneck.

Active member
Joined
Aug 3, 2013
Messages
32
Reaction score
0
would also like the size of the box .. so if anybody knows ...

sry for pushing old thread but its better than creating my own :) :):)
 
Status
Not open for further replies.
Top