Skip to content

Fix Gameforge launch-code retrieval (thin/codes returns 403) #24

Closed

Description

@erwan-joly

Problem

ClientLab's optional Gameforge sign-in can complete the browser login flow (including challenges when presented) and show the linked NosTale account for selection, but retrieving the launch code fails:

HTTP 403: {"error":{"message":"Not allowed to create code"}}

The iovation step previously returned HTTP 200. Changing the User-Agent suffix to GameforgeClient/2.1.22 did not resolve the 403.

Expected behavior

After successful Gameforge sign-in and selecting the linked game account, ClientLab should retrieve the short-lived launch code needed to start the game.

Investigation notes

Please compare ClientLab's thin-code request with the official launcher flow, including required headers, installation/session identifiers, blackbox/device payload, account/game identifiers, and request sequence. Keep the existing ClientLab startup as the default; Gameforge sign-in should remain an optional secondary path.

The implementation is on branch codex/gameforge-browser-auth.

No credentials, tokens, codes, or device-identifying payloads are included here.

Activity

  1. erwan-joly commented on Nov 22, 2026

    @erwan-joly
    ContributorAuthor

    Fixed on main by 62a5659 (read the official client's device id as LevelDB records, so a compacted Snappy table no longer yields a stale id) and db2ac70 (read the installation id from the VirtualStore copy first, as the 32-bit official client does). The second cause was a stub minting its own InstallationId into the machine key: NosCoreIO/NosCore.DeveloperTools#29. Verified: ClientLab got a launch code (201) on 2026-11-22.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions