![Thumbs Up :thumbsup:](./images/smilies/icon_thumbsup.gif)
Create your own server list
Moderator: NADEO
Re: Create your own server list
It should be working now ![Thumbs Up :thumbsup:](./images/smilies/icon_thumbsup.gif)
![Thumbs Up :thumbsup:](./images/smilies/icon_thumbsup.gif)
ManiaPlanet technical documentation portal (Dedicated, ManiaLink, ManiaScript, Titles...) -- contribute!
Re: Create your own server list
hm, i notice a strange behavior and can't really understand what's happening
please see these two lists
1.http://www.team-devota.com/steeffeen/ma ... /index.php
2.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)
please see these two lists
1.
Code: Select all
$list = $servers->getFilteredList(array("title"=>"SMStorm", "mode"=>"-3", "length"=>$length, "offset"=>$offset));
2.
Code: Select all
$list = $servers->getFilteredList(array("environment"=>"Storm", "mode"=>"-3", "length"=>$length, "offset"=>$offset));
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
Try not using the mode filter?
ManiaPlanet technical documentation portal (Dedicated, ManiaLink, ManiaScript, Titles...) -- contribute!
Re: Create your own server list
same result, no matter whether "mode" is specified or notmagnetik wrote:Try not using the mode filter?
is the "mode" parameter ignored when using the environment parameter?
- jonthekiller
- Translator
- Posts: 4702
- Joined: 15 Jun 2010, 11:07
- Manialink: maniaolympics
- Location: In Maniaplanet Alpha
- Contact:
Re: Create your own server list
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
i've noticed that for every custom (community) title pack and for Platform but at least on our end it's not empty for Combojonthekiller wrote:It's normal for Combo, the value $server->title->environment is empty? I haven't this problem for others.
- jonthekiller
- Translator
- Posts: 4702
- Joined: 15 Jun 2010, 11:07
- Manialink: maniaolympics
- Location: In Maniaplanet Alpha
- Contact:
Re: Create your own server list
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.
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
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
additionally environment="Storm" returns only a few server while title="SMStorm" is returning the correct list
Re: Create your own server list
is that intended?steeffeen wrote:the filter "mode" is definitely ignored when using the filter "environment" as well
Who is online
Users browsing this forum: No registered users and 0 guests