|
 |
|
|
|
|
|
GTA Modification Forums
CLEO Question - Help Please
 |
|
 |
| |
oksa8  |
Posted: Thursday, Jun 7 2012, 20:26
|
Just call me Oksu

Group: Members
Joined: Sep 30, 2010



|
Actually, I would encourage people NOT to lock their scripts, it allows others to take a look and learn from it. And even if you lock your script, it can still be stolen.
But, there's one simple way, and it's simple to by-pass. Just add new label somewhere, some random hex-code in there and compile. But remember, there should NOT be any jumps to that label, otherwise it'll crash.
|
|
|
|
|
 |
|
 |
 |
|
 |
| |
Bad.boy!  |
Posted: Thursday, Jun 7 2012, 21:18
|
SA modder

Group: Members
Joined: Jun 20, 2010


|
| QUOTE (oksa8 @ Thursday, Jun 7 2012, 22:26) | Actually, I would encourage people NOT to lock their scripts, it allows others to take a look and learn from it. And even if you lock your script, it can still be stolen.
But, there's one simple way, and it's simple to by-pass. Just add new label somewhere, some random hex-code in there and compile. But remember, there should NOT be any jumps to that label, otherwise it'll crash. | Not some random hex, you have to fool Sanny Builder. Here is an example: | CODE | {$CLEO .cs}
0000:
:START jump @ACTUAL_CODE
hex A4 03 09 48 41 48 41 00 end
:ACTUAL_CODE // Random opcodes to show the result 0003: shake_camera 40 0007: 7@ = 0.0 000D: $TEMPVAR_Z_COORD -= 0.5 jump @START |
It will decompile in this: | CODE | {$CLEO .cs}
//-------------MAIN--------------- 0000: NOP 0002: jump @HAHA_17 03A4: name_thread 'HAHA' 0728: NOP 0300: unsupported_in_sa 0007: 0.0 = 512@(284@,6i) 0000: NOP 023F: unsupported_in_sa hex 00 01 FE FF FF FF |
But the best thing to do is to report the mod stealers and keep your files open. Looking at examples can help people.
|
|
|
|
|
 |
|
 |
 |
|
 |
| |
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:
Track this topic
Receive email notification when a reply has been made to this topic and you are not active on the board.
Subscribe to this forum
Receive email notification when a new topic is posted in this forum and you are not active on the board.
Download / Print this Topic
Download this topic in different formats or view a printer friendly version.
| |
 |
|
 |
|
|
|
|