Register for your free account! | Forgot your password?

You last visited: Today at 06:34

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



Server status script

Discussion on Server status script within the WoW Private Server forum part of the World of Warcraft category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Jul 2009
Posts: 22
Received Thanks: 0
Server status script

Hi wollte mal fragen ob mir vllt jemand ein kleines script basteln könnte. Also php das ich es auf meine hp tun kann.
Es soll Anzeigen wie lange der Server online ist, wie viele Spieler online sind aber getrennt in Horde und Ally. Und noch ne Datenbank Statistik wie viele accounts registriert worden sind.

wäre echt nett wenn mir einer sowas bastenln könnte. Ich hab leider nicht die nötigen php kenntnisse.

mfg Sh4nks
Sh4nks is offline  
Old 04/04/2010, 08:14   #2
 
Luna447's Avatar
 
elite*gold: 0
Join Date: Mar 2010
Posts: 34
Received Thanks: 0
Das würde mich auch sehr freuen wenn sich jemand die Mühe macht
Luna447 is offline  
Old 04/04/2010, 22:25   #3
 
elite*gold: 0
Join Date: Aug 2009
Posts: 38
Received Thanks: 5
mit was macht ihr die hps ????
meiki12 is offline  
Old 04/05/2010, 01:24   #4
 
Luna447's Avatar
 
elite*gold: 0
Join Date: Mar 2010
Posts: 34
Received Thanks: 0
Ich hatte mit Photoshop, Frontpage (jaja ich weiß^^) und Flash gemacht.
Luna447 is offline  
Old 04/20/2010, 20:05   #5
 
elite*gold: 0
Join Date: Sep 2009
Posts: 1
Received Thanks: 0
Würde mich auch über eine antwort freuen. Suche das schon die ganze zeit und finde leider nix
Urd is offline  
Old 04/29/2010, 21:46   #6
 
elite*gold: 0
Join Date: Feb 2010
Posts: 93
Received Thanks: 21
omg seit ihr alle zu dumm zum scripten???

ich würde euch eines bzw ne ganze HP aber ich hatte noch nei nen WOW server und ken mich in den DBs etc ned aus!

Vieleicht geht das:
die Datei nennt ihr .config.inc.php !!!
PHP Code:
<?php
         
\/*    config.inc.php    *\/
         $server_ip = "5.80.91.100";?>
und eine datei die nennt ihr status.php
PHP Code:
$file="include/config.inc.php";
?>

<style type="text/css">
<!--
.status1 {
    color: #000;
    font-size: 18px;
    font-family: Shanghai;
}
.status2 {
    color: #0C0;
    font-size: 18px;
    font-family: Shanghai;
}
.status3 {
    color: #F00;
    font-size: 18px;
    font-family: Shanghai;
}
-->
</style>
<title>BitchMt2 Server-Status<title>
<table width="189" border="0" cellpadding="0" cellspacing="0">
<th valign="top" height="34" width="189" colspan="2" background="styles/<?=$style;?>/images/srv_status.jpg"></th>
<?PHP
$ip 
gethostbyname($server_ip);
$portlist=array(11002130001300113002);
$onliner=array("Login Server""Char Server""World Server""MySql Server");
$i=0;
foreach  (
$portlist as $port){
    echo 
"<tr><td align=right width=100>".$onliner[$i]." </td>";
    
$online = @fsockopen($ip$port$errno$errstr1);
    if (!
$online)
    {
        echo 
"<td align=center><img src=images/off.png width=16 height=12 /></td></tr>";
    }
    else
    {
        echo 
"<td align=center><img src=images/on.png width=16 height=12 /></td></tr>";
    }
    @
fclose($online);
$i++;
}
?>
</table>
bei status.php müsst ihr die Ports noch ändern! Dann geht vieleicht!!

die 2 Dateien tut ihr dann in eueren ordner wo ihr die anderen Dateien für HP etc. auch drin habt!
bei mir is das C:\xampp\htdocs\ und dann müsstet ihr das ganze mit http://localhost/status.php aufrufen können!!! ("localhost" in euere Server IP umändern!!!)

________________________________


____

______________
für Server:

______________
Hier meine Lieblinszitate:
___________
KLICK mal drauf:
Hier mein Malgästebuch, könnt ja bissle was reinkritzeln!
____________________
Ich hab mal ein paar IP adressen gesammelt:
MrBusch is offline  
Thanks
2 Users
Reply


Similar Threads Similar Threads
[How-To]Einen Status Script erstellen
05/19/2012 - WoW Private Server - 7 Replies
Ich will euch heute zeigen wie ihr euch selber ein kleines Status Script erstellen könnt. Vorworte: Es ist ein kleines Script kann aber beliebig verändert werden so das es auch anzeigt wie viele Tickets etc offen sind. Dazu aber später mehr. Bitte kopiert nicht einfach die Codes sondern schreibt sie ab. Wenn ihr Fehler macht um so besser denn dann könnt ihr um so mehr lernen. Was ich brauche:
Dynamic Server Status Image PHP Script
04/16/2010 - CO2 PServer Guides & Releases - 3 Replies
I've always wanted to do this, and after my success, I'm inviting you all to partake in the ecstasy of my emotion. The following images were produced using this script: http://70.233.166.46/DynamicSignature/index.php?i mage=http://img219.imageshack.us/img219/7435/qonqu er3.png&x=45&y=55&ip=188.138.0.76& port=5816 http://70.233.166.46/DynamicSignature/index.php?i mage=http://img219.imageshack.us/img219/7435/qonqu er3.png&x=45&y=55&ip=188.138.0.76& port=5816 ...
status of script to play online?
05/01/2009 - EO PServer Hosting - 22 Replies
anyone have? tank you
[RELEASE] Server Status Script...
04/30/2009 - Dekaron Private Server - 9 Replies
<html> <body> Dekaron Server: <? Error_reporting(0); $fp = @fsockopen('INSERT IP HERE', PORT # HERE, $errno, $errstr, 2); if($fp){ echo '<font color=green>Online</font>'; } else{ echo '<font color=red>Offline</font>'; } fclose($fp); ?>



All times are GMT +2. The time now is 06:34.


Powered by vBulletin®
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2024 elitepvpers All Rights Reserved.