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:
 

HowEnCokkien

Well-known member
Joined
Jul 9, 2017
Messages
307
Reaction score
9
0B36 said:
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

idk what is this for. explain pls.
-------
i understand it but, its hard to do it with detecting chattext.
 

0B36

Expert
Joined
Jan 6, 2014
Messages
1,324
Reaction score
8
It's not hard, get yourself kicked once and find the kick message in chatlog.txt file, copy it and paste it in the CLEO and compile it. then connect again and do something that triggers a kick, as soon as the kick message appears, you will be reconnected to the server, that's it. You're avoiding the actual kick by reconnecting before it happens.
 
Status
Not open for further replies.
Top