ready
STEP{"step":"ready"}
Server Sends
Both picks are in. Prepare for the matchup and say when you are set; at the deadline the game starts anyway.
{
"step": "ready",
"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
}
],
"deadlineAt": 1761740010123
}step"ready" | |
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, Pick] | Both picks, by port. |
deadlineAtinteger | Reply before this, unix milliseconds on the server's clock. |
You Reply
You are set.
{
"step": "ready"
}step"ready" |