opl- / beatsaber-http-status

Live game status over web sockets.
MIT License
106 stars 36 forks source link

No gameplay events fire when viewing replays #62

Open TheBlackParrot opened 3 years ago

TheBlackParrot commented 3 years ago

Current behavior

Only seeing beatmapEvents firing when watching replays.

Expected behavior

Expecting noteCut and noteFullyCut events to fire when watching replays.

Reproduction steps

  1. Load a replay in-game from a ranked custom song on the ScoreSaber leaderboards.
  2. Print output of event listeners or etc, e.g.

    ws.addEventListener("message", function(msg) {
    var data = JSON.parse(msg.data);
    var event = events[data.event];
    
    console.log(data.event);
    
    if(event) {
        event(data.status, data.time);
    }
    });

    Screenshot from 2021-04-27 08-48-57

Environment

BeatSaber version: 1.14.0 HTTP Status version: 1.15.1 Platform: Desktop

opl- commented 3 years ago

I'm not sure how ScoreSaber plays replays, but I'm guessing they take control over the scene objects themselves in some way. Supporting it might be a little difficult considering ScoreSaber is closed source from what I recall. Won't fix for now, but leaving the issue open.

@Umbranoxio Feel free to share any thoughts on this.