CLEO RELEASE Run or Sprint recorded path [0.3.7]

Mila.cs ✅

Well-Known Member
Joined
Jun 24, 2016
Messages
249
Likes
11
Points
48
Location
̀́̀́
#41
Schiggy said:
someone can make this without chat-spam?
Code:
{$CLEO}
                                               
Thread "BySpexx"      
wait 2000    

0B34: samp register_client_command ".play" to_label @Toggle
0B34: samp register_client_command ".stop" to_label @Restart
0AF0: [email protected] = get_int_from_ini_file "cleo\Paths\Options.ini" section "Options" key "sprint"

WHILE TRUE
   wait 0
       if
       [email protected] == true
       then
       [email protected] = 0      
       0A9A: [email protected] = openfile "CLEO\Paths\WalkPath.txt" mode "rb"
           0A9D: readfile [email protected] size 4 to [email protected]
           0A9D: readfile [email protected] size 4 to [email protected]
           0A9D: readfile [email protected] size 4 to [email protected]
           0AB1: call @char_goto 4 XYZ [email protected] [email protected] [email protected]  sprint [email protected]
           repeat
           wait 0    
           [email protected] = 0xB73458
           [email protected] += 0x20
           0A8C: write_memory [email protected] size 1 value 0 virtual_protect 0
           [email protected] = 0xB73458
           [email protected] += 0x3
           0A8C: write_memory [email protected] size 1 value 255 virtual_protect 0    
           [email protected] += 1                      
           if
           00ED:   actor $PLAYER_ACTOR sphere 0 near_point [email protected] [email protected] radius 1.0 1.0 on_foot
           then      
           // 0AF8: samp add_message_to_chat "[%d]Reading Path{00FF00} X %f {0000FF}Y %f {FF0000}Z %f" color -1 [email protected] [email protected] [email protected] [email protected]            
           0A9D: readfile [email protected] size 4 to [email protected]
           0A9D: readfile [email protected] size 4 to [email protected]
           0A9D: readfile [email protected] size 4 to [email protected]    
           0AB1: call @char_goto 4 XYZ [email protected] [email protected] [email protected]  sprint [email protected]                                
           end                      
           UNTIL 0AD6:   end_of_file [email protected] reached    
           0A9B: closefile [email protected]
       end
END

:Restart
Print "Stopped Path." 1000
wait 500
0A92: RESTART "WalkPath.CS"
004E: STOP THIS CLEO
samp.CmdRet()

:Toggle
if
[email protected] == true
then
[email protected] = false
else
[email protected] = true
Print "Following Path.." 1000
end
samp.CmdRet()

:char_goto
repeat
   wait 0
   00A0: store_actor $PLAYER_ACTOR position_to [email protected] [email protected] [email protected]
   0063: [email protected] -= [email protected]
   0063: [email protected] -= [email protected]
   0604: get_Z_angle_for_point [email protected] [email protected] store_to [email protected]
   005B: [email protected] += [email protected]
   005B: [email protected] += [email protected]
   [email protected] *= 0.01745
   0A96: [email protected] = actor $PLAYER_ACTOR struct
   [email protected] += 0x558
   0A8C: write_memory [email protected] size 4 value [email protected] virtual_protect 0
   if
       [email protected] == 0
   then
       [email protected] = 0xB73458
       [email protected] += 0x20
       0A8C: write_memory [email protected] size 1 value 0 virtual_protect 0
       [email protected] = 0xB73458
       [email protected] += 0x3
       0A8C: write_memory [email protected] size 1 value 255 virtual_protect 0
   else
       [email protected] = 0xB73458
       [email protected] += 0x20
       0A8C: write_memory [email protected] size 1 value 255 virtual_protect 0
       [email protected] = 0xB73458
       [email protected] += 0x3
       0A8C: write_memory [email protected] size 1 value 255 virtual_protect 0
   end                  
until 00ED: actor $PLAYER_ACTOR 0 near_point [email protected] [email protected] radius 0.5 0.5 on_foot
0AB2: ret 0
 

Parazitas

Well-Known Member
Joined
Jan 2, 2017
Messages
1,823
Likes
270
Points
113
Location
Lithuania
Website
ugbase.eu
20
#50
I working with my new project.
I making on foot record , which let you record : walk, sprint , pressed keys and maybe something else who knows.
This bot will be useful for jobs , where need go positions press keys and back .
Yes ! He have possibility record multiple paths.
 
Last edited:

PH-JC

Well-Known Member
Joined
Jan 11, 2020
Messages
54
Likes
2
Points
8
Location
Manila
#51
I working with my new project.
I making on foot record , which let you record : walk, sprint , pressed keys and maybe something else who knows.
This bot will be useful for jobs , where need go positions press keys and back .
Yes ! He have possibility record multiple paths.
did you already finished this project?
 

Parazitas

Well-Known Member
Joined
Jan 2, 2017
Messages
1,823
Likes
270
Points
113
Location
Lithuania
Website
ugbase.eu
20
#56
ok thank you i will wait for your project
Basically i never finished this project, because i get problems with camera rotation...
I found it in folder.
BR - Start Record
BP - Start play
BS - Stop Record or playing
This version also record key press and can record multiple path.
 

Attachments

PH-JC

Well-Known Member
Joined
Jan 11, 2020
Messages
54
Likes
2
Points
8
Location
Manila
#57
Basically i never finished this project, because i get problems with camera rotation...
I found it in folder.
BR - Start Record
BP - Start play
BS - Stop Record or playing
This version also record key press and can record multiple path.
ohhhhh dammn ok wait a minute i will test this thanks you
 

PH-JC

Well-Known Member
Joined
Jan 11, 2020
Messages
54
Likes
2
Points
8
Location
Manila
#59
Basically i never finished this project, because i get problems with camera rotation...
I found it in folder.
BR - Start Record
BP - Start play
BS - Stop Record or playing
This version also record key press and can record multiple path.
i have a question it is posible that the "ONVEHICLERECORDER.CS and ONFOOTRECORDER.CS" combined it together? because i work in game as `Trucker` everytime i delivered the goods im in the vehicle then after that i walk to pickup truck
 
Top