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

Pressing a button in a single frame is not recognised in Gui-Screens #224

Open
ScribbleTAS opened this issue Dec 19, 2024 · 0 comments
Open
Assignees
Labels
Gui Issue relates to guis TASFile Issue relates to the playback file used to store inputs
Milestone

Comments

@ScribbleTAS
Copy link
Member

ScribbleTAS commented Dec 19, 2024

acatthatcanparkourreallywell9900 brought to my attention,
that trying to close a chest via ESC in tickrate 1 would fail sometimes,
if the press was really short and also provided this video (thanks for that!):

https://youtu.be/T2SwdHS4jGM

After further testing I found that it is reproducible with the following inputs:

0|||null;null
1|||-232.35078;23.550083		
2||;0,-56,-32|-87.000725;31.050087
3||;0,-56,-32|-87.000725;31.050087
4||;0,-56,-32|-87.000725;31.050087
5||;0,-56,-32|-87.000725;31.050087
6|ESC;|;0,-56,-32|-87.000725;31.050087
	1|;||
7||;0,-56,-32|-87.000725;31.050087
8||;0,-56,-32|-87.000725;31.050087
9||;0,-56,-32|-87.000725;31.050087
10|ESC;|;0,-56,-32|-87.000725;31.050087
	1|;||
11||;0,-56,-32|-87.000725;31.050087
12||;0,-56,-32|-87.000725;31.050087

There is only a single frame, where ESC was pressed, and the Gui would not close after the second press.

Now after changing the inputs to this:

0|||null;null
1|||-232.35078;23.550083		
2||;0,-56,-32|-87.000725;31.050087
3||;0,-56,-32|-87.000725;31.050087
4||;0,-56,-32|-87.000725;31.050087
5||;0,-56,-32|-87.000725;31.050087
6|ESC;|;0,-56,-32|-87.000725;31.050087
	1|;||
+7|ESC|;0,-56,-32|-87.000725;31.050087
8||;0,-56,-32|-87.000725;31.050087
9||;0,-56,-32|-87.000725;31.050087
10|ESC;|;0,-56,-32|-87.000725;31.050087
	1|;||
11||;0,-56,-32|-87.000725;31.050087
12||;0,-56,-32|-87.000725;31.050087

It now works which is to be expected.
However, I also found out that this also works:

0|||null;null
1|||-232.35078;23.550083		
2||;0,-56,-32|-87.000725;31.050087
3||;0,-56,-32|-87.000725;31.050087
4||;0,-56,-32|-87.000725;31.050087
5||;0,-56,-32|-87.000725;31.050087
6|ESC;|;0,-56,-32|-87.000725;31.050087
+	1|||
7||;0,-56,-32|-87.000725;31.050087
8||;0,-56,-32|-87.000725;31.050087
9||;0,-56,-32|-87.000725;31.050087
10|ESC;|;0,-56,-32|-87.000725;31.050087
	1|;||
11||;0,-56,-32|-87.000725;31.050087
12||;0,-56,-32|-87.000725;31.050087

I have only removed a semicolon here...

So it seems that guis can't handle empty input sections which is interesting...

@ScribbleTAS ScribbleTAS added Bug Something isn't working Gui Issue relates to guis TASFile Issue relates to the playback file used to store inputs labels Dec 19, 2024
@ScribbleTAS ScribbleTAS added this to the Beta1.0 milestone Dec 19, 2024
@ScribbleTAS ScribbleTAS self-assigned this Dec 19, 2024
@github-project-automation github-project-automation bot moved this to Todo in TASmod Dec 19, 2024
@ScribbleTAS ScribbleTAS changed the title Pressing a button in a single frame is not recognised in Gui-Screens Gui-Screens can't record subticks Dec 25, 2024
@ScribbleTAS ScribbleTAS changed the title Gui-Screens can't record subticks Pressing a button in a single frame is not recognised in Gui-Screens Dec 25, 2024
@ScribbleTAS ScribbleTAS removed the Bug Something isn't working label Jan 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Gui Issue relates to guis TASFile Issue relates to the playback file used to store inputs
Projects
Status: Todo
Development

No branches or pull requests

1 participant