PDA

View Full Version : JK2 raw server commands...


tweedman
08-21-2003, 11:11 PM
I have written a PHP script that connects to a JK2 server, I would like to be able to talk to it and get info such as current scores and stats.

I can't find a list of server commands anywhere, the only thing I can get when I connect is ˙˙˙˙disconnect.

Anybody?

Rumor
08-22-2003, 04:56 AM
www.jk2files.com

there is already a php and asp one. u mite take a look

Emon
08-22-2003, 08:24 PM
clear; cmdlist; condump cmdlist.txt; clear; cvarlist; condump cvarlist.txt

Paste that string of commands into the console and run it. It will dump all listed, all important commands and cvars to their respective files.

If you want to do stats and such, you'll need to parse the log file. The command "logfile 3" should open the logfile for realtime writing and appending.

tweedman
08-23-2003, 08:45 PM
Gold thx guys!