FAQ   Search   Memberlist   Usergroups   Register   Profile   Log in to check your private messages   Log in 

Tutorial instalare HLStats (Windows)

 
Post new topic   Reply to topic    [elements] Forum Index -> Trashcan
View previous topic :: View next topic  
Author Message
Alizee
Main Administrator
Main Administrator
Alizee

Joined: 16 Aug 2006
Posts: 858
Location: Onesti

PostPosted: 16/08/2006 06:12    Post subject: Tutorial instalare HLStats (Windows) Reply with quote

Ce este HLStats ?
HL Stats este un add-on pentru Counter-Strike in genul PsychoStats-ului adica arata jucatorii care sunt pe server pe ce harta se joaca, ce arme folosesc, ce clanuri au intrat pe server.

Mai intai trebuie sa aveti instalat wamp5 !
Acuma downloadati HLStats.

Instalre:
Acuma extrageti tot continutul arhivei hlstats in C:\hlstats dupacare creati un folder hlstats in wamp\htdocs in care copiati fisierul si folderul hlstats.php, hlstatsimg din C:\hlstats.

Configurare:
Deschideti fisierul hlstats.conf din C:\hlstats\hlstats.conf cu WordPad-ul.
Aici faceti urmatoarele modificari:
Code:
Code:
# DBUsername - User to connect to the database as.
DBUsername "va puneti userul root"

# DBPassword - Password for the database user.
DBPassword "parola userului"

# DNSResolveIP - Resolve player IP addresses to hostnames.
# Requires a working DNS setup (on the box running hlstats.pl). 1=on 0=off
DNSResolveIP 0

DeleteDays 7


Acuma intrati in fisierul hlstats.php din folderul wamp\htdocs\hlstats cu WordPad.
Aici faceti urmatoarele modificari:
Code:
Code:
// DB_USER - The username to connect to the database as
define("DB_USER", "va puneti userul root");

// DB_PASS - The password for DB_USER
define("DB_PASS", "parola userului");

define("INCLUDE_PATH", "C:/hlstats/hlstatsinc");

// PLATFORM - Sets the operating system being used. Recognised values:
// "POSIX" - Any variant of Linux or Unix.
// "Windows" - Any variant of Microsoft Windows.
// Most parts of HLstats should work on any platform, but this
// setting allows for some OS-specific workarounds etc.
define("PLATFORM", "Windows"); 


Acuma intrati aici
Va logati cu User-ul: admin si Parola: 123456
Aici va faceti voi setarile dorite.

Acuma intrati in Start>Run>cmd si scrieti urmatoarele:
Code:
Code:
cd..
cd..
cd hlstats
perl hlstats

Aici trebuie sa va apara:
Quote:
++ HLstats 1.02 starting...

-- Opening UDP listen socket on port 27500 ... opened OK
-- Connecting to MySQL database 'hlstats' on 'localhost' as user 'statsguy' ...
connected OK

++ HLstats is now running (Normal mode, debug level 1).

Acuma intrati dinnou in Start>Run>cmd si scrieti:
Code:
Code:
cd..
cd..
at 00:00 /every:Su,M,T,W,Th,F,S perl C:\hlstats\hlstats-awards.pl

Acuma trebuie sa primiti mesajul:
Quote:
Added a new job with job ID = 1


Cam asta a fost.
Good luck !
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic   Reply to topic    [elements] Forum Index -> Trashcan All times are GMT + 2 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group
Fa-ti si tu propriul forum GRATUIT, pe www.myforum.ro