Quantcast
Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
    1. Welcome to GTAForums!

    1. Red Dead Redemption 2

      1. PC
      2. Gameplay
      3. Missions
      4. Help & Support
    2. Red Dead Online

      1. Gameplay
      2. Find Lobbies & Outlaws
      3. Help & Support
      4. Frontier Pursuits
    1. Crews & Posses

      1. Recruitment
    2. Events

    1. GTA Online

      1. Diamond Casino & Resort
      2. DLC
      3. Find Lobbies & Players
      4. Guides & Strategies
      5. Vehicles
      6. Content Creator
      7. Help & Support
    2. Grand Theft Auto Series

    3. GTA 6

    4. GTA V

      1. PC
      2. Guides & Strategies
      3. Help & Support
    5. GTA IV

      1. Episodes from Liberty City
      2. Multiplayer
      3. Guides & Strategies
      4. Help & Support
      5. GTA IV Mods
    6. GTA Chinatown Wars

    7. GTA Vice City Stories

    8. GTA Liberty City Stories

    9. GTA San Andreas

      1. Guides & Strategies
      2. Help & Support
      3. GTA SA Mods
    10. GTA Vice City

      1. Guides & Strategies
      2. Help & Support
      3. GTA VC Mods
    11. GTA III

      1. Guides & Strategies
      2. Help & Support
      3. GTA III Mods
    12. Top Down Games

      1. GTA Advance
      2. GTA 2
      3. GTA
    13. Wiki

      1. Merchandising
    1. GTA Modding

      1. GTA V
      2. GTA IV
      3. GTA III, VC & SA
      4. Tutorials
    2. Mod Showroom

      1. Scripts & Plugins
      2. Maps
      3. Total Conversions
      4. Vehicles
      5. Textures
      6. Characters
      7. Tools
      8. Other
      9. Workshop
    3. Featured Mods

      1. DYOM
      2. OpenIV
      3. GTA: Underground
      4. GTA: Liberty City
      5. GTA: State of Liberty
    1. Red Dead Redemption

    2. Rockstar Games

    1. Off-Topic

      1. General Chat
      2. Gaming
      3. Technology
      4. Programming
      5. Movies & TV
      6. Music
      7. Sports
      8. Vehicles
    2. Expression

      1. Graphics / Visual Arts
      2. GFX Requests & Tutorials
      3. Writers' Discussion
      4. Debates & Discussion
    1. News

    2. Forum Support

    3. Site Suggestions

GtaHellmodded

How to lock Cleo scripts ?

Recommended Posts

HilmanAriFahmi

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

 

my lock :lol:

Share this post


Link to post
Share on other sites
Ashwin.Star

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

Edited by Ashwin.Star

Share this post


Link to post
Share on other sites
HilmanAriFahmi

Give a Link to the Lock,

Me & My friends are Nice Key Makers ;)

Download

Share this post


Link to post
Share on other sites
Ashwin.Star

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

It is So hard that Even Link is Locked Too

 

 

 

 

Hope u Got the Joke,

Now give a Working Link This Time ;)

 

 

Edited by Ashwin.Star

Share this post


Link to post
Share on other sites
HilmanAriFahmi

download

or

download

Edited by HAF HAF

Share this post


Link to post
Share on other sites
GtaHellmodded

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

Share this post


Link to post
Share on other sites
DK22Pac

Well, I'll repeat.

Only noobs lock scripts in our times. OpenSource rulez.

Share this post


Link to post
Share on other sites
gokuta

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.

Edited by gokuta

Share this post


Link to post
Share on other sites
HilmanAriFahmi
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

Edited by HAF HAF

Share this post


Link to post
Share on other sites
Deji

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]_IF_FALSE @Noname1_291GET_POSITION_OF_ANALOGUE_STICKS 0 [email protected] [email protected] [email protected] [email protected]_VAR_FLOAT_TO_VAR_INT [email protected] [email protected]_VAR_FLOAT_TO_VAR_INT [email protected] [email protected]_FLOAT_LVAR_BY_VAL [email protected] -128.0DIV_FLOAT_LVAR_BY_VAL [email protected] 128.0SET_LVAR_FLOAT [email protected] 0.5SET_CAR_ROTATION_VELOCITY [email protected] [email protected] [email protected] [email protected]_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

Edited by Deji

Share this post


Link to post
Share on other sites
HilmanAriFahmi

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

 

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

Edited by HAF HAF

Share this post


Link to post
Share on other sites
Seemann

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

 

my lock :lol:

 

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

Share this post


Link to post
Share on other sites
HilmanAriFahmi

wkwkwk, I still have way more :lol:

Edited by HAF HAF

Share this post


Link to post
Share on other sites
boludoz

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
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
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
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
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
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
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

 

 

Share this post


Link to post
Share on other sites
Ashwin.Star

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

Share this post


Link to post
Share on other sites
Silent

Nice useless bump.

Share this post


Link to post
Share on other sites
Guest
This topic is now closed to further replies.

  • 2 Users Currently Viewing
    0 members, 0 Anonymous, 2 Guests

×
×
  • Create New...

Important Information

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