1. Welcome to LilyPad. Download the project, explore the forums, and create your own LilyPad network.


    If you use the software and enjoy it or have a question, or would like to contribute to the future of the software directly or through resources, please sign up and join our little community.

Invalid First time after restart...

Discussion in 'Bug Reports' started by Rocoty, Mar 29, 2014.

Thread Status:
Not open for further replies.
  1. Rocoty

    Rocoty New Member

    Hello
    I am currently working on a minigame system that has the pregame lobby and the game in separate servers. All is working well, except when one of the servers restarts.

    The first player trying to be redirected to a just restarted/reloaded server will not get redirected. However, the second time around they will get redirected. I don't know what could cause the redirect to fail exactly one time after a restart.

    What's more interesting is that the FutureResult does return a RedirectResult, and that RedirectResult's StatusCode is SUCCESS. Yet the player is never redirected, and thus the entire minigame system breaks. Furthermore, this does not only happen on these two servers, but our entire network of 25 servers.

    We have looked and looked for answers. Throwing stuff at the wall to see what sticks. Updated to the latest version (probably was already). Nothing. If this is a bug in LilyPad or to us locally, I don't know, but if anyone has any idea what might be happening, we could use all the help you can give us.

    Thanks,
    Rocoty
  2. Coelho

    Coelho Software Engineer Staff Member Administrator Maintainer

    It is only the first player that is unable to be redirected? Are you running the latest GoLilyPad?
  3. Rocoty

    Rocoty New Member

    Don't worry. After a lot of debugging and testing back and forth, ultimately removing all the plugins then inserting them back in one by one, we found out that it was an old version of ProtocolLib messing with this. We updated it and everything is now working.

    Thanks for being helpful :)
    • Friendly Friendly x 1
  4. Matt

    Matt Forum Moderator & Contributor Staff Member Moderator Contributor

    Closed.
Thread Status:
Not open for further replies.

Share This Page