Jump to content

OpenSimulator Internals/HyperGrid Services

From Open Simulator Technical Help

OpenSimulator Internals/HyperGrid Services

[edit]

Overview

[edit]

HyperGrid services override normal services (asset, inventory, etc.) with HyperGrid-specific functionality. They handle cross-grid travel, trust verification, and asset transfer between grids.

The existing opensimulator.org wiki documentation for HyperGrid internals is outdated. This page will be rebuilt from code review.


Known Components

[edit]
Component Notes
UserAgentService Manages the user agent when traveling via HyperGrid. Handles trust verification between grids.
hg_traveling_data Database table tracking active HyperGrid sessions. See hg_traveling_data table.
HyperGrid asset transfer When an object is rezzed on a foreign grid, assets are copied to that grid's asset table -- same UUID, separate copy, no link between them, no cleanup on either end.
Suitcase folder Special inventory folder -- the only part of inventory accessible on foreign grids. Configurable -- operators can disable, exposing entire inventory to foreign grids.

HyperGrid User IDs

[edit]

HyperGrid users have URI-based IDs rather than plain UUIDs. This affects several database fields which use VARCHAR(255) instead of CHAR(36) to accommodate them. Affected tables: Presence, GridUser, Friends, os_groups_membership, os_groups_rolemembership, os_groups_invites, os_groups_notices, os_groups_principals.


Status

[edit]

Documentation to be rebuilt from code review. To be discussed with developer community.


See Also

[edit]