Page 3 of 3

Re: Create your own server list

Posted: 21 May 2013, 13:27
by magnetik
It should be working now :thumbsup:

Re: Create your own server list

Posted: 21 May 2013, 13:36
by steeffeen
hm, i notice a strange behavior and can't really understand what's happening

please see these two lists
1.

Code: Select all

$list = $servers->getFilteredList(array("title"=>"SMStorm", "mode"=>"-3", "length"=>$length, "offset"=>$offset));
http://www.team-devota.com/steeffeen/ma ... /index.php

2.

Code: Select all

$list = $servers->getFilteredList(array("environment"=>"Storm", "mode"=>"-3", "length"=>$length, "offset"=>$offset));
http://www.team-devota.com/steeffeen/ma ... index2.php

the second list has only very few items while the whole code is the same (only the one paramater changed)

Re: Create your own server list

Posted: 21 May 2013, 13:40
by magnetik
Try not using the mode filter?

Re: Create your own server list

Posted: 21 May 2013, 13:45
by steeffeen
magnetik wrote:Try not using the mode filter?
same result, no matter whether "mode" is specified or not
is the "mode" parameter ignored when using the environment parameter?

Re: Create your own server list

Posted: 21 May 2013, 14:17
by jonthekiller
It's normal for Combo, the value $server->title->environment is empty? I haven't this problem for others.

Re: Create your own server list

Posted: 21 May 2013, 14:20
by steeffeen
jonthekiller wrote:It's normal for Combo, the value $server->title->environment is empty? I haven't this problem for others.
i've noticed that for every custom (community) title pack and for Platform but at least on our end it's not empty for Combo

Re: Create your own server list

Posted: 22 May 2013, 09:16
by jonthekiller
Maybe we need to report the bug in the title pack creation or it's only for the Web Services, I don't know. The ingame browser know the environment of the title but not us.

And the title->cost is always 0 for custom titles and it's not the prize in Planets of the title. It's a bug or another thing?

EDIT : Is it possible to separate players and spectators? If I want to hide full servers, I can't because some players can be in spectator mode and I can't see it.

Re: Create your own server list

Posted: 05 Jun 2013, 12:16
by steeffeen
the filter "mode" is definitely ignored when using the filter "environment" as well
additionally environment="Storm" returns only a few server while title="SMStorm" is returning the correct list

Re: Create your own server list

Posted: 29 Jul 2013, 18:57
by steeffeen
steeffeen wrote:the filter "mode" is definitely ignored when using the filter "environment" as well
is that intended?