Quote:
Originally Posted by psychonic
It seems there is confusion over what Killing Floor calls the query port, but I'm referring to the one that answers to Steam server queries and what the Steamworks SDK refers to as the query port. For Killing Floor, it does default to listening on 28852.
It is not hardcoded because it needs to be unique per server when running multiple on the same IP address.
For servers that are listed on the master server, you can find the query port by querying the master server. (It only gives back the query port, and then the game port would normally be found by querying the server via the query port). You can also use the Steam Web API to do similar. Ex. https://api.steampowered.com/ISteamApps/GetServersAtAddress/v1?addr=<IP address here> (The addr field in the response entries has the IP address and query port.)
|
Ahhh.....
Oh yes, oh yes aw yes!
It works! Woooooooooooo! Thanks!
So you use this port.....
Well so far the port changes are relative to the game port, so for example 7707 would be 28852, the next possible one up would be 7709(because 7708 is taken by
KF1's query port of the first server - and this port I believe is what is used in the in-game master server browser whereas the 28852 one is used for the steam server browser, right?) and that server's steam query port would be 28854 because the game port changed by two.... if I got this right, interesting...
However, just some minor issues I wanted to point out:
[IMG]https://s13.************/5zt9r82j9/Capture.png[/IMG] try this:
https://s13.postimg org/5zt9r82j9/Capture.png - put a dot before org.
How do I fix up the weird symbols in servernames like these for examples on the right, but shown correctly on the left in HLSW? And I would like to add their respective game icons too..... How do I go about doing this? Or can't, as it requires coding and thus author will need to do this himself?
Oh yeah, here's what I wanted to point about HLSW that I wanted to fix but since the author for that is gone, I will never see this fixed if at all; you see how some of the KF1 servers are shown up as UT2004 and ROO? Yeah I wanted that fixed so that they all show KF and not any other games since it's not them.... And if that's not fixable, at least a way to *force* scan them as a specific game because you know it's from a specific game....
It also messes the order of server displayed too(yes I like to keep order on some things.....), so say if you wanted to display all your server in a chronological order, some of them will be out of order because they're scanned as a different game....and HLSW orders them by games, even if you order them by date added...
But anywhos, enough of my ramblings, what do?