- Code: Select all
switch( strtoupper($xml_server['category'][3]['data') )
but also with this new fix doesn't work for EU-Lordaeron
switch( strtoupper($xml_server['category'][3]['data') )
Knevil wrote:but also with this new fix doesn't work for EU-Lordaeron
case 'REALM UP':
$realmData['serverstatus'] = 'UP';
case 'FALSE':
$realmData['serverpop'] = 'RECOMMENDED';
break;
Full Found on : Al'Akir
Full Found on : Bladefist
Recommended Found on : Burning Legion
Full Found on : Crushridge
Full Found on : Daggerspine
Recommended Found on : Frostmane
Full Found on : GrimBatol
Full Found on : Hellscream
Recommended Found on : Kazzak
Full Found on : Laughing Skull
Recommended Found on : Magtheridon
Full Found on : Molten Core
Full Found on : Outland
Full Found on : Quel'Thalas
Recommended Found on : Runetotem
Recommended Found on : Shadowmoon
Full Found on : Shattered Halls
Recommended Found on : Sporeggar
Recommended Found on : Stormscale
Full Found on : Sylvanas
Full Found on : Terenas
Recommended Found on : The Sha'tar
Recommended Found on : Twilight's Hammer
Full Found on : Warsong
Full Found on : Arygos
Full Found on : Das Konsortium
Recommended Found on : Der Mithrilorden
Recommended Found on : Frostwolf
Full Found on : Mug'thol
Recommended Found on : Onyxia
Full Found on : Rajaxx
Recommended Found on : Tirion
Full Found on : Ysera
Full Found on : Archimonde
Full Found on : Chants eternels
Full Found on : Eitrigg
Full Found on : Krasus
Recommended Found on : Les Clairvoyants
Recommended Found on : Naxxramas
Recommended Found on : Suramar
Recommended Found on : Temple noir
Recommended Found on : Uldaman
Recommended Found on : C'Thun
Full Found on : Dun Modr
Full Found on : Los Errantes
Recommended Found on : Minahonda
Full Found on : Shen'dralar
Recommended Found on : Tyrande
Full Found on : Uldum
Recommended Found on : Zul'jin
false Found on : Aerie Peak
false Found on : Agamaggan
false Found on : Aggramar
false Found on : Ahn'Qiraj
false Found on : Alonsus
false Found on : Anachronos
false Found on : Arathor
.....
false Found on : Sinstralis
false Found on : Throk'Feroth
false Found on : Varimathras
false Found on : Vol'Jin
false Found on : Ysondre
tuigii wrote:After line 243 add this :
- Code: Select all
case 'FALSE':
$realmData['serverpop'] = 'RECOMMENDED';
break;
Why ? In my case, a 'false' showed up for $xml_server['category'][3]['data']
case 'FALSE':
$realmData['serverpop'] = UNKNOWN;
break;
zanix wrote:Look at the latest SVN....
Users browsing this forum: No registered users and 1 guest