![]() |
more frigging rcon questions
ive seen the exec command where you can load a server config from rcon..... so you stick all your crap in there and just execute whichever one you want.
is there anything similar that can be done to execute a number of rcon commands in a batch? something like.... dumpuser "Player1" dumpuser "Player2" dumpuser "Player3" dumpuser "Player4" dumpuser "Player5" dumpuser "Player6" etc since the dumpuser [ClientNo] doesnt work its pretty dedious to run this for every player on a server. For what i want it for all player names will be known beforehand. |
Yes, you could run that in a config, but I don't think the output would come back to you (through your own console if your doing this through a remote server). In that case you might want to enable logging, run the script and then browse your log for the info you want.
|
so just make a "allplayers.cfg" file.... dump those cron commands in it and then exec it from rcon yeah?
i ran with "logfile 3" and "developer 1" set and that gets be the output i need. what other logfilg settings are there? be handy just to have one that logs kills and chat. anyone know? |
God, I wish I did. I've been using different combos over and over on the server to see if I could figure out how to log the chat/kills for stats, etc. So far the best I can come up with is an output of the scoreboard at the end of the map (TDM). I can't remember what it is, though. oOo:
|
[url:6e5fb]http://www.alliedassault.com/phpBB2/viewtopic.php?t=146499[/url:6e5fb]
Use this program to scan for those skins. It will kick them for you if you list them as a cheating skin. Basically it returns Dumpuser information that you can sift though in a second program running in the background. So that you can review it if you want. All you need is an IP, and the rcon password. Give it a try i think it will give you what your looking for in respect for getting dumpuser information. Play around with it. |
[quote="Captain_McCusker":c2d5c]God, I wish I did. I've been using different combos over and over on the server to see if I could figure out how to log the chat/kills for stats, etc. So far the best I can come up with is an output of the scoreboard at the end of the map (TDM). I can't remember what it is, though.[/quote:c2d5c]
You need to add this to your server.cfg in the mohaa/main directory //Logging. This is needed for Stats - Do Not Remove seta g_log "qconsole.log" seta logfile 3 seta g_logsync 1 You also need to add: +set developer 1 To your command line on the server. This is the only way to to get log files for mohaa with obituaries. You will have to get whoever host your server to change the command line. Anytime you shut the server down, you must grab a copy of the log file. The log file is rewritten each time the server restarts. Does anyone know a way around the log file being copied over after the server restarts? |
Quote:
|
[quote=Druid]
Quote:
//Logging. This is needed for Stats - Do Not Remove seta g_log "qconsole.log" seta logfile 3 seta g_logsync 1 You also need to add: +set developer 1 To your command line on the server. This is the only way to to get log files for mohaa with obituaries. You will have to get whoever host your server to change the command line. Anytime you shut the server down, you must grab a copy of the log file. The log file is rewritten each time the server restarts. Does anyone know a way around the log file being copied over after the server restarts?[/quote:ee64a] thanks druid do you have and refernces for those values? i wouldnt mind testing them all out as theres 2 different uses im hoping to use the log for. |
Quote:
logfile "0" enable console logging 0=no log 1=buffered 2=continuous 3=append so as not to overwrite old logs g_log "qconsole.log" This can be anything,log , it just sets the name of the log file g_logSync "1" toggle the logging to append to the existing file and not overwrite. This should force it to append the log file. but it doesn't work. The log file is overwritten whenever the server is restarted. You should also check this thread [url:836ed]http://www.alliedassault.com/phpBB2/viewtopic.php?p=276267#276267[/url:836ed] It looks like dogmeat has a work around for the log file being overwritten on a restart. |
Quote:
|
All times are GMT -6. The time now is 09:28 PM. |
Powered by vBulletin® Version 3.8.12 by ScriptzBin
Copyright ©2000 - 2025, vBulletin Solutions Inc.
© 1998 - 2007 by Rudedog Productions | All trademarks used are properties of their respective owners. All rights reserved.