Updates and connector check

Update the connector core and verify advertised capabilities

Version status

The connector handshake reports adapterVersion. Forgeport compares this value with the connector release catalog and displays one of the following states in Admin → Game Servers:

  • Core up to date
  • Core update available
  • Unsupported core build

Pack name, chronicle, and revision are not part of protocol v1.

Update a JAR installation

  1. Download the latest connector core from Admin → Game Servers.
  2. Stop the game server.
  3. Remove the previous portal-connector-core-<version>.jar.
  4. Add the new JAR.
  5. Rebuild if the pack bundles dependencies during compilation.
  6. Start the game server and confirm the reported version.
  7. Run Connector check.

Keep only one connector core version on the classpath.

A new core may add an interface method. Compile the bridge against the new JAR before deploying it, and advertise a new capability only after its method is implemented.

Update the Mobius source integration

The Mobius reference carries its connector core as source under org.l2jmobius.gameserver.portal.

  1. Stop the game server.
  2. Replace PortalConnector.java, PortalConfig.java, GameBridge.java, and GrantResult.java with files from one connector release.
  3. Review bridge changes required by that release.
  4. Rebuild with ant compile.
  5. Start the game server, confirm the reported version, and run Connector check.

Do not mix core source files from different connector versions.

Connector check coverage

The check uses the capabilities reported by the connected bridge.

CapabilityCheck
GET_SERVER_STATUSConfirms an active, ready connection
GET_ONLINE_COUNTConfirms that a heartbeat contains an online count
VERIFY_GAME_CREDENTIALSSubmits a non-existent account and expects a clean rejection
LIST_ACCOUNT_CHARACTERSRequests a non-existent account and accepts an empty list
LIST_RANKINGSRequests one PvP ranking row
SEARCH_GAME_CATALOGSearches the item catalog
SEARCH_SKILL_CATALOGSearches the skill catalog
DELIVER_GRANTDelivers one Adena to the selected online character
CHARACTER_SERVICESSets the selected online character's gender to its current value
UNSTUCK_CHARACTERRuns the configured unstuck operation for the selected character

DELIVER_GRANT, CHARACTER_SERVICES, and UNSTUCK_CHARACTER require a game account and character ID.

State-changing checks

The grant check adds one Adena. The unstuck check moves an offline character to the recovery coordinates configured in the bridge. Use a designated test character.

CREATE_GAME_ACCOUNT is not exercised by Connector check. PLAYER_ONLINE_EVENT has no protocol v1 message and must not be advertised.

On this page