UniTAS icon indicating copy to clipboard operation
UniTAS copied to clipboard

[Bug]: mouse clicks not working when hovering over mod GUI (edited title)

Open Luna5829 opened this issue 1 year ago • 3 comments

What happened?

in the level select menu screen of the game Strata, mouse keys just aren't deterministic for some reason

https://github.com/Eddio0141/UniTAS/assets/102811601/4cb68068-7837-4f0e-a528-8ba20934ac63

What should have happened?

it should be fully deterministic if the same inputs are played twice but it ain't

UniTAS version

Latest main

BepInEx version

v5.4.x

Game name

Strata

Game build

Windows x64 - Mono

How to reproduce

MOVIE_CONFIG = {
    fps = 60
}

frame_advance = movie.frame_advance
press = key.hold
release = key.release

function Jump(Time)
    press("Space")
    frame_advance(Time)
    release("Space")
end

Jump()
frame_advance(41)
mouse.move(960, 840)
mouse.left()
frame_advance()
mouse.left(false)
frame_advance(17)

-- it'll sometimes load up the second level and sometimes it just won't

Log output

No response

Additional context

No response

Luna5829 avatar Jan 27 '24 14:01 Luna5829