-
September 14th, 2009, 05:38 AM
#1
game queries.
Hello.
I need some queries for my game servers.
Counter-Strike: Source, Team Fortress 2, Day of Defeat: Source, Left 4 Dead and GarrysMod.
However I found some on google, but they DO NOT work!
I was wondering if any of you had some? Or knows anywhere I can create my own? And what do I need to know to make my own?
I need them in PHP.
- realchamp.
-
September 14th, 2009, 08:50 AM
#2
Re: game queries.
What do you mean by "game queries?"
If the post was helpful...Rate it! Remember to use [code] or [php] tags.
-
September 14th, 2009, 08:59 AM
#3
Re: game queries.
I mean like getting the actual amount of players on the server.
And then what map the server is running on. Plus more stuff. And the servers name.
-
September 14th, 2009, 09:17 AM
#4
Re: game queries.
First off, you would have to know the database type, connection, and structure. After that, it would be a simple script to write using the correct database methods.
If the post was helpful...Rate it! Remember to use [code] or [php] tags.
-
September 14th, 2009, 09:18 AM
#5
Re: game queries.
Originally Posted by PeejAvery
First off, you would have to know the database type, connection, and structure. After that, it would be a simple script to write using the correct database methods.
What sort of database do you mean?
The games database itself?
-
September 14th, 2009, 09:25 AM
#6
Re: game queries.
Do you know of any other database?
If the post was helpful...Rate it! Remember to use [code] or [php] tags.
-
September 14th, 2009, 09:52 AM
#7
-
September 14th, 2009, 09:54 AM
#8
Re: game queries.
That's what I'm saying. You will have to know the database type: MySQL, MSSQL, Oracle, etc. From there, you can then use the correct APIs from within PHP.
If the post was helpful...Rate it! Remember to use [code] or [php] tags.
-
September 14th, 2009, 10:08 AM
#9
Re: game queries.
Ahh okay. I will jump right into it.
Do you have any experience or any advice to give me?
-
September 14th, 2009, 12:00 PM
#10
Re: game queries.
Not with game servers. I never got into the gaming realm. Even when I was a teen, computers were always for work or more important things.
But, with programming, um, yes. Here are the various PHP libraries you will need to access the various databases.
http://us.php.net/manual/en/refs.database.vendors.php
If the post was helpful...Rate it! Remember to use [code] or [php] tags.
-
September 14th, 2009, 01:04 PM
#11
-
September 14th, 2009, 03:25 PM
#12
Re: game queries.
if you own these servers there are many programs out there that allow you to do this sort of stuff
-
September 15th, 2009, 01:57 AM
#13
Re: game queries.
Originally Posted by socialite
if you own these servers there are many programs out there that allow you to do this sort of stuff
I own them. The problem is that I'd like to control them through my web browser.
There is like HLSW, but requires me to install the program ALL the time, pissing me off!
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|