Skip to content

OpenProblems

Lakeland97 edited this page Nov 2, 2026 · 67 revisions

OpenProblems

Ranked by what blocks a playable two-client match. Each entry gives state, evidence, what is missing, and the next step.

1. A wardrobe selection shows an error dialog after applying

State. A client on all-cosmetics-equip opens CHARACTER and a slot: the grid lists 18 items per page (page 1/4 for TORSO) with previews and the model on the right. Picking an item applies it immediately and the choice persists (it follows back through CHARACTER/INVENTORY to HOME). An item the player owns applies with no dialog; an item outside the player's starting set applies and then reports Entity <item> does not exist in collection in a handled dialog. The client stays up. Before the null-id guard the page itself failed with getSingleton cannot get a null templateID.

Why the page failed. The preview apply looks up every equipped slot, including one whose id is empty. FUN_1405E9A50 lacks the non-empty guard its sibling paths have, so the empty id reaches getSingleton, which builds an error. The cosmetic_nullid cave takes the game's own no-template path at 0x1405FD47E for an empty id; it does not fabricate a result.

What the dialog is. The refresh looks the applied item up again through the player's container component. Every template singleton gets the fixed instance id __singleton__, so the lookup asks the container for that id; the container is keyed by instance id and holds no item entities, so it reports Entity __singleton__ does not exist in collection. The equipped cosmetic is written before that refresh, which is why it persists.

The id alone is not enough. A one-byte change at 0x140894CD5 makes a singleton's instance id its template id. With it a catalogue item the player does not own reports Entity item_cos_torso_1 does not exist in collection, while a starting item resolves silently: picking one of the 48 items the player already owns applies it with no dialog at all. So the lookup is correct once the key is the item id, and the remaining failure is that only those 48 items exist in the container.

Supplying the rest. Creating the entity on a container miss (createByID + addEntity at the resolver's miss path, 0x141084D44) exits the client on the pick, so that route is out. The container component's serialized fields are known (m_loadedEntities, m_numLoadedEntities, m_inflaterTypeCache and fourteen cache/index fields; container_ is not serialized, which is why a push that used it was rejected at login with Inflate error: Invalid field:container_).

The container's contents are not server-controlled either: the client builds the player's components from the game's own player template asset, not from the template blob the appserver returns (a reply that declares only an account component still yields a working inventory). Extending startingItemEntries from the server cannot reach it, so closing the gap needs either asset data — not shipped here — or client-side creation of the missing entities, whose only tried link site crashes.

State of the feature. Applying, persisting and re-opening the wardrobe all work. The open defect is one handled dialog with an empty container behind it.

2. The host has no appserver session

State. The listen host skips login, so its SessionDataStore is empty and entity lookups miss; SLGameMode.hx:558 reports it and the visible effect is cosmetic. Contestants come from LoggedInPlayer, not the datastore, so scoring is unaffected.

Why logging in is not the fix. Three patches sit on the login data path (startLogin 0xD47A50, activateServer 0xB7D8F0, SetPlayerDefaults 0x7B02E3). Dropping them lets the host log in but breaks the identity fix: the identity cave skips records that carry an accountID, so a logged-in host leaves both records at the process-global devuser and the contestants map collapses to one key. sendMatchData's POST would still fault, because manager+0x28 is created only when the netmode is dedicated, not when a session exists.

Next step. None for playability. A host that both logs in and keeps distinct identities needs the identity cave extended to logged-in records, plus the appserver POST path; that is a larger change than the remaining gap justifies.

3. A host that is not a player

State. getOpenServer and processUrl both end in a UE client connect to host:port, and the only peer today is a second instance running as a listen host. That works, but it ties a match to one person's client.

Correction. The build is not without a server idea. It contains sl.appserver.game.DedicatedServerManager (getOurURL, getIP, getEc2Metadata, sendHostedGameHeartbeat, startCheckingOpenParty, resetChannelActiveData), the NM_DedicatedServer net mode, and a requires DedicatedServer NetMode guard on the host admission path. Earlier testing showed no simply parsed launch switch that reaches that mode, which is not the same as the mode being absent.

Why the direct boot does not replace it. A stock client cannot create a match without the web service: HOME -> PLAY -> NEW MATCH opens "READY TO HOST STREAMLINE?" with a single LOG INTO STREAMOTE action. The direct ?listen boot is a workaround for that panel. A host that boots that way without a session is refused by the match: the joiner reports The host has left. With the login path included — the host-play patch set — the host has session context, the joiner is accepted, and the round replicates to both peers (Joining).

Direction. Two rungs: first make the shipped build run as a server (find the net-mode decision and patch or configure it, and supply what the role asks of the appserver — hosted-game heartbeat, open party check, server URL); if that is truly closed, reduce the executable to a skeleton host that keeps the world, game mode and replication and drops the front end. This is a long-term goal, not a next-round fix.

Evidence. Dedicated-manager and net-mode strings in the shipped binary; Matchmaking.

4. The stream layer is dormant

State. The client carries the whole live layer: sl.game.pgs.PGSManager, ModVotingManager, BettingManager, FlashSaleManager, BingoManager, WagerGame, the mod components (ModComponent, ModGroupComponent, PropertyModManager), StreamoteUtils, the endpoint paths /poll, /vote/, /chat/say, /broadcast, Twitch IRC (irc.twitch.tv) and the Twitch API. None of it is connected in the shipped build: there is no Twitch login, no stream page and no poll feed, so votes, bets and flash sales never start even though the pipeline is present — and a hosted match applies its own mods regardless.

Why it matters. The "Stream" in Streamline was the mechanic: an audience changed rules, physics and mini-games between rounds. Without it the arena works but the game's identity is missing.

Direction. Recreate the layer locally rather than resurrecting Twitch:

  • vote between rounds in-game, using the client's own voting and mod pipeline;
  • a simulated audience that proposes and votes with a believable spread, so a solo player or a small group keeps the original cadence;
  • apply the winner through the existing mod system so the change is real.

State of the replacement. The service legs are served behind GUL_STREAM: the PGS session (/games/streamline/active_user), the resource watchers (/<resource>/<id>/updates/<stamp>, each answered under its own plural key), /channels, polls/create, channels/<channel>/poll and vote/, plus a vote-free rotation at channels/<channel>/mods and the effective settings at stream/profile. The trigger problem stands: startVoting has no static caller — it is invoked through dynamic dispatch, and the surrounding fields (voteOwnerToken, isBroadcastingWithoutFlashSale, isFlashSaleOwner) say the broadcaster's client starts it. Without a broadcaster role nothing calls it, so serving polls/create alone changes nothing. The rotation sidesteps it: activateRandomMod applies a mod with no poll, and the rotation exists to drive exactly that.

There is a harder limit underneath both. The stream layer's entry point is reached through a private service operation (loadPlayerFromSession, on an appserver-pvt base) whose configuration is gated on a caller flag the client does not set, and no logged session has ever sent a private operation. So on a client build the layer is not merely uninstructed — it is unreachable, and a local server cannot start it by serving better replies. What the served legs are good for is the replacement path: a gateway other clients or tools drive, and the mod rotation, which needs the client to be reachable in the first place.

Next step. Steer the game's own choice. The replicated array is not the lever: ActiveModsRep, ActiveMods and QueuedModsRep all read empty while a mod is visibly running, and a direct write raises no replication delta in this build's push model, so it is never applied. The live state is scripted (Haxe m_activeMods, modAppliedEvent, the AppliedModIndicator card fed by showMod), and the selector is the game-mode ModGroupComponent: its allow-list, its m_remainingTimeForRandomModSelection countdown, and queueActivateNextMod. Reaching that component is what lets the rotation choose a mod while the game keeps its own apply-and-replicate path.

The vote flow itself is startVoting -> polls/create -> poll id -> /poll (tally) -> finishVoting -> m_modVotedFor -> IModManager.applyMod, with /vote/ carrying audience votes. activateRandomMod applies a mod with no poll. A local driver therefore has to either call startVoting/activateRandomMod itself (the ModVotingManager instance plus the call convention) or stand in for a broadcaster.

Resolved

item result evidence
The join-link reply crashed the client the mock returns the public-plane DataStoreUpdateResponse envelope; the handler prints Response: Success(UJoinGame(...)), the client travels, the server sends GameCon, and the join completes (Welcomed; host Join succeeded) Matchmaking; client log Welcomed by server (Level: /Game/Maps/GameCon…), host log Join succeeded
A joined client stayed on the loading screen the client build returns from openLocalLoadingScreen (file 0x7D9B80, 40 -> C3, the play profile), so no widget is created; the joined client renders the Tag intro, Round 1/3 02:32, the scoreboard and the HUD with no fatal and no overlay. For an unpatched client the overlay arms the map-loaded latch instead. Calling the close routine directly crashes the render thread Joining, Overlay
Round did not wait for a second player variant-B predicate, playerArray.length >= 2 at file 0x7b67c8 ListenHost
Host died at MatchOver S2 plus the loop cave L1 (0xcbf5c8); M2 must not be applied, since +0x31 is the clock-expiry gate that makes the hook reachable. Host survives to the awards UI PatchIndex
Joiner never received a started round phases replicate: Received phase: InRound / RoundEnding / AfterRound / StartingRound, multiple rounds, no fatal Joining
playerIID empty; contestants list empty identity cave (0x140d46e30 → 0x143ab8b60) + rebuild at StartingRound; keys host-1, DevUser; hx:938 gone PatchIndex
No pawn / no possession both peers hold a non-null pawn at pc+0x2F8 after the join; RestartPlayer logs at level 6, Possess logs nothing PatchIndex
Game Session ID is null diagnostic only, gates nothing ListenHost
Restart after a match the phase clock returns MatchOver to WaitingForPlayers; the next round starts ListenHost
Round winner recorded sendMatchData marks the winning contestant didWin in the logged payload ListenHost
Score reaches the payload updateMatchData copies playerState+0x398 into nPoints before the payload is built ListenHost

Clone this wiki locally