Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prevent double list of connected players #2

Open
ghost opened this issue Nov 26, 2017 · 2 comments
Open

Prevent double list of connected players #2

ghost opened this issue Nov 26, 2017 · 2 comments

Comments

@ghost
Copy link

ghost commented Nov 26, 2017

Its look like if some bots (ysradar, etc.) connected to some server then list of connected users doubled.

For example, here are few captures with this effect taken from 187th Server

Here is "Players" table from last example:

ID IFF Username
0 0 (Host) Console Server
66285 0 kisuk@
66294 0 Jina23262
65986 0 [discord.7bpstps]blue72
66300 0 Ten2Takarazuka
0 0 ika
66288 0 bluetree
66279 0 Alice
0 0 Scarface1
0 0 (Host) Console Server
66285 0 kisuk@
66294 0 Jina23262
65986 0 [discord.7bpstps]blue72
66300 0 Ten2Takarazuka
0 0 ika
66288 0 bluetree
66279 0 Alice
0 0 Scarface1

As solution, think, there should be some filter that will prevent show name in the list with same ID more than once.

P.S.: Why ika and Scarface1 had ID 0, same as ID of (Host) Console Server?

@ghost ghost changed the title Prevent double list of connected usets Prevent double list of connected players Nov 26, 2017
@EricTendian
Copy link
Member

EricTendian commented Nov 27, 2017

Thank you for reporting this @Symbian9! I will look into it and see if I can implement a fix.

Why ika and Scarface1 had ID 0, same as ID of (Host) Console Server?

This is because the ID in the list is the user's flight ID, it appears to default to 0 if they are not flying. That can be changed to something more clear, however.

@ghost
Copy link
Author

ghost commented Nov 28, 2017

This is because the ID in the list is the user's flight ID, it appears to default to 0 if they are not flying.

Propose show connected but non-flying users using IFF N/A (while them not take off)

ID IFF Username
0 0 (Host) Console Server
00001 0 flying_user
00002 N/A non-flying_user

Think, ID of each user should be kept during whole connection session (from moment when user connected to server and to the moment when user disconnect from server).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant