Skip to content

Releases: Zeex/samp-plugin-crashdetect

CrashDetect 4.17

29 Oct 15:38
Compare
Choose a tag to compare
  • Added timestamps in log file (#52)

    You can use logtimeformat to customize the time format.

  • Log file is now opened in append mode, so it's not overwritten on server startup

CrashDetect 4.16

08 Sep 07:35
Compare
Choose a tag to compare
  • Added new option crashdetect_log <filename> that allows you to set a custom log file
  • Minor build fixes

CrashDetect 4.15.1

02 Dec 15:30
Compare
Choose a tag to compare
  • Fixed compatibility with GDK 4.2 (runtime error 20)

CrashDetect 4.15

12 Oct 15:50
Compare
Choose a tag to compare
  • Added values of pass-by-reference parameters to [back]trace output
  • Increased the maximum length of outputted string contents to 80 characters
  • Added a script for generating wrappers around native functions (this lets you see natives' arguments when using trace)

CrashDetect 4.14

18 Aug 21:13
Compare
Choose a tag to compare
  • Added two server.cfg options:

    • trace <flags> - enable tracing; flags is one or combination of the following (the order doesn't matter):
      • n - trace native functions
      • p - trace public functions
      • f - trace normal functions

    This means that 'pn' will trace both public and native functions, and similarly, 'pfn', will trace all.

    • trace_filter <regexp> - filter the output of trace according to a (Perl-compatible) regexp.

      For example:

      • trace_filter Player - only output functions whose name contains Player
      • trace_filter playerid=0 - show functions whose playerid parameter is 0
  • Fixed issues with long scripts (the 65k problem)

  • Fixed slightly incorrect instruction address in Runtime error 6 message when doing HALT

CrashDetect 4.13.1 LSE

12 Jun 05:13
Compare
Choose a tag to compare

This is a special version of CrashDetect 4.13.1 that can be used with the LSE variant of this compiler. LSE stands for "Long Script Edition", i.e. it's created to work with for long scripts where long means about ~65k lines of code (includes are counted too).

The fact that the normal version of CrashDetect doesn't work with such scripts is NOT a bug in CrashDetect and thus not my fault. It's a problem with the Pawn compiler that is shipped with SA-MP.

Please DO NOT use this with the default SA-MP compiler or your server will crash!

CrashDetect 4.13.1

23 Mar 10:30
Compare
Choose a tag to compare
  • Fixed LCTRL 0xFF / IsCrashDetectPresent() not working on Linux
  • Fixed a Pawn warning in the include file when compiling with optional semicolons
  • Fixed a possible crash when terminating the server with Ctrl+C on Windows
  • Fixed PrintAmxBacktrace() not working property when called from within OnRuntimeError()
  • Limited the depth of the AMX backtrace to max. 100 entries

CrashDetect 4.13

13 Jan 01:25
Compare
Choose a tag to compare
  • Added SIGABRT detection on Linux (reported as a crash)
  • Added a way to detect CrashDetect from Pawn (see the include)
  • Added a forward declaration for OnRuntimeError() in the include file
  • Fixed a crash when the AMX stack is messed up
  • Fixed handling of Ctrl-C on Windows
  • Fixed empty script name in some error messages when .amx not found
  • Removed update checking code

CrashDetect 4.12

15 Sep 18:28
Compare
Choose a tag to compare
  • Fixed incomplete backtrace when using OnRuntimeError or fixes2's OnServerMessage
  • Fixed native backtrace on Windows sometimes going too far
  • Added 4 native functions for getting and printing backtraces (see crashdetect.inc)
  • Increased max. number of raw arguments in AMX backtrace from 5 to 10

CrashDetect 4.11.2

09 Jul 08:39
Compare
Choose a tag to compare
v4.11.2

v4.11.2