tweedman Posted August 22, 2003 Share Posted August 22, 2003 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? Link to comment Share on other sites More sharing options...
Rumor Posted August 22, 2003 Share Posted August 22, 2003 http://www.jk2files.com there is already a php and asp one. u mite take a look Link to comment Share on other sites More sharing options...
Emon Posted August 22, 2003 Share Posted August 22, 2003 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. Link to comment Share on other sites More sharing options...
tweedman Posted August 23, 2003 Author Share Posted August 23, 2003 Gold thx guys! Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.