CLEO Help Autoreconnect.cs similar to dialoghider.cs PLS!!!

CLEO related
Status
Not open for further replies.

AnyoBAA

Member
Joined
Mar 4, 2019
Messages
5
Reaction score
0
How can you make a false "autoreconnect.cs" similar to "dialoghider.cs" ??
Is there any way to show timeout to the server not just quit??
 

Sam201

Well-known member
Joined
Sep 22, 2014
Messages
233
Solutions
1
Reaction score
15
How to crash your game

Press esc then select "start new game"

Congratulations you just crashed yourself
 

ajom

Well-known member
Joined
Apr 14, 2020
Messages
389
Solutions
2
Reaction score
270
Location
Pluto
is there a cleo to be able to auto-crashear?

I have not tried this yet, but I think this code can crash your game by typing "/crash game":
Code:
// type /crashgame

{$CLEO .cs}

0000: game crasher

repeat
 wait 0
until 0AFA: is_samp_available

0B34: samp register_client_command "crashgame" to_label @docrashgame

0BDE: pause_thread 0

:docrashgame
 01C2: remove_references_to_actor 30@
 01C2: remove_references_to_actor 31@
 05E2: AS_actor 30@ kill_actor 31@
0B43: samp cmd_ret
 

AidanGucci

Active member
Joined
Sep 19, 2017
Messages
98
Reaction score
8
Let me explain what he is trying to say.

The OP wants to crash his game and rollback the game. By rollback he means that the server should not be able to save anything related on his account after he crashes.
 

_Safa

Well-known member
Joined
Sep 22, 2019
Messages
295
Reaction score
100
Location
UGBASE
That doesn't make any sense. If the server "kicks" you or "disconnects" you from the server, it will still call the callback OnPlayerDisconnect -> resulting in player data etc. being saved.

The disconnect reason will not matter (crash / disconnect / timeout) -> the server will still save your data as (usually atleast) it will call the save-function on the Disconnect-callback.
 
Status
Not open for further replies.
Top