Discussion:
[hlcoders] Faulty In-Game Server Browser for Half-Life mod in Steam
Platon
2017-11-05 09:56:24 UTC
Permalink
Hello HL Coders and Valve,

My modification is being released on Steam and now it has its own appid. I
have an issue with Half-Life in-game server browser and I think there's
something wrong with appid checks in it.

The issue is in-game server browser doesn't show up any servers created in
my mod (or hlds with steam_appid.txt). It only shows old servers which are
working as HL mod and when I try to connect to them I get "STEAM validation
rejected" message. I think that it's normal behavior when you try to
connect to appid 70 servers with some "other" app having another appid.
I just want servers with my appid were showing up in my mod in-game server
browser. I have set up Steam server browser right (View > Servers and then
I select my mod in server filter), so if I create a server in my mod it
will appear there, but no luck for in-game server browser.

Maybe there's some settings file to help me solve this issue (seems like
Source engine has something like that). I really hope that issue doesn't
come from something like hard-coded mod names in ServerBrowser.dll, or if
it does maybe some workaround exists.

Modification: "Base Defense"
AppID: 632730

Kind regards,
Platon K
_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please visit:
https://list.valvesoftware.com/cgi-bin/mail
Nicholas Hastings
2017-11-05 13:12:02 UTC
Permalink
There's a hardcoded list of gamedir to app id mappings checked by the
engine's GetGameAppID function, defaulting to 70. This appears to get
used when running a dedicated server (or launching the client from
outside of Steam) to regenerate the steam_appid.txt before initializing
the Steam API.

You probably need to just hex-edit the GetGameAppID function in your
copy to just always return your app id.
--
Nicholas Hastings
AlliedMods.net <http://www.alliedmods.net>
Sunday, November 5, 2017 4:56 AM
Hello HL Coders and Valve,
My modification is being released on Steam and now it has its own appid. I
have an issue with Half-Life in-game server browser and I think there's
something wrong with appid checks in it.
The issue is in-game server browser doesn't show up any servers created in
my mod (or hlds with steam_appid.txt). It only shows old servers which are
working as HL mod and when I try to connect to them I get "STEAM validation
rejected" message. I think that it's normal behavior when you try to
connect to appid 70 servers with some "other" app having another appid.
I just want servers with my appid were showing up in my mod in-game server
browser. I have set up Steam server browser right (View > Servers and then
I select my mod in server filter), so if I create a server in my mod it
will appear there, but no luck for in-game server browser.
Maybe there's some settings file to help me solve this issue (seems like
Source engine has something like that). I really hope that issue doesn't
come from something like hard-coded mod names in ServerBrowser.dll, or if
it does maybe some workaround exists.
Modification: "Base Defense"
AppID: 632730
Kind regards,
Platon K
_______________________________________________
https://list.valvesoftware.com/cgi-bin/mailman/listinfo/hlcoders
_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please visit:
https://list.valvesoftware.com/cgi-bin
Loading...