SharedWorldError$ ( )

Parameters

None.

Description

Returns the latest Shared World problem, or "" if there is none.

The commands that start a session clear it before they start, so when one returns 0 or False, read it straight away. Problems later in the game - a lost connection, a refused request, a service that cannot be reached - land here too, and arrive as SHARED_EVENT_SESSION_LOST and SHARED_EVENT_REJECTED events.

The messages are written for players, so you can show them on screen as they are.

For the full story - services, hosting, sharing and host migration - see the Shared World guide and its complete Shared_World_Playground.bb sample.


See also: SharedWorldState, RecvSharedEvent, SharedEventData, StartSharedWorld.

Index