RegisterRegister    Log inLog in    SearchSearch   

Post new topic   Reply to topic
Goto page Previous  1, 2 
View previous topic :: View next topic  

hltv beëing queried by gamecreate.
no
50%
 50%  [ 1 ]
yes
50%
 50%  [ 1 ]
Total Votes : 2

Author Message
bloke



PostPosted: Tue Aug 28, 2007 4:51 pm    Post subject: Reply with quote

ok not sure 100% but when you look at the hltv
and there peaple in it you never see the peaple that are in it
but instead you see the peaple who are in the game server where
the hltv is connected to

the hltv is not that muts a game server but just a way to watch what is
happning on the game server it's connected to.

than if i have it disabbled the hltv servers run fine no problems
so that means it's running with-out problems

- however there is 1 thing
"HLMaster: your HLTV server is out of date. Please update and restart."
but i have read many forums to find the solutiion for this
but at the end i have not found 1 and every forum ended with
you can savely ignore this message and it wil run fine

also if you wanne talk to me with a little more interaction than forums offer
let me kno if you have any of the programs mentioned above

thanks

ps. how do you querie a server maby i can test it out for ya than.
Back to top
View user's profile Send private message AIM Address MSN Messenger
adbot



PostPosted: Thu Mar 31, 2011 3:57 am 

Kybber



PostPosted: Tue Aug 28, 2007 5:03 pm    Post subject: Reply with quote

Both your game servers and HLTV servers respond
nicely with qstat, and the HLTV servers are properly
shown as clients on your game servers:

Code:
$ qstat -default a2s -P 72.249.2.195:27015 72.249.2.195:27025 72.249.2.206:27015 72.249.2.206:27025
ADDRESS           PLAYERS      MAP   RESPONSE TIME    NAME
72.249.2.195:27015     1/13  0/0  dod_donner    139 / 0  dod V2GameServers.com #10 - V2G |
          0 frags 33h26m38s V2GameServers.com #10 HLTV
72.249.2.206:27015     1/13  0/0  dod_merderet    141 / 0  dod V2GameServers.com #12
          0 frags 33h25m58s V2GameServers.com #12 HLTV
72.249.2.195:27025     0/25  0/0  dod_donner    156 / 2  dod V2GameServers.com #10 HLTV
72.249.2.206:27025     0/20  0/0  dod_merderet    152 / 2  dod V2GameServers.com #12 HLTV
Back to top
View user's profile Send private message
bloke



PostPosted: Tue Aug 28, 2007 5:25 pm    Post subject: Reply with quote

ok i just turned the querie server back on and with-in 2 min the server rebooted i normaly have 6 or more hltv running so it be a real prob if they
all keep rebooting every 2-3 min (i disabbled it again)
if you can see on a programming way what happens to it
i'll be abble to turn it back on for ya but if you can querie it the way you did
and gamecreate querie seems to have a problem idk how it work's
internaly for you guy's.

easyest solution i can think of don't querie hltv's untill a better solution
coms by, but i stil love to get my player info for game servers back
i don't care that muts about the hltv player data

thanks

ps. what does the diffrence in the result mean where the game servers
have 0 the hltv servers have 2 ?
139 / 0 141 / 0 (game server)
156 / 2 152 / 2 (hltv server)
Back to top
View user's profile Send private message AIM Address MSN Messenger
Andrew
Mammoth


PostPosted: Tue Aug 28, 2007 6:06 pm    Post subject: Reply with quote

Think I've spotted the problem with regards to HLTV queries failing - Ill fix this now.
Back to top
View user's profile Send private message
Andrew
Mammoth


PostPosted: Tue Aug 28, 2007 6:14 pm    Post subject: Reply with quote

I believe this issue is fixed now.

bloke: Can you please turn on query checking again.

Your server should not reboot anymore and you should see player statistics on the HLTV server as expected.

You can confirm the query was successful if after a few minutes under the 'Server Overview' tab, click on 'Failure Reports' and see if it says:

(server name) has been started and is now active.

The problem was HLTV servers were being queried with an incorrect protocol (source) instead of the old Half-Life protocol.

Let me know how it goes.
Back to top
View user's profile Send private message
Kybber



PostPosted: Tue Aug 28, 2007 6:16 pm    Post subject: Reply with quote

The first number is the average ping (your servers
are probably far from Norway), and the second is
the number of query retries. That may actually be
the key to your problems. If your HLTV or any HLTV
server doesn't respond to every query, then GC may
receive several failed requests in a row and restart
the server.

However, it's not very straight forward: Qstat will
not retry the query unless I ask it to report player
stats (-P):
Code:
$ qstat -default a2s 72.249.2.195:27025 72.249.2.206:27025
ADDRESS           PLAYERS      MAP   RESPONSE TIME    NAME
72.249.2.195:27025     0/25  0/0  dod_escape    151 / 0  dod V2GameServers.com #10 HLTV
72.249.2.206:27025     0/20  0/0  dod_sturm    160 / 0  dod V2GameServers.com #12 HLTV

If I turn on player stats, then it will always retry as
many times as it can (default is 3 tries, i.e. 2 retries):
Code:
$ qstat -P -retry 9 -default a2s 72.249.2.195:27025 72.249.2.206:27025
ADDRESS           PLAYERS      MAP   RESPONSE TIME    NAME
72.249.2.195:27025     0/25  0/0  dod_escape    154 / 8  dod V2GameServers.com #10 HLTV
72.249.2.206:27025     0/20  0/0  dod_sturm    154 / 8  dod V2GameServers.com #12 HLTV


So I guess it comes down to how GC interprets the
results.

Edit: Gah, Andrew posted while I was running tests Razz
Back to top
View user's profile Send private message
Andrew
Mammoth


PostPosted: Tue Aug 28, 2007 6:20 pm    Post subject: Reply with quote

Beat ya Wink

This use to work fine, it appears its just HLTV that still wants the old half-life protocol - even cs 1.6 now uses the updated source query format.
Back to top
View user's profile Send private message
bloke



PostPosted: Tue Aug 28, 2007 6:38 pm    Post subject: Reply with quote

ok guy's it's working, been running for 10 min now no reboots.
thanks this be the beginning of a long lasting friendship
between V2GameServers and GameCreate Smile

you can lock this topic since it no longer relevant

and yes the server is located in Dallas/Texas USA
personly i live in Holland.

thanks for the help and i appriciate the time you spended on it
sry for any spelling mistakes made and i'll make in the futhere
english second langues learned most from tv Smile

Hang LoOse and Have Funn Smile
Back to top
View user's profile Send private message AIM Address MSN Messenger
Kybber



PostPosted: Tue Aug 28, 2007 6:44 pm    Post subject: Reply with quote

Hmm... that's strange. I thought that was fixed in
a steam update more than two years ago:
http://www.steampowered.com/v/index.php?area=news&id=385&cc=NO
It seems also from this that HLTV should be compatible
with the a2s protocol:
http://developer.valvesoftware.com/wiki/Source_Server_Queries

Since the old protocol makes it possible to use the
server in a DDOS-attack, this is not good. Perhaps
it can be changed in config somehow?

bloke: Can you post your config here? Remember to
remove passwords Smile
Back to top
View user's profile Send private message
bloke



PostPosted: Tue Aug 28, 2007 7:19 pm    Post subject: Reply with quote

this the hltv.cfg used to boot up the hltv on ip:72.249.2.195:27025

------------------------------------------------------------------------------
// HLTV Proxy configuration file

// HLTV proxy runs this file on start up
// This file should only be edited if you want to broadcast a game

maxclients "25"

// set HLTV proxy name as shown in score board
name "%botname%"

// set HLTV name, how it should appear in game server browsers
hostname "%server:name%"

// set offline info text clients will see as reject reason if HLTV isn't broadcasting yet
offlinetext "Sorry, game is delayed. Please try again later."

// delays broadcasting for 30 seconds
delay 180

// allow 3.5 KByte/sec as client rate. This is good a value
// for internet broadcasts. On LAN you may set this value to 10000
maxrate 5000

// log HLTV console in proxy.log
// logfile 1
// publicgame "1"
// chatmode "2"
chatmode "1"
// forcemaster "1"
// dispatchmode "2"
offlinetext "Sorry %server:name% isn't broadcasting currently"
rcon "%rcon_password%"
rconpassword "%rcon_password%"
// local chatting for HLTV spectators enabled
proxypassword "termrocks"
// if game server is password protected, enable this line
serverpassword "%serverpass%"
spectatorpassword "%password%"

// proxy's adim password for rcon, commentator etc.
adminpassword "%rcon_password%"
blockvoice 1


// show message for 5 seconds each 60 seconds in center of X axis (-1) and
// above help text bar (0.85). Color given as hexadecimal RGBA .
loopcmd 1 60 localmsg "You're watching %server:name% HLTV." 5 -1 0.85 FFA000FF

