Jump to content

How to protect my cleo ? sa


nagacuga

Recommended Posts

Why would you want to ??

 

why would

why would

why would

Link to comment
Share on other sites

Why would you want to ??

 

why would

why would

why would

I guess he has private mods in there which are concealed to the outside world 0_0...

Link to comment
Share on other sites

Eh, my opinion on this is that if you don't want other folks to access and/or modify your code you should simply refrain from releasing it.

Link to comment
Share on other sites

There isn't any reason to protect non-commercial codes. Methods are vary but useless. Leave it open source. bored.gif

Link to comment
Share on other sites

Ok ok Thank for answer

next question

 

sorry for my bad english and im beginner for cleo script

 

why i cant modify this cleo

 

 

03A4: name_thread "ZERO"

 

:ZERO_8

0001: wait 0 ms

00D6: if and

0AB0: key_pressed 85

0AB0: key_pressed 79

00DF: actor $PLAYER_ACTOR driving

004D: jump_if_false @ZERO_8

0001: wait 0 ms

03C0: 25@ = actor $PLAYER_ACTOR car

00A0: store_actor $PLAYER_ACTOR position_to 0@ 1@ 2@

00A0: store_actor $PLAYER_ACTOR position_to 29@ 28@ 27@

0007: 3@ = 100000.0

0050: gosub @ZERO_315

00D6: if

056D: actor 9@ defined

004D: jump_if_false @ZERO_8

0172: 24@ = actor $PLAYER_ACTOR Z_angle

02E3: 23@ = car 25@ speed

03C0: 30@ = actor 9@ car

036A: put_actor $PLAYER_ACTOR in_car 30@

0224: set_car 30@ health_to 1000

07D5: set_car 30@ velocity_in_direction_XYZ 0.7 0.7 1.0 rotation_velocitiesXY 0.0 0.0 unk 0.0

07DA: set_car 30@ rotation_velocity_XYZ 10.0 10.0 10.0 through_center_of_body

07DB: set_car 30@ rotation_velocity_XYZ 10.0 10.0 10.0 through_center_of_mass

0001: wait 150 ms

018C: play_sound 1056 at 0.0 0.0 0.0

00D6: if

056E: car 25@ defined

004D: jump_if_false @ZERO_290

036A: put_actor $PLAYER_ACTOR in_car 25@

02EB: restore_camera_with_jumpcut

04BA: set_car 25@ speed_to 23@

0002: jump @ZERO_8

 

:ZERO_290

0001: wait 0 ms

0362: remove_actor $PLAYER_ACTOR from_car_and_place_at 29@ 28@ 27@

0002: jump @ZERO_8

 

:ZERO_315

0395: clear_area 1 at 0@ 1@ 2@ radius 100000.0

0006: 16@ = 305868

0006: 5@ = -717

0006: 6@ = 1988

0002: jump @ZERO_470

0006: 16@ = 305871

0006: 17@ = -760

0006: 20@ = 412

0006: 16@ = 305869

0006: 17@ = -772

0006: 18@ = -1

0006: 20@ = 2584

0256: player $PLAYER_CHAR defined

004D: jump_if_false @ZERO_470

00DF: actor $PLAYER_ACTOR driving

004D: jump_if_false @ZERO_470

03C0: 18@ = actor $PLAYER_ACTOR car

0002: jump @ZERO_470

 

:ZERO_470

008B: 16@ = &0(16@,1i) // (int)

0AB1: call_scm_func @ZERO_885 2 16@ 8 7@

0A8D: 11@ = read_memory 16@ size 4 virtual_protect 0

0006: 9@ = -1

0006: 10@ = 0

 

:ZERO_526

0AB1: call_scm_func @ZERO_885 2 11@ 20 4@

8039: not 4@ == 0

004D: jump_if_false @ZERO_853

0AB1: call_scm_func @ZERO_885 2 4@ 48 12@

