getFilteredList() doesn't filter?!

Maniaplanet public API, ManiaConnect system and the open source PHP SDK.

Moderator: NADEO

Post Reply
konte
Posts: 236
Joined: 15 Jun 2010, 12:36
Location: Germany

getFilteredList() doesn't filter?!

Post 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
User avatar
TMarc
Posts: 15441
Joined: 05 Apr 2011, 19:10
Location: Europe
Contact:

Re: getFilteredList() doesn't filter?!

Post 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.
konte
Posts: 236
Joined: 15 Jun 2010, 12:36
Location: Germany

Re: getFilteredList() doesn't filter?!

Post 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
User avatar
spaii
Posts: 1100
Joined: 19 Jun 2010, 00:04
Location: Rémy - France
Contact:

Re: getFilteredList() doesn't filter?!

Post by spaii »

User avatar
TMarc
Posts: 15441
Joined: 05 Apr 2011, 19:10
Location: Europe
Contact:

Re: getFilteredList() doesn't filter?!

Post by TMarc »

cool spaii, thanks :thumbsup:
konte
Posts: 236
Joined: 15 Jun 2010, 12:36
Location: Germany

Re: getFilteredList() doesn't filter?!

Post by konte »

Thank you very much :thumbsup:
Post Reply

Return to “Maniaplanet Web Services”

Who is online

Users browsing this forum: No registered users and 1 guest