CLEO Help is there a way to preventing from serverkick

CLEO related
Status
Not open for further replies.

HowEnCokkien

Well-known member
Joined
Jul 9, 2017
Messages
307
Reaction score
9
this thing was randomly happened to me. i got a kicked message in chat but i was still in the server. so is there a way for to do it? thanks :somuchwin:
 

CSprite

Active member
Joined
Nov 12, 2016
Messages
94
Reaction score
7
HowEnCokkien said:
this thing was randomly happened to me. i got a kicked message in chat but i was still in the server. so is there a way for to do it? thanks :somuchwin:

I think was a fake kick , in my server I have fake ban :3 .
 

HowEnCokkien

Well-known member
Joined
Jul 9, 2017
Messages
307
Reaction score
9
CSprite said:
HowEnCokkien said:
this thing was randomly happened to me. i got a kicked message in chat but i was still in the server. so is there a way for to do it? thanks :somuchwin:

I think was a fake kick , in my server I have fake ban :3 .

no it wasnt, i spawned a gun and continued to shoot, server spammed kicked message but i was still in the server.
 

0B36

Expert
Joined
Jan 6, 2014
Messages
1,324
Reaction score
8
Then it's an exploit at the server as kick script wasn't coded correctly. Enjoy while it lasts. Also kick = server closing the client connection, which is server sided, so there's nothing you can do about it.
 

HowEnCokkien

Well-known member
Joined
Jul 9, 2017
Messages
307
Reaction score
9
0B36 said:
Then it's an exploit at the server as kick script wasn't coded correctly. Enjoy while it lasts. Also kick  = server closing the client connection, which is server sided, so there's nothing you can do about it.
no it isn't exploit, i tried this weirdo thing in a different server. i NOPd some shits randomly and it worked. i got kicked messages but atleast i was still on the server. i dont think its serverside and i bet there's methods for it.
 

0B36

Expert
Joined
Jan 6, 2014
Messages
1,324
Reaction score
8
If you think so, then try that at UIF and make a video about it.

Also post the shit you NOP'd I would like to reproduce it on my own and further investigate this.
 

HowEnCokkien

Well-known member
Joined
Jul 9, 2017
Messages
307
Reaction score
9
0B36 said:
If you think so, then try that at UIF and make a video about it.

Also post the shit you NOP'd I would like to reproduce it on my own and further investigate this.

the fact you dont get, it happens randomly. i got this shit for x4 time randomly and i bet it isnt serverside.
i tried it now with nops on and i got kicked. as i say, it happens randomly.

also,
i NOPd ClientCheck, ClientJoin, InitGame and SrvNetUpdate. give it a try
 
Joined
Feb 18, 2005
Messages
2,963
Reaction score
267
Servers usually employ a delay before you are banned, you could fast reconnect/disconnect, between that message and actual kick delay.
Really depends on the way the server is scripted.
 

0B36

Expert
Joined
Jan 6, 2014
Messages
1,324
Reaction score
8
As per sa-mp wiki, this is the reason for the delay - "As of SA-MP 0.3x, any action taken directly before Kick() (such as sending a message with SendClientMessage) will not reach the player. A timer must be used to delay the kick."
 

HowEnCokkien

Well-known member
Joined
Jul 9, 2017
Messages
307
Reaction score
9
0B36 said:
As per sa-mp wiki, this is the reason for the delay - "As of SA-MP 0.3x, any action taken directly before Kick() (such as sending a message with SendClientMessage) will not reach the player. A timer must be used to delay the kick."

the delay is like 100 ms or smh so you cant really bypass ban with springfield's method  :D
 

0B36

Expert
Joined
Jan 6, 2014
Messages
1,324
Reaction score
8
No it's around 1 sec to upto 2 secs on some servers.

http://wiki.sa-mp.com/wiki/Kick

That's more than enough to simply force reconnect.
 

HowEnCokkien

Well-known member
Joined
Jul 9, 2017
Messages
307
Reaction score
9
0B36 said:
No it's around 1 sec to upto 2 secs on some servers.

http://wiki.sa-mp.com/wiki/Kick

That's more than enough to simply force reconnect.

it really depends on server script. my server bans instantly like 100 ms or smh


0B36 said:
No it's around 1 sec to upto 2 secs on some servers.

http://wiki.sa-mp.com/wiki/Kick

That's more than enough to simply force reconnect.

// In order to display a message (eg. reason) for the player before the connection is closed
// you have to use a timer to create a delay. This delay only needs to be a few milliseconds long,
// but this example uses a full second just to be on the safe side.
 
 

0B36

Expert
Joined
Jan 6, 2014
Messages
1,324
Reaction score
8
It's simple. Run a chat line check for words like "Kicked" or "Banned", if found in the last chatline, then send a disconnect and immediately send a connect to the IP and port and you're done.  Just make a CLEO out of it and you can use that.

You can argue all you want or you can try concocting a CLEO and actually start testing it.
 

HowEnCokkien

Well-known member
Joined
Jul 9, 2017
Messages
307
Reaction score
9
0B36 said:
It's simple. Run a chat line check for words like "Kicked" or "Banned", if found in the last chatline, then send a disconnect and immediately send a connect to the IP and port and you're done.  Just make a CLEO out of it and you can use that.

but it must disconnect before the kicked word being visible for bypass it. :surprised:
 

0B36

Expert
Joined
Jan 6, 2014
Messages
1,324
Reaction score
8
you can try this

Code:
{$CLEO}
 
 thread "fuckthiskick"
 
 repeat
 wait 0
 until SAMP.Available()
 
 alloc 2@ 150
 alloc 3@ 100
 
 while true
 wait 0
        alloc 8@ 50
        alloc 9@ 50
        0B75: 99 2@ 15@ 16@ 17@
            if
                0AD4: 7@ = 2@ "HowEnCokkien has been kicked %s" 3@v  //change the text by exactly copying the server kick/ban message from chatlog.txt file 
            then
                0B39: 8@ 9@
                0B38: 8@ 9@
            end
        free 8@
        free 9@
end
 
Status
Not open for further replies.
Top