Alliedassault           
FAQ Calendar
Go Back   Alliedassault > FPS Gaming General Discussion > MoH General Discussion
Reload this Page more frigging rcon questions
MoH General Discussion General Discussion about Medal of Honor: Allied Assault, expansions and Pacific Assault

Reply
 
Thread Tools Display Modes
more frigging rcon questions
Old
  (#1)
r3mix is Offline
Senior Member
 
Posts: 896
Join Date: Apr 2002
Location: Oz
   
Default more frigging rcon questions - 10-20-2002, 02:22 AM

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.
  
Reply With Quote
Old
  (#2)
Captain_McCusker is Offline
Senior Member
 
Posts: 563
Join Date: Jun 2002
   
Default 10-20-2002, 04: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.
  
Reply With Quote
Old
  (#3)
r3mix is Offline
Senior Member
 
Posts: 896
Join Date: Apr 2002
Location: Oz
   
Default 10-20-2002, 04: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?
  
Reply With Quote
Old
  (#4)
Captain_McCusker is Offline
Senior Member
 
Posts: 563
Join Date: Jun 2002
   
Default 10-20-2002, 07: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:
  
Reply With Quote
Old
  (#5)
Miscguy is Offline
2nd Lieutenant
 
Posts: 3,811
Join Date: Apr 2002
Location: Redmond, Home of Microsoft
  Send a message via MSN to Miscguy  
Default 10-20-2002, 09: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.
  
Reply With Quote
Old
  (#6)
Druid is Offline
Senior Member
 
Posts: 196
Join Date: May 2002
   
Default 10-20-2002, 05: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?
  
Reply With Quote
Old
  (#7)
r3mix is Offline
Senior Member
 
Posts: 896
Join Date: Apr 2002
Location: Oz
   
Default 10-21-2002, 07: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.
  
Reply With Quote
Old
  (#8)
r3mix is Offline
Senior Member
 
Posts: 896
Join Date: Apr 2002
Location: Oz
   
Default 10-21-2002, 07: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.
  
Reply With Quote
Old
  (#9)
Druid is Offline
Senior Member
 
Posts: 196
Join Date: May 2002
   
Default 10-21-2002, 11: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.
  
Reply With Quote
Old
  (#10)
[NBK] G.I. Jerk is Offline
Senior Member
 
Posts: 292
Join Date: Apr 2002
Location: Calgary, Ab. CanaDUH
 Send a message via ICQ to [NBK] G.I. Jerk Send a message via MSN to [NBK] G.I. Jerk  
Default 10-22-2002, 04: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
  
Reply With Quote
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump



Powered by vBulletin® Version 3.8.12 by ScriptzBin
Copyright ©2000 - 2025, vBulletin Solutions Inc.
vBulletin Skin developed by: vBStyles.com
© 1998 - 2007 by Rudedog Productions | All trademarks used are properties of their respective owners. All rights reserved.