CLEO Help Need help with this server

CLEO related
Status
Not open for further replies.

kokoko

Member
Joined
Sep 2, 2014
Messages
22
Reaction score
0
I play in a SAMP server that has a detection field system to protect loot inside bases agains't airbreakers. When someone gets inside the field area his ID, position and hour are sent to the field. I wan't to know if there's any hacker capable of avoiding the field detection.
 

Parazitas

God
Joined
Jan 2, 2017
Messages
3,103
Solutions
5
Reaction score
882
Location
Lithuania
I think is server side , but you can use "get all streamed players" to detect all players .

[shcode=cpp]
{$CLEO .cs}
0000:


REPEAT
WAIT 0
UNTIL 0AFA: SAMP_IS_READY


WHILE TRUE
WAIT 0
IF
056D: actor $PLAYER_ACTOR defined
THEN
WAIT 0
// GET ALL STREAMED PEDS
0A8D: 29@ = read_memory 0xB74490 size 4 virtual_protect 0
000A: 29@ += 0x4
0A8D: 29@ = read_memory 29@ size 4 virtual_protect 0
FOR 30@ = 0 to 35584 step 0x100
0A8D: 31@ = read_memory 29@ size 1 virtual_protect 0
000A: 29@ += 0x1
IF AND
0029: 31@ >= 0x00
001B: 0x80 > 31@
THEN
005A: 31@ += 30@
IF AND
803B: 31@ == $PLAYER_ACTOR // (int)
056D: actor 31@ defined
THEN
0B2B: samp 0@ = get_player_id_by_actor_handle 31@
0B36: samp 8@ = get_player_nickname 0@
0B37: samp 9@ = get_player_color 0@
00A0: store_actor $PLAYER_ACTOR position_to 1@ 2@ 3@
00A0: store_actor 31@ position_to 4@ 5@ 6@
0509: 7@ = distance_between_XY 1@ 2@ and_XY 4@ 5@
IF
7@ <= 6.0 /// If distance smaller 6 then... , max 300.
THEN
IF
0AB0: 51 {Key 3} // if press KeyBoard Number 3 then..
THEN
say "Hello.: %d" 0@
wait 1000
END
END
END
END
END
END
END
[/shcode]
 

kokoko

Member
Joined
Sep 2, 2014
Messages
22
Reaction score
0
I wan't to be the hacker lmao xDDDD. I want some hack to get inside base without getting detected in the field.
 

0B36

Expert
Joined
Jan 6, 2014
Messages
1,324
Reaction score
8
You will have to stop sending your pos or fake your pos. Using invisibility would be a good idea.
 

ramez

Active member
Joined
Jun 11, 2015
Messages
120
Reaction score
0
Location
GB
Parazitas said:
I think is server side , but you can use "get all streamed players" to detect all players .

[shcode=cpp]
{$CLEO .cs}
0000:


REPEAT
   WAIT 0
UNTIL 0AFA:  SAMP_IS_READY


WHILE TRUE
   WAIT 0  
IF
056D:   actor $PLAYER_ACTOR defined
THEN
WAIT 0
// GET ALL STREAMED PEDS    
0A8D: 29@ = read_memory 0xB74490 size 4 virtual_protect 0
000A: 29@ += 0x4
0A8D: 29@ = read_memory 29@ size 4 virtual_protect 0
FOR 30@ = 0 to 35584 step 0x100
   0A8D: 31@ = read_memory 29@ size 1 virtual_protect 0
   000A: 29@ += 0x1
   IF AND
       0029:  31@ >= 0x00
       001B:  0x80 > 31@
   THEN
       005A: 31@ += 30@
           IF AND
           803B:   31@ == $PLAYER_ACTOR  // (int)
           056D:   actor 31@ defined
           THEN
               0B2B: samp 0@ = get_player_id_by_actor_handle 31@
               0B36: samp 8@ = get_player_nickname 0@
               0B37: samp 9@ = get_player_color 0@
               00A0: store_actor $PLAYER_ACTOR position_to 1@ 2@ 3@
               00A0: store_actor 31@ position_to 4@ 5@ 6@
               0509: 7@ = distance_between_XY 1@ 2@ and_XY 4@ 5@
               IF
               7@ <= 6.0 /// If distance smaller 6 then... , max 300.
               THEN
                   IF
                   0AB0: 51 {Key 3} // if press KeyBoard Number 3 then..
                   THEN
                       say "Hello.: %d" 0@
                       wait 1000
                   END    
               END
          END
      END
  END
  END
END  
[/shcode]
how activity ? 3 not work
 

ramez

Active member
Joined
Jun 11, 2015
Messages
120
Reaction score
0
Location
GB
Parazitas said:
7@ <= 6.0 /// If distance smaller 6 then... , max 300. you must change distance... to biger etc..

Test this please and tell me Where is the mistake??!!!
 

Attachments

  • get all streamed players.cs
    18.9 KB · Views: 12
Status
Not open for further replies.
Top