User friendly disconnection messages

Discussion in 'Implemented' started by Pokemonexperte-Martin, Sep 3, 2011.

  1. Pokemonexperte-Martin

    Pokemonexperte-Martin Member

    Joined:
    May 15, 2010
    Messages:
    76
    Likes Received:
    0
    Currently there is only one single unspecific (error) message:

    Instead of it, there should be messages like

    * Wrong password
    * You were kicked / banned
    * Login from another IP
     
  2. coyotte508

    coyotte508 Well-Known Member Administrator Server Owner Administrator Server Owner

    Joined:
    Apr 21, 2010
    Messages:
    6,363
    Likes Received:
    168
    yea, there is when compiled with boost sockets, the network isn't cut off immediately so the message about wrong password, login from another name or kick shows up
     
  3. Pokemonexperte-Martin

    Pokemonexperte-Martin Member

    Joined:
    May 15, 2010
    Messages:
    76
    Likes Received:
    0
    Ah, great to know :)
    Are there any known bugs, limitations, drawbacks compiling the PO server with boost instead of Qt sockets?
     
  4. Lamperi

    Lamperi I see what you did there

    Joined:
    Apr 25, 2010
    Messages:
    2,647
    Likes Received:
    11
    At least on PO server the login sometimes lags a bit with boost sockets.
     
  5. Pokemonexperte-Martin

    Pokemonexperte-Martin Member

    Joined:
    May 15, 2010
    Messages:
    76
    Likes Received:
    0
    Ok, I compiled PO with SFML, and the output is now

    In my opinion, the error message should be supressed, and the information styled a little bit (bold, color).
     
  6. coyotte508

    coyotte508 Well-Known Member Administrator Server Owner Administrator Server Owner

    Joined:
    Apr 21, 2010
    Messages:
    6,363
    Likes Received:
    168
    I'll suppress the error message. Since for now the "wrong password" message is a server sent one, and not one got from an enum or something like that, it won't be styled, maybe with new network protocol!