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

Test-fix for establishing a roadblock using remote control #2745

Merged

Conversation

jaj22
Copy link

@jaj22 jaj22 commented Apr 16, 2023

What type of PR is this.

  1. Bug
  2. Change
  3. Enhancement

What have you changed and why?

There have been several cases of players breaking badly by completing a roadblock using remote control, including Arma crashes and broken player objects. Couldn't replicate, maybe because a dedicated server with significant latency is required.

The roadblock code has specific logic for this, which is bad but shouldn't cause this sort of problem. My best guess is that the problem is that the roadblock code deletes the units immediately after, and this can outpace some selectPlayer functionality. Added a short delay and removed some redundant operations that wouldn't have worked correctly anyway due to remoteExec order.

Please specify which Issue this PR Resolves.

maybe closes #1964

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.)

See if there are no further reports within six months or so.

@jaj22 jaj22 added the Bug-fix label Apr 16, 2023
@jaj22 jaj22 added this to the 3.2 milestone Apr 16, 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 a6fc3ff into official-antistasi-community:unstable Apr 22, 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
…oadblock-RC-fail

Test-fix for establishing a roadblock using remote control
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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants