Version 3: Server Information Script (Outdated)

Server Information Script downloads, mappics, news and discussions.

Moderator: Clan Members

Version 3: Server Information Script (Outdated)

Postby Tim on 11 Sep 2005, 18:59

This script is outdated!
Look here for the latest version:
http://forum.un4given.nl/viewtopic.php?t=651
--------------
1 Features
--------------
This script will Query both Half-Life 1 & Half-Life 2 based webserver using
the Steam Protocol and represent some of the server's details in a mix of
graphical and textual representation.

In case a server is responsive, this script will display:
- The server's Hostname
- The Game-type icon, if available, as a link to the Steamupdates to this game.
- The IP & Port as a link towards joining the server, with a tooltip
- A red key behind the IP & Port if the server is password protected, with a tooltip
- A miniature screenshot from the map currently played, with a tooltip
- The map currently played
- An equal amount of icons as there are slots on the server, with:
an equal amount of blue icons as there are HLTV/Source TV proxies on the server,
an equal amount of orange icons as there are bot players on the server,
an equal amount of green icons as there are live players on the server,
an equal amount of grey icons as there are free slots on the server
- The playerdetails as a tooltip over the above icons.
- Optional: The playerdetails below the server information

In case a server is unresponsive, this script will display:
- A message the server is down
- The IP & Port as a link towards starting Steam

This script is able to query multiple both Half-Life 1 & Half-Life 2 based,
Steampowered gameservers sequentially.

The colors, fonts and text-decoration for the scripts output are easily
adjusted using a Cascading Style Sheet.

---------------------------
2 Changes in this version
---------------------------
- Optional MySQL support, to enhance script response time
- Sorting the playerlist based upon total number of kills
- Adding of player connection time to player information
- Adding a different color indicator for HLTV or SourceTV spectators
- Fixing the newline tooltip bug in Mozilla FireFox
- Updated screenshots for CS:Source and surf_* maps
- Adding some predesigned colorschemes to the default package
- Preview for certain settings available for future users
- Larger version of the server information
- Mappics sorted in directories per game

------------
3 Preview
------------
http://www.un4given.nl/
http://www.un4given.nl/tim/si2/si2.php

----------------------------
4 Customizable preview
----------------------------
http://www.student.ru.nl/bennitebeek/tim/si2/si2.php

--------------------
5 Documentation
--------------------
http://www.un4given.nl/tim/si2/readme.txt
http://www.un4given.nl/tim/si2/phpnuke-readme.txt

--------------
6 Download
--------------
See the attachment to this post.

------------
7 Mappics
------------
http://www.un4given.nl/phpBB2/viewtopic.php?t=261

This script is outdated!
Look here for the latest version:
http://forum.un4given.nl/viewtopic.php?t=651
Last edited by Tim on 03 May 2006, 15:30, edited 7 times in total.
User avatar
Tim
 
Posts: 877
Joined: 29 Apr 2005, 12:36
Location: Nijmegen


Postby kingpin on 11 Sep 2005, 22:30

Thanx Tim for the new features especuially MySQL support, will update to this one.
kingpin
 
Posts: 20
Joined: 17 Aug 2005, 15:02
Location: Brooklyn, NY

Postby Tim on 11 Sep 2005, 22:33

Hey Kingpin, welcome back and thanks for leaving a note!
Let me know where you're using this script, I kind of like
seeing 'my little babies' on the internet... ;)
User avatar
Tim
 
Posts: 877
Joined: 29 Apr 2005, 12:36
Location: Nijmegen

Postby Tim on 11 Sep 2005, 23:07

Hey Greg!

Could you maybe post a link to the sourceforge project?
Can't find it right now...

Edit: Stupid me, forgot to remove Uppercase, it's right here:
http://sourceforge.net/projects/hldstart (Just a little cross advertising ;)).
User avatar
Tim
 
Posts: 877
Joined: 29 Apr 2005, 12:36
Location: Nijmegen

Postby Tim on 12 Sep 2005, 18:31

Hey Sirhc,

Just reply to this thread: http://www.un4given.nl/phpBB2/viewtopic.php?t=69
I'm curious to know what else I could add to this script... :)

:bye: Tim
User avatar
Tim
 
Posts: 877
Joined: 29 Apr 2005, 12:36
Location: Nijmegen

Postby Tim on 17 Sep 2005, 00:09

Remove from your "si2.php" file the following lines:
Code: Select all
show::Preview();


Code: Select all
show::Plate("194.171.252.93:27015");


Code: Select all
show::Data("194.171.252.93:27015");


To incoporate the "block" display into a PHPNuke site just set up a nice
iframe large enough to hold the script, without displaying the borders.
For iframe info look here: http://www.w3schools.com/tags/tag_iframe.asp

Greets, Tim
User avatar
Tim
 
Posts: 877
Joined: 29 Apr 2005, 12:36
Location: Nijmegen

Postby Pyotr on 17 Sep 2005, 02:09

Tim, misschien kan je in de toekomst je zips strippen van al die Thumbs.db bestanden :P Ik hoef niet te weten dat je windows xp gebruikt hoor ;)
User avatar
Pyotr
 
Posts: 974
Joined: 29 Apr 2005, 14:22
Location: Enschede

Postby Tim on 17 Sep 2005, 04:43

Ja ik weet het, irritant die dingen!
Maar het is me meer moeite ze er uit
te halen dan ze gewoon te negeren... ;)

:bye: Tim
User avatar
Tim
 
Posts: 877
Joined: 29 Apr 2005, 12:36
Location: Nijmegen

Postby Tim on 17 Sep 2005, 15:08

Try making it say this:
<?
echo "<iframe SRC='http://www.sars-clan.co.uk/phpnuke/html/si2/si2.php' width='500' height='500'
framespacing=0 frameborder=no border=0 scrolling=auto />";
?>
User avatar
Tim
 
Posts: 877
Joined: 29 Apr 2005, 12:36
Location: Nijmegen

Postby Pyotr on 17 Sep 2005, 15:36

iframe is an easy way indeed, however when i make the frame as small as possible, the popup player info is not always fully visible, because of internet explorer clipping it against the iframe.
User avatar
Pyotr
 
Posts: 974
Joined: 29 Apr 2005, 14:22
Location: Enschede

Postby Tim on 17 Sep 2005, 16:11

Very true indeed. Using an Iframe is the easiest way to incorporate this
script into your website, but it also introduces the risk that the playerinfo
will no be displayed properly if the Iframe is not large enough.

To overcome this problem advanced users can also include this script into
their webpage (as shown on http://www.un4given.nl/) by installing this
script into the directory in which the initial "index.php" is located.

From inside the "index.php" the php command "include('si2.php');" should
be called in the exact place you want the blocks to be displayed. However,
I can not guarantee this will work for anyone in any specific case. You
might have to edit the directories defined in "si_include.php" for this method
to be succesfull.

Greets, Tim
User avatar
Tim
 
Posts: 877
Joined: 29 Apr 2005, 12:36
Location: Nijmegen

Next

Return to Server Information Script


Who is online

Users browsing this forum: No registered users and 1 guest

cron