NitrOP7674 / FreeplayCheckpoint

Rocket League Freeplay Checkpoint plugin
MIT License
12 stars 4 forks source link

Bug: Rocket League "Reset Shot" command overrides "cpt_do_checkpoint" function and doesn't reset properly to checkpoints #33

Closed Serchiot closed 1 year ago

Serchiot commented 1 year ago

As description said, if I hold down gas (default RT) and reset a shot, it not load from checkpoint. This seems to be what caused my previous issue that I already closed where I have to double tap checkpoint to properly load it.

Serchiot commented 1 year ago

After additional testing this seems to simply be caused by a longer pause. Is there maybe a setting that makes it so after a certain amount of time it does not load a checkpoint but instead resets the shot normally?

NitrOP7674 commented 1 year ago

I'm not exactly sure what you mean by "pause" but if you're talking about the feature to load a checkpoint when you hit the "reset shot" button, there's a setting for that time in the bindings section of the plugin settings.

Serchiot commented 1 year ago

After a bit further research it seems that the rocket league reset shot button (which I have also set to the back button) is interferring with the checkpoint plugin. If I remove the reset shot button or set it to another button, it works as it should. This didn't happen on previous patches, maybe Rocket League somehow overrides your reset to checkpoint function now.

NitrOP7674 commented 1 year ago

I think this is related to #29. A semi-recent RL change made some changes in this plugin necessary to work around problems. These workarounds made binding the same button for both functions not work. However, a new option was added to this plugin to make the "reset shot" button restore the latest checkpoint instead of resetting (unless you push it twice) which I mentioned above, which at least for me would be the most common reason to want to do this. You can read through that issue for more info if interested.

Serchiot commented 1 year ago

If you mean the "reset button loads last checkpoint instead of resetting if loaded before X seconds" then it doesn't properly work. Every second input resets the shot normally instead of reloading the checkpoint. I have attached a streamable.com link showcasing the issue if that is of help. https://streamable.com/plug6k

Edit: Apologies, I just realized this means I have to unbind cpt_do_checkpoint from the reset shot button. If I do that, it works properly, thank you for your time.

NitrOP7674 commented 1 year ago

Edit: Apologies, I just realized this means I have to unbind cpt_do_checkpoint from the reset shot button. If I do that, it works properly, thank you for your time.

Yes, as far as I know, it's not possible to support setting cpt_do_checkpoint to the same button as "reset shot".