PHP Sof2 Watch

phpSOF2Watch Purpose : A php class that retrieves the SOF2 servers status and format it to be displayed like (as far as I could do) in-game...

Download

Uploading...
Do not refresh or leave this page!

File Description

phpSOF2Watch Purpose : A php class that retrieves the SOF2 servers status and format it to be displayed like (as far as I could do) in-game score.

Read More

Screenshots
Readme
Originally written for Quake 3 by Henrik Schack Jensen (henrik@schack.dk) and ported to Soldier of Fortune 2 by Serge Savard.

Author :  Quake3 Class : Henrik Schack Jensen (henrik@schack.dk)
SOF2 Class, Serge "snerge" Savard (snerge@myrealbox.com)

Purpose : A php class that retrieves the SOF2 servers status and format it to be displayed like (as far as I could do) in-game score.

** Should work for Infiltration, Capture the Flag, Demolition, Elimination, Team Deadmatch and  ** Deadmatch. If you have *any* suggestion to improve the layout, code feel free to contact me.
** Don't ask me to put ratio, deaths, player with flag, case, bomb, I've already looked into it and it can't be done.

Changelog:
Version 0.9b        19/05/2003 Public Beta release  <--- Current

Syntax:
Function getServerStatus(serveraddress,serverport,timeout)
Get player/servervar info from server

All results are returned in membervariables:

Greetings : Henrik Schack Jensen for letting me use is code
RTW*BlackFly for finding the project's name
RTW Clans (http://www.rtwclan.com)
For having a nice server (which I used to test my stuff :P)
Thanks to all the people who gave me their feedbacks and comments

phpSOF2Watch full source is available at http://snerge.mine.nu
Class Quake 3 Demosource is available at http://www.gameserver.dk/

Install :
- Extract or copy index.php, sof2.php and maps directory to your http root directory or in a sub-directory
- Make sure they are readable by your webserver (chmod 644 sof2.php)
- Edit index.php and set the server (Line 53) address and port just under the BODY tag
- Set the map directory if needed
- Point your browser to index.php and it should work, problems ? mail me
    ********************************************************************************I had never done php before, I know there is place for improvement   
    

Read More

Comments on this File

There are no comments yet. Be the first!

Snerge


50 XP


Registered 19th May 2003

1 Files Uploaded

Share This File
Embed File