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

Saving and/or level changes sometimes causes primary fire trigger issues. (A1 1.6 Mac version) #398

Closed
Sharkie-Lino opened this issue Dec 5, 2022 · 10 comments

Comments

@Sharkie-Lino
Copy link

Sharkie-Lino commented Dec 5, 2022

While using A1 last night, and after doing some testing today, it seems sometimes after saving a game, or teleporting to the next level, it causes the primary trigger button (left mouse button in my case) to act up. Tested it on Eternal, KTA, and the regular Infinity map.

Instead of firing the weapon (all of them), it seems to completely freeze the game when pressed, and then unfreezes when let go, and will keep doing that.

I noticed that if the pattern buffer is used again (sometimes after a couple of times), or if I pause and then unpause, the problem goes away and the weapon fires like normal again, at least until maybe the next pattern buffer usage or level change. It's kind of the luck of the draw, and the same "fixes" apply.

Didn't see any issues happening with the 2nd trigger button.

@Iritscen
Copy link

Iritscen commented Dec 6, 2022

Just curious, were you using software or OpenGL mode? And which HUD?

@Sharkie-Lino
Copy link
Author

OpenGL was used.

For the HUDs, XBLA on Infinity, and the Eternal HUD (that's what the plugin is titled) for Eternal.

@Iritscen
Copy link

Iritscen commented Dec 7, 2022

Strange, I can't reproduce it on my Mac. I saved dozens of times at a pattern buffer, and after each time I saved I could still fire a weapon's primary. I was using the XBLA HUD most of that time. Do you want to upload your prefs to make sure we're using the same settings for other stuff? If so, make sure to blank the "metaserver_password" field in the file first. Or maybe first make sure that you're not using some other non-standard files with A1.

@Sharkie-Lino
Copy link
Author

Alright, Here's a copy of the file, with the metaserver password redacted. Also did the same to the join address. It wasn't mine but shrugs thought maybe it was a good idea. If not a big deal, I'll ignore it next time.
Marathon Infinity Preferences copy.txt

@Iritscen
Copy link

Very interesting! I tried your prefs out and could reproduce the bug, but I now see that I can repro the bug even with the prefs that I had, as long as I run fullscreen and load certain savepoints (a pattern buffer in Aye Mak Sicur wasn't doing it for me, but one in ACCIVI was). I'm trying some different things with the dev team to narrow down the problem.

@parkerwb
Copy link

Same, same... M1 Macbook Air playing Phoenix scenario... primary left trigger will freeze entire game after saving to buffer. Thanks for looking into this! Since it come always right after a save I just quit the game, restart and it's fine until the next time.

@Sharkie-Lino
Copy link
Author

You might not have to quit. Try saving again, or pausing and then unpausing. It seems to work for me for now. Sometimes it will do it on one shot, or may take a couple of times.

@Iritscen
Copy link

The cause has basically been found, and a fix is under discussion. For now I'll just mention that playing in windowed mode or turning off raw input in the mouse settings should avoid the bug.

@Sharkie-Lino
Copy link
Author

Cool deal. Thanks for that info!

@treellama
Copy link
Member

This is due to a change in SDL's behavior. I have filed this bug upstream:

libsdl-org/SDL#6994

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

4 participants