Jump to content

Access to games_mp.log


Dan

Recommended Posts

Basically this is the log of the chat and in game kills, it's what's used for the admin mod on cod4. Right now I can only access this file every 60 seconds through a http request. I asked Gameservers for ftp access and this is their response:

 

"[gs] devicenull

Posted: Thu Nov 18, 2010 10:21 am

 

Treyarch has told us they do not want us to provide any sort of FTP access to the server. This includes access to the log files, even if they were separate.

 

The delay you speak of on the logs was put in place to prevent exactly what you were trying to accomplish. Our control panel is not designed to support tools making many requests a minute for log files. We may look into other methods of providing access to this file, as it's been a fairly common request, but right now we do not have any ETA or further information as to when (if ever) this will happen."

 

So basically it could come or never come, my program seems to work 75% of the time and the server randomly crashes sometimes, but other people are reporting the same thing so I cannot see the console logs for the reason for the crashes as these are not logged.

  • Like 1
Link to comment
Share on other sites

Hey Dan, this is totally unrelated to the original topic but I would just like to thank you and Tomato and Duckie and Im sure several other members/admin for working with and tweaking the server settings and whatnot. It has to be frustrating at times, but I sure do appreciate it. :thanks

  • Like 1
Link to comment
Share on other sites

They don't provide FTP access to those files, but it is not impossible to get the log. I've slowly been working on a stats parser for Black Ops for my clan's website.

 

See here for my clan's BO server's games_mp.log: http://uancletus.com/bostats/?type=games&sid=554207

To get anything worth using, you would have to request the log every 5 minutes or so then compare it with the last data you got so that there isn't duplicate data.

 

If you are interested, PM me.

Link to comment
Share on other sites

They don't provide FTP access to those files, but it is not impossible to get the log. I've slowly been working on a stats parser for Black Ops for my clan's website.

 

See here for my clan's BO server's games_mp.log: http://uancletus.com/bostats/?type=games&sid=554207

To get anything worth using, you would have to request the log every 5 minutes or so then compare it with the last data you got so that there isn't duplicate data.

 

If you are interested, PM me.

 

Actually I'v got it down to parse every 60 seconds.

Link to comment
Share on other sites

Well what I mean is that Gameservers doesn't update their website's log until a certain number of characters have been pushed to the log, so if you request it too often, you are going to get the same exact log as the last request.

Edited by UANCletus
Link to comment
Share on other sites

Well what I mean is that Gameservers doesn't update their website's log until a certain number of characters have been pushed to the log, so if you request it too often, you are going to get the same exact log as the last request.

 

Nope theres a dvar I set that updates it. Not sure what it was but its one of the log ones.

Link to comment
Share on other sites

Nope theres a dvar I set that updates it. Not sure what it was but its one of the log ones.

Is it a ranked server? Also, I am assuming the log you are talking about is the one found on the Gameservers CP. Mind sharing what dvar it is?

Link to comment
Share on other sites

Is it a ranked server? Also, I am assuming the log you are talking about is the one found on the Gameservers CP. Mind sharing what dvar it is?

Yes I parse the file from the http one in Gameservers, Here is the dvars I have for logs, I think its the logsync one that you need to set.

 

g_log "games_mp.log" <<-Name of log file, do not change
g_logSync "1" <<-I think this updates the log file on every action in game
g_logTimeStampInSeconds "0" <<- Changes server time into seconds, not needed
log_append "1" <<- Not sure if needed but I use anyway 
logfile "0" <<-Changed earlier but seemed to go back to 0, had no effect on logs.

 

So to change it, rcon into your ranked server and send:

 

g_logSync 1

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.