Half-Life 1 Engine Bug Reports: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
Line 46: Line 46:
* Observed: mp_timelimit is off by a few minutes (only the value returned by A2S_RULES, rcon is ok though).
* Observed: mp_timelimit is off by a few minutes (only the value returned by A2S_RULES, rcon is ok though).
* Work-around: LogMod v0.8.0.2 and newer provides an alternate way to access rules such as mp_timelimit.
* Work-around: LogMod v0.8.0.2 and newer provides an alternate way to access rules such as mp_timelimit.
===S2A_PLAYER issues===
* Expected: Each player info is prefixed with the ID of the player.
* Observed: Each player info is prefixed with 0x00, resulting in no ID information.
* Work-around: Don't rely on player IDs sent by the server.
* Only applies to servers using the new Source protocol (i.e. replying to A2S_INFO with S2A_INFO2 - not S2A_INFO_DETAILED)


===HLTV===
===HLTV===

Revision as of 13:00, 24 April 2009

If you find any bugs, please edit this page with a description of the problem.

A helpful bug format is:
===short title===

  • Expected: expected behavior
  • Observed: observed behavior
  • Steps to reproduce: steps to reproduce the problem
  • a description of your network topology, if appropriate
  • Use ~~~~ to insert your username and time

Please use the correct section when reporting your issues.

Although this page is long, please do try to see if your issue has been previously reported using your browser's Find or Search function.


Half-Life 1 Engine

General bugs related to Half-Life 1 engine.

A2S_SERVERQUERY_GETCHALLENGE not working

  • Observed: Servers don't respond to A2S_SERVERQUERY_GETCHALLENGE.
  • Work-around: Use A2S_PLAYER or A2S_RULES instead with ffffffffh (-1) as challenge.
  • Work-around (copied from Talk:Server Queries, the mentioned default header is FF FF FF FF (hexadecimal byte values)):

Goldsource servers are still responding to the old challenge method. Just send the default header with "challenge rcon\n" after it. The server will send back a packet with the default header followed by: "challenge rcon (unsigned int)\n\0" where (unsigned int) is the challenge number.--Chris03 12:07, 30 Dec 2008 (GMT-5)

A2S_INFO issues

  • Observed: The map name from A2S_INFO is only updated when players are present.
  • Work-around: Connect a HLTV or add a single bot to keep the map name up-to-date.

  • Observed: Hostname and bot flag from A2S_INFO are only updated when the map changes.
  • Work-around: LogMod v0.8.0.2 and newer provides an alternate way to access the current hostname.

  • Expected: The field "Number of bots" should still return the number of bots and being up-to-date.
  • Observed: The bot count is now a bot flag, 1 means there were only bots during map change (it's not updated during the game).
  • Work-around: Using the time values from the player list, there is a good chance to identify bots. The algorithm is this: Get the player with the longest playing time, and check if any other players have been playing *exactly* that long also. These are most likely bots.

A2S_RULES issues

  • Observed: Server rules from A2S_RULES, like amx_nextmap or mp_timeleft, are only updated when the map changes.
  • Work-around: LogMod v0.8.0.2 and newer provides an alternate way to access rules such as mp_timeleft.

  • Observed: mp_timelimit is off by a few minutes (only the value returned by A2S_RULES, rcon is ok though).
  • Work-around: LogMod v0.8.0.2 and newer provides an alternate way to access rules such as mp_timelimit.

S2A_PLAYER issues

  • Expected: Each player info is prefixed with the ID of the player.
  • Observed: Each player info is prefixed with 0x00, resulting in no ID information.
  • Work-around: Don't rely on player IDs sent by the server.
  • Only applies to servers using the new Source protocol (i.e. replying to A2S_INFO with S2A_INFO2 - not S2A_INFO_DETAILED)

HLTV

  • Observed: There are reports that the HLTV is not showing up in player list. (steam forum, hlds mailing list)
  • Expected: Not sure if this is a bug or a feature - it used to show up though.

CPU usage

Games

Bugs that affect games only as a result of the October 2008 updates.

Mods

Bugs that affect mods only as a result of the October 2008 updates.

banid command

  • Observed: Reports from AMXX forum that the HLDS banid command doesn't take quotation marks anymore (thus breaking plugins that use quotes around parameters). link

Changes that aren't bugs

Changes that aren't explicitly mentioned in the update news. This list is here so people can adapt.

A2S_INFO query

  • Observed: The trailing null/zero byte for A2S_INFO is now mandatory for HL1 servers. It was documented before, but only after the update the HL1 engine refuses a reply if the trailing zero isn't there.

Third party bug fixes

LogMod Protocol Fix

  • LogMod 0.8.0.4 provides a server side fix for the A2S_RULES and A2S_INFO issues. The fix worked with all clients and is completely independent from the server browser (Steam Browser, HLSW, Xfire...), which is used.

See also