CLEO Help autoreconnect after kick from server by admin?

CLEO related
Status
Not open for further replies.

opce

Active member
Joined
Dec 11, 2014
Messages
61
Reaction score
0
hei, i see sanek s0beit have, function when u kicked from server u can press AutoReconnect and server automatic reconnecting u it's is can be impossible?
if yes, shere i can get this cleo?

@=_Gigant=_
@Mila.cs ✅
@0x688
 

Edvincik

Well-known member
Joined
Mar 15, 2016
Messages
399
Reaction score
26
Watafak is with your english, just find any cleo that lets you to reconnect, then make other cleo with chat scan, that will execute command to reconnent when 'Server closed the connection' line appears
 

_=Gigant=_

Well-known member
Joined
Mar 21, 2017
Messages
353
Reaction score
16
here you go :urtheman:

[attachment=5260]  /.rc to reconnect

and 

[attachment=5261] lshift + 0 to reconnect  

now you choose which you want  :cool:
 

Attachments

  • ReconnectViaCmd.cs
    17.5 KB · Views: 57
  • ReconnectViaKey.cs
    17.5 KB · Views: 60

_=Gigant=_

Well-known member
Joined
Mar 21, 2017
Messages
353
Reaction score
16
opce said:
_=Gigant=_ said:
here you go :urtheman:

  /.rc to reconnect

and 

lshift + 0 to reconnect  

now you choose which you want  :cool:

activate key?

:facepalm: via key just press lshift + 0 to reconnect and for via cmd just type /.rc to reconnect
 

opce

Active member
Joined
Dec 11, 2014
Messages
61
Reaction score
0
_=Gigant=_ said:
opce said:
_=Gigant=_ said:
here you go :urtheman:

  /.rc to reconnect

and 

lshift + 0 to reconnect  

now you choose which you want  :cool:

activate key?

:facepalm: via key just press lshift + 0 to reconnect and for via cmd just type /.rc to reconnect
but it's gonna vorking when admin kick me from server? and i'm write /.rec my game autoreconnect?
:sadpepe:
 

Mila.cs ✅

Well-known member
Joined
Jun 24, 2016
Messages
247
Reaction score
10
Location
̀́̀́
CSprite said:
Mila.cs ✅ said:
Activation/Deactivation: /relog

Here:

he , or she , wants a autoreconnect -_- :surprised:

Well, it is a "autoreconnecter". :sadpepe:

Code:
{$CLEO .cs}
{$INCLUDE sf}
0000:

0B34: "relog" @CMD

0661: "2+2 is 4"
0661: "- 1 thats 3"
0661: "quick mafs"

:MAIN
WAIT 0
IF 0@ == 1
ELSE_JUMP @MAIN
WAIT 0
0AC8: 10@ = allocate_memory_size 260
0B75: samp get_chat_string 99 text_to 10@ prefix_to $2plus2is4 color_to $minus1thats3 prefix_color_to $quickMAfs
IF
0C14: strcmp string1 10@ string2 "Server closed the connection."
THEN
WAIT 200
0B28: samp disconnect_with_reason 0
WAIT 30
0B27: samp set_gamestate 1
0AC9: free_allocated_memory 10@
END
JUMP @MAIN

:CMD
WAIT 0
0B12: 0@ = 0@ XOR 1
IF 
0@ == 0
THEN
PRINT "Auto relog ~r~deactivated." 2000
END
IF 
0@ == 1
THEN 
PRINT "Auto relog ~g~activated." 2000
END
SAMP.CmdRet()
JUMP @MAIN
 

CSprite

Active member
Joined
Nov 12, 2016
Messages
94
Reaction score
7
Mila.cs ✅ said:
CSprite said:
Mila.cs ✅ said:
Activation/Deactivation: /relog

Here:

he , or she , wants a autoreconnect -_- :surprised:

Well, it is a "autoreconnecter".  :sadpepe:

Code:
{$CLEO .cs}
{$INCLUDE sf}
0000:

0B34: "relog" @CMD

0661: "2+2 is 4"
0661: "- 1 thats 3"
0661: "quick mafs"

:MAIN
WAIT 0
IF 0@ == 1
ELSE_JUMP @MAIN
WAIT 0
0AC8: 10@ = allocate_memory_size 260
0B75: samp get_chat_string 99 text_to 10@ prefix_to $2plus2is4 color_to $minus1thats3 prefix_color_to $quickMAfs
IF
0C14: strcmp string1 10@ string2 "Server closed the connection."
THEN
WAIT 200
0B28: samp disconnect_with_reason 0
WAIT 30
0B27: samp set_gamestate 1
0AC9: free_allocated_memory 10@
END
JUMP @MAIN

:CMD
WAIT 0
0B12: 0@ = 0@ XOR 1
IF 
0@ == 0
THEN
PRINT "Auto relog ~r~deactivated." 2000
END
IF 
0@ == 1
THEN 
PRINT "Auto relog ~g~activated." 2000
END
SAMP.CmdRet()
JUMP @MAIN

:motherofgod:  Works for me.
 
Status
Not open for further replies.
Top