Log inGet started
·
toolbox · drop-in viewer
asset⌬ toolboxtoolbox·originates fromworld a333e7c2-f…

rainlineTest

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.

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

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.

Interface

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

This asset doesn't declare a schema or structured payload.

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.

78+items
·
tool · born here
❒asset
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.
▲ 0↑ born
·
tool · born here
❒asset
# codeVersion <!-- zero:scaffolded-readme --> <!-- Replace the line below with what this tool provides and who consumes it, then delete both comment lines. --> TODO: describe this tool.
▲ 0↑ born
·
tool · born here
❒asset
# humans <!-- zero:scaffolded-readme --> <!-- Replace the line below with what this tool provides and who consumes it, then delete both comment lines. --> TODO: describe this tool.
▲ 0↑ born
·
tool · born here
❒asset
# place <!-- zero:scaffolded-readme --> <!-- Replace the line below with what this tool provides and who consumes it, then delete both comment lines. --> TODO: describe this tool.
▲ 0↑ born
·
tool · born here
❒asset
# positions <!-- zero:scaffolded-readme --> <!-- Replace the line below with what this tool provides and who consumes it, then delete both comment lines. --> TODO: describe this tool.
▲ 0↑ born
·
tool · born here
❒asset
Presses 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.
▲ 0↑ born
·
tool · born here
❒asset
# reloadScene <!-- zero:scaffolded-readme --> <!-- Replace the line below with what this tool provides and who consumes it, then delete both comment lines. --> TODO: describe this tool.
▲ 0↑ born
·
tool · born here
❒asset
Watches every entity this peer does not own and reports which of them changed during the window. A car that is present but never changes is not being replicated, which is a different fault from a car that is replicated and parked.
▲ 0↑ born
·
tool · born here
❒asset
Clears the leftovers a session accumulates — duplicate race entities and cars belonging to no roster — so a reading is taken on a known scene rather than on the residue of earlier runs.
▲ 0↑ born
·
tool · born here
❒asset
# restartRace <!-- zero:scaffolded-readme --> <!-- Replace the line below with what this tool provides and who consumes it, then delete both comment lines. --> TODO: describe this tool.
▲ 0↑ born
·
tool · born here
❒asset
# rooms <!-- zero:scaffolded-readme --> <!-- Replace the line below with what this tool provides and who consumes it, then delete both comment lines. --> TODO: describe this tool.
▲ 0↑ born
·
tool · born here
❒asset
Puts this peer into solo or multiplayer and proves it landed there. The menu can only be reached during the opening, so a test that depended on pressing its button could not put a peer back once a race had started.
▲ 0↑ born
▣
module · born here
❒asset
Result envelopes and the scene readers that snapshot and remoteActivity both use.
▲ 0↑ born
·
tool · born here
❒asset
This peer's honest multiplayer state: its peer id, every Race component with its clock and roster, and every car with its owner, driver and visual. Run it on each peer and compare: different race ids, or clocks that do not agree, mean the peers are not in one race.
▲ 0↑ born
·
tool · born here
❒asset
# syncProbe <!-- zero:scaffolded-readme --> <!-- Replace the line below with what this tool provides and who consumes it, then delete both comment lines. --> TODO: describe this tool.
▲ 0↑ born
·
tool · born here
❒asset
# throttle <!-- zero:scaffolded-readme --> <!-- Replace the line below with what this tool provides and who consumes it, then delete both comment lines. --> TODO: describe this tool.
▲ 0↑ born
·
tool · born here
❒asset
# verdict <!-- zero:scaffolded-readme --> <!-- Replace the line below with what this tool provides and who consumes it, then delete both comment lines. --> TODO: describe this tool.
▲ 0↑ born
·
tool · born here
❒asset
# vote <!-- zero:scaffolded-readme --> <!-- Replace the line below with what this tool provides and who consumes it, then delete both comment lines. --> TODO: describe this tool.
▲ 0↑ born
▣
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
◇
component · born here
❒asset
# Car First Light owner-driven arcade car. Space drifts recharge the shared battery; Shift boost and focused headlights consume it. Narrow forward light exposure drains rivals' battery and hull, with road/car occlusion. Hosts run bots with delayed aiming and limited attack bursts. Wrecks launch, tumble, bounce and recover. Motion, battery, focus, damage, crash angles and grid state are Sync fields. Keyboard, gamepad and touch use the native drive input map. The native player avatar owns human motion; prototype-only bodies are excluded from gameplay registration.
▲ 0↑ born
◇
component · born here
❒asset
# RAINLINE car visual Attach to gameplay car body at tire contact y0. Generates one temporary child with the real image-derived endurance car mesh and PBR material. Nose points +Z; normalized length4.8m, width1.976m, height1.033m. variant0 ivory/citron hero,1 blue,2 red,3 graphite. Cleanup re-derives owned child on hot reload. Gameplay owns motion, guns, authority and input.
▲ 0↑ born
◇
component · born here
❒asset
Host-only three-rival race lifecycle. Counts down, collects finish after three full signed-distance laps, publishes HUD state and handles restart requests. Mount on the world root; never on the player prototype.
▲ 0↑ born
backing path · rainlineTest.toolbox

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.