// hltv.tga will be shown instead of the default HLTV logo in spectator GUI
// bannerfile "hltv.tga"

// these commands will be executed on connecting spectator client and may be used
// to adjust settings for HLTV (for example voice parameters)
signoncommands "voice_scale 2; voice_overdrive 16; volume 0.5; echo Voice adjusted for HLTV"


echo hltv.cfg loaded.
------------------------------------------------------------------------------------
// HLTV Proxy configuration file

// HLTV proxy runs this file on start up
// This file should only be edited if you want to broadcast a game

maxclients "25"

// set HLTV proxy name as shown in score board
name "V2GameServers.com #10 HLTV"

// set HLTV name, how it should appear in game server browsers
hostname "V2GameServers.com #10 HLTV"

// set offline info text clients will see as reject reason if HLTV isn't broadcasting yet
offlinetext "Sorry, game is delayed. Please try again later."

// delays broadcasting for 30 seconds
delay 180

// allow 3.5 KByte/sec as client rate. This is good a value
// for internet broadcasts. On LAN you may set this value to 10000
maxrate 5000

// log HLTV console in proxy.log
// logfile 1
// publicgame "1"
// chatmode "2"
chatmode "1"
// forcemaster "1"
// dispatchmode "2"
offlinetext "Sorry V2GameServers.com #10 HLTV isn't broadcasting currently"
rcon "xxxxx"
rconpassword "xxxxx"
// local chatting for HLTV spectators enabled
proxypassword "termrocks"
// if game server is password protected, enable this line
serverpassword "xxxxx"
spectatorpassword ""

// proxy's adim password for rcon, commentator etc.
adminpassword "xxxxx"
blockvoice 1


// show message for 5 seconds each 60 seconds in center of X axis (-1) and
// above help text bar (0.85). Color given as hexadecimal RGBA .
loopcmd 1 60 localmsg "You're watching V2GameServers.com #10 HLTV HLTV." 5 -1 0.85 FFA000FF

// hltv.tga will be shown instead of the default HLTV logo in spectator GUI
// bannerfile "hltv.tga"

// these commands will be executed on connecting spectator client and may be used
// to adjust settings for HLTV (for example voice parameters)
signoncommands "voice_scale 2; voice_overdrive 16; volume 0.5; echo Voice adjusted for HLTV"


echo hltv.cfg loaded.
------------------------------------------------------------------------------------
bootup line used:
-ip %serverip% -port %server:port% -norestart +exec hltv%server:port%.cfg +connect %serverip%:%serverport%
------------------------------------------------------------------------------------
hltv.exe -ip 72.249.2.195 -port 27025 -norestart +exec hltv27025.cfg +connect 72.249.2.195:27015
------------------------------------------------------------------------------------
hope this what you need if not let me kno ok.
thanks
Back to top
View user's profile Send private message AIM Address MSN Messenger
Kybber



PostPosted: Tue Aug 28, 2007 7:30 pm    Post subject: Reply with quote

Sorry, nothing jumps out as a possible culprit.
Back to top
View user's profile Send private message
bloke



PostPosted: Tue Aug 28, 2007 7:36 pm    Post subject: Reply with quote

umm i'm gonna go to bed now been up all night need some sleep
the servers+hltv servers are all beeing queried again and working
if hat those configs running hltv servers for 2 mounth's and they
never failed and have no problem running 80 hours after that i most times
reboot the entire box so idk what happens for longer times,but
they proberly just keep running already have hat +50 peaple in
these hltv server several times so idk what problem your refering to
but if you post it today i'll respond on it tomorrow or in about 6-10hours

thanks Kybber and Andrew i appriciate the time you put in.
hang loose (g-night).
Back to top
View user's profile Send private message AIM Address MSN Messenger
Kybber



PostPosted: Tue Aug 28, 2007 7:49 pm    Post subject: Reply with quote

You can read about DDOS-attacks here:
http://en.wikipedia.org/wiki/Denial-of-service_attack

The old protocol allowed servers to be used in such
attacks, while the new one doesn't. The server itself
will in most cases not be affected when used in a
DDOS-attack.

Anyway, good night. Glad to see the problem fixed Smile
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic All times are GMT + 10 Hours
Goto page Previous  1, 2
Page 2 of 2

 
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


Forum powered by phpBB © 2001, 2005 phpBB Group
GameCreate Service Terms | Privacy Policy | © Copyright Mammoth Media 2001-2007
GameCreate™ is a trademark of Mammoth Media Pty Ltd. GameCreate® is a registered trademark in Australia.