Repository navigation
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,IsTracerLongCallEnabledandRestartTracerLongCall, as crashdetect hasSetCrashDetectLongCallTime. The component still answers to theTracer_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/tracerby default. Aconfig.jsonthat setstracer.outputkeeps 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.