SA-MP Forums Archive
Detecting a Force Crash? - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Discussion (https://sampforum.blast.hk/forumdisplay.php?fid=84)
+---- Thread: Detecting a Force Crash? (/showthread.php?tid=400653)



Detecting a Force Crash? - ReFuSeR - 19.12.2012

Is there any ways anyone knows of that are not plugin based for detecting a forceful crash?

Telling the difference between a forced one and a legit crash.


Re: Detecting a Force Crash? - Djole1337 - 19.12.2012

I don't think so.


Re: Detecting a Force Crash? - Mauzen - 19.12.2012

Well, forced crashs are "forced" by using bugged functions that can crash the server. Same with "unwanted" crashs, they are caused by bugged functions.
So theres basically no difference between them, thus no way to differentiate.
Having the crashdetect plugin running is always a good idea, even on online servers. Then you can at least get an idea where the crash came from. Debug-compiled scripts give even more detailed info about the exact line that crashed, but might be slower (not sure about that), and theoretically can be decompiled to an useable script (unlike normally compiled script, however, ive never seen a decompiler that makes use of the debug symbols, and doubt there is one available)


Re: Detecting a Force Crash? - Y_Less - 20.12.2012

Forced by whom where? Server crash, client crash, script caused, hack caused?


Re: Detecting a Force Crash? - B-Matt - 20.12.2012

I think that he talking about client crash.


Re: Detecting a Force Crash? - ReFuSeR - 20.12.2012

Quote:
Originally Posted by B-Matt
View Post
I think that he talking about client crash.
Like a player tabbing and pressing start new game, which forces a client crash.

There are other ways of force crashing too, like simply ending the process.


Re: Detecting a Force Crash? - Slice - 20.12.2012

Quote:
Originally Posted by ReFuSeR
View Post
Like a player tabbing and pressing start new game, which forces a client crash.

There are other ways of force crashing too, like simply ending the process.
Esc -> Start new game


Start Game or Load Game - JaKe Elite - 21.12.2012

Is there any possibility to disable the main menu of GTA San Andreas Multiplayer.

Just like MTA SA did. So we can avoid the Start Game or Load Game causing player's client to crash.

Anyone?


Re: Start Game or Load Game - SuperViper - 21.12.2012

Not possible.