Resource icon

Untagged Release Run or Sprint recorded path [0.3.7]

Status
Not open for further replies.

Spix

Well-known member
Joined
Sep 23, 2013
Messages
353
Reaction score
1
Hi im releasing this mod in beta stage, just want to know what you guys want to add and improve, if you like it.

So what is this mod:

It will allow you to record a route. After you recorded the route/path, you can loop it / your character will run the path repeatedly. 

Commands: 

/.rec                  - Starts recording your character.
/.stoprec            - When you're done type /.stoprec to save the path.

/.play                - Your character starts to follow the recorded path.
/.stop                - Makes your character stop follow the path.


Install: Put everything inside the cleo folder.


This mod is in Beta Stage which means you can only have one path saved at the time. You can quit the server then join a new server and the path is still saved.

Sincerely Spexx  :-/
 

Attachments

  • (beta)Record and Walkpath.rar
    15 KB · Views: 1,388

Spix

Well-known member
Joined
Sep 23, 2013
Messages
353
Reaction score
1
SpexxTr0n said:
Hi im releasing this mod in beta stage, just want to know what you guys want to add and improve, if you like it.

So what is this mod:

It will allow you to record a route. After you recorded the route/path, you can loop it / your character will run the path repeatedly. 

Commands: 

/.rec                  - Starts recording your character.
/.stoprec            - When you're done type /.stoprec to save the path.

/.play                - Your character starts to follow the recorded path.
/.stop                - Makes your character stop follow the path.


Install: Put everything inside the cleo folder.


This mod is in Beta Stage which means you can only have one path saved at the time. You can quit the server then join a new server and the path is still saved.

Sincerely Spexx  :-/

Yeah, crypted, test it ingame it will work.


0x32789 said:
When is it useful? it is useless

For now useless, but IF/when you're able to record commands also, it will be useful for RP servers when u do jobs onfoot. Like mining etc.
 

Fu$10N

Expert
Joined
Mar 5, 2014
Messages
1,101
Reaction score
9
Nice, gonna try and make a video about it :trollface:
 

SobFoX

Expert
Joined
Jul 14, 2015
Messages
1,391
Solutions
4
Reaction score
894
Location
Israel
Very nice, I would add that the system saves the recordings as well as examining everything you're doing all information you send to the server I was going that it will work on real-not Raknet for example, then it makes it so you can understand what that work
 
Joined
Feb 18, 2005
Messages
2,963
Reaction score
267
Oh, another mod by Spexx.
Let's see what is this.

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: 10@ = get_int_from_ini_file "cleo\Paths\Options.ini" section "Options" key "sprint"

WHILE TRUE
    wait 0
        if
        31@ == true
        then
        20@ = 0       
        0A9A: 22@ = openfile "CLEO\Paths\WalkPath.txt" mode "rb" 
            0A9D: readfile 22@ size 4 to 1@
            0A9D: readfile 22@ size 4 to 2@
            0A9D: readfile 22@ size 4 to 3@ 
            0AB1: call @char_goto 4 XYZ 1@ 2@ 3@  sprint 10@ 
            repeat
            wait 0     
            4@ = 0xB73458
            4@ += 0x20
            0A8C: write_memory 4@ size 1 value 0 virtual_protect 0
            4@ = 0xB73458
            4@ += 0x3
            0A8C: write_memory 4@ size 1 value 255 virtual_protect 0     
            20@ += 1                       
            if
            00ED:   actor $PLAYER_ACTOR sphere 0 near_point 1@ 2@ 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 20@ 1@ 2@ 3@             
            0A9D: readfile 22@ size 4 to 1@
            0A9D: readfile 22@ size 4 to 2@
            0A9D: readfile 22@ size 4 to 3@    
            0AB1: call @char_goto 4 XYZ 1@ 2@ 3@  sprint 10@                                
            end                      
            UNTIL 0AD6:   end_of_file 22@ reached     
            0A9B: closefile 22@ 
        end
END

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

:Toggle
if
31@ == true
then
31@ = false
else
31@ = true
Print "Following Path.." 1000
end
samp.CmdRet()

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

Oh, but what is this? You stole parts from opcode's vehicle path recorder and used a function by russian scripter gcode.
I see your keyboard, especially the C and P keys are going strong. Good job.
 

Spix

Well-known member
Joined
Sep 23, 2013
Messages
353
Reaction score
1
Qiffrox said:
you should disable chatprint coord

Its only beta version for testing.


springfield said:
Oh, another mod by Spexx.
Let's see what is this.

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: 10@ = get_int_from_ini_file "cleo\Paths\Options.ini" section "Options" key "sprint"

