Summary
A fix for a server that crashed at start on some AMX Mod X builds: the module registered its server commands with fewer arguments than AMX Mod X reads, and AMX Mod X read a command's description from leftover memory. Whether it crashed depended on the AMX Mod X build and the plugins loaded - most often with one or two plugins. The server suites run on AMX Mod X 1.9 and the newest 1.10 as well from now on.
⬆️ Upgrade guide
npx amxts upgrade in the project, with the server stopped: it moves @amxts/core to 0.2.2, builds the plugins again and puts the 0.2.2 module on the server named in .env. A server installed by hand takes the module (and amxts-compile, where it has one) from this release, and its plugins are built again.
🩹 Fixes
- runtime: No crash at start on some AMX Mod X builds: every native the module calls -
register_srvcmd,register_clcmd,set_task,RegisterHam- gets all its parameters (c02eb1e)
❤️ Contributors
- Ernest Manukyan (@kukson777)
📦 Files
amxts-server-windows-x64.zip,amxts-server-linux-x64.tar.gz- the server kit: the module, and the compiler for.tsplugins written on the server.amxts_amxx.dll,amxts_amxx_i386.so- the module alone.amxts-compile-*,wamrc-*- the on-server compiler and WAMR's AOT compiler, per system.amxts-windows.json,amxts-linux.json- what each was built from, with every file's sha256.