unixoide / 5th-echelon

https://unixoide.github.io/5th-echelon/
76 stars 2 forks source link

"Friend system" #9

Closed Sylwester1766 closed 2 months ago

Sylwester1766 commented 8 months ago

Hi. My friend and I are trying to join each other's lobbies but completely have no idea what to do in case we both have the name "aaaabbbb" and the password "ccccdddd". When I send an invitation to the lobby to user "aaaabbbb" then I invite myself :P

Author of the modification, please describe in more detail how the new system works so that the community can help :)

K4CZP3R commented 8 months ago

You can change your username in the config file and then add the new user to the database by either modifying the sql file or the migration.

unixoide commented 7 months ago

Invite system uses the backend server to send an invite to other players known on the server. It does not check for multiple logins. Another test account to play around with is "sam_the_fisher" with the password "password1234".

If you use these accounts (AAAABBBB and sam_the_fisher) you can invite each other and open the overlay with F5 to accept the invite.