WHILE TRUE
    wait 0
        if
        31@ == true
        then
        20@ = 0       
        0A9A: 22@ = openfile "CLEO\Paths\WalkPath.txt" mode "rb" 
            0A9D: readfile 22@ size 4 to 1@
            0A9D: readfile 22@ size 4 to 2@
            0A9D: readfile 22@ size 4 to 3@ 
            0AB1: call @char_goto 4 XYZ 1@ 2@ 3@  sprint 10@ 
            repeat
            wait 0     
            4@ = 0xB73458
            4@ += 0x20
            0A8C: write_memory 4@ size 1 value 0 virtual_protect 0
            4@ = 0xB73458
            4@ += 0x3
            0A8C: write_memory 4@ size 1 value 255 virtual_protect 0     
            20@ += 1                       
            if
            00ED:   actor $PLAYER_ACTOR sphere 0 near_point 1@ 2@ 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 20@ 1@ 2@ 3@             
            0A9D: readfile 22@ size 4 to 1@
            0A9D: readfile 22@ size 4 to 2@
            0A9D: readfile 22@ size 4 to 3@    
            0AB1: call @char_goto 4 XYZ 1@ 2@ 3@  sprint 10@                                
            end                      
            UNTIL 0AD6:   end_of_file 22@ reached     
            0A9B: closefile 22@ 
        end
END

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

:Toggle
if
31@ == true
then
31@ = false
else
31@ = true
Print "Following Path.." 1000
end
samp.CmdRet()

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

Oh, but what is this? You stole parts from opcode's vehicle path recorder and used a function by russian scripter gcode.
I see your keyboard, especially the C and P keys are going strong. Good job.

Yeah you can see my keyboard, but i can't see your dick  :looky:
Stole parts? You don't know opcode database here springfield you may try it:  http://gtag.gtagaming.com/opcode-database/

It's a snippet also here: https://en.wikipedia.org/wiki/Snippet_(programming)


Fu$10N said:
Nice, gonna try and make a video about it :trollface:

Link to channel!!  :somuchwin:
 
Joined
Feb 18, 2005
Messages
2,963
Reaction score
267
SpexxTr0n said:
Yeah you can see my keyboard, but i can't see your dick  :looky:
Stole parts? You don't know opcode database here springfield you may try it:  http://gtag.gtagaming.com/opcode-database/

It's a snippet also here: https://en.wikipedia.org/wiki/Snippet_(programming)

You can tell because, "UNTIL 0AD6:   end_of_file 22@ reached" you don't use directives in capslock never, but here you did, cause that's how opcode's cleo source code was.

And don't give me that shit, cause you're too stupid to think even simple stuff like this, this is not made by you, you're a piece of shit. 

So when 99% of the script is not made by you, give credits, even if snippets are used. Next time, you'll be permanent banned.

SpexxTr0n said:
There is nothing about giving credit by using snippets - http://ugbase.eu/Thread-General-UGBASE-EU-Rules 
So you cant permanent ban me for that lol.

[font='Source Sans Pro', Tahoma, 'Helvetica Neue', Arial, sans-serif]2.7.1. If you release something on our forums, please aware of the creator and credit them   properly – no one likes nasty stealers.[/font]

[font='Source Sans Pro', Tahoma, 'Helvetica Neue', Arial, sans-serif]Like i said, when over 95% of the mod is made by someone else you need to provide credits. And not claim other works as yours.[/font]
 

Spix

Well-known member
Joined
Sep 23, 2013
Messages
353
Reaction score
1
springfield said:
SpexxTr0n said:
Yeah you can see my keyboard, but i can't see your dick  :looky:
Stole parts? You don't know opcode database here springfield you may try it:  http://gtag.gtagaming.com/opcode-database/

It's a snippet also here: https://en.wikipedia.org/wiki/Snippet_(programming)

You can tell because, "UNTIL 0AD6:   end_of_file 22@ reached" you don't use directives in capslock never, but here you did, cause that's how opcode's cleo source code was.

And don't give me that shit, cause you're too stupid to think even simple stuff like this, this is not made by you, you're a piece of shit. 

So when 99% of the script is not made by you, give credits, even if snippets are used. Next time, you'll be permanent banned.

There is nothing about giving credit by using snippets - http://ugbase.eu/Thread-General-UGBASE-EU-Rules 
So you cant permanent ban me for that lol.


And i also copied the "END" in the end because big letters hahah?


springfield said:
SpexxTr0n said:
There is nothing about giving credit by using snippets - http://ugbase.eu/Thread-General-UGBASE-EU-Rules 
So you cant permanent ban me for that lol.

[font='Source Sans Pro', Tahoma, 'Helvetica Neue', Arial, sans-serif]2.7.1. If you release something on our forums, please aware of the creator and credit them   properly – no one likes nasty stealers.[/font]

[font='Source Sans Pro', Tahoma, 'Helvetica Neue', Arial, sans-serif]Like i said, when over 95% of the mod is made by someone else you need to provide credits. And not claim other works as yours.[/font]

Why do you delete my post and just quote a small part of it?
 
Status
Not open for further replies.
Top