Writes a rolling server-state snapshot to disk every interval and warns admins before entity-limit crashes.
Daemon666
1.0.0 - Initial release.
| csb_crash_logger.sma main | 684d687 | 3.7 KB |
README.md
CSB Crash Logger overwrites addons/amxmodx/data/csb_crash_last.log every csb_crashlog_interval seconds with the current time, map, timeleft, entity count and full player list. After a crash, that file is the last known state of the server - invaluable for debugging. It also watches the entity count and warns online admins in chat when it crosses csb_crashlog_entwarn, the classic crash cause on busy mod servers.
Features
- Rolling single-file snapshot, no log rotation needed.
- Entity-count early warning, rate-limited to once a minute.
- Final snapshot written at map end.
Installation
- Enable the
enginemodule. - Compile, install, add to
plugins.ini, change map.
Installation
1. Compile the .sma (or use the site compiler) 2. Put the .amxx in addons/amxmodx/plugins/ 3. Add it to addons/amxmodx/configs/plugins.ini 4. Change map
Cvars
| CVAR | Default | Description |
|---|---|---|
csb_crashlog_interval |
30.0 |
Seconds between snapshots (minimum 5). |
csb_crashlog_entwarn |
1800 |
Entity count that triggers the admin warning. |
Journal des modifications — v1.0.0
1.0.0 - Initial release.Versions →
Note
No ratings yet.
Download v1.0.0
Prérequis
| AMX Mod X | ≥ 1.9 |
| Engine | ReHLDS HLDS |
| ReGameDLL | Optionnel |
| ReAPI | Optionnel |
| Metamod | Metamod / Metamod-r |
| Modules | engine |
Contributeurs









