glossy... (or any other php coder)

Open discussion about any topic, as long as you abide by the rules of course!
Post Reply
Turbanator
Posts: 883
Joined: Wed Jun 08, 1983 7:00 am

glossy... (or any other php coder)

Post by Turbanator »

Want to attempt program the gameservers php?
bitWISE
Posts: 10704
Joined: Wed Dec 08, 1999 8:00 am

Post by bitWISE »

I would be interested but I don't know what the gameservers php would need to do...
User avatar
PhoeniX
Posts: 4067
Joined: Fri Aug 04, 2000 7:00 am

Post by PhoeniX »

To do what? I programmed a simple PHP Q3 server query thing a while ago. Probably can be ported into it easilly.
Turbanator
Posts: 883
Joined: Wed Jun 08, 1983 7:00 am

Post by Turbanator »

click the link, opens a window, pops up a box, closes the window, in the popped box there's some sort of useful shit about the q3w game server... ya know...
Turbanator
Posts: 883
Joined: Wed Jun 08, 1983 7:00 am

Post by Turbanator »

need it to take an address parameter too...

ie: gameservers.php?ip=123.123.123.123:12345

which will attempt to query the game server at the input ip opposed to the default ip (default ip being the q3w server).
Turbanator
Posts: 883
Joined: Wed Jun 08, 1983 7:00 am

Post by Turbanator »

Quake3World.com @clanservers.net | 69.12.14.156:27960

Hosted by Viruseater, andh ttp://www.clanservers.net.
Bdw3
Posts: 3348
Joined: Sun Mar 12, 2000 8:00 am

?

Post by Bdw3 »

Why not just flat out use Qplug? :icon16:
Turbanator
Posts: 883
Joined: Wed Jun 08, 1983 7:00 am

Post by Turbanator »

well you still need all the bullshit javascript to popup windows and stuff... but i thought someone might want to make it more interesting... i dunno.

even if you opt for qplug, you need it to readparse the address and decide if it's gonna be the default server or an input server and do the js html code to do the popup stuff crap.
SoM
Posts: 8489
Joined: Fri Dec 03, 1999 8:00 am

Post by SoM »

why isnt everyone who plays q3 use ASE ffs..
[color=red][WYD][/color]S[color=red]o[/color]M
AmIdYfReAk
Posts: 6926
Joined: Thu Feb 10, 2000 8:00 am

Post by AmIdYfReAk »

we do, but its nice to have that nice little menu.
glossy
Posts: 2282
Joined: Tue Apr 30, 2002 7:00 am

Post by glossy »

how do you want it setup? do you want the .php to manually connect to the q3 server, retrieve data, cache it and display it?

i'll get looking for resources on the q3 protocol i'll need to use to find out the num. players, map, etc; and give it a shot.
Pauly
Posts: 3460
Joined: Sun Sep 09, 2001 7:00 am

Post by Pauly »

Don't worry, I will take care of this
glossy
Posts: 2282
Joined: Tue Apr 30, 2002 7:00 am

Post by glossy »

okay, i have it working for the most part, i just need a server with players on it so i can test the player listing.

if someone could hook me up with a well-populated server i would be thankful :)
glossy
Posts: 2282
Joined: Tue Apr 30, 2002 7:00 am

Post by glossy »

Quake3world clanservers q3 server

give it a whirl, suggestions / critique / bashing welcome.
Turbanator
Posts: 883
Joined: Wed Jun 08, 1983 7:00 am

Post by Turbanator »

nmm... nice...
layout needs a little refining but works very well :up:
reefsurfer
Posts: 4065
Joined: Sat Mar 08, 2003 8:00 am

Post by reefsurfer »

Turbanator wrote:click the link, opens a window, pops up a box, closes the window, in the popped box there's some sort of useful shit about the q3w game server... ya know...
Would be nice with other games than Q3A.
glossy
Posts: 2282
Joined: Tue Apr 30, 2002 7:00 am

Post by glossy »

turb, i didn't know what you wanted with the layout so i just set it into a basic, generic thing so you can tinker with it if you like or tell me what to do with it.

reefsurfer, it runs on the basic q3a ping protocol, so theoretically any other games that run on a similar protocol should work with it (although the player listing may be a little whack -- SoF2 for example returns 4 player fields[ping,score,deaths,name] instead of three[ping,score,name])

if you list any other games you'd like to see support for, i'll look into the protocol for it and see what i can do
Post Reply