Quantcast

Jump to content

» «
Photo

How to lock Cleo scripts ?

42 replies to this topic
GtaHellmodded
  • GtaHellmodded

    Hell Modded

  • Members
  • Joined: 05 Jul 2013

#1

Posted 04 May 2014 - 10:55 AM

hello everyone ! i need to know to lock my cleo scripts protect it from  stealer ! thanks for read ! :lol:


Silent
  • Silent

    Moderating Cookie Monster

  • Feroci Racing
  • Joined: 01 Feb 2010
  • Poland

#2

Posted 04 May 2014 - 10:59 AM

Why would you even want to do this?

xNCx
  • xNCx

    Street Cat

  • Members
  • Joined: 15 May 2008
  • None

#3

Posted 04 May 2014 - 11:37 AM

I read about some locking tricks, but most of them can stop only people who don't know much Sanny Builder :C.


Ashwin.Star
  • Ashwin.Star

    I'm a Business Boy Now !

  • Members
  • Joined: 14 Nov 2010
  • India

#4

Posted 04 May 2014 - 12:05 PM

@xNCx

Exactly,

 

@Topic

And We are trying to Help new comers to learn SCM coding,

So, we just let them use our Scripts as An example to Do that kinda Work,

 

if somebody is stealing your MOD, then complain about it, & that mod will be removed,

OR if you Don't want to Share the source with Users,

Start Making ASI/DLL mods,

 

and you know What, :lol:

It is still not Protected ha ha

--------------------------------------

Ahh let Help you a Little,

Look for Locked scripts, try Unlocking them

& you will figure out How to do this,

Good Luck

  • Ezekiel_RN likes this

LINK/2012
  • LINK/2012

    LIVIN' IN CODE

  • Feroci Racing
  • Joined: 30 Jan 2011
  • Brazil

#5

Posted 04 May 2014 - 03:51 PM

How will that help someone not to steal it? The person can still upload it somewhere with it's own credits. If you print a string saying you are the author (pretty annoying if you ask me) it's no hard to change this string from a hex editor. Also nothing is completely safe, completely locked, people can still figure out how to unlock.

 

Is your script really that awesome and special that no one should know how it works? As a begginner, didn't you decompile scripts to learn more?  Why do you want to deprive this right from other beginners?

 

In my honest opnion, just ignore stealers.

 


Deji
  • Deji

    Coding like a Rockstar!

  • Feroci Racing
  • Joined: 24 Dec 2007
  • None

#6

Posted 04 May 2014 - 10:33 PM

There is no such functionality to lock scripts. You can break them, but that's a totally different matter.


GtaHellmodded
  • GtaHellmodded

    Hell Modded

  • Members
  • Joined: 05 Jul 2013

#7

Posted 20 May 2014 - 04:33 AM

i just want to know how to lock, look like it too hard for me


Deji
  • Deji

    Coding like a Rockstar!

  • Feroci Racing
  • Joined: 24 Dec 2007
  • None

#8

Posted 20 May 2014 - 11:51 AM

i just want to know how to lock, look like it too hard for me

 

It won't work. All you can do is bug the decompiler, but SB3 won't be the only decompiler on earth forever and there's always a way to reverse it. So live with it.


Silent
  • Silent

    Moderating Cookie Monster

  • Feroci Racing
  • Joined: 01 Feb 2010
  • Poland

#9

Posted 20 May 2014 - 04:36 PM

Besides, honestly, by the time you learn to do stuff which actually may be worth ]i]locking[/i], you'll also know some tricks which can make decompilation harder (because it's never impossible)  :santa:


fastman92
  • fastman92

    фастман92 | ف

  • Members
  • Joined: 28 Jul 2009

#10

Posted 20 May 2014 - 05:40 PM

Please refer to this post: http://gtaforums.com...4/?p=1065335418

Lone Rider
  • Lone Rider

    Researcher And Coordinator

  • Members
  • Joined: 13 Jan 2013
  • Lebanon

#11

Posted 20 May 2014 - 05:40 PM Edited by lightning123, 20 May 2014 - 05:48 PM.

There is no such functionality to lock scripts. You can break them, but that's a totally different matter.

Then what do u make of these:

http://www.gtagarage...ow.php?id=23845

http://www.gtagarage...ow.php?id=15230

(Same Author by the way)


Silent
  • Silent

    Moderating Cookie Monster

  • Feroci Racing
  • Joined: 01 Feb 2010
  • Poland

#12

Posted 20 May 2014 - 05:59 PM Edited by Silent, 20 May 2014 - 05:59 PM.

Then what do u make of these:
http://www.gtagarage...ow.php?id=23845
http://www.gtagarage...ow.php?id=15230
(Same Author by the way)


Neither is locked? What's better, both are open source.

Lone Rider
  • Lone Rider

    Researcher And Coordinator

  • Members
  • Joined: 13 Jan 2013
  • Lebanon

#13

Posted 20 May 2014 - 06:34 PM Edited by lightning123, 20 May 2014 - 06:36 PM.

 

Then what do u make of these:
http://www.gtagarage...ow.php?id=23845
http://www.gtagarage...ow.php?id=15230
(Same Author by the way)


Neither is locked? What's better, both are open source.

 

My bad.Maybe not locked but written in a way i didn't understand so i assumed its what the creator of the topic was looking for...


GtaHellmodded
  • GtaHellmodded

    Hell Modded

  • Members
  • Joined: 05 Jul 2013

#14

Posted 29 May 2014 - 04:45 AM

lock scripts is a best way to protect our scripts 


Silent
  • Silent

    Moderating Cookie Monster

  • Feroci Racing
  • Joined: 01 Feb 2010
  • Poland

#15

Posted 29 May 2014 - 10:24 AM

Protect from what?

MrGTAmodsgerman
  • MrGTAmodsgerman

    Rat

  • Members
  • Joined: 02 Jan 2012

#16

Posted 29 May 2014 - 01:20 PM

hello everyone ! i need to know to lock my cleo scripts protect it from  stealer ! thanks for read ! :lol:

I find often scripts with a opcode that cant open in my Sanny Builder.
I cant see them what the problem is.
I think you have to do the same but i dont really know how to make a unreadable opcode in a script.


Deji
  • Deji

    Coding like a Rockstar!

  • Feroci Racing
  • Joined: 24 Dec 2007
  • None

#17

Posted 29 May 2014 - 02:14 PM Edited by Deji, 29 May 2014 - 02:15 PM.

 

hello everyone ! i need to know to lock my cleo scripts protect it from  stealer ! thanks for read ! :lol:

I find often scripts with a opcode that cant open in my Sanny Builder.
I cant see them what the problem is.
I think you have to do the same but i dont really know how to make a unreadable opcode in a script.

 

 

There's no such thing as an unreadable opcode.

 

Well, all you have to do is delete the entire contents of SB's sascm.ini, then try to decompile a normal script. Guess what! It's "locked"!

 

You can, at best, make it so that you can't even figure out how to decompile your own script. Still, other people can.


Manfred Von Karma
  • Manfred Von Karma

    Trick

  • Members
  • Joined: 16 Jun 2009
  • None

#18

Posted 29 May 2014 - 02:44 PM

Its not about locking scripts , its about making them unreadable , you should compile your script in a way that when somebody decompiles it he cant figure out how it works or what does this or that do ...


HAF HAF
  • HAF HAF

    Square Civilian

  • Members
  • Joined: 10 Oct 2013
  • Indonesia

#19

Posted 4 weeks ago Edited by HAF HAF, 4 weeks ago.

hello everyone ! i need to know to lock my cleo scripts protect it from  stealer ! thanks for read ! :lol:

 

{$CLEO .cs}

03A4: name_thread "CODE" 
:code
//bla bla bla
hex
02 00 01

Ashwin.Star
  • Ashwin.Star

    I'm a Business Boy Now !

  • Members
  • Joined: 14 Nov 2010
  • India

#20

