IMG

 
IMG
IMG   IMG
  Welcome to GTAForums! Be sure to check out the Grand Theft Auto V Forum.

You are not registered! (If you are, click here to login) Registering is fast, free and easy and allows you to instantly reply to any topic on GTAForums.
Why wait? Click here to register your own unique username and become part of the ever-growing community!


( Log In | Register | Revalidate Validation E-mail )
Quick Log-In:
  IMG
       
>
Forum Rules GTA Modification Forums

Please post mod releases in the Mod Showroom

GTAGarage.com
free mod hosting from GTANet, simply login with your GTAForums account details

GTAModding.com
GTANet's modding wiki

GTA Modding Chatroom
provided by irc.gtanet.com (Don't have an IRC client? Click here)


  Reply to this topicStart new topicStart Poll

 CLEO Question - Help Please

 
ANTI-STUDIOS  
Posted: Thursday, Jun 7 2012, 19:26
Quote Post


IV and SA Developer
Group Icon
Group: Members
Joined: Jun 7, 2012

XXXXX



Hi Guys,

I'm making a CLEO Script for myself, which is going to be quite advanced.
The problem is someone keeps opening my .cs and .s files (They open the .s by renaming it to .cs) and they steal my code.

Can someone teach me how I can keep my files unopenable? Because they are able to open my .cs and .s files.

Any help is appreciated.
Thanks so much.

-Anti
PM
  Top
 

 
oksa8  
Posted: Thursday, Jun 7 2012, 20:26
Quote Post


Just call me Oksu
Group Icon
Group: Members
Joined: Sep 30, 2010

sf.gif

Member Award




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.
Users WebsitePM
  Top
 

 
ANTI-STUDIOS  
Posted: Thursday, Jun 7 2012, 20:31
Quote Post


IV and SA Developer
Group Icon
Group: Members
Joined: Jun 7, 2012

XXXXX



First of all, thanks alot for your reply smile.gif

Second, I would leave it unlocked, but I dont see any other way for the dude to stop jacking my scripts confused.gif

Third, can you explain a little on what hex code u mean?
happy.gif

Thanks!
PM
  Top
 

 
Deji  
Posted: Thursday, Jun 7 2012, 20:47
Quote Post


Coding like a Rockstar!
Group Icon
Group: Members
Joined: Dec 24, 2007

ja.gif

XXXXX



Look, if your code is stealable, its obviously so basic that someone can just copy a few lines. Therefore its not even really worth protecting. If it was complex, just having part of the code would be useless. And I would think and hope the reason people upload their scripts is because they want to share their creations with others. A feat of kindness, not a scheme to earn profit or be powerful. Any time I've thought of preventing my scripts from being decompiled its been because I've provided source code.
Users WebsitePM
  Top
 

 
Bad.boy!  
Posted: Thursday, Jun 7 2012, 21:18
Quote Post


SA modder
Group Icon
Group: Members
Joined: Jun 20, 2010

nl.gif

XXXXX



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.
PM
  Top
 

 

1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)

0 Members:

Topic Options Reply to this topicStart new topicStart Poll
Search topic for posted by (exact match)



 
IMG IMG