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

when client is moved to different company before he joins, he desyncs #3760

Closed
DorpsGek opened this issue Apr 12, 2010 · 1 comment
Closed
Labels
flyspray This issue is imported from FlySpray (https://bugs.openttd.org/)

Comments

@DorpsGek
Copy link
Member

SmatZ opened the ticket and wrote:

(continuing from #3755)

  1. start server, start company with a password
  2. try to join the company with a client
  3. while the client is entering company password, do "move client 255" on the server
  4. client connects, but he doesn't know he is a spectator now, so he desyncs (is kicked) when he tries to exec a command

The problem is in network_client.cpp, DEF_CLIENT_RECEIVE_COMMAND(PACKET_SERVER_MOVE):

NetworkClientInfo *ci = NetworkFindClientInfoFromClientID(client_id);
returns NULL even for client_id == local client

client doesn't know about any clients (try 'clients' in the console while entering the company password)

Reported version: 1.0.0
Operating system: All


This issue was imported from FlySpray: https://bugs.openttd.org/task/3760
@DorpsGek
Copy link
Member Author

Rubidium closed the ticket.

Reason for closing: Fixed

In r19648


This comment was imported from FlySpray: https://bugs.openttd.org/task/3760

@DorpsGek DorpsGek added Core flyspray This issue is imported from FlySpray (https://bugs.openttd.org/) labels Apr 7, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
flyspray This issue is imported from FlySpray (https://bugs.openttd.org/)
Projects
None yet
Development

No branches or pull requests

1 participant