Miss some servers

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

Moderator: NADEO

Post Reply
User avatar
jonthekiller
Translator
Translator
Posts: 4629
Joined: 15 Jun 2010, 11:07
Location: In Maniaplanet Alpha
Contact:

Miss some servers

Post by jonthekiller »

I see this bug in general when I have a lot of servers (because I know the list), I can't see all of them in my server browser. (I see the same list than the other serverbrowser.

In this moment, I have 8 "Drakonia Stadium {X}" with the login maniaactu{X} (X is the number) and I can only see the 2, 6 and 7. They are launched since 24h, work fine and are visible in the ingame serverbrowser.
Image
User avatar
steeffeen
Translator
Translator
Posts: 2463
Joined: 14 Oct 2012, 16:22
Location: Germany

Re: Miss some servers

Post by steeffeen »

good lord thanks!
i thought it's only me and a bug on my end but i just didn't have time to look into it :lol:
    Game Mode and Title Pack Creator, Developer, ShootMania-Player & more

    ManiaControl, FancyManiaLinks
    User avatar
    steeffeen
    Translator
    Translator
    Posts: 2463
    Joined: 14 Oct 2012, 16:22
    Location: Germany

    Re: Miss some servers

    Post by steeffeen »

    so we've investigated a bit and there's definitely something wrong with the web service
    we couldn't find a pattern for the missing server but there are missing quite a few of them without doubts

    server count examples:

    valley
    actually: 142
    ws: 121

    canyon
    actually: 264
    ws: 218

    stadium
    actually: 599
    ws: 587

    storm
    actually: 191
    ws: 167

    (numbers ignoring subtitles)
      Game Mode and Title Pack Creator, Developer, ShootMania-Player & more

      ManiaControl, FancyManiaLinks
      User avatar
      jonthekiller
      Translator
      Translator
      Posts: 4629
      Joined: 15 Jun 2010, 11:07
      Location: In Maniaplanet Alpha
      Contact:

      Re: Miss some servers

      Post by jonthekiller »

      Up, this problem continues :?
      Image
      User avatar
      magnetik
      Posts: 1673
      Joined: 01 Feb 2012, 19:13
      Location: Bordeaux
      Contact:

      Re: Miss some servers

      Post by magnetik »

      I'll take a look next week.
      This is quite strange since we are using the same service in game.

      By the way you should not use en "Environnement" filter has it's deprecated.

      I'll give you the proper way to do this as soon as I had time to do this :thumbsup:
      ManiaPlanet technical documentation portal (Dedicated, ManiaLink, ManiaScript, Titles...) -- contribute!
      User avatar
      jonthekiller
      Translator
      Translator
      Posts: 4629
      Joined: 15 Jun 2010, 11:07
      Location: In Maniaplanet Alpha
      Contact:

      Re: Miss some servers

      Post by jonthekiller »

      The problem is always here.

      Which method will be the best instead the Environments filter? For me it's the simplest way to take all titlepacks per environment?
      Image
      User avatar
      jonthekiller
      Translator
      Translator
      Posts: 4629
      Joined: 15 Jun 2010, 11:07
      Location: In Maniaplanet Alpha
      Contact:

      Re: Miss some servers

      Post by jonthekiller »

      Up, for me it seems to be always here. And can you give the best method to retrieve the serverlist instead the Environment filter?

      Thanks
      Image
      User avatar
      magnetik
      Posts: 1673
      Joined: 01 Feb 2012, 19:13
      Location: Bordeaux
      Contact:

      Re: Miss some servers

      Post by magnetik »

      There was a bug on WS that gave 9 or 8 (or less) servers when asking for 10.

      At the moment there are no way to get all server for an environnement as we don't use this internally, only title dependencies.
      We are doing some internal work to provide some filters like theses.

      To get full server list, just don't give any filters
      ManiaPlanet technical documentation portal (Dedicated, ManiaLink, ManiaScript, Titles...) -- contribute!
      User avatar
      jonthekiller
      Translator
      Translator
      Posts: 4629
      Joined: 15 Jun 2010, 11:07
      Location: In Maniaplanet Alpha
      Contact:

      Re: Miss some servers

      Post by jonthekiller »

      So this bug is fixed?

      I'm ok to use only with title filter but it's possible to retrieve the complete list of titles available?
      Image
      Alexey85
      Posts: 465
      Joined: 14 Jul 2012, 10:54

      Re: Miss some servers

      Post by Alexey85 »

      jonthekiller wrote:So this bug is fixed?

      I'm ok to use only with title filter but it's possible to retrieve the complete list of titles available?
      Following might be irrelevant already, but just in case. In web api current server count is under 1400, maximum amount of servers per one request is 100, so for 14 requests you can get all the servers that web api provides. This is even less requests then you would do to get servers for each titlepack, because just in Storm there are 18 titlepacks with running servers (based on servers list from web api).
      Post Reply

      Return to “Maniaplanet Web Services”

      Who is online

      Users browsing this forum: No registered users and 2 guests