Thread: Command logger
View Single Post
Johnny got his gun
Veteran Member
Join Date: Jan 2004
Location: Tokyo
Old 11-11-2004 , 15:20  
Reply With Quote #5

I don't know?

I tried this in server.cfg:

commandlogger_filter 1
commandlogger_filepath clientcommands.log
commandlogger_logto 2
commandlogger_register amx_help

Then I log on with a client, open console, and type this:
amx_hlp
amx_help
amx_hlp
(yeah amx_hlp misspelled twice, once before, once after the right time)

Then I check server console:
Quote:
L 11/11/2004 - 21:17:55: Log file started (file "cstrike\addons\amxmodx\logs\cli
entcommands.log") (game "cstrike") (amx "0.2")
L 11/11/2004 - 21:17:55: JGHG/STEAM_66666666 command: amx_help
So it seems to work ok.? It only logged once, and it logged to a new file...

Note that you need to find out what client "commands" aren't really client->server commands, but exist entirely only at clients. I think "name" is one of those, because "name" cmd is never sent to server. Name is then really a client cvar (and in that sense not a command at all), and there are lots of those.
Johnny got his gun is offline