These two commands in next version of ettv would be very nice:
>/matchtime
>29 oct 2006 17:35:56 UTC
>/matchstate
>1st map, 2nd stage, timetobeat 12:56
matchtime is, ofcourse, the time when watched events took place, not the begining of the match. these data shouldn't be reset with match reset.
is it doable?
No more console "result pls" spam
Moderators: Forum moderators, developers
Re: No more console "result pls" spam
how would server recognise if the current map is first or second or ...?chromepeer wrote:>/matchstate
>1st map, 2nd stage, timetobeat 12:56
yes, actually it counts the demo files since start of match.Xeon_vl wrote:his ettvd scripts are php based. It starts counting on match start.
someone recently discovered that recent versions of php4 also run the scripts just fine - so on most recent distros you dont even need to install php5 anymore
(more recents: recent recent recent)
-
- Posts: 2
- Joined: Sun Oct 29, 2006 9:56 am
Re: No more console "result pls" spam
If you don't want to rely on PHP scripts, you can read 3 environment variables, 2 of them could be set by referees:jump3r wrote:how would server recognise if the current map is first or second or ...?chromepeer wrote:>/matchstate
>1st map, 2nd stage, timetobeat 12:56
Code: Select all
match_mapcount
match_stagecount
Code: Select all
match_timetobeat