InterWave Forums: some questions about the installation - InterWave Forums

Jump to content

  • (2 Pages)
  • +
  • 1
  • 2
  • You cannot start a new topic
  • You cannot reply to this topic

some questions about the installation

#1 User is offline   nlspacekees Icon

  • Member
  • PipPip
  • Group: Members
  • Posts: 22
  • Joined: 08-February 10

Posted 08 February 2010 - 02:40 PM

Quote

Ugh, instead of pressing 'reply' I pressed 'edit' and editted the mainpost.
You could say it's fucked up now... Sorry about that :)


dam :banghead: i spend an hour for that post :crybaby:

This post has been edited by nlspacekees: 09 February 2010 - 07:54 PM
Reason for edit: #$*!^@%#$*&!%^YT..... Oops :(

NL

xfire: nlspacekees
0

#2 User is offline   LSPS Icon

  • Member
  • PipPip
  • Group: Members
  • Posts: 38
  • Joined: 07-February 10
  • SteamID:LSPS

Posted 08 February 2010 - 07:36 PM

1.when you have put these files in your sourcemod/plugin folder do you see the stats on the server (like when you say hlx in gamechat, and if you kill someone can you see that you gain some points or not?.

Only if your game server and the webserver running hlstats are communicating

2. can you see in the http://localhost/hlstatsx/hlstats.php that your server in online and that there are people playing on it?

See response 1.

3. they are talking about localhost, is that the webhost or not like in, http://localhost/hlstatsx/hlstats.php, the localhost is your webhost. cuz they are not talking about a webhost in the manual.

localhost refers to the system that you are currently connected to. http://your-site-nam...tsx/hlstats.php

I have not performed a Windows installation of hlstats, but from the majority of the questions and items you are requesting information on, it appears that you are in need of fundamental terminology and what is being referenced explicitly.

With all that said - lets start at the primary raise for concern with your installation. Have you registered a domain name, etc.? The webhost you selected, have you ensured that they allow you to open the required in/out ports on tcp and udp?
1

#3 User is offline   nlspacekees Icon

  • Member
  • PipPip
  • Group: Members
  • Posts: 22
  • Joined: 08-February 10

Posted 08 February 2010 - 07:53 PM

View PostLSPS, on 08 February 2010 - 07:36 PM, said:

1.when you have put these files in your sourcemod/plugin folder do you see the stats on the server (like when you say hlx in gamechat, and if you kill someone can you see that you gain some points or not?.

Only if your game server and the webserver running hlstats are communicating

2. can you see in the http://localhost/hlstatsx/hlstats.php that your server in online and that there are people playing on it?

See response 1.

3. they are talking about localhost, is that the webhost or not like in, http://localhost/hlstatsx/hlstats.php, the localhost is your webhost. cuz they are not talking about a webhost in the manual.

localhost refers to the system that you are currently connected to. http://your-site-nam...tsx/hlstats.php

I have not performed a Windows installation of hlstats, but from the majority of the questions and items you are requesting information on, it appears that you are in need of fundamental terminology and what is being referenced explicitly.

With all that said - lets start at the primary raise for concern with your installation. Have you registered a domain name, etc.? The webhost you selected, have you ensured that they allow you to open the required in/out ports on tcp and udp?


at 00webhost.com i have a domain, but i dont know if they allow me to open the required ports. and i seriously dont know what else to do. even if they allow it i dont know what to do. and your question about
do i have a domain name, i even dont know if thats a right domain name.

you could say im kinda noobie in this :(
NL

xfire: nlspacekees
0

#4 User is offline   Rawh Icon

  • HLstatsX:CE Moderator
  • PipPipPipPip
  • Group: Moderators
  • Posts: 822
  • Joined: 14-August 09
  • SteamID:rawh

Posted 09 February 2010 - 04:59 PM

Quote

hi,

i have installed hlstast ce and i have some questions.
i used this installation manual: http://forums.interw...-windows-xampp/
and i did everything what they said. but in the end the end you have to place 2 files in the sourcemod/plugin, and you could find these files
in HLXCommunityEdition1.6.6FULL.zip. but there was only 1 file, the hlstatsx.smx, but the superlogger wasnt there so i had to download it.
here comes my first question:
Correct. The superlogs aren't supplied with hlstatsx and need to be downloaded seperatly.

Quote

1.when you have put these files in your sourcemod/plugin folder do you see the stats on the server (like when you say hlx in gamechat, and if
you kill someone can you see that you gain some points or not?.
Yes

Quote

and at the end of the manual you see a picture of hlstatsx with a serve online but i cant see it. the manual keeps talking about localhost, is that the webhost
or just your pc, cuz i get to see the stats page but not that my server i online.
http://localhost means you need to connect to the machine the website is running on. Typing http://localhost on the machine you are controlling via remote desktop or anything alike. Otherwise you will need to know the ip address of the machine (or if it's hosted in a domain, the domain name) and go to that via a browser.

Quote

second i got some problems with the cmd window of hlstatsx, it sais NOT ALLOWED SERVER, and i know that you have to look at the faq, but when i look in it they say something about webhost and deamon, but in the installation guide they are not talking about these things. soo heres my second question
NOT ALLOWED SERVER means the server isn't filled in correctly on the website. If you have entered the correct server address (ip:port) on your mod, then you will need to save this and restart the daemon, in order to reload the configuration and see your server.

Quote

2. can you see in the http://localhost/hlstatsx/hlstats.php that your server in online and that there are people playing on it?
couse if so, i cannot see them playing or in-game when you type hlx you can see a menu but if you choose my rank or sumthing it just dissapears.
so if i did somethig wrong i can use some help.
Usually this FAQ entry helps you with it:
How can I resolve the 0/0 players notation on the website??

Quote

if i had to install all this on a webhost then i could use also some help:
i use http://www.000webhost.com and i would like to get the hlstatsx files on it so if you type the webname you see the hlstats.
in the control panel you can see msql and phpmyadmin (if you need more info about the cpanel the say it i can place a pic), but after that im stuck, i dont know what to do now.
Sense, you're not making it. I'm sorry, I have no idea what you are trying to ask...
HlStatsX:CE Documentation Master & Global forum moderator.
FF.SNT Head Admin - Forum - HlStats
--
Do not pm me with your issue. I will ignore it and stop helping you entirely!!
Posted Image
0

#5 User is offline   nlspacekees Icon

  • Member
  • PipPip
  • Group: Members
  • Posts: 22
  • Joined: 08-February 10

Posted 09 February 2010 - 05:25 PM

question:

1. you are talking again about daemon again, and i dont know what that is :S

2. can you get this all to work on your own pc, so you run the website on your pc?

i have this in my server.cfg

log on // Turns Logging on
logaddress_delall 1 // Removes all previous log destinations
logaddress_add 192.168.2.107:27500 // Sends logs to your HLstatsX CE daemon
logaddress_list 1

if i want it to be on my own pc do have to do this:

logaddress_add localhost:27500 // Sends logs to your HLstatsX CE daemon

and here it sais: // Sends logs to your HLstatsX CE daemon

WHAT DAEMON :s
NL

xfire: nlspacekees
0

#6 User is offline   Rawh Icon

  • HLstatsX:CE Moderator
  • PipPipPipPip
  • Group: Moderators
  • Posts: 822
  • Joined: 14-August 09
  • SteamID:rawh

Posted 09 February 2010 - 05:28 PM

Quote

question:

1. you are talking again about daemon again, and i dont know what that is :S

The daemon is the hlstats.pl program you are running. It listens on UDP port 27500 and is the address your gameservers are sending the logs towards (with logaddress_add ip:port).
The daemon in it's turn then builds SQL queries from your logs to fill the MySQL database.

Quote

2. can you get this all to work on your own pc, like a real website?
Why wouldn't you?! It doesn't matter if you are renting a pc somewhere to put it on or want to use your home computer....
That's what requirements are for. They tell you what you need to do and get to make it work!
HlStatsX:CE Documentation Master & Global forum moderator.
FF.SNT Head Admin - Forum - HlStats
--
Do not pm me with your issue. I will ignore it and stop helping you entirely!!
Posted Image
0

#7 User is offline   nlspacekees Icon

  • Member
  • PipPip
  • Group: Members
  • Posts: 22
  • Joined: 08-February 10

Posted 09 February 2010 - 06:23 PM

so thats means i did something wrong but i dont know what.
i cant see stats.
i cant see player on the site
and i read the faq but i didnt help.

i have this in my server.cfg

log on // Turns Logging on
logaddress_delall 1 // Removes all previous log destinations
logaddress_add 192.168.2.107:27500 // Sends logs to your HLstatsX CE daemon
logaddress_list 1

is this good or not?

how do i know what ip the daemon is?

it sais NOT ALLOWED SERVER, but what is not allowed?
NL

xfire: nlspacekees
0

#8 User is offline   LSPS Icon

  • Member
  • PipPip
  • Group: Members
  • Posts: 38
  • Joined: 07-February 10
  • SteamID:LSPS

Posted 09 February 2010 - 08:08 PM

Quote

so thats means i did something wrong but i dont know what.
i cant see stats.
i cant see player on the site
and i read the faq but i didnt help.


Your website is not communicating with your gameserver.

Quote

i have this in my server.cfg

log on // Turns Logging on
logaddress_delall 1 // Removes all previous log destinations
logaddress_add 192.168.2.107:27500 // Sends logs to your HLstatsX CE daemon
logaddress_list 1

is this good or not?


Your server.cfg does not need the following two items:
logaddress_list 1
logaddress_delall

Quote

how do i know what ip the daemon is?


The ip of the Daemon is the ip address associated with the computer you are running the daemon on.

The installation instructions, as they stand, require a certain level of computer knowledge prior to even beginning the install, and within the contents, there is a requirements section concerning software and operating systems.

In reading through the time of initial post, and now, it appears that therte is quite a bit that is not understood, and needs to be explained very clearly. Please answer the following to the best of your ability:

Do you have a website that is currently available for you to log into, and if so, what is the address? (e.g. http://www.mywebsite.com)
If you do not have a website that is internet facing, but you have installed everything on your computer in your office/bedroom/kitchen/bathroom/etc, what is the complete address you type in to access the stats page?

What is your game server IP? Is it available for people across the world to log into and play on?

These are just the very beginning aspects of installing the hlstats system. The system may be a little too advanced for you to install with your current level of knowledge concerning computers, but these questions are the ver beginning to educating yourself and making sure these items and requirements are met prior to continuing with the installation.
1

#9 User is offline   nlspacekees Icon

  • Member
  • PipPip
  • Group: Members
  • Posts: 22
  • Joined: 08-February 10

Posted 09 February 2010 - 08:17 PM

i do not have a domain but if i do http://83.82.52.139/...tsx/hlstats.php on my pc or my brothers or my friends it shows the hlstatsx page.
i also have a server, but since an hour ago its down cuz im buzy with the hlstats. ip: 83.82.52.139:27014
http://www.gametrack...2.52.139:27014/

and how could my website not connect with my server?
what did i do wrong or forget?
NL

xfire: nlspacekees
0

#10 User is offline   LSPS Icon

  • Member
  • PipPip
  • Group: Members
  • Posts: 38
  • Joined: 07-February 10
  • SteamID:LSPS

Posted 09 February 2010 - 09:52 PM

the ip 83.82.52.139 - is that where the daemon is installed and running either via ssh or a cron job or some other method via windows?

If it is indeed running, there will be a folder in the ../hlstatsx/scripts/ directory called logs. The daemon should output information about the server it is connecting to, and what ip/port it is listening on. Which leads me back to the first response to this thread - does the webservice provider you are hosting on allow for the specified ports to be opened for incoming and outgoing communication on tcp and udp protocols?

Port 27014 - this is the port the webserver will send rcon commands through to the game server.
Port 27500 - this is where the game server sends the logging information to the webserver that has the daemon running on.
1

#11 User is offline   nlspacekees Icon

  • Member
  • PipPip
  • Group: Members
  • Posts: 22
  • Joined: 08-February 10

Posted 09 February 2010 - 09:56 PM

cant find the hlstatsx/scripts logs directory.
im hosting this from my own computer
and i opened the ports 27014 and 27500
NL

xfire: nlspacekees
0

#12 User is offline   LSPS Icon

  • Member
  • PipPip
  • Group: Members
  • Posts: 38
  • Joined: 07-February 10
  • SteamID:LSPS

Posted 09 February 2010 - 11:35 PM

If your stats webpage is on a windows box - I do not know where the logs would be located. You can open a command prompt and use netstat to see if the port is opened/listening to your game server. I would have to do a Windows install to assist further, that is on a low priority.

Just quickly reviewing the Install guide for a windows install - the netstat use instructions is there, amongst other key points. I would suggest going through it all once more.
0

#13 User is offline   nlspacekees Icon

  • Member
  • PipPip
  • Group: Members
  • Posts: 22
  • Joined: 08-February 10

Posted 09 February 2010 - 11:52 PM

with netstat -a, i see the same things as in the manual but insteed of: UDP hlxce:27500 *:* i see: UDP koennie-pc:27500 *:*
koennie-pc is the name of my pc.


edit: ive done everything again and its still not working :S
NL

xfire: nlspacekees
0

#14 User is offline   nlspacekees Icon

  • Member
  • PipPip
  • Group: Members
  • Posts: 22
  • Joined: 08-February 10

Posted 10 February 2010 - 09:40 AM

i understand only 1 thing, and that is that my daemon is recieving logs but not sending to the website, i tried too look what the problem is but dont know what.
my ports are open my configs are correct. so what did i do wrong?

1. Take a look at the hosting blacklist? Is your webhoster mentioned? If so, stop everything you are trying to do, it won't work, get a different hoster!!!
im hosting from py own pc http://83.82.52.139/...tsx/hlstats.php
2. Is the Daemon running?
ofcourse
3. Is the port that the Daemon is listening on open? (is it firewalled or are you perhaps behind a router?)
port opened, and firewall has been shut down
4. Do you have the correct modtype for the gameserver you are running? (ie. DoD:S and not DoD gold)
dont really know what that is, but i guess im not that idiot to do it wrong
5. Is the server you wish to include in the stats also filled in as a gameserver under the gametab (admin section)?
yes
6. Have you added the loggaddress to the config?
yes
7. Either add the following to the server.cfg or the autoexec.cfg file:
HL2

logaddress_add ip:port


HL1

logaddress_add ip port

ip and port being the ip and port your hlstats daemon is running on. If this is the same machine, be sure to use the internal ip (192.168.100.185 for example, do not use 127.0.0.1!).
i have 192.168.2.107:27500
8. The server's rcon password is not the same with that it is configured with.
Please login as admin on the website.
Go to the gameslist and click on the gamemod you are hosting.
Click on the tab called "edit server" and then on the link called "configure".
A new page should be shown in which is a textbox with the option of filling in a rcon password.
Make sure the rcon on both this textfield and your gameserver are the same.
done that
9. RESTART the daemon
done that a million times
NL

xfire: nlspacekees
0

#15 User is offline   LSPS Icon

  • Member
  • PipPip
  • Group: Members
  • Posts: 38
  • Joined: 07-February 10
  • SteamID:LSPS

Posted 10 February 2010 - 01:43 PM

Quote

1. Take a look at the hosting blacklist? Is your webhoster mentioned? If so, stop everything you are trying to do, it won't work, get a different hoster!!!
im hosting from py own pc http://83.82.52.139/...tsx/hlstats.php


When I go to http://83.82.52.139/...tsx/hlstats.php I get "object not found" error.

Quote

4. Do you have the correct modtype for the gameserver you are running? (ie. DoD:S and not DoD gold)
dont really know what that is, but i guess im not that idiot to do it wrong


What is the game is installed on the game server? Counterstrike:Source, Day of Defeat. etc... Yor GameTracker shows CounterStrike Source - CSS

Quote

ip and port being the ip and port your hlstats daemon is running on. If this is the same machine, be sure to use the internal ip (192.168.100.185 for example, do not use 127.0.0.1!).
i have 192.168.2.107:27500


Is this a static IP setup by you on your network, or are you running DHCP? Is this system behind a router which has the correct port forwarding configurations set?

If you are behind a router with it forwarding to that specific IP, the IP must be bound in the config. You are needing to accept and listen for logs on 83.82.52.139, since that is your external IP address. Your router then will forward that communication to the 192.168.1.107 computer for processing. You gameserver should be "loggaddress_add 83.82.52.139 27500" as that is the ip facing the internet and accepting the connection. The router will then forward to the 192.168.1.107:27500.
0

#16 User is offline   nlspacekees Icon

  • Member
  • PipPip
  • Group: Members
  • Posts: 22
  • Joined: 08-February 10

Posted 10 February 2010 - 05:15 PM

srry its http://83.82.52.139/...tsx/hlstats.php

i did bindip in the hlstats.conf like this 83.82.52.139 and the port is 27500
but do i have to open the ports in the router for the ip 83.82.52.139 or just 192.168.2.107?

i found sumthing in my router: Posted Image
its something with virtual server.

how can i accept and listen for logs on 83.82.52.139?
NL

xfire: nlspacekees
0

#17 User is offline   Rawh Icon

  • HLstatsX:CE Moderator
  • PipPipPipPip
  • Group: Moderators
  • Posts: 822
  • Joined: 14-August 09
  • SteamID:rawh

Posted 10 February 2010 - 05:44 PM

Put in the private address and port your server is listening at (for example: your intern server has ip 192.168.2.106 and it's daemon is on port 27500), then you set the external port to anything of your liking (or just 27500 as well).

Any communication going to the router on port 27500 will then be forwarded to 192.168.2.106 and port 27500. Be sure to set the type to UDP (or Both, in this matter)!!

Also make sure your internet pc is accepting communication on that port and doesn't have it firewalled.
HlStatsX:CE Documentation Master & Global forum moderator.
FF.SNT Head Admin - Forum - HlStats
--
Do not pm me with your issue. I will ignore it and stop helping you entirely!!
Posted Image
0

#18 User is offline   nlspacekees Icon

  • Member
  • PipPip
  • Group: Members
  • Posts: 22
  • Joined: 08-February 10

Posted 10 February 2010 - 05:54 PM

View PostRawh, on 10 February 2010 - 05:44 PM, said:

Put in the private address and port your server is listening at (for example: your intern server has ip 192.168.2.106 and it's daemon is on port 27500), then you set the external port to anything of your liking (or just 27500 as well).

Any communication going to the router on port 27500 will then be forwarded to 192.168.2.106 and port 27500. Be sure to set the type to UDP (or Both, in this matter)!!

Also make sure your internet pc is accepting communication on that port and doesn't have it firewalled.



if you mean in the virtual server then i did this:
Private IP: 192.168.2.107
Private Port: 27500
Type: TCP+UDP
Public Port: 27500

and i opened the port 27500.

i have this in my config.php:
if ( !defined('IN_HLSTATS') ) { die('Do not access this file directly'); }

// DB_NAME - The name of the database
define("DB_NAME", "hlxce");

// DB_USER - The username to connect to the database as
define("DB_USER", "hlxce");

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

// DB_ADDR - The address of the database server, in host:port format.
// (You might also try setting this to e.g. ":/tmp/mysql.sock" to
// use a Unix domain socket, if your mysqld is on the same box as
// your web server.)
define("DB_ADDR", "83.82.52.139:27500");





and this in my hlstats.conf:
//DBHost - Database server "address" or "address:port". Address can be an IP or
# a hostname. The default MySQL port is 3306 (tcp).

DBHost "83.82.52.139:3306"

#
//DBUsername - User to connect to the database as.

DBUsername "hlxce"

#
//DBPassword - Password for the database user.

DBPassword "*****"

#
//DBName - Name of the database to use.

DBName "hlxce"

#

NL

xfire: nlspacekees
0

#19 User is offline   LSPS Icon

  • Member
  • PipPip
  • Group: Members
  • Posts: 38
  • Joined: 07-February 10
  • SteamID:LSPS

Posted 10 February 2010 - 06:07 PM

It needs to be added to the port forwarding portion.

Communication from the game server sends info to the 83.82.52.139 ip address using port 27500, the router then will FORWARD those communications to the ip specified 192.168.1.107 on port 27500.

I am also unable to access your website
Server Address: 83.82.52.139:27500
Server Username: hlxce

Error Diagnostic:
Could not connect to database server. Check that the values of DB_ADDR, DB_USER and DB_PASS in config.php are set correctly.

Server Error: (2003) Can't connect to MySQL server on '83.82.52.139' (10061)


You had this functioning previously, so go back and correct the specified items. The DB is not on that IP, it is on your "localhost"


Internet <-modem-> 83.82.52.139(internet facing ip) <-router-> 192.168.1.107

The router is going to perform tasks based on what you configure it to do. The router will block ALL communications to systems connected to it unless it is instructed to do otherwise.
0

#20 User is offline   nlspacekees Icon

  • Member
  • PipPip
  • Group: Members
  • Posts: 22
  • Joined: 08-February 10

Posted 10 February 2010 - 07:13 PM

on port forwarding tab i see this :
Posted Image

so what should i put there?

i just cant follow you, srry.
you are saying that i need to confugure (something) so when it sends logs to 83.82.52.139, it automatically sends it to 192.168.2.107:27500.
what should i configure in what cfg or port forwarding.


p.s. try again connect to database pls.
NL

xfire: nlspacekees
0

  • (2 Pages)
  • +
  • 1
  • 2
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users