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

HOME: Elevator does not work #1109

Closed
Ghabry opened this Issue Mar 3, 2017 · 2 comments

Comments

Projects
None yet
2 participants
@Ghabry
Member

Ghabry commented Mar 3, 2017

Name of the game: HOME

Attach files (as a .zip archive or link them)

Save01.zip

Describe the issue in detail and how to reproduce it:

Load the save and go up in the elevator room. Theres a keyfield at the wall left to the door (you cant see it just move to the wall and press enter until a keyfield appears).
Navigating on the field works but pressing enter doesn't do anything.

The Key input has 3 different events: 2 autostart + 1 parallel.

a
Red: The event you have to talk to
Blue: Autorun events of the keypad
Yellow: Parallel event of the keypad

The Parallel process reads the key state and handels cursor navigation and Cancel. The currently highlighted field is in V136.

The 2nd autorun event sets the highlighted number based on the cursor navigation variable (V136).

The 1st autorun event processes the "Return pressed" case (strange design)

The problem: The event executed when pressing enter on that numpad is the red one on my map. So the enter read by KeyInputProc invokes the "Action Button" event in front of us. I assume KeyInputProc swallowed button presses are not supposed to invoke action events on the map?

@Ghabry

This comment has been minimized.

Show comment
Hide comment
@Ghabry

Ghabry Jul 27, 2017

Member

A reddit user found a workaround:

So, I actually managed to find a decent fix. If you set the fast forward speed to 10, and to tap activate, if you press the floor button while it's on, it'll actually work and take you to the floor. I managed to do it and proceeded to spend the next 3 hours playing from that moment to the end of the game.

https://www.reddit.com/r/offthegame/comments/6oiae4/bug_with_the_elevator_in_home/

Member

Ghabry commented Jul 27, 2017

A reddit user found a workaround:

So, I actually managed to find a decent fix. If you set the fast forward speed to 10, and to tap activate, if you press the floor button while it's on, it'll actually work and take you to the floor. I managed to do it and proceeded to spend the next 3 hours playing from that moment to the end of the game.

https://www.reddit.com/r/offthegame/comments/6oiae4/bug_with_the_elevator_in_home/

@Ghabry Ghabry self-assigned this Jul 31, 2017

@Ghabry

This comment has been minimized.

Show comment
Hide comment
@Ghabry

Ghabry Jul 31, 2017

Member

I was able to make a minimal test case that reproduces the issue. Good news: It is independent of the event IDs :D

Event 1:

ActivateSwitch 1

Event 2: (Autorun, when Switch 1 is ON)

KeyInput WAIT into Var 1

Event 3: (Parallel, when Switch 1 is ON)

if WAIT > 0:
    Turn off Switch 1
endif
Member

Ghabry commented Jul 31, 2017

I was able to make a minimal test case that reproduces the issue. Good news: It is independent of the event IDs :D

Event 1:

ActivateSwitch 1

Event 2: (Autorun, when Switch 1 is ON)

KeyInput WAIT into Var 1

Event 3: (Parallel, when Switch 1 is ON)

if WAIT > 0:
    Turn off Switch 1
endif

@carstene1ns carstene1ns modified the milestones: 0.5.3, 0.6.0 Jul 31, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment