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

Adding logs manually


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
zloi47
New Member
Join Date: Feb 2014
Old 02-02-2014 , 19:40   Adding logs manually
Reply With Quote #1

I know there is answer in FAQ about adding it but, can you tell me in details? where to put this? in cmd?

Code:
type c:\path\to\logfiles\*.log | c:\path\to\perl.exe c:\path\to\hlstats.pl -s -t --norcon --server-ip YourServerIp --server-port 27015
I have made Hlstatsx in on local machine just for fun playing with friends. Server is also on my machine. Please tell me exactly what to type and where.

Thank you in advance.
zloi47 is offline
Sillium
AlliedModders Donor
Join Date: Sep 2008
Location: Germany
Old 02-03-2014 , 01:46   Re: Adding logs manually
Reply With Quote #2

open a command console (cmd.exe) and type in that command. make sure to change the paths according to your installation. Also change the IP to the correct one
__________________
brb, dishes have developed their own language and are talking to the garbage about overthrowing me... i must correct this

www.unterwasserpyromanen.de
Sillium is offline
zloi47
New Member
Join Date: Feb 2014
Old 02-03-2014 , 06:51   Re: Adding logs manually
Reply With Quote #3

I have an error

Code:
Can't locate .//ConfigReaderSimple.pm in @INC (@INC contains: C:/Perl64/site/lib C:/Perl64/lib) at server/hlxce/scripts/hlstats.pl line 71
What to do?
zloi47 is offline
Sillium
AlliedModders Donor
Join Date: Sep 2008
Location: Germany
Old 02-03-2014 , 07:40   Re: Adding logs manually
Reply With Quote #4

try to change to the directory containing the hlxstats.ph file first. Also make sure the ConfigReaderSimple.pm is there
__________________
brb, dishes have developed their own language and are talking to the garbage about overthrowing me... i must correct this

www.unterwasserpyromanen.de
Sillium is offline
zloi47
New Member
Join Date: Feb 2014
Old 02-03-2014 , 11:09   Re: Adding logs manually
Reply With Quote #5

I changed directory details in hlstats.pl with exact path and it started working. Also daemon works and stats see server. But when i try to import old logs it says:

Code:
IMPORT: import of log file completed. Scanned 0 lines in 0 seconds.
how to solve this problem?

Last edited by zloi47; 02-03-2014 at 11:57.
zloi47 is offline
Sillium
AlliedModders Donor
Join Date: Sep 2008
Location: Germany
Old 02-04-2014 , 04:56   Re: Adding logs manually
Reply With Quote #6

If you just use the first part of the command... does it display all the log file contents in your console?

Code:
type c:\path\to\logfiles\*.log
There is no reason why you should edit the hlxstats.pl
__________________
brb, dishes have developed their own language and are talking to the garbage about overthrowing me... i must correct this

www.unterwasserpyromanen.de

Last edited by Sillium; 02-04-2014 at 04:57.
Sillium 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 12:03.


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