1. The forums will be archived and moved to a read only mode in about 2 weeks (mid march).

Disconnected while transfering

Discussion in 'Help' started by _XHazardX_, Oct 11, 2017.

  1. _XHazardX_

    _XHazardX_ Spider Jockey

    Messages:
    33
    GitHub:
    XHazardX420
    Hello, I made this ui and made it execute a cmd (
    $command = "lobby ruby";
    $this->owner->getServer()->getCommandMap()->dispatch($event->getPlayer(), $command); ) and in the lobby plugin the ip/port are correct but then when we try to transfer with the ui you just get disconnected. (Using /loby ruby works). Theres no errors it just says this " logged out due to transfer"
     
  2. McpeBooster

    McpeBooster Baby Zombie

    Messages:
    190
    GitHub:
    mcpebooster
    Show us the code of the command "/lobby ruby" :D
     
    Levi likes this.
  3. _XHazardX_

    _XHazardX_ Spider Jockey

    Messages:
    33
    GitHub:
    XHazardX420
    Its not that tho bc if it was then /lobby ruby wouldn't work
     
  4. dktapps

    dktapps Administrator Staff Member PMMP Team

    Messages:
    774
    GitHub:
    dktapps
    It's due to a bug in RakLib. Please rollback your RakLib version to
    commit 1830bb757d21d878bcb8f76c10087528440e93a8, or update to the newest version on GitHub.
     
    Last edited: Oct 11, 2017
    _XHazardX_ likes this.
  5. _XHazardX_

    _XHazardX_ Spider Jockey

    Messages:
    33
    GitHub:
    XHazardX420
    Ok thanks!
     
  6. trophonix

    trophonix Creeper

    Messages:
    4
    GitHub:
    trophonix
    I'm also having this issue. If I send the transfer packet inside PlayerJoinEvent, the player gets kicked rather than being transferred. Even if I delay it for a couple seconds, sometimes the player is kicked rather than transferred.

    My reason for doing this is I want to send players to a different server depending on the IP they join with, so I collect the IP from the LoginPacket and then wait for PlayerJoinEvent to send them.
     
  7. robske_110 (Tim)

    robske_110 (Tim) Wither Skeleton Poggit Reviewer

    Messages:
    1,342
    GitHub:
    robske110
    if you're delaying it with a delayed task for example, you should be good, if you have the latest version as dktapps stated above.
     
  8. trophonix

    trophonix Creeper

    Messages:
    4
    GitHub:
    trophonix
    I actually forgot a critical piece of information. It seems to work fine for Windows 10 edition, but pocket edition clients are kicked.
     
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.