0AB1: call_scm_func @ZERO_885 2 4@ 52 13@

0AB1: call_scm_func @ZERO_885 2 4@ 56 14@

050A: 15@ = distance_between_XYZ 0@ 1@ 2@ and_XYZ 12@ 13@ 14@

0025: 3@ > 15@ // (float)

004D: jump_if_false @ZERO_853

0085: 9@ = 10@ // (int)

0AB1: call_scm_func @ZERO_885 2 16@ 4 4@

005A: 4@ += 9@ // (int)

0A8D: 4@ = read_memory 4@ size 1 virtual_protect 0

0012: 9@ *= 256

005A: 9@ += 4@ // (int)

0002: jump 5@

056D: actor 9@ defined

004D: jump_if_false @ZERO_815

00D6: if or

003C: $PLAYER_ACTOR == 9@ // (int)

0118: actor 9@ dead

004D: jump_if_false @ZERO_829

0002: jump @ZERO_815

83CA: not object 9@ exists

004D: jump_if_false @ZERO_829

056E: car 9@ defined

004D: jump_if_false @ZERO_815

00D6: if or

003B: 18@ == 9@ // (int)

0119: car 9@ wrecked

004D: jump_if_false @ZERO_829

0002: jump @ZERO_815

 

:ZERO_815

0006: 9@ = -1

0002: jump @ZERO_853

 

:ZERO_829

00D6: if

00DF: actor 9@ driving

004D: jump_if_false @ZERO_815

0085: 3@ = 15@ // (int)

 

:ZERO_853

005A: 11@ += 6@ // (int)

000A: 10@ += 1

002D: 10@ >= 7@ // (int)

004D: jump_if_false @ZERO_526

0051: return

 

:ZERO_885

0A8E: 0@ = 0@ + 1@ // int

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

0AB2: ret 1 0@

 

for

how to modifly it i want to know

07D5: set_car 30@ velocity_in_direction_XYZ 0.7 0.7 1.0 rotation_velocitiesXY 0.0 0.0 unk 0.0

07DA: set_car 30@ rotation_velocity_XYZ 10.0 10.0 10.0 through_center_of_body

07DB: set_car 30@ rotation_velocity_XYZ 10.0 10.0 10.0 through_center_of_mass

 

how to modifly it i want to know

 

next question

 

and How to open some cleo script if it is Protected

 

such as

 

Mark and Execute

 

it alway Show this "Unknown opcode 6F43 at offset 3857"

 

why it alway show this

 

Why??

Why??

Why??

 

 

 

Link to comment
Share on other sites

 

how to modifly it i want to know

Read tutorials, and from that point on it's trial-and-error using the knowledge you've acquired.

23088_s.gif

Link to comment
Share on other sites

 

it alway Show this "Unknown opcode 6F43 at offset 3857"

On the top toolbar, hold your mouse over the icon that says "debug options" at the end of the row. Check "IGNORE_UNKNOWN" and open the file again.

pkmTc.gif

Link to comment
Share on other sites

 

why i cant download the newest opcode database

 

Download Latest .ini

 

Download Latest opcodes.txt

how to download

Link to comment
Share on other sites

Do not double-post or post multiple times in a row. Use the EDIT button at the top-right corner of your post.

 

user posted image

 

 

Where the icon that says "debug options" i cant see

user posted image

 

 

how to download

Smash your head on your keyboard repeatedly as I am doing right now. facedesk.gif

23088_s.gif

Link to comment
Share on other sites

i dont have any toollbar like you

can i press ctrl + ~ and toggle DEBUG_MODE then toggle IGNORE_UNKOWN

 

But i do it but it still cant open this cleo script it always show "Unknown opcode 6F43 at offset 3857"

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • 1 User Currently Viewing
    0 members, 0 Anonymous, 1 Guest

×
×
  • Create New...

Important Information

By using GTAForums.com, you agree to our Terms of Use and Privacy Policy.