Page 1 of 1

getFilteredList() doesn't filter?!

Posted: 04 Jan 2016, 23:41
by konte
Hello,
I'm trying to get a list of current servers only for a certain title, but for me it seems that all the filters do not work except length and offset.
For example: http://ws.maniaplanet.com/servers/?play ... 5&length=2
The argument playersMax is ignored and only the top servers are displayed. And I'm getting exactly the same result when using the example used in the sdk examples (https://github.com/maniaplanet/maniapla ... ervers.php):

Code: Select all

$list = $service->getFilteredList(array('environment'=>'Storm', 'title'=>'SMStorm', 'mode'=>'Melee', 'playersMin'=>1, 'hideFull'=>true, 'visibility'=>'visible', 'zone'=>'World|Europe|France','length'=>2));
The list doesn't show me any Storm servers but only TM ones.

I really don't know what I'm doing wrong. Please help^^
Konte

Re: getFilteredList() doesn't filter?!

Posted: 05 Jan 2016, 00:10
by TMarc
why did you keep "hideFull" as true and the zone as France? :?
Not sure, but perhaps the mode is also an issue.
You might ask the creators of maniaviewer if they have similar issues.

Re: getFilteredList() doesn't filter?!

Posted: 05 Jan 2016, 00:36
by konte
well, I tried a lot of things, I just didn't post all my tests here :D But it simply doesn't matter what I try, all of the arguments are ignored.

maniaviewer is working quite well, so I don't think it's a general issue

Re: getFilteredList() doesn't filter?!

Posted: 05 Jan 2016, 02:00
by spaii

Re: getFilteredList() doesn't filter?!

Posted: 05 Jan 2016, 11:13
by TMarc
cool spaii, thanks :thumbsup:

Re: getFilteredList() doesn't filter?!

Posted: 05 Jan 2016, 17:14
by konte
Thank you very much :thumbsup: