Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {$CLEO .cs}
- if
- 8AAB: file_exists "CLEO\MOSH_bY_m1zg4rd.cs"
- else_jump @SETTINGS_1
- while true
- print "~R~DONT ~Y~S~R~TEAL MY ~Y~S~R~CRIPT" 1500 //an easy way to check if someone changed ini name to "by superleethaxoor/styler"
- end
- 004E: end_thread
- //IF YOU DECRYPTED THIS, THEN FINE, YOU ARE ENOUGH SMART TO READ MY CODE
- //BUT IF YOU READ THIS BY DOWNLOADED PROGRAM/DECRYPTER, THEN YOU ARE JUST POOR SCRIPT KIDDIE, DIE
- //i was wondering if someone already cracked this encryption and saw this hidden message ;_;
- //3@ - index/number of founded objects
- //29@, 30@, 31@ - variables used in scan
- //0@, 1@, 2@ - coords of searched object
- //4@v - key names to save coords of object
- //19@ - ID of object to find
- //5@ - suspisious objects detection system (0 lub 1)
- //7@ - markers
- //8@ - loop variable for deleting markers
- //9@ - temporary object to help detect suspicious objects
- //10@ - temporary variable float
- //11@ - decides if scan is canceled, if markers display is canceled (0 lub 1)
- //12@ - temporary variable integer
- //13@ - temporary variable integer
- //14@ - temporary variable integer
- //15@, 16@, 17@ - coords of player (get distance)
- //18@ - distance from object (float)
- //20@ - first activation/deactivation key
- //21@ - second activation/deactivation key
- //22@ - detect objects under textures
- //23@ - detect too high objects
- //24@ - detect objects under seabed (0 lub 1)
- //25@ - try to detect object in a building (still beta, even after a year)
- :SETTINGS_1
- wait 50
- if
- 0AAB: file_exists "CLEO\MOSH_configuration.iNi"
- else_jump @SETTINGS_2
- wait 5
- 3@ = 0.0
- 0AF0: 20@ = get_int_from_ini_file "CLEO\MOSH_configuration.iNi" section "SETTINGS" key "ACTIVATE_1"
- 0AF0: 21@ = get_int_from_ini_file "CLEO\MOSH_configuration.iNi" section "SETTINGS" key "ACTIVATE_2"
- 0AF0: 19@ = get_int_from_ini_file "CLEO\MOSH_configuration.iNi" section "SETTINGS" key "OBJECT_ID"
- 0AF0: 5@ = get_int_from_ini_file "CLEO\MOSH_configuration.iNi" section "TRAP_DETECTOR" key "ACTIVATE_DETECTOR"
- 0AF0: 22@ = get_int_from_ini_file "CLEO\MOSH_configuration.iNi" section "TRAP_DETECTOR" key "UNDERGROUND_TRAP"
- 0AF0: 23@ = get_int_from_ini_file "CLEO\MOSH_configuration.iNi" section "TRAP_DETECTOR" key "HEIGHT_TRAP"
- 0AF0: 24@ = get_int_from_ini_file "CLEO\MOSH_configuration.iNi" section "TRAP_DETECTOR" key "SEABED_TRAP"
- 0AF0: 25@ = get_int_from_ini_file "CLEO\MOSH_configuration.iNi" section "TRAP_DETECTOR" key "INTERIOR_TRAP"
- //0AF0: 26@ = get_int_from_ini_file "CLEO\MOSH_configuration.iNi" section "TRAP_DETECTOR" key "HOUSE_TRAP"
- jump @ACTIVATE_1
- :SETTINGS_2
- wait 10
- 0AF1: write_int 57 to_ini_file "CLEO\MOSH_configuration.iNi" section "SETTINGS" key "ACTIVATE_1" //default 9
- 0AF1: write_int 80 to_ini_file "CLEO\MOSH_configuration.iNi" section "SETTINGS" key "ACTIVATE_2" //default P
- 0AF1: write_int 1210 to_ini_file "CLEO\MOSH_configuration.iNi" section "SETTINGS" key "OBJECT_ID" //default object id, why noobz cant open config file to change it ;_;
- 0AF1: write_int 1 to_ini_file "CLEO\MOSH_configuration.iNi" section "TRAP_DETECTOR" key "ACTIVATE_DETECTOR" //default enabled
- 0AF1: write_int 1 to_ini_file "CLEO\MOSH_configuration.iNi" section "TRAP_DETECTOR" key "UNDERGROUND_TRAP" //default enabled
- 0AF1: write_int 1 to_ini_file "CLEO\MOSH_configuration.iNi" section "TRAP_DETECTOR" key "HEIGHT_TRAP" //default enabled
- 0AF1: write_int 1 to_ini_file "CLEO\MOSH_configuration.iNi" section "TRAP_DETECTOR" key "SEABED_TRAP" //default enabled
- 0AF1: write_int 1 to_ini_file "CLEO\MOSH_configuration.iNi" section "TRAP_DETECTOR" key "INTERIOR_TRAP" //default enabled
- //0AF1: write_int 1 to_ini_file "CLEO\MOSH_configuration.iNi" section "TRAP_DETECTOR" key "HOUSE_TRAP" //default enabled
- 0AF1: write_int 0 to_ini_file "CLEO\MOSH_configuration.iNi" section "BLACKLIST" key "COUNT" //no exceptions
- jump @SETTINGS_1
- :ACTIVATE_1
- wait 10
- if and
- key_down 20@
- key_down 21@
- else_jump @ACTIVATE_1
- wait 10
- jump @ACTIVATE_2
- :ACTIVATE_2
- wait 10
- if and
- key_up 20@
- key_up 21@
- else_jump @ACTIVATE_2
- wait 10
- 13@ = 0
- 14@ = 0
- jump @FINDER_1
- :FINDER_1
- wait 0
- 11@ = 0 //0 - scan canceled
- 00BE: text_clear_all
- if
- 0039: 13@ == 1
- then
- print "~Y~SEARCHING FOR OBJECTS" 3500
- else
- print "~W~SEARCHING FOR OBJECTS" 3500
- end
- if
- 14@ > 40
- then
- if
- 0039: 13@ == 1
- then
- 13@ = 0
- else
- 13@ = 1
- end
- 14@ = 0
- else
- 14@ += 1
- end
- 0A8D: 29@ = read_memory 12010652 size 4 virtual_protect 0
- 29@ += 4
- 0A8D: 29@ = read_memory 29@ size 4 virtual_protect 0
- 30@ = 0
- :FINDER_2
- 0A8D: 31@ = read_memory 29@ size 1 virtual_protect 0
- 29@ += 1
- if and
- 31@ >= 0
- 128 > 31@
- else_jump @FINDER_3
- 005A: 31@ += 30@ // (int)
- if and
- key_down 20@
- key_down 21@
- then
- jump @DRAWING_2
- end
- if
- Object.Model(31@) == 19@
- else_jump @FINDER_3
- 1@ = 0
- 0AF0: 2@ = get_int_from_ini_file "CLEO\MOSH_configuration.iNi" section "BLACKLIST" key "COUNT"
- for 12@ = 1 to 2@ step 1
- 0093: 0@ = integer 12@ to_float
- 0AED: 4@v = float 0@ to_string_format "%.15gX"
- 0AF2: 15@ = get_float_from_ini_file "CLEO\MOSH_configuration.iNi" section "BLACKLIST" key 4@v
- 0AED: 4@v = float 0@ to_string_format "%.15gY"
- 0AF2: 16@ = get_float_from_ini_file "CLEO\MOSH_configuration.iNi" section "BLACKLIST" key 4@v
- 0AED: 4@v = float 0@ to_string_format "%.15gZ"
- 0AF2: 17@ = get_float_from_ini_file "CLEO\MOSH_configuration.iNi" section "BLACKLIST" key 4@v
- if
- 04E6: object 31@ near_point 15@ 16@ 17@ radius 2.0 2.0 2.0 flag 0
- then
- 1@ = 1
- 12@ = 2@
- end
- end
- if
- 0039: 1@ == 0
- else_jump @FINDER_3
- Object.StorePos(31@, 0@, 1@, 2@)
- 000B: 3@ += 1.0
- 0AED: 4@v = float 3@ to_string_format "%.15gX"
- 0AF3: write_float 0@ to_ini_file "CLEO\MOSH_configuration.iNi" section "TEMP" key 4@v
- 0AED: 4@v = float 3@ to_string_format "%.15gY"
- 0AF3: write_float 1@ to_ini_file "CLEO\MOSH_configuration.iNi" section "TEMP" key 4@v
- 0AED: 4@v = float 3@ to_string_format "%.15gZ"
- 0AF3: write_float 2@ to_ini_file "CLEO\MOSH_configuration.iNi" section "TEMP" key 4@v
- 7@ = Marker.CreateIconAndSphere(56, 0@, 1@, 2@)
- 0AED: 4@v = float 3@ to_string_format "%.15gM"
- 0AF1: write_int 7@ to_ini_file "CLEO\MOSH_configuration.iNi" section "TEMP" key 4@v
- 0AED: 4@v = float 3@ to_string_format "%.15gO"
- 0AF1: write_int 31@ to_ini_file "CLEO\MOSH_configuration.iNi" section "TEMP" key 4@v
- :FINDER_3
- 30@ += 256
- if //original: 89344
- 30@ > 256000 //if scan is complete
- else_jump @FINDER_2
- //go back and start from beginning
- if
- 0021: 3@ > 0.0
- else_jump @FINDER_1
- 00BE: text_clear_all
- 0092: 0@ = float 3@ to_integer
- if
- 0039: 0@ == 1
- then
- printf "~Y~%d ~G~OBJECT FOUND ~Y~:3" 2500 0@
- else
- printf "~Y~%d ~G~OBJECTS FOUND ~Y~:3" 2500 0@
- end
- jump @DRAWING_1
- :DRAWING_1
- wait 10
- if and
- key_down 20@ //removing all marskers and objects from list
- key_down 21@
- else_jump @ANTITRAP_1
- wait 10
- 11@ = 1 //1 - markers are disabled
- jump @DRAWING_2
- :DRAWING_2
- wait 10
- if and
- key_up 20@
- key_up 21@
- else_jump @DRAWING_2
- 0092: 13@ = float 3@ to_integer
- for 8@ = 1 to 13@ step 1
- 008F: 10@ = integer 8@ to_float
- 0AED: 4@v = float 10@ to_string_format "%.15gM"
- 0AF0: 7@ = get_int_from_ini_file "CLEO\MOSH_configuration.iNi" section "TEMP" key 4@v
- 0164: disable_marker 7@
- end
- 00BE: text_clear_all
- if
- 0039: 11@ == 1
- then
- print "~R~MARKERS DELETED" 1300
- else
- print "~R~SEARCHING ABORTED" 1300
- end
- 3@ = 0.0
- jump @ACTIVATE_1
- :ANTITRAP_1 //this system detects suspicious object locations, after detection
- wait 10 //it change its radar icon from 56 to 19 (red flag, avoid it like communism)
- if
- 0039: 5@ == 1
- else_jump @DRAWING_1
- if
- 001B: 50 > 13@
- then
- 13@ +=1
- jump @DRAWING_1
- end
- 0092: 13@ = float 3@ to_integer
- for 8@ = 1 to 13@ step 1
- 7@ = 0
- 008F: 10@ = integer 8@ to_float
- 0AED: 4@v = float 10@ to_string_format "%.15gX"
- 0AF2: 0@ = get_float_from_ini_file "CLEO\MOSH_configuration.iNi" section "TEMP" key 4@v
- 0AED: 4@v = float 10@ to_string_format "%.15gY"
- 0AF2: 1@ = get_float_from_ini_file "CLEO\MOSH_configuration.iNi" section "TEMP" key 4@v
- 0AED: 4@v = float 10@ to_string_format "%.15gZ"
- 0AF2: 2@ = get_float_from_ini_file "CLEO\MOSH_configuration.iNi" section "TEMP" key 4@v
- 02CE: 14@ = ground_z_at 0@ 1@ 2@
- if and
- 0039: 22@ == 1 //0 - check if object is not under textures (impossible to see without cheats)
- //06BD: no_obstacles_between 0@ 1@ 2@ and 0@ 1@ 14@ solid 1 car 0 actor 0 object 0 particle 0
- 0043: 14@ == 0.0
- then
- 7@ = 1
- else
- 0087: 18@ = 2@ // (float)
- 0063: 18@ -= 14@ // (float)
- if and
- 0039: 23@ == 1 //1 - check if object is not too high (impossible to see without cheats)
- //06BD: no_obstacles_between 0@ 1@ 2@ and 0@ 1@ 14@ solid 1 car 0 actor 0 object 0 particle 0
- 0021: 18@ > 8.0
- then
- 7@ = 1
- end
- end
- 092E: get_water_height_at 0@ 1@ ignore_waves 1 store_to 14@
- if
- 0021: 14@ > -1000.0
- then
- 7@ = 0
- end
- if and
- 0039: 24@ == 1
- 0021: 14@ > -1000.0
- 0023: -67.0 > 2@
- then
- 7@ = 2
- else
- 0087: 18@ = 2@ // (float)
- 0063: 18@ -= 14@ // (float)
- if and
- 0039: 23@ == 1
- 0021: 14@ > -1000.0
- 0021: 18@ > 8.0
- 06BD: no_obstacles_between 0@ 1@ 2@ and 0@ 1@ 0.0 solid 1 car 0 actor 0 object 0 particle 0
- then
- 0092: 2@ = float 2@ to_integer
- 0092: 18@ = float 18@ to_integer
- 7@ = 2
- end
- end
- 0AED: 4@v = float 10@ to_string_format "%.15gM"
- 0AF0: 9@ = get_int_from_ini_file "CLEO\MOSH_configuration.iNi" section "TEMP" key 4@v
- //detecting object in a building (impossible to see without cheats) (26@)
- if
- 0039: 7@ == 1
- then
- 04C4: store_coords_to 15@ 16@ 17@ from_actor $PLAYER_ACTOR with_offset 0.0 0.0 0.0
- 050A: 18@ = distance_between_XYZ 15@ 16@ 17@ and_XYZ 0@ 1@ 2@
- if
- 0023: 130.0 > 18@
- then
- 0164: disable_marker 9@
- 9@ = Marker.CreateIconAndSphere(19, 0@, 1@, 2@)
- 0AF1: write_int 9@ to_ini_file "CLEO\MOSH_configuration.iNi" section "TEMP" key 4@v
- end
- else
- if
- 0039: 7@ == 2
- then
- 0164: disable_marker 9@
- 9@ = Marker.CreateIconAndSphere(19, 0@, 1@, 2@)
- 0AF1: write_int 9@ to_ini_file "CLEO\MOSH_configuration.iNi" section "TEMP" key 4@v
- else
- if
- 25@ == 1
- then
- 09E8: 14@ = actor $PLAYER_ACTOR active_interior
- 0AED: 4@v = float 10@ to_string_format "%.15gO"
- 0AF0: 9@ = get_int_from_ini_file "CLEO\MOSH_configuration.iNi" section "TEMP" key 4@v
- if
- 03CA: object 9@ exists
- then
- 0AB1: @GetObjectInterior 1 OBJECT_HANDLE 9@ STORE_TO 18@
- if
- 0039: 18@ == 13
- then
- 18@ = 0
- end
- if
- 0039: 14@ == 13
- then
- 14@ = 0
- end
- if
- 003B: 14@ == 18@ // (int)
- then
- 0AED: 4@v = float 10@ to_string_format "%.15gM"
- 0AF0: 9@ = get_int_from_ini_file "CLEO\MOSH_configuration.iNi" section "TEMP" key 4@v
- 0164: disable_marker 9@
- 9@ = Marker.CreateIconAndSphere(56, 0@, 1@, 2@)
- 0AF1: write_int 9@ to_ini_file "CLEO\MOSH_configuration.iNi" section "TEMP" key 4@v
- else
- 0AED: 4@v = float 10@ to_string_format "%.15gM"
- 0AF0: 9@ = get_int_from_ini_file "CLEO\MOSH_configuration.iNi" section "TEMP" key 4@v
- 0164: disable_marker 9@
- 9@ = Marker.CreateIconAndSphere(19, 0@, 1@, 2@)
- 0AF1: write_int 9@ to_ini_file "CLEO\MOSH_configuration.iNi" section "TEMP" key 4@v
- end
- else
- 0AED: 4@v = float 10@ to_string_format "%.15gM"
- 0AF0: 9@ = get_int_from_ini_file "CLEO\MOSH_configuration.iNi" section "TEMP" key 4@v
- 0164: disable_marker 9@
- 9@ = Marker.CreateIconAndSphere(56, 0@, 1@, 2@)
- 0AF1: write_int 9@ to_ini_file "CLEO\MOSH_configuration.iNi" section "TEMP" key 4@v
- end
- else
- 0164: disable_marker 9@
- 9@ = Marker.CreateIconAndSphere(56, 0@, 1@, 2@)
- 0AF1: write_int 9@ to_ini_file "CLEO\MOSH_configuration.iNi" section "TEMP" key 4@v
- end
- end
- end
- end
- 13@ = 0
- jump @DRAWING_1
- //0AB1: @GetObjectInterior 1 OBJECT_HANDLE 0@ STORE_TO 1@
- :GetObjectInterior
- 0A98: 1@ = object 0@ struct
- 1@ += 47
- 0A8D: 2@ = read_memory 1@ size 1 virtual_protect 1
- 0AB2: ret 1 2@
Advertisement
Add Comment
Please, Sign In to add comment