Alliedassault

Alliedassault (alliedassault.us/index.php)
-   MoH General Discussion (alliedassault.us/forumdisplay.php?f=7)
-   -   more frigging rcon questions (alliedassault.us/showthread.php?t=10806)

r3mix 10-20-2002 01:22 AM

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.

Captain_McCusker 10-20-2002 03:02 AM

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.

r3mix 10-20-2002 03:09 AM

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?

Captain_McCusker 10-20-2002 06:45 AM

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:

Miscguy 10-20-2002 08:45 AM

[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.

Druid 10-20-2002 04:39 PM

[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?

r3mix 10-21-2002 06:07 PM

Quote:

Originally Posted by Miscguy
[url:6bd59]http://www.alliedassault.com/phpBB2/viewtopic.php?t=146499[/url:6bd59]

Use this program to scan for those skins. It will kick them for you if you list them as a cheating skin.

nah... my need for dumpuser info got nothing to do with skins.

r3mix 10-21-2002 06:11 PM

[quote=Druid]
Quote:

Originally Posted by "Captain_McCusker":ee64a
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.

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: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.

Druid 10-21-2002 10:04 PM

Quote:

Originally Posted by r3mix

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.

I'm not sure if this is what you mean by references.
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.

[NBK] G.I. Jerk 10-22-2002 03:50 PM

Quote:

Originally Posted by r3mix

what other logfilg settings are there? be handy just to have one that logs kills and chat. anyone know?

For chat yes.....linux server ONLY.... enable sv_chatter


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.