Realm Status menu

User Tag List

Thread: Realm Status

Results 1 to 14 of 14
  1. #1
    volitle's Avatar Contributor
    Reputation
    181
    Join Date
    Nov 2007
    Posts
    1,127
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Realm Status

    Hey just wondering if anyone had a realm status script handy that doesn't require the stats.xml file, great help if you do


    Realm Status
  2. #2
    mjmorrell3's Avatar Member
    Reputation
    27
    Join Date
    Jan 2008
    Posts
    60
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    $ch = curl_init();
    $useragent="Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.8.1.11) Gecko/20071127 Firefox/2.0.0.11";
    curl_setopt ($ch, CURLOPT_URL, "http://www.worldofwarcraft.com/realmstatus/status.xml");
    curl_setopt($ch, CURLOPT_USERAGENT, $useragent);
    curl_setopt ($ch, CURLOPT_RETURNTRANSFER, 1);
    $source = curl_exec($ch);
    curl_close($ch);
    $xml = new SimpleXMLElement($source);
    foreach ($xml->r as $server){
    echo $server['n'] . " - ";
    if ($server['s'] == "1") {
    echo "<font color=green><b>Online</b></font>";
    } else {
    echo "<font color=red><b>Offline</b></font>";

    }
    echo "<br>";
    }


    Coded by me about a month or 2 ago, requires cUrl installed on the server. Not sure if it still works

  3. #3
    visitor's Avatar Contributor
    Reputation
    174
    Join Date
    Mar 2008
    Posts
    309
    Thanks G/R
    16/15
    Trade Feedback
    1 (100%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by volitle View Post
    Hey just wondering if anyone had a realm status script handy that doesn't require the stats.xml file, great help if you do
    for ascent?
    Hey I just met you

  4. #4
    Vladinator's Avatar Banned
    Reputation
    252
    Join Date
    Feb 2007
    Posts
    516
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    About officials, well the realm status page is just bullshit.. talking about the EU one. It is never up and working, just garbage just like their costumer support. Might sound outrageous but if I were able to get explosives from any Asian country I would buy it and plant some at Blizzards HQ in Paris -would feel extraordinary pleasant (revenge).

  5. #5
    Pragma's Avatar Contributor
    Reputation
    261
    Join Date
    Feb 2007
    Posts
    630
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    i can give ya some php that will see how many players are online and if the server is online


  6. #6
    volitle's Avatar Contributor
    Reputation
    181
    Join Date
    Nov 2007
    Posts
    1,127
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    yeh that what i need insanesk8123 for ascent not mangos


  7. #7
    Sonic Waffle's Avatar Contributor
    Reputation
    170
    Join Date
    Dec 2007
    Posts
    990
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    (Credits go to PHP.net, even though I could of done this myself...) Here:
    <?php
    $fp = fsockopen("localhost", 80);
    if (!$fp) {
    echo "Down";
    } else {
    echo "Up";
    fclose($fp);
    }
    ?>
    Last edited by Sonic Waffle; 08-20-2008 at 10:27 PM.


  8. #8
    volitle's Avatar Contributor
    Reputation
    181
    Join Date
    Nov 2007
    Posts
    1,127
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by Dark Soul View Post
    (Credits go to PHP.net, even though I could of done this myself...) Here:
    <?php
    = fsockopen("localhost", 80);
    if (!) {
    echo "Down";
    } else {
    echo "Up";
    fclose();
    }
    ?>
    cheers man really appreciated but im hosting the website and she is hosting the server so what do i do there


  9. #9
    Blackboy0's Avatar Member
    Reputation
    70
    Join Date
    Nov 2007
    Posts
    377
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Code:
    <?php
    //Server Config
     = "127.0.0.1";
     = 8129; 
    
    if(realm_status(, ) === false)
    {
    echo                      "<font color=red>Offline</font>";
    
    }
    elseif(realm_status(, ) === true)
    {
    echo "<font color=green>Online</font>";
    }
    else
    {
    echo "<font color=yellow>Unavailable</font>";
    }
    
    function realm_status(, )
    {
    error_reporting(0);
     = fsockopen(,,,,3);
    if(!)
    {
    return false;
    }
    else
    {
    return true;
    }
    }
    ?>
    Alright, put in "127.0.0.1" the IP of the Server (External IP, I believe) and then the Port into the Port slot (8129 by default) and then it should update everytime she launches/shutdown Server
    Last edited by Blackboy0; 09-23-2008 at 08:29 PM.

  10. #10
    volitle's Avatar Contributor
    Reputation
    181
    Join Date
    Nov 2007
    Posts
    1,127
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    cheers man +rep i couldnt get the other one to work


  11. #11
    Blackboy0's Avatar Member
    Reputation
    70
    Join Date
    Nov 2007
    Posts
    377
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    No problem mate My pleasure!

  12. #12
    _DEFiANT's Avatar Member
    Reputation
    44
    Join Date
    Aug 2008
    Posts
    240
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by Blackboy0 View Post
    No problem mate My pleasure!
    I tried using that one and when I went to the website, all that showed was..

    Code:
    //Server Config = "127.0.0.1"; = 8129; if(realm_status(, ) === false) { echo "Offline"; } elseif(realm_status(, ) === true) { echo "Online"; } else { echo "Unavailable"; } function realm_status(, ) { error_reporting(0); = fsockopen(,,,,3); if(!) { return false; } else { return true; } }

    Need help? add me on MSN - [email protected]
    Have questions? email me - [email protected]

  13. #13
    parrworg's Avatar Sergeant Major
    Reputation
    89
    Join Date
    Mar 2007
    Posts
    173
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by Warlockian View Post
    I tried using that one and when I went to the website, all that showed was..

    Code:
    //Server Config = "127.0.0.1"; = 8129; if(realm_status(, ) === false) { echo "Offline"; } elseif(realm_status(, ) === true) { echo "Online"; } else { echo "Unavailable"; } function realm_status(, ) { error_reporting(0); = fsockopen(,,,,3); if(!) { return false; } else { return true; } }
    Heh, you're missing the <?PHP and ?> tags around the code there.

  14. #14
    Blackboy0's Avatar Member
    Reputation
    70
    Join Date
    Nov 2007
    Posts
    377
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Alright, my Post is updated with the PHP Tags

Similar Threads

  1. [Tool] Realm Status Monitor
    By CryptoCombat in forum World of Warcraft Bots and Programs
    Replies: 7
    Last Post: 07-07-2010, 07:22 AM
  2. [Website] Realm Status Error
    By singoe in forum WoW EMU Questions & Requests
    Replies: 1
    Last Post: 04-26-2010, 09:54 AM
  3. Realm status question
    By *Alexz* in forum WoW EMU Questions & Requests
    Replies: 4
    Last Post: 08-10-2009, 05:29 AM
  4. Realm Status Php Script?
    By luc1f3rspalm in forum WoW EMU Questions & Requests
    Replies: 3
    Last Post: 10-30-2008, 10:21 PM
  5. CMPS Realm Status Module
    By romulux in forum Community Chat
    Replies: 0
    Last Post: 02-23-2008, 04:04 PM
All times are GMT -5. The time now is 04:58 PM. Powered by vBulletin® Version 4.2.3
Copyright © 2024 vBulletin Solutions, Inc. All rights reserved. User Alert System provided by Advanced User Tagging (Pro) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
Digital Point modules: Sphinx-based search