[Fixed] Number of rankings returned wrong

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

Moderator: NADEO

Post Reply
User avatar
steeffeen
Translator
Translator
Posts: 2472
Joined: 14 Oct 2012, 16:22
Location: Germany

[Fixed] Number of rankings returned wrong

Post by steeffeen »

there is an issue on:

Code: Select all

Rankings::getMultiplayerWorld($title, $offset, $length);
the number of rankings returned is always length-1

for example i give a length of 10 and get only 9 players returned

also refers to one point which i've listed here http://forum.maniaplanet.com/viewtopic. ... 68&t=22434
(didn't noticed the api issue yet when posting that)
Last edited by steeffeen on 17 Nov 2013, 20:19, edited 1 time in total.
    Game Mode and Title Pack Creator, Developer, ShootMania-Player & more

    ManiaControl, FancyManiaLinks
    User avatar
    magnetik
    Nadeo
    Nadeo
    Posts: 1678
    Joined: 01 Feb 2012, 19:13
    Location: Bordeaux
    Contact:

    Re: Number of rankings returned wrong

    Post by magnetik »

    I've slitted the topic since it's easier to see what issue are to fix etc.

    I'm looking at it right now.
    ManiaPlanet technical documentation portal (Dedicated, ManiaLink, ManiaScript, Titles...) -- contribute!
    User avatar
    magnetik
    Nadeo
    Nadeo
    Posts: 1678
    Joined: 01 Feb 2012, 19:13
    Location: Bordeaux
    Contact:

    Re: Number of rankings returned wrong

    Post by magnetik »

    It's fixed, thanks :thumbsup:

    Because thoses data are cached, it could take some time to be live.
    ManiaPlanet technical documentation portal (Dedicated, ManiaLink, ManiaScript, Titles...) -- contribute!
    Post Reply

    Return to “Maniaplanet Web Services”

    Who is online

    Users browsing this forum: No registered users and 0 guests