Quantcast

Jump to content

» «
Photo

How to lock Cleo scripts ?

  • This topic is locked This topic is locked
45 replies to this topic
H.A.F
  • H.A.F

    Square Civilian

  • Members
  • Joined: 10 Oct 2013
  • Indonesia

#31

Posted 30 June 2014 - 06:40 AM

bandicam%202014-06-29%2013-38-38-312.jpg

 

my lock  :lol:


Ashwin.Star
  • Ashwin.Star

    i'll be back...

  • Members
  • Joined: 14 Nov 2010
  • India

#32

Posted 30 June 2014 - 01:05 PM Edited by Ashwin.Star, 30 June 2014 - 01:08 PM.

Give a Link to the Lock,
Me & My friends are Nice Key Makers ;)


H.A.F
  • H.A.F

    Square Civilian

  • Members
  • Joined: 10 Oct 2013
  • Indonesia

#33

Posted 02 July 2014 - 09:06 AM

Give a Link to the Lock,
Me & My friends are Nice Key Makers ;)

Download


Ashwin.Star
  • Ashwin.Star

    i'll be back...

  • Members
  • Joined: 14 Nov 2010
  • India

#34

Posted 03 July 2014 - 09:56 AM Edited by Ashwin.Star, 03 July 2014 - 09:57 AM.

This is almost Impossible to Unlock HAF, You did a Great Job,

It is So hard that Even Link is Locked Too

 

 

Spoiler

H.A.F
  • H.A.F

    Square Civilian

  • Members
  • Joined: 10 Oct 2013
  • Indonesia

#35

Posted 03 July 2014 - 12:52 PM Edited by HAF HAF, 03 July 2014 - 12:57 PM.

download

or

download


GtaHellmodded
  • GtaHellmodded

    Coding

  • Members
  • Joined: 05 Jul 2013
  • None

#36

Posted 04 July 2014 - 04:26 AM

@HAF HAF : how you can lock that scripts ?? please show me how to do that  :lol:


DK22Pac
  • DK22Pac

  • Feroci
  • Joined: 12 Apr 2009
  • Ukraine
  • Best WIP Mod 2014 [Grand Theft Auto 3D Contribution]
    Contribution Award [Mods]

#37

Posted 04 July 2014 - 03:18 PM

Well, I'll repeat.
Only noobs lock scripts in our times. OpenSource rulez.
  • Deji, Ashwin.Star, LINK/2012 and 2 others like this

gokuta
  • gokuta

    Square Civilian

  • Members
  • Joined: 24 Apr 2014
  • Afghanistan

#38

Posted 04 July 2014 - 07:47 PM Edited by gokuta, 04 July 2014 - 07:51 PM.

Man, just take a look... all the best-scripting guys around here are not hiding their work from the community. Somehow this happens to be a clever thing to do. You will understand this when you get better at it.


H.A.F
  • H.A.F

    Square Civilian

  • Members
  • Joined: 10 Oct 2013
  • Indonesia

#39

Posted 05 July 2014 - 11:48 AM Edited by HAF HAF, 05 July 2014 - 11:50 AM.

i always lock my own script because in my country have dangerous stealer 'naufal irfan".

he claim, he is the developer of GTA SA games 


Deji
  • Deji

    Coding like a Rockstar!

  • Feroci
  • Joined: 24 Dec 2007
  • None
  • Contribution Award [Mods]

#40

Posted 05 July 2014 - 02:06 PM Edited by Deji, 05 July 2014 - 02:19 PM.

i always lock my own script because in my country have dangerous stealer 'naufal irfan".
he claim, he is the developer of GTA SA games


Uh, how does the fact they're in your country make any difference? Anything published online is equally stealable.

Ego-centric modders who only want to share modifications of a game they didn't even create because it might make them more well known are worse than any stealers, if you ask me. Why's it so important that your username remains part of the mod? No one cares about your username and it doesn't actually make you any more popular. In fact, it makes you look like an attention seeker, which is a negative trait, by the way. And even if you do lock your script, it doesn't prevent the script being stolen in its entirety. People can still re-upload it wherever and your name being inside the script aint gonna do squat unless you actually think every user is going to read it... which they can't, because you locked it. DUH. Your username being in the script achieves NOTHING.

Anyway, your scripts will always be easy to open, if any are even worth looking at. The fact is that when you compile a script, it HAS to be readable by the game. If it's readable by the game, it's readable by anyone by following the exact same path the game would. Better yet, just create a simple hook (such as SCM Logging plugins) and you can print out every damn thing that could be executed.


In fact, you're giving me the urge to write a CLEO/SCM disassembler for that very purpose... which is annoying because it's a really stupid idea... but so is writing a script which can't be opened is harder to open.


