Talk:Source Server Query Library

From Valve Developer Community
Revision as of 23:51, 11 February 2015 by Tomatopipps (talk | contribs) (got rid of my ramblings)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Very nice. ^Ben 16:17, 8 Oct 2005 (PDT)

Would you mind releasing the source code for this library? --Pizzahut

Can this be used in other engines? Rag Doll Kung Fu does something similar. --TomEdwards 15:24, 2 Jun 2007 (PDT)

Are you interest on a PHP5 version?

I am working for the moment on a PHP5 version of the Source Server Query library.


PHP 5 demo of Source Server Query Library (Alpha 1)

I am always open for suggestions.


--Plastofix 13:24, 17 Dec 2007 (PST)

Error in Visual C++ 2008

I get the error "error C4430: missing type specifier - int assumed. Note: C++ does not support default-int"
in SSQ.h line 82: typedef(WINAPI* SSQ_CALLBACK)(DWORD type,PSSQ_REPLY_UNION reply);

I tried changing WINAPI* to WINAPI BOOL* and WINAPI int* but it still refuses.
It's currently defining WINAPI as __stdcall.

What is this supposed to be?



It should be this:

typedef bool(WINAPI* SSQ_CALLBACK)(DWORD, PSSQ_REPLY_UNION);

Enjoy =]

variable value display wrong

In function SSQ_GetInfoReply variable value display wrong (max_players, num_of_bots, num_players). As it to correct?

variable value display wrong

How do I use this in a C++ program?

extern"C"{
#include "SSQ.h"
}
#pragma comment(lib,"SSQ")
//the actual program

--Tomatopipps (talk) 23:51, 11 February 2015 (UTC)