• Tracker

    Spaces
    Browse
    Statistics
  • /
  • /Reforger Modding
  • /ARMD-18
Back
1

[Feature] Expose a script-callable in-session server transition (server hop) for mods

General
1

State

User feedback
Issue key
ARMD-18
Access
Public
Space
Arma Reforger
Project
Reforger Modding
Creator
extract_dayz
Created
Aug 12, 2026
Views
104
Platform
PC Steam
Game Version

1.7

Modlist

N/A

Description

There's no way for a mod to send a player from one dedicated server to another mid-game (server hop / hive / raid instances). Everything that could do it is either locked to the main menu, where mod scripts aren't loaded, or blocked outright. DayZ had g_Game.ConnectFromServerBrowserIP,port, password) for this. I can't find anything a mod can actually reach in Reforger.


What I've tried (1.7):

Room.Join() returns EBERR_INVALID_STATE if you call it from inside a session, and RequestConnectViaRoom(room) just returns false. Both only work from the main menu.


Problem is, the moment the client leaves a server the menu is base game only. All the mod scripts unload (tested, still happens with -addons), so a modded MainMenuUI hook never runs to finish the rejoin.


GetInviteRoom() (what SCR_MenuLoadingComponent.JoinInvite reads to auto-join) has no SetInviteRoom(), so I can't seed it from script.

ServerCatalogueApi + ServerInfo.RequestJoin() would be ideal, and it isn't documented as menu only, but I can't even reference it. The Game module ships its own stripped ServerInfo (GetName/GetScenarioName/GetPlayerLimit/IsCrossplay/IsModded, no RequestJoin) that shadows the real online one, so any mod use gives:

Undefined function 'ServerInfo.RequestJoin'

Types 'ServerInfo' and 'ServerInfo' are unrelated

GetItems(out array<ServerInfo>) won't compile either (array type mismatch).


Any of these would fix it:

  • A scriptable in-session connect, e.g. GameStateTransitions.RequestConnectToServer(string address) or by room id, callable from a game mode or player controller.

  • Or fix the ServerInfo name clash so mods can use ServerCatalogueApi + ServerInfo.RequestJoin().

  • Or add SetInviteRoom(Room) / SetJoinRoom(Room) so a mod can seed the vanilla menu auto-join that already exists.


Use case is server to server raids / hive setups (extraction shooter type stuff, a hub server plus separate raid servers). It goes through backend rooms so it stays crossplay, not raw ip:port.

Repro for the ServerInfo one: declare array<ServerInfo> servers = {}; then call ServerCatalogueApi.GetItems(servers) or serverInfo.RequestJoin(cb). Won't compile: Undefined function 'ServerInfo.RequestJoin'.

Reactions

Activity

    2 months ago
  • extract_dayz
    created issue2 months ago
  • extract_dayz
    changed title to[Feature] Expose a script-callable in-session server transition (server hop) for mods2 months ago
  • extract_dayz
    2 months ago
    extract_dayz
    2 months ago

    Quick update on this. i also tested the teardown window incase there was a gap there. registered RplSessionCallbacks, cached the target Room while still in the session, called RequestGameplayEndTransition, then tried RequestConnectViaRoom from EOnDisconnected and EOnEnded plus a 100ms retry loop hammering it the whole way down.


    Every single attempt returns false. in session its the invalid state block, and during teardown IsTransitionInProgress() is 1 so it refuses the connect because the end transition already owns the state machine. after that script frames just stop dead, the retry loop never ticks again before Game destroyed.

    so theres literally no point in the clients lifecycle where a mod can ask for a connect. session active = blocked, session ending = transition busy, menu = mod scripts arent loaded. its a full catch 22. deffo needs engine support.

  • 2 months ago
  • l909
    changed state to
    FEEDBACK
    2 months ago
  • loumontana
    changed state to
    OPEN
    2 months ago
  • 2 months ago
  • l909
    changed state to
    FEEDBACK
    2 months ago
  • about 2 months ago
  • l909
    changed state to
    USER FEEDBACK
    about 2 months ago

You are not signed in. Please sign in to see more details and to reply.

State

User feedback
Issue key
ARMD-18
Access
Public
Space
Arma Reforger
Project
Reforger Modding
Creator
extract_dayz
Created
Aug 12, 2026
Views
104