EDIT: Oh, and your script already sucks, so it's not worth stealing...
 IS_NUMBER_GREATER_THAN_FLOAT_LVAR 180.0 [email protected]
GOTO_IF_FALSE @Noname1_291
GET_POSITION_OF_ANALOGUE_STICKS 0 [email protected] [email protected] [email protected] [email protected]
CSET_VAR_FLOAT_TO_VAR_INT [email protected] [email protected]
CSET_VAR_FLOAT_TO_VAR_INT [email protected] [email protected]
DIV_FLOAT_LVAR_BY_VAL [email protected] -128.0
DIV_FLOAT_LVAR_BY_VAL [email protected] 128.0
SET_LVAR_FLOAT [email protected] 0.5
SET_CAR_ROTATION_VELOCITY [email protected] [email protected] [email protected] [email protected]
SET_LVAR_FLOAT [email protected] 0.0
(yes command names instead of operators - my decompilation is weird)

In fact, it almost looks as if you stole it by hashing together a lot of pieces of different code in the first place :p
  • Ashwin.Star and LINK/2012 like this

H.A.F
  • H.A.F

    Square Civilian

  • Members
  • Joined: 10 Oct 2013
  • Indonesia

#41

Posted 05 July 2014 - 02:42 PM Edited by HAF HAF, 05 July 2014 - 02:44 PM.

I took directly from opcode.txt so irregular  :cry:

 

I'm not so good at the English language, I was aged 11 years 


Seemann
  • Seemann

    Ruhe

  • GTA Mods Staff
  • Joined: 03 Sep 2004
  • Russia
  • Best Tool 2016 [OpenIV]
    Best Tool 2013 [Sanny Builder]
    Contribution Award [Mods]
    Helpfulness Awards [Mods]

#42

Posted 05 July 2014 - 03:08 PM

bandicam%202014-06-29%2013-38-38-312.jpg

 

my lock  :lol:

 

Enable IGNORE_UNKNOWN and disable CONSTANT_INDEXES and voila, it's decompiled.


H.A.F
  • H.A.F

    Square Civilian

  • Members
  • Joined: 10 Oct 2013
  • Indonesia

#43

Posted 06 July 2014 - 06:25 AM Edited by HAF HAF, 06 July 2014 - 06:31 AM.

wkwkwk, I still have way more  :lol:


boludoz
  • boludoz

    Square Civilian

  • Members
  • Joined: 10 Dec 2009
  • Argentina

#44

Posted 16 May 2017 - 05:42 PM

Don't leak it like this HAF,

it took TIME to find that one

// This file was decompiled using SASCM.ini published by Seemann (http://sannybuilder.com) on 14.12.2013
{$CLEO .cs}
 
//-------------MAIN---------------
thread "HAF" 
0470: [email protected] = actor $PLAYER_ACTOR current_weapon 
wait 200 
0555: remove_weapon 40 from_actor $PLAYER_ACTOR 
jump @HAF_345 
hex
 00 1A
end
0204:   actor $192([email protected],3s) near_car in_car 
if 
   not [email protected] == 0 
jf @HAF_295 
if 
jf @HAF_311 
01B9: set_actor $PLAYER_ACTOR armed_weapon_to [email protected] 
jump @HAF_345 
0100:   actor in_car 
hex
 05 FA 00 55 FA 00
end
0470: [email protected] = actor $PLAYER_ACTOR current_weapon 
jump @HAF_248 
0100:   actor in_car 
hex
 04 00
end
if and
8A0C:   not player $PLAYER_CHAR on_jetpack 
80DF:   not actor $PLAYER_ACTOR driving 
jf @HAF_345 
hex
 E1 0D
end
shake_camera 7 
hex
 E8 03 E1 0D
end
0303: show_text_4numbers_highpriority GXT 
hex
 E8 03
end
if or
  [email protected] == 50528313 
hex
 01 08 FF FF FF 81 05 04 00 26 08 04
end
0600:   actor stopped_on_foot 
hex
 03 18
end
0400: store_coords_to 
04B8: get_weapon_data_from_actor $PLAYER_ACTOR slot 1 weapon [email protected] ammo [email protected] model [email protected] 
02D8:   actor $PLAYER_ACTOR current_weapon == [email protected] 
jf @HAF_607 
04B8: get_weapon_data_from_actor $PLAYER_ACTOR slot 2 weapon [email protected] ammo [email protected] model [email protected] 
if or
jf @HAF_771 
[email protected] += 262358 
02D8:   actor $PLAYER_ACTOR current_weapon == [email protected] 
jf @HAF_778 
jump @HAF_778 
0600:   actor stopped_on_foot 
hex
 03 23
end
0400: store_coords_to [email protected] 
04B8: get_weapon_data_from_actor $PLAYER_ACTOR slot 10 weapon [email protected] ammo [email protected] model [email protected] 
if or
jf @HAF_907 
[email protected] += 262358 
02D8:   actor $PLAYER_ACTOR current_weapon == [email protected] 
jf @HAF_914 
jump @HAF_914 
0600:   actor stopped_on_foot 
hex
 03 24
end
0400: store_coords_to [email protected] 
04B8: get_weapon_data_from_actor $PLAYER_ACTOR slot 11 weapon [email protected] ammo [email protected] model [email protected] 
if or
jf @HAF_1064 
[email protected] += 262358 
02D8:   actor $PLAYER_ACTOR current_weapon == [email protected] 
jf @HAF_1071 
jump @HAF_1071 
0600:   actor stopped_on_foot 
hex
 03 25
end
0400: store_coords_to [email protected] 
04B8: get_weapon_data_from_actor $PLAYER_ACTOR slot 12 weapon [email protected] ammo [email protected] model [email protected] 
if or
jf @HAF_1200 
[email protected] += 262358 
02D8:   actor $PLAYER_ACTOR current_weapon == [email protected] 
jf @HAF_1207 
jump @HAF_1207 
0600:   actor stopped_on_foot 
hex
 03 26
end
0400: store_coords_to [email protected] 
04B8: get_weapon_data_from_actor $PLAYER_ACTOR slot 13 weapon [email protected] ammo [email protected] model [email protected] 
if 
jf @HAF_1322 
[email protected] += 262358 
02D8:   actor $PLAYER_ACTOR current_weapon == [email protected] 
jf @HAF_1329 
jump @HAF_1605 
0600:   actor stopped_on_foot 
hex
 03 27
end
0400: store_coords_to [email protected] 
if or
02D8:   actor $PLAYER_ACTOR current_weapon == 1 
02D8:   actor $PLAYER_ACTOR current_weapon == 0 
jf @HAF_1376 
jump @HAF_1605 
hex
 00 D6
end
0400: store_coords_to [email protected] 
02D8:   actor $PLAYER_ACTOR current_weapon == [email protected] 
jf @HAF_1419 
jump @HAF_1605 
hex
 00 D6
end
0400: store_coords_to [email protected] 
02D8:   actor $PLAYER_ACTOR current_weapon == [email protected] 
jf @HAF_1462 
jump @HAF_1605 
hex
 00 D6
end
0400: store_coords_to [email protected] 
02D8:   actor $PLAYER_ACTOR current_weapon == [email protected] 
jf @HAF_1505 
jump @HAF_1605 
hex
 00 D6
end
0400: store_coords_to [email protected] 
02D8:   actor $PLAYER_ACTOR current_weapon == [email protected] 
jf @HAF_1548 
jump @HAF_1605 
hex
 00 D6
end
0400: store_coords_to [email protected] 
02D8:   actor $PLAYER_ACTOR current_weapon == [email protected] 
jf @HAF_1591 
jump @HAF_1605 
0600:   actor stopped_on_foot 
hex
 03 20
end
0400: store_coords_to [email protected] 
hex
 04 01 12 08 02 0C 00 0E 09 0E 09 49 44 4C 45 5F
 48 42 48 42 0E 03 50 45 44 06 00 80 3F
end
0004: 0 = 0  // Note: the incorrect math opcode was used here
hex
 04 FF
end
 
:HAF_1419
0172: $4 = actor $PLAYER_ACTOR Z_angle 
gosub @HAF_7733 
if and
jf @HAF_1841 
if 
jf @HAF_1757 
[email protected] += -6.005772E-31 
0403: 
 
:HAF_1505
0301: 
[email protected] *= 3.668424E-35 
hex
 00 8C 42 05 FF 00
end
if 
jf @HAF_3698 
[email protected] += -6.005772E-31 
0403: 
hex
 02 03 13 00 03 14 00 06 00 0C 43 06 00 8C 42 05
 42 05 00 01 8E F1 FF FF 00 D6
end
0400: store_coords_to [email protected] 
hex
 03 23 00 3B 00 03 23 00
end
jf @HAF_2484 
if 
jf @HAF_1944 
[email protected] += -6.005772E-31 
0403: 
hex
 03 03 13 00 03 14 00 06 00 0C 43 06 00 8C 42 05
 42 05 FF 00
end
if 
jf @HAF_2020 
[email protected] += -6.005772E-31 
 
:HAF_1757
0403: 
0304: 
[email protected] *= 3.668424E-35 
hex
 00 8C 42 05 FF 00
end
if 
jf @HAF_2096 
[email protected] += -6.005772E-31 
0403: 
0305: 
[email protected] *= 3.668424E-35 
hex
 00 8C 42 05 FF 00
