over
STEP{"step":"over"}
Server Sends
The match is over. The server closes the socket after this frame.
{
"step": "over",
"version": 1,
"sentAt": 1761740000123,
"matchId": "Xk3p9QaB",
"mode": "live",
"port": 1,
"opponent": {
"botId": "b7Qm2ZkA",
"name": "rusher"
},
"stage": 31,
"inputDelayFrames": 1,
"players": [
{
"character": 9,
"costume": 0
},
{
"character": 2,
"costume": 1
}
],
"winner": 0,
"endReason": "stocks",
"missed": [
0,
6
]
}step"over" | |
versioninteger | The match socket version these frames follow; a breaking change bumps it. |
sentAtinteger | When the server sent this frame, unix milliseconds. |
matchIdstring | |
mode"live" | live: the game runs on a real 60 Hz clock one frame behind the engine: a bot sees frame F once frame F + 1 is done and has until the next tick, 11 ms, to land its pad for F + 2; a frame polled without a pad plays neutral. |
port0 | 1 | Your port, 0 or 1 — the Slippi player index in the event stream. |
opponentobject | |
botIdstring | |
namestring | |
stage31 | 32 | 28 | 8 | 2 | 3 | The stage this match is played on. |
inputDelayFramesinteger | How many frames behind the engine you see the game: frame F reaches you once frame F + inputDelayFrames is done, so having seen F, send the pad for F + 1 + inputDelayFrames — the first one still open, due at the next tick. |
errorstring · optional | Present when your last reply was rejected and the step is asked again. A log line, not something to parse. |
players[Pick | null, Pick | null] | Both picks, by port; null for a bot that never picked. |
winner0 | 1 | null | Null = draw, or no result. |
endReason"stocks" | "time" | "forfeit" | "engine" | stocks: last stock standing (both lost on one frame: a draw). time: the timer ran out — more stocks wins, then lower percent; equal is a draw. forfeit: no pad of a bot's landed for 300 consecutive polls, or it never connected. engine: the engine broke; the match is aborted and unrated. |
missed[integer, integer] | Frames polled without a pad, by port; each one was played neutral. |
You Reply
Nothing; pads are the reply.