Realmstatus doesn't work

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

Realmstatus doesn't work

Postby Geschan » Fri Jul 07, 2006 2:58 am

Hi,

When I use the realmstatus funktion I always get this: Image

How can I fix that?
http://roster.foedus-ultoris.com
Last edited by Geschan on Fri Jul 07, 2006 2:58 am, edited 1 time in total.
Image
User avatar
Geschan
WR.net Apprentice
WR.net Apprentice
 
Posts: 5
Joined: Tue Jul 04, 2006 1:47 pm
Location: Germany

Re: Realmstatus doesn't work

Postby Geschan » Sat Jul 08, 2006 5:47 pm

Still don't work :shaking:
Image
User avatar
Geschan
WR.net Apprentice
WR.net Apprentice
 
Posts: 5
Joined: Tue Jul 04, 2006 1:47 pm
Location: Germany

Re: Realmstatus doesn't work

Postby schmeg » Sun Jul 09, 2006 8:28 pm

I"m having the same problem with the US server Vek'nilash. I'm not sure if the apostrophe is causing the problem. When I look up the server_name variable under the roster_config table it displays "Vek\'nilash". I know this is part of php scripting but I was wondering if this could be the problem. I did notice that the status.xml from wow.com has Vek'nilash coded as "Vek(ampersand)#039;nilash". If anyone has any sugestions it would be greatly apreciated. Thanks in advance.
Last edited by schmeg on Sun Jul 09, 2006 11:43 pm, edited 2 times in total.
schmeg
WR.net Apprentice
WR.net Apprentice
 
Posts: 2
Joined: Wed Jul 05, 2006 12:01 pm

Realmstatus doesn't work

Postby harut » Tue Jul 18, 2006 9:38 pm

i also have the same issue using french european server when i try to monitor Trok'Feroth ...

I tried setting alternate server name to a server without quote but it didn't work either ...

did you guys make it work ?
harut
WR.net Apprentice
WR.net Apprentice
 
Posts: 2
Joined: Wed Jul 05, 2006 12:50 pm

Realmstatus doesn't work

Postby Creomortis » Tue Jul 18, 2006 9:49 pm

just spoke to someone on irc and they said they are working on this one
Creomortis
WR.net Apprentice
WR.net Apprentice
 
Posts: 8
Joined: Mon Jul 17, 2006 9:05 pm

Re: Realmstatus doesn't work

Postby fitzfuchs » Fri Aug 04, 2006 4:06 pm

Is fix for this out yet? :-(
fitzfuchs
WR.net Apprentice
WR.net Apprentice
 
Posts: 3
Joined: Tue Aug 01, 2006 5:26 pm

Realmstatus doesn't work

Postby Falor » Tue Aug 15, 2006 9:49 pm

Just wondering if there has been any update on this, it's not working on my site as well.
Image
User avatar
Falor
WR.net Apprentice
WR.net Apprentice
 
Posts: 3
Joined: Mon Aug 14, 2006 5:49 pm
Location: Deathwing

Re: Realmstatus doesn't work

Postby mrmuskrat » Wed Aug 16, 2006 11:50 am

harut wrote:i also have the same issue using french european server when i try to monitor Trok'Feroth ...

I tried setting alternate server name to a server without quote but it didn't work either ...

did you guys make it work ?


Don't you mean Throk'Feroth?
User avatar
mrmuskrat
WR.net Journeyman
WR.net Journeyman
 
Posts: 117
Joined: Sat Jul 29, 2006 9:50 pm

Re: Realmstatus doesn't work

Postby mrmuskrat » Wed Aug 16, 2006 12:00 pm

Geschan,
Are you using the English or German Aegwynn?

Blizzard does not have an XML page for the European servers yet so the devs will have to parse the HTML of the European Realm Status page.

Devs,
Nick Schaffner posted version 3.4 back in April of 2005. I don't know what changes it has. You may have already incorporated them into the WoWRoster customized version. He also has a European server version 3.2 that could probably be incorporated into the WoWRoster version as well.
User avatar
mrmuskrat
WR.net Journeyman
WR.net Journeyman
 
Posts: 117
Joined: Sat Jul 29, 2006 9:50 pm

Realmstatus doesn't work

Postby zanix » Thu Aug 17, 2006 4:09 am

Yes, we do have Nick's changes incorporated into roster's realmstatus
He parses the xml differently than we do but the html parsing is the same
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: Realmstatus doesn't work

Postby shaun.voysey » Thu Aug 17, 2006 8:16 pm

After an Exhaustive search through the html parser. I have... <smuggly>
...fixed the problem with the Realmstatus.

Find, in your wowroster Directory, the file 'realmstatus.php'

open the file in a text editor and ...

find

Code: Select all
   // Figure out Server Pop.
      foreach($pops as $p)
      {
      $serverpop = stristr(substr($html, ($pos + 290), 35), $p);



replace with

Code: Select all
   // Figure out Server Pop.
      foreach($pops as $p)
      {
      $serverpop = stristr(substr($html, ($pos + 288), 35), $p);


The problem comes down to the new pages on the European website. :thumleft:

The substring was 2 characters too far, so the Population Variable was not set, so the database was not updated.

Simple really.
User avatar
shaun.voysey
WR.net Apprentice
WR.net Apprentice
 
Posts: 70
Joined: Thu Aug 10, 2006 12:50 pm
Location: Berkshire, England

Realmstatus doesn't work

Postby zanix » Fri Aug 18, 2006 1:55 am

Ok, fixed in SVN, thanks for the info
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

Realmstatus doesn't work

Postby Equisetum » Mon Aug 21, 2006 2:00 am

Hi. I have been having same problem and have found this solution. I changed the code like you suggested, but am still getting the same error.

Any other ideas?

Thanks

http://www.rage-and-mana.com/roster/index.php
User avatar
Equisetum
WR.net Apprentice
WR.net Apprentice
 
Posts: 65
Joined: Mon Jul 24, 2006 6:44 am

Re: Realmstatus doesn't work

Postby shaun.voysey » Mon Aug 21, 2006 10:51 am

Equisetum wrote:Hi. I have been having same problem and have found this solution. I changed the code like you suggested, but am still getting the same error.

Any other ideas?

Thanks

http://www.rage-and-mana.com/roster/index.php


Double check you roster config. Make sure you are pointing to the Correct servers.

Otherwise, Can you e-Mail me your realmstatus.php code with the name of the Realm you are on, and where the server is located. ie USA, European, french.... and I'll see what I can do.

My fix was for the update of the Realmstatus. As in the Database was not updating with the latest info. Even now, Eonar keeps bouncing from Medium to high.
User avatar
shaun.voysey
WR.net Apprentice
WR.net Apprentice
 
Posts: 70
Joined: Thu Aug 10, 2006 12:50 pm
Location: Berkshire, England

Re: Realmstatus doesn't work

Postby Falor » Wed Aug 23, 2006 12:44 am

Still not working after the code change, does cURL need a different port open than 80? I am behind a firewall and don't want to open all ports to my server.

My roster page can be found at Legends of Honor Roster Page
Image
User avatar
Falor
WR.net Apprentice
WR.net Apprentice
 
Posts: 3
Joined: Mon Aug 14, 2006 5:49 pm
Location: Deathwing

Next

Return to General Support & Feedback

Who is online

Users browsing this forum: No registered users and 1 guest

cron