Posted 3 weeks ago

Don't leak it like this HAF,

it took TIME to find that one


Deji
  • Deji

    Coding like a Rockstar!

  • Feroci Racing
  • Joined: 24 Dec 2007
  • None

#21

Posted 3 weeks ago

All you have to do is delete the 3 last bytes. Unlocked.


Or, wait until Sanny Builder is updated or a new decompiler is released, since the "invalid label offset" bug is, well, just a bug. You're just writing a really bad script and it's not very effective at all. Anyone with the intelligence to make sense of decompiled code also has the intelligence to get around that cheap trick.
  • Silent and Ashwin.Star like this

GtaHellmodded
  • GtaHellmodded

    Hell Modded

  • Members
  • Joined: 05 Jul 2013

#22

Posted 3 weeks ago

i see some cleo scripts is lock and can't decompiled by unknow param type

so what is it ??


In45do
  • In45do

    Coding like a Dummy...

  • Members
  • Joined: 15 Jan 2012
  • Indonesia

#23

Posted 3 weeks ago

i see some cleo scripts is lock and can't decompiled by unknow param type

so what is it ??

It's not locked at all. To do that thing, just put a random hex code at the end of the script. And did you know? There are MANY types of this thread in GTAForums, always search them before making a new one.

 

Spoiler


_DK
  • _DK

    Call me 'The Bald Guy"

  • Members
  • Joined: 12 Apr 2009
  • Ukraine

#24

Posted 3 weeks ago Edited by _DK, 3 weeks ago.

There are no reason to 'lock' your script if you're a coding noob.
If you are not agreed, show me example of your code.

 

If you just learning scripting, that's not the question you must be cared on.

  • Ezekiel_RN likes this

Silent
  • Silent

    Moderating Cookie Monster

  • Feroci Racing
  • Joined: 01 Feb 2010
  • Poland

#25

Posted 3 weeks ago

There are no reason to 'lock' your script if you're a coding noob.
If you are not agreed, show me example of your code.

 
 

Besides, honestly, by the time you learn to do stuff which actually may be worth locking, you'll also know some tricks which can make decompilation harder (because it's never impossible)  :santa:


I said pretty much the same but in a more neutral way :p
  • _DK likes this

Seemann
  • Seemann

    Ruhe

  • Members
  • Joined: 03 Sep 2004
  • Russia

#26

Posted 3 weeks ago

hex
02 00 01
end

this one has already been fixed ~ a month ago in v3.2.2 (current dev version)

  • Deji, Silent, Ashwin.Star and 1 other like this

GtaHellmodded
  • GtaHellmodded

    Hell Modded

  • Members
  • Joined: 05 Jul 2013

#27

Posted 3 weeks ago Edited by MegamanZXA, 3 weeks ago.

i just want to put my name in my cleo script and lock it, so if someone using it, my name will show in game so they can't remove and claim it as these own   :evilgrin:


hornedturtle
  • hornedturtle

    Foot Soldier

  • Members
  • Joined: 28 Dec 2013
  • None

#28

Posted 3 weeks ago

1) you can't lock it. just break it so it won't open up threw normal methods.
2) it is very easy to fix it so it will open so all your doing is making it harder for people to learn.
3) unless you want to make money from your mod, why do you want to protect it so much?

Silent
  • Silent

    Moderating Cookie Monster

  • Feroci Racing
  • Joined: 01 Feb 2010
  • Poland

#29

Posted 3 weeks ago Edited by Silent, 3 weeks ago.

if someone using it, my name will show in game so they can't remove and claim it as these own   :evilgrin:


Most annoying protection ever. First thing I'd do after installing such a mod would be editing it out.
  • ChopTheDog. likes this

ThirteenAG
  • ThirteenAG

    Foot Soldier

  • Members
  • Joined: 29 Dec 2008
  • None

#30

Posted 3 weeks ago

Most annoying protection ever. First thing I'd do after installing such a mod would be recreating it from scratch.

Fixed*
  • Deji, Silent and TJGM like this




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users