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

Fix HQ position desync #2679

Merged

Conversation

jaj22
Copy link

@jaj22 jaj22 commented Mar 23, 2023

What type of PR is this.

  1. Bug
  2. Change
  3. Enhancement

What have you changed and why?

Fixed bug where the two HQ markers (respawnTeamPlayer and "Synd_HQ") could become desynced because placementSelection was setting one of them on the client side for some goddamned reason.

Also stripped out the new-game code from placementSelection (and associated placementDone flag stuff) that was obsoleted by the setup UI HQ placement interface.

The case where the commander disconnects while placing still hasn't been addressed. Quite a lot more work.

Please specify which Issue this PR Resolves.

closes #2675

Please verify the following and ensure all checks are completed.

  1. Have you loaded the mission in LAN host?
  2. Have you loaded the mission on a dedicated server?

Is further testing or are further changes required?

  1. No
  2. Yes (Please provide further detail below.)

Should do a DS run really as the code has a client/server split, although it should be solid.

How can the changes be tested?

Load or start game, wait 120 seconds for petros to become vulnerable (or run petros allowDamage true), then get him killed by spawning units in zeus or similar.

@jaj22 jaj22 added Bug-fix Refactor This relates to the quality or health of the code labels Mar 23, 2023
@jaj22 jaj22 added this to the 3.2 milestone Mar 23, 2023
Copy link

@Bob-Murphy Bob-Murphy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@Bob-Murphy Bob-Murphy merged commit 07f62cc into official-antistasi-community:unstable Mar 25, 2023
@Bob-Murphy Bob-Murphy added the Added to changelog Added to changelog label May 8, 2023
igorkis-scrts pushed a commit to igorkis-scrts/A3-Antistasi-Plus that referenced this pull request Aug 8, 2023
…Q-position-desync

Fix HQ position desync
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Added to changelog Added to changelog Ready for merge Refactor This relates to the quality or health of the code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants