Module 3 · In Studio · challenge 2 of 2 in this lesson
REMOTE_NAMES gains a sixth name, Ping, and the server (not a client) creates it
A test in Studio grades it and prints a pass code.
Open
Level 3, Professional
Challenge
Add a Ping remote end to end. The solution is challenges/solutions/remotes.md in the game repo.
- Start from
- The game at milestone m06 (download)
- Grade it
- To grade work from an earlier milestone, apply your challenge changes to a checkout based on
m14-ship, which includes the Course Runner. In Studio, press Play, then runrequire(game.ReplicatedStorage.GameTests.RunChallenge)("remotes")in the client command bar. Copy the pass code from Output.
Done means
- REMOTE_NAMES gains a sixth name, Ping, and the server (not a client) creates it
- After Remotes.init() in init.server.luau, the server answers Ping with FireClient and the string pong, ignoring the client's argument
- The Course Runner prints TEST PASS remotes_ping and a pass code