Raised This Month: $51 Target: $400
 12% 

Output a .txt file of current mapname or/and time left?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
xenland
New Member
Join Date: Nov 2010
Old 11-20-2010 , 14:33   Output a .txt file of current mapname or/and time left?
Reply With Quote #1

This is the more descriptive thread then my last which seemed off-putting from my goal.

So how is it possible to output a .txt file of the current mapname &/or timeleft tille next map, so i can load it into MySql/PHP/PERL or what ever app i run? (if it IS even possible?)
xenland is offline
frostschutz
Member
Join Date: Dec 2009
Old 11-22-2010 , 16:34   Re: Output a .txt file of current mapname or/and time left?
Reply With Quote #2

You can query the current map name, using either source query or rcon protocol, and save that in a txt file.

I do that for Source TV demos; along with the demo file I create a text file (based on query / status / log), that shows who was playing as well as the score and chat.
frostschutz is offline
micazoid
Veteran Member
Join Date: Oct 2010
Location: Munich - Germany
Old 11-23-2010 , 02:39   Re: Output a .txt file of current mapname or/and time left?
Reply With Quote #3

URserverfolder/orangebox/dod/logs

There should be a logfile for every map you are and were running. I think mapname stands in it. Timeleft isnt in it I think, because the Log contains the output of the gameconsole for the whole map.

HERE is little plugin, what was designed, to get timeleft via HLSW, maybe this helps?

What exactly are you planning to do?

EDIT:
sv_logs (I think that was the cvar) has to be on of course to create logs ;)
micazoid is offline
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


All times are GMT -4. The time now is 10:45.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode