Avem nevoie de:
XAMPP ->
http://www.apachefriends.org/en/xampp-windows.html#641[varianta installer - 34mb]
Active Perl ->
http://www.activestate.com/store/downlo ... 18add83d01
Psychostats ->
http://www.psychostats.com/downloads/Ps ... s3.0.8.zip
-- Instalam XAMPP (nu mai postez tutorial, am vazut ca este aici pe forum)
-- Instalam Active Perl - next next next pana la capat
-- Dezarhivam Psychostats in C:\
-- Fisieru "upload" din folderu psychostats il redenumim in "stats" si il punem in C:\xampp\htdocs\
-- Accesam
http://localhost/stats/install/In panou completam:
DB Type: default
Hostname: localhost
Port: default
DB Name: numele bazei de date
Table name prefix: default
Username: Userul care are acces la baza de date MySQL
Password: Parola userului care are acces la baza de date MySQL
-- Ar trebui sa apara acum
MYSQL connection established!
Version: 5.0.27-community-nt
Click the 'Continue' button to proceed
-- Ne apare alt panou:
Select GameType: Halflife
Select ModeType: Cstrike
Apasam pe ‘Initialize Database’ si din nou dupa ce creeaza tablele pe ‘Continue’.
-- O sa ne apara un alt panou
Username: Numele pt admin
Password: Parola pt admin
Retype password: Rescrie parola
Apasam pe ‘Save Admin’:
The admin user '*****' was created successfully!
You can create another admin user if you need.
Click the 'Continue' button below when you are done creating admins.
-- Ne va aparea un nou panou in legatura tu temele ... lasam cum este daca nu avem o preferinta anume... continue -> trecem mai departe
-- Daca totul e ok ar trebui sa ne apara
PsychoStats online installation is now complete! Congratulations!
Security Note:
Once you have verified your PsychoStats installation is working you should DELETE this install directory! Or a malicious user could potentionally destroy your database (and not just the PsychoStats database!).
The first thing you should do is go to the main stats page by clicking here and logging in with the admin account you just created and viewing the default configuration under the 'Admin' -> 'Main Config' section.
You want to make sure your configuration is setup the way you want it. The first item you need to configure is the 'logsource' which defines where your game server logs are located.
If you require assistance please visit the PsychoStats forums. Or you can visit us in our #psychostats IRC channel on gamesurge.net. Please be sure to detail exactly what your problem is, what you've done to troubleshoot and the environment in which you're trying to install PsychoStats.
- Intram in C:\xampp\htdocs\stats si stergem folderul install
- Bunn ... acum mergem in folderul Psychostats (de unde am luat folderul "upload").
Deschidem stats.cfg si editam
# stats.cfg should ONLY contain basic database settings.
# any other configuration settings will be ignored.
dbtype = mysql
dbhost = localhost
dbport =
dbname = Numele bazei de date
dbuser = User-ul cu acces la baza de date
dbpass = Parola userului cu acces la baza de date
dbtblprefix = ps_
-- Pentru a creea o baza de date ne ducem la
http://localhost/phpmyadmin**** In caz ca Active Perl nu are modulele cerute de Psycho Stats trebuie sa le instalam.
Mergem in Start > Run si scriem ppm. Alegem modul DBD::mysql si il instalam.
-- Acum intram in
http://localhost/stats si ne logam ca Admin (cu nick-ul si user-ul pe care l-am setat mai devreme)
-> Configuration -> Main config si modificam:
UniqueID : Player name
plr_save_on : round
minconnected : 1
- Acum dam la tab-ul auto:
La toate setam "Once a hour"
-> Intram in Configuration -> Servers -> New la server IP scriem IP-ul serverului si la Port ... portul (normal e 27015)
la celalalte lasam asa si dam save.
-> Acum intram in Logsources -> Manage -> Add new log source -> la path scriem calea catre folderul logs din cstrike...
de exemplu C:\HLDS\cstrike\logs (modificati fiecare dupa caz) la "protocol" lasam liber si dam Save configuration.
-> Bun .. acum avem in C:\ folderul psychostats3.0.8 -> il redenumim in "psychostats" si il ducem in C:\HLDS\cstrike (modificat dupa caz)
In el ar trebui sa avem Folderul lib, scripts, upload (nu neaparat...poate sa si lipseasca) ... mai avem install.txt, stats.cfg, stats.pl
Bun ... sa precizez: CA SA FUNCTIONEZE PSYCHOSTATS IN SERVER.CFG TREBUIE NEAPARAT SA FIE "log on" !!!
Dam drumul la server ... asteptam sa joace cativa jucatori si mergem in C:\hlds\cstrike\psychostats si dam dublu-click pe stats.pl ... asteptam sa se incarce si dupa ce a terminat intram
http://localhost/stats si ar trebui sa ne apara statistici despre cei care au jucat pe server.
De fiecare data cand vrei sa se actualizeze pagina psychostats va trebui sa intrii in stats.pl (C:\HLDS\cstrike\psychostats)