1) appid (a steam magic number) 2) you can't right now. 3) see 2. We are working on the player and rule info queries.
- Alfred ----Original Message---- From: Steven Hartland [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 11, 2004 7:59 PM To: Alfred Reynolds Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: Re: New query protocol for CS: Source? > Thanks loads for that. > Initial support for HL2 ( CS: Source ) is no commited > to CVS for qstat. > > Few of questions: > 1. Whats the short directly after > Q_strncpy(server.gameDescription, msg->ReadString(), > sizeof(server.gameDescription)); > 2. How do we get player info? > 3. How do we get rule info? > > Steve / K > ----- Original Message ----- > From: "Alfred Reynolds" <[EMAIL PROTECTED]> > To: "Steven Hartland" <[EMAIL PROTECTED]> > Cc: <[EMAIL PROTECTED]>; > <[EMAIL PROTECTED]> > Sent: Thursday, August 12, 2004 2:46 AM > Subject: RE: New query protocol for CS: Source? > > > Its very similar to the existing GoldSRC one, see the code snippet > below > for the exact format. > > > #define S2A_INFO_SRC 'I' // + Address, hostname, > map, gamedir, gamedescription, active players, maxplayers, protocol > > > unsigned char controlByte = msg->ReadByte(); > if (controlByte != S2A_INFO_SRC) // > return false; > > // read protocol version > msg->ReadByte(); > > Q_strncpy(server.name, msg->ReadString(), sizeof(server.name)); > Q_strncpy(server.map, msg->ReadString(), sizeof(server.map)); > Q_strncpy(server.gameDir, msg->ReadString(), > sizeof(server.gameDir)); > strlwr(server.gameDir); > Q_strncpy(server.gameDescription, msg->ReadString(), > sizeof(server.gameDescription)); > msg->ReadShort(); > > server.players = msg->ReadByte(); > server.maxPlayers = msg->ReadByte(); > server.botPlayers = msg->ReadByte(); > > msg->ReadByte(); // dedicated > msg->ReadByte(); // OS > server.password = msg->ReadByte(); > server.secure = msg->ReadByte(); > > > > I still have to write up a quick description of the new RCON TCP/IP > format, hopefully sometime this weekend. > > - Alfred > > ----Original Message---- > From: Steven Hartland > > > Looks like you've implemented a new query protocol for the hl2 > > engine do you have any details you can give me as I'm one the qstat > > maintainers and would like to add it to the supported games. > > > > http://www.qstat.org > > http://sourceforge.net/projects/qstat > > > > Steve / K > > > > ================================================ > This e.mail is private and confidential between Multiplay (UK) Ltd. > and the person or entity to whom it is addressed. In the event of > misdirection, the recipient is prohibited from using, copying, > printing or otherwise disseminating it or any information contained > in it. > > In the event of misdirection, illegible or incomplete transmission > please telephone (023) 8024 3137 > or return the E.mail to [EMAIL PROTECTED] _______________________________________________ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders