Server Status Issues?

Requests, feedback, and general discussion about WoWRoster
DO NOT post topics about WoWRoster AddOns here!

Server Status Issues?

Postby quarum » Thu Jul 17, 2008 9:15 am

WoW Roster 2.0.0 - server - US Lothar.

Server is showing offline and not seeming to update.

However I still have WoW Roster 1.7.3 installed and the server status is working.

Any idea why 1.7.3 would show server online and 2.0.0 show it as offline? And before you ask - yes the server is online.

2.0.0 install is located at http://www.argoswow.com/roster2/

1.7.3 install is located at http://www.argoswow.com/team/
Image
Image
Image
User avatar
quarum
WR.net Apprentice
WR.net Apprentice
 
Posts: 42
Joined: Tue Dec 19, 2006 5:36 am
Location: Midwest

Server Status Issues?

Postby zanix » Thu Jul 17, 2008 11:24 am

No idea...so far
My server shows it as "No Status"

Weird
Read the Forum Rules, the WiKi, and Search before posting!
WoWRoster v2.1 - SigGen v0.3.3.523 - WoWRosterDF
User avatar
zanix
Admin
Admin
WoWRoster.net Dev Team
WoWRoster.net Dev Team
UA/UU Developer
UA/UU Developer
 
Posts: 5546
Joined: Mon Jul 03, 2006 8:29 am
Location: Idaho Falls, Idaho
Realm: Doomhammer (PvE) - US

Server Status Issues?

Postby quarum » Thu Jul 17, 2008 10:52 pm

Any thoughts on this yet? Kinda strange.
Image
Image
Image
User avatar
quarum
WR.net Apprentice
WR.net Apprentice
 
Posts: 42
Joined: Tue Dec 19, 2006 5:36 am
Location: Midwest

Server Status Issues?

Postby zanix » Fri Jul 18, 2008 10:35 am

Figured it out
Blizzard changed the xml feed

realmstatus.php
Find
Code: Select all
foreach( $simpleParser->data->as $value 

Replace with
Code: Select all
foreach( $simpleParser->data->rs->as $value 


I will post an official update for this file
Read the Forum Rules, the WiKi, and Search before posting!
WoWRoster v2.1 - SigGen v0.3.3.523 - WoWRosterDF
User avatar
zanix
Admin
Admin
WoWRoster.net Dev Team
WoWRoster.net Dev Team
UA/UU Developer
UA/UU Developer
 
Posts: 5546
Joined: Mon Jul 03, 2006 8:29 am
Location: Idaho Falls, Idaho
Realm: Doomhammer (PvE) - US

Server Status Issues?

Postby quarum » Fri Jul 18, 2008 5:12 pm

Prefect - thank you so very much
Image
Image
Image
User avatar
quarum
WR.net Apprentice
WR.net Apprentice
 
Posts: 42
Joined: Tue Dec 19, 2006 5:36 am
Location: Midwest

Server Status Issues?

Postby quarum » Sun Jul 20, 2008 7:56 am

Did they change it again?

I updated - and now the 2.0 realm status is not working.

My 1.7.3 is still working.
Last edited by quarum on Sun Jul 20, 2008 7:57 am, edited 1 time in total.
Image
Image
Image
User avatar
quarum
WR.net Apprentice
WR.net Apprentice
 
Posts: 42
Joined: Tue Dec 19, 2006 5:36 am
Location: Midwest

Server Status Issues?

Postby zanix » Sun Jul 20, 2008 12:23 pm

Nope, just checked
The new code should work, you might have a different problem

Use phpmyadmin (or another db tool) and clear your 'roster_realmstatus' table
Read the Forum Rules, the WiKi, and Search before posting!
WoWRoster v2.1 - SigGen v0.3.3.523 - WoWRosterDF
User avatar
zanix
Admin
Admin
WoWRoster.net Dev Team
WoWRoster.net Dev Team
UA/UU Developer
UA/UU Developer
 
Posts: 5546
Joined: Mon Jul 03, 2006 8:29 am
Location: Idaho Falls, Idaho
Realm: Doomhammer (PvE) - US

Re: Server Status Issues?

Postby quarum » Sun Jul 20, 2008 7:31 pm

Okay - cleared the table and still the same issue.

I can now show you two different sites, on two different servers, and both on different hosting companies. Same issue with both. The Roster 2.0 realmstatus is showing offline and the Roster 1.7.3 realmstatus is showing online. Both servers are currently online.

My Site - Lothar - Alliance -
2.0.0 install is located at www.argoswow.com/roster2/
1.7.3 install is located at www.argoswow.com/team/

Obisdian Fists Site - The Venture Company - Alliance
2.0.0 install is located at http://www.obsidianfists.com/roster2/
1.7.3 install is located at http://www.obsidianfists.com/roster/

FYI - these are both on different hosting companies. I cleared the realmstatus table. Also both are on the updated realmstatus.php code.
Image
Image
Image
User avatar
quarum
WR.net Apprentice
WR.net Apprentice
 
Posts: 42
Joined: Tue Dec 19, 2006 5:36 am
Location: Midwest

Re: Server Status Issues?

Postby zanix » Mon Jul 21, 2008 12:11 am

quarum wrote:My Site - Lothar - Alliance -
2.0.0 install is located at www.argoswow.com/roster2/
1.7.3 install is located at www.argoswow.com/team/

Both of these show medium for me

quarum wrote:Obisdian Fists Site - The Venture Company - Alliance
2.0.0 install is located at http://www.obsidianfists.com/roster2/
1.7.3 install is located at http://www.obsidianfists.com/roster/

These show low (2.0) medium (1.7.3)
Read the Forum Rules, the WiKi, and Search before posting!
WoWRoster v2.1 - SigGen v0.3.3.523 - WoWRosterDF
User avatar
zanix
Admin
Admin
WoWRoster.net Dev Team
WoWRoster.net Dev Team
UA/UU Developer
UA/UU Developer
 
Posts: 5546
Joined: Mon Jul 03, 2006 8:29 am
Location: Idaho Falls, Idaho
Realm: Doomhammer (PvE) - US

Server Status Issues?

Postby quarum » Mon Jul 21, 2008 4:25 am

lmao - thats not what they were like when I wrote this to you.

Its like the car that makes noise, then you take it to the mechanic and the noise stops.
Last edited by quarum on Mon Jul 21, 2008 4:26 am, edited 1 time in total.
Image
Image
Image
User avatar
quarum
WR.net Apprentice
WR.net Apprentice
 
Posts: 42
Joined: Tue Dec 19, 2006 5:36 am
Location: Midwest

Server Status Issues?

Postby zanix » Mon Jul 21, 2008 10:13 am

Yep
Read the Forum Rules, the WiKi, and Search before posting!
WoWRoster v2.1 - SigGen v0.3.3.523 - WoWRosterDF
User avatar
zanix
Admin
Admin
WoWRoster.net Dev Team
WoWRoster.net Dev Team
UA/UU Developer
UA/UU Developer
 
Posts: 5546
Joined: Mon Jul 03, 2006 8:29 am
Location: Idaho Falls, Idaho
Realm: Doomhammer (PvE) - US

Re: Server Status Issues?

Postby Yoshette » Wed Sep 10, 2008 5:38 pm

I still can't see the status of my EU server: Vol'jin.

The status on my roster page

I made the two modifications.
Image
Yoshette
WR.net Apprentice
WR.net Apprentice
 
Posts: 41
Joined: Fri Oct 06, 2006 2:14 am
Location: Boston, MA, USA

Server Status Issues?

Postby Yoshette » Wed Sep 10, 2008 5:42 pm

Hum change the link xml file. seems to work.
Image
Yoshette
WR.net Apprentice
WR.net Apprentice
 
Posts: 41
Joined: Fri Oct 06, 2006 2:14 am
Location: Boston, MA, USA

Re: Server Status Issues?

Postby Tiramon » Wed Sep 10, 2008 5:54 pm

i tried to change the xml link and though it would be the solution, but i deleted that entry again

because i'm not quite sure if there are european servers listed
or if that are US servers with the same names like the EU

i tried to find some servers that are definitly german servers
like 'Der abyssische Rat' and i can't find it on the US xml site


But i got a working solution for the EU servers

it's not as clean and well designed as the rest of the code but its working ;)

i just replaced the complete code in the
Code: Select all
elseif ( $region == 'EU' )
{
.....
}


now it looks like
Code: Select all
elseif( $region == 'EU' )
                {
                        $xmlsource = file("http://www.wow-europe.com/realmstatus/index.html?locale=en_gb");
                        $xmlsource = preg_grep( "/serverStatus/", $xmlsource );
                        $xmlsource = implode( $xmlsource, "" );
                        $pattern ="/icons\/serverstatus\/(down|up)arrow\.gif.*?\n.*?a name=\"(.*?)\".*?\n.*?(PvP|Normal|RP-PVP|RP).*?\n.*?(?:(Full|Recommended)<\/font><\/b><\/span>)?<\/td>/" ;
                        preg_match_all( $pattern, $xmlsource, $result);

                        foreach( $result[0] as $key => $value )
                        {
                                if ( $result[2][$key] == $realmname )
                                {
                                        switch( $result[1][$key] )
                                        {
                                                case 'down':
                                                        $realmData['serverstatus'] = 'DOWN';
                                                        break;

                                                case 'up':
                                                        $realmData['serverstatus'] = 'UP';
                                                        break;

                                                default:
                                                        $realmData['serverstatus'] = 'UNKNOWN';
                                        }

                                        switch( $result[3][$key] )
                                        {
                                                case 'RP-PVP':
                                                        $realmData['servertype'] = 'RPPVP';
                                                        break;

                                                case 'Normal':
                                                        $realmData['servertype'] = 'PVE';
                                                        break;

                                                case 'PvP':
                                                        $realmData['servertype'] = 'PVP';
                                                        break;

                                                case 'RP':
                                                        $realmData['servertype'] = 'RP';
                                                        break;

                                                default:
                                                        $realmData['servertype'] = 'UNKNOWN';
                                        }

                                        switch( $result[4][$key] )
                                        {
                                                case 'Full':
                                                        $realmData['serverpop'] = 'FULL';
                                                        break;

                                                case 'Recommended':
                                                        $realmData['serverpop'] = 'RECOMMENDED';
                                                        break;

                                                default:
                                                        $realmData['serverpop'] = ' ';
                                        }

                                        break;
                                }
                        }
                }
Last edited by Tiramon on Wed Sep 10, 2008 6:08 pm, edited 3 times in total.
Tiramon
WR.net Apprentice
WR.net Apprentice
 
Posts: 11
Joined: Thu May 03, 2007 5:58 pm

Server Status Issues?

Postby PleegWat » Fri Sep 12, 2008 2:19 am

There are quite a lot of duplicate realm names between US and EU - they most definitely aren't on the same realmstatus list.

These duplicate realm names are the very reason we're using region in the roster data structures - we wouldn't have bothered with it if realm names were unique worldwide.
I <3 /bin/bash
User avatar
PleegWat
WoWRoster.net Dev Team
WoWRoster.net Dev Team
 
Posts: 1636
Joined: Tue Jul 04, 2006 1:43 pm


Return to General Support & Feedback

Who is online

Users browsing this forum: No registered users and 1 guest

cron