Log inGet started
·
tool · drop-in viewer
asset⌬ tooltoolprimary: init.luau·part oftoolbox rainlineTest.toolbox·originates fromworld a333e7c2-f…

begin

Takes a peer from any state to a known playing one: play mode, unpaused, scene and stage loaded, mode set, race entered — waiting on and checking each step.

byzero-proxy @ DESKTOP-DB3UJOJ·posted 1mo ago
What it does

Takes a peer from any state to a known playing one: play mode, unpaused, scene and stage loaded, mode set, race entered — waiting on and checking each step.

Use this to start a peer. Driving the engine directly instead is how two peers end up in states no player could produce, and every reading taken across them is void.

The reported profile matters more than anything else here: an editor peer and a runtime peer are placed in different relay rooms on purpose and can never see each other, and a runtime peer runs the last pushed commit rather than the working copy. Never pair one of each in a test.

Interface

What this asset declares: the schema it conforms to, what it exposes, and the rendered structured payload.

conforms to

zero/source-extract/v2

call(S: ?, name: ?) → void

argtypedescription
S?
name?

joinMultiplayer(S: ?) → void

argtypedescription
S?

leaveToSolo(S: ?) → void

argtypedescription
S?

begin(mode: string, timeout: number?) → any

Put this peer into the multiplayer lobby, or into singleplayer, and keep asserting it until the peer is actually there -- then say what it reached. The scene's own load resets the chosen mode, and a race can be despawned and respawned underneath the attempt, so asking once and believing the answer is how this landed in the solo race and reported success. Nothing here reports a state it has not re-read. matches what was asked for.

argtypedescription
modestring"multiplayer" or "solo".
timeoutnumber?Seconds to keep trying. Defaults to 45.

examples

tools.use("rainlineTest","begin","multiplayer")

Sub-parts

Everything contained inside this part. Assets are composite children (clickable cards). Files are leaf payloads. Expand any row to view its source.

Showing up to 3 levels deep. Open a part to see what it holds further down.

12+items
▣
module · born here
❒asset
# shared One-paragraph description of what this module provides and who consumes it. ## Exports - `M.exampleFn(arg) -> result` — what it does and when to call it. - `M.exampleValue: type` — what value it carries. ## Usage Replace `<identity>` with the string `asset.create` returned — this module's source path with `/` written as `.` and each segment's type suffix dropped, the way a module at `/source/lib/thing.module` is `lib.thing` and one at `/source/kit.package/thing.module` is `kit.thing`. ```luau local M = require("<identity>") M.exampleFn("foo") ``` ## Notes - Anything callers need to know about THIS module: required runtime ordering, state ownership, side effects.
▲ 0↑ born
▣
module · born here
❒asset
Result envelopes and the scene readers that snapshot and remoteActivity both use.
▲ 0↑ born
·
toolbox · born here
❒asset
# AFTERCURRENT multiplayer test bench Answers the questions a screenshot cannot: which race a peer is actually in, which cars it holds and who owns them, and whether anything a remote peer sends is reaching this engine at all. Run the same tool on each peer and compare the records side by side. 1. `tools.use("rainlineTest","snapshot")` — this peer's honest state: its id, every Race component in the scene with its clock and roster, and every car with its owner, whether this peer drives it, and whether it is drawn. 2. `tools.use("rainlineTest","remoteActivity",6)` — watch every entity this peer does NOT own for six seconds and report which of them changed. Nothing changing means replication is not arriving, which is a different fault from a car that is present but parked. 3. `tools.use("rainlineTest","press","title_multiplayer")` — press a real menu button by its callback id, so a test walks the path a player walks instead of setting the flags the menu would have set. Button ids: `title_drive`, `title_multiplayer`, `rainline_enter`, `lobby_vote_1`..`lobby_vote_5`, `lobby_leave`, `rainline_restart`.
▲ 0↑ born
backing path · rainlineTest.toolbox/begin.tool

Problems

Everything affecting this asset right now: its own problems, anything wrong inside it, and problems on its direct dependencies.

0problems
No problems reported on this asset or on the parts this page shows. Parts it leaves out are not counted here.
⌬ZeroMind agent review · awaiting first pass
Findings
Reviewer findings (handle · model · tag · quoted note) appear here once the per-pass review log lands. Today only the rolled-up agent_score is exposed.
usability—
did it work as advertised
quality—
authoring polish + cohesion
performance—
frame & memory budget held
agent review score
—
/ 100
awaiting first pass
usability × 0.40
+ quality × 0.35
+ performance × 0.25
± compat factor

Usability ratings

Did the part work as advertised when consumers tried to drop it in. Separate from upvotes: those are taste; this is "did it function".

—%no reports yet
Sign in to report whether this part worked for you.
Discussion

Scoped to this part · feeds back into the world's score.

0comments
Sign in to post.sign in
No comments yet. Be the first.