end
if 
jf @HAF_2172 
[email protected] += -6.005772E-31 
0403: 
0306: 
[email protected] *= 3.668424E-35 
hex
 00 8C 42 05 FF 00
end
if 
jf @HAF_2248 
[email protected] += -6.005772E-31 
0403: 
0307: 
[email protected] *= 3.668424E-35 
hex
 00 8C 42 05 FF 00
end
if 
jf @HAF_2324 
[email protected] += -6.005772E-31 
0403: 
hex
 08 03 13 00 03 14 00 06 00 0C 43 06 00 8C 42 05
 42 05 FF 00
end
if 
jf @HAF_2400 
 
:HAF_2096
[email protected] += -6.005772E-31 
0403: 
0309: 
[email protected] *= 3.668424E-35 
hex
 00 8C 42 05 FF 00
end
if 
jf @HAF_3698 
[email protected] += -6.005772E-31 
0403: 
030A: 
[email protected] *= 3.668424E-35 
hex
 00 8C 42 05 00 01 8E F1 FF FF 00 D6
end
0400: store_coords_to [email protected] 
hex
 03 24 00 3B 00 03 24 00
end
jf @HAF_2747 
if 
jf @HAF_2587 
[email protected] += -6.005772E-31 
0403: 
hex
 26 03 13 00 03 14 00 06 00 0C 43 06 00 8C 42 05
end
hex
 FF 00
end
if 
jf @HAF_2663 
[email protected] += -6.005772E-31 
0403: 
hex
 27 03 13 00 03 14 00 06 00 0C 43 06 00 8C 42 05
 42 05 FF 00
end
if 
jf @HAF_3698 
[email protected] += -6.005772E-31 
0403: 
0328: 
[email protected] *= 3.668424E-35 
hex
 00 8C 42 05 00 01 8E F1 FF FF 00 D6
end
0400: store_coords_to [email protected] 
hex
 03 25 00 3B 00 03 25 00
end
jf @HAF_3238 
if 
jf @HAF_2850 
[email protected] += -6.005772E-31 
0403: 
030B: 
[email protected] *= 3.668424E-35 
hex
 00 8C 42 05 FF 00
end
if 
jf @HAF_2926 
[email protected] += -6.005772E-31 
0403: 
030C: progress_made = [email protected]([email protected],6i) 
hex
 0C 43 06 00 8C 42 05 FF 00 05 FF 00
end
if 
 
:HAF_2663
jf @HAF_3002 
[email protected] += -6.005772E-31 
0403: 
030D: set_max_progress [email protected]([email protected],6i) 
hex
 0C 43 06 00 8C 42 05 FF 00 05 FF 00
end
if 
jf @HAF_3078 
[email protected] += -6.005772E-31 
0403: 
030E: 
[email protected] *= 3.668424E-35 
hex
 00 8C 42 05 FF 00
end
if 
jf @HAF_3154 
[email protected] += -6.005772E-31 
0403: 
030F: 
[email protected] *= 3.668424E-35 
hex
 00 8C 42 05 FF 00
end
if 
jf @HAF_3698 
[email protected] += -6.005772E-31 
0403: 
0310: 
 
:HAF_2926
[email protected] *= 3.668424E-35 
hex
 00 8C 42 05 00 01 8E F1 FF FF 00 D6
end
0400: store_coords_to [email protected] 
hex
 03 26 00 3B 00 03 26 00
end
jf @HAF_3501 
if 
jf @HAF_3341 
[email protected] += -6.005772E-31 
0403: 
0329: NOP 
[email protected] *= 3.668424E-35 
hex
 00 8C 42 05 FF 00
end
if 
hex
 4D

 

 


Ashwin.Star
  • Ashwin.Star

    i'll be back...

  • Members
  • Joined: 14 Nov 2010
  • India

#45

Posted 14 June 2017 - 07:39 PM

it's been like 3 years, but i'm glad you finaly made it. :lol:


Silent
  • Silent

    Chief Vision™ Alterer

  • GTA Mods Staff
  • Joined: 01 Feb 2010
  • Poland
  • Most Helpful [Modding] 2016
    Contribution Award [Mods]
    Best Script/Plugin 2014 [SilentPatch]
    Most Respected 2014
    Most Helpful [Mods] 2014
    Most Helpful [GTA] 2013
    Most Helpful [Mods] 2013
    Most Talented [Modding] 2013
    Best Map 2013 [ViceCityStories PC Edition]
    Best Vehicle 2013 [III Aircraft]
    Most Helpful [Mods] 2012
    Modder of the Year 2012

#46

Posted 16 June 2017 - 02:50 PM

Nice useless bump.
  • deltaCJ likes this




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users