Skip to content

Tracer 0.2.0

Latest

Choose a tag to compare

@imshooter imshooter released this 27 Nov 03:00

Tracer 0.2.0 names its natives the way open.mp names its functions and writes its reports to scriptfiles.

Changes

  • The natives are now SetTracerLongCallTime, GetTracerLongCallTime, GetTracerDefaultLongCallTime, ResetTracerLongCallTime, EnableTracerLongCall, DisableTracerLongCall, IsTracerLongCallEnabled and RestartTracerLongCall, as crashdetect has SetCrashDetectLongCallTime. The component still answers to the Tracer_ names, so scripts compiled with 0.1 keep loading, and the stocks of crashdetect work as before. A script that calls the old names needs the new ones to compile with this include.
  • Reports go to scriptfiles/tracer by default. A config.json that sets tracer.output keeps its own folder.

Installation

Unpack the zip of your system into the folder of the server: components/Tracer.dll or components/Tracer.so, and qawno/include/tracer.inc. Remove crashdetect from pawn.legacy_plugins. Both builds are 32 bit and tested with open.mp 1.6.7, the Linux one on Ubuntu 20.04, Debian 12 and Ubuntu 24.04 with glibc 2.30 or later.

Licenses

Tracer is under the MIT License. subhook (BSD 2-Clause) is linked into the component, and its license is in the zips.