How to log damage in CS 1.6
Type mp_logdetail 3 in the server console to log every hit on enemies and teammates. 1 logs enemy hits only, 0 turns it off.
mp_logdetail
Logs attacks between players: none, attacks on enemies, attacks on teammates, or both.
mp_logdetail <0|1|2|3> Examples
mp_logdetail 3 Log all attacks.
mp_logdetail 0 Turn attack logging off.
Values
| Value | What it does |
|---|---|
| 0Default | No attack logging |
| 1 | Log attacks on enemies |
| 2 | Log attacks on teammates |
| 3 | Log both |
Arguments
levelRequired- 0, 1, 2 or 3.
What it does
Adds a log line for every damaging hit, which stats tools and anti-cheat reviews can use. 1 logs attacks on enemies, 2 logs attacks on teammates, 3 logs both. Detailed logging makes log files much larger.
Good to know
- Logging must be on (
log on) for anything to be written.
Run it on your server
On a SLASHPLAY server, type it in the Console tab of the server page; the reply shows right under it. A value set there lasts until the server restarts. To keep it, add the line to cstrike/server.cfg. New to this? Start a CS 1.6 server first.
Your own
CS 1.6 server.
From $0.03 an hour, only while it runs. New accounts get 6 free tokens.