SRCDS Steam group


Identify wether SourceTV or Gameserverport
#1
Currently I am working on a new feature for server4lau. Even if I write do not enter your gameserverport for HL2 based servers and instead the tv port people keep on entering the gameserverport.

Is there a way to identify if it is a tv port? Somehow it must bei possible because valve is listing TV servers seperated in their serverlist. But so far I have no clue how.

Using the programm quakestat the query to a tv and a gameserverport returns the same.
Interactive web based config creator for CS, CSS, TF2 and DODS
Creates server and client configs in an explained dialog.

You`ll also find precompiled debian gameserver kernels for download
Reply
#2
Master server query?
Reply
#3
And how do I query in general out of the bash? I could read often make a XY Query but could not find hot wo query.
Interactive web based config creator for CS, CSS, TF2 and DODS
Creates server and client configs in an explained dialog.

You`ll also find precompiled debian gameserver kernels for download
Reply
#4
I have no idea who you would do it, but some sudo-code.

Query the master server with the IPToungueort and then check the "proxy"

IF Proxy == 1
write(Relay)
ELSE
write(Game server)

http://developer.valvesoftware.com/wiki/Master_Server_Query_Protocol
Reply
#5
I already read the developer page a couple of times. They only write how to interorete the query and talking about bits and so on.

It is the same like the server query page.

Not one single entry how to use it...

All I want to know is which programm to use at the linux shell that allows me to send the descripes querys.
ping does not work. So what else to use.

It is a simple question and most people answer with the developer pages instead naming a programm.

Btw using quakestat the list relplies with normal servers and tv servers:
quakestat -hla2sm,game=cstrike,status=secure:dedicated:proxy hl2master.steampowered.com:27011
Interactive web based config creator for CS, CSS, TF2 and DODS
Creates server and client configs in an explained dialog.

You`ll also find precompiled debian gameserver kernels for download
Reply
#6
I don't think there is a master query program for linux shell. So you might have to go make one on your own.
Reply
#7
Maybe I made not clear what I need:
- I do not want to have a link how to build a query string
- I do not want to know which query string to send.
- i do not want to know how to read the response
- i do not want to know how to write if else cases
- I do not want a ready build program that already has the query string build in

All I want is a name of a tool or a programm that allows me to send query string that I have written. To the IPToungueort I want.
Interactive web based config creator for CS, CSS, TF2 and DODS
Creates server and client configs in an explained dialog.

You`ll also find precompiled debian gameserver kernels for download
Reply
#8
With the help of the hlds mailing list I started using netcat:
printf '\xFF\xFF\xFF\xFF\x54\x53\x6F\x75\x72\x63\x65\x20\x45\x6E\x67\x69\x6E\x65\x20\x5​1\x75\x65\x72\x79\x00' | netcat -u -w 1 myip 27020

The only problem is that the data at the developer is outdated and only works as expected if sv_master_legacy_mode is set to 1.

Anyone knows the current way to retrieve the serverinfo?

____________________
Edit:

http://uclug.utica.edu/files/dave/tvquery.zip
Interactive web based config creator for CS, CSS, TF2 and DODS
Creates server and client configs in an explained dialog.

You`ll also find precompiled debian gameserver kernels for download
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)