Hello Keeper,

Didn't work for me:

Month '-1' out of range 0..11 at ./hlstats.pl line 1901

Where the line is:

$ev_unixtime  = 
timelocal($ev_sec,$ev_min,$ev_hour,$ev_day,$ev_month-1,$ev_year);

Can you upload the complete script somewhere?


Monday, June 23, 2008, 8:22:56 PM, you wrote:

K> [#1 - SEARCH] ( around line 1494 )
K> my $last_attacker          = "";
K> my $last_attacker_hitgroup = "";
K> [ADD AFTER]
K> my $is_streamed            = 0;
K> my $test_for_date          = 0;
K> [END]------------------------------------------------------------

K> [#2 - SEARCH] ( around line 1821 )
K> # Get the datestamp (or complain)
K> if ($s_output =~ s/^.*L (\d\d)\/(\d\d)\/(\d{4}) -
K> (\d\d):(\d\d):(\d\d):\s*//)
K> {
K> [REPLACE WITH]
K> # Get the datestamp (or complain)
K> $is_streamed = 0;
K> $test_for_date = 0;
K> $is_streamed = ($s_output !~ m/^L\s*/);

K> if ( !$is_streamed ) {
K> $test_for_date = ($s_output =~ s/^L (\d\d)\/(\d\d)\/(\d{4}) -
K> (\d\d):(\d\d):(\d\d):\s*//);
K> } else {
K> $test_for_date = ($s_output =~ s/^\S*L (\d\d)\/(\d\d)\/(\d{4}) -
K> (\d\d):(\d\d):(\d\d):\s*//);
K> }

K> if ($test_for_date)
K> {
K> [END]------------------------------------------------------------


-- 
Best regards,
 Serge


_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please 
visit:
http://list.valvesoftware.com/mailman/listinfo/hlds

Reply via email to