Skip to content

Dependency for RTG needs to be fixed #174

Description

@srs-bsns

dependencies = "required-after:Forge@[" + ModInfo.MCF_MINVER + "," + ModInfo.MCF_MAXVER + ");required-before:RTG@[" + ModInfo.RTG_MINVER + "," + ModInfo.RTG_MAXVER + ")",
acceptableRemoteVersions = "*"

    dependencies = "required-after:Forge@[" + ModInfo.MCF_MINVER + "," + ModInfo.MCF_MAXVER + ");required-before:RTG@[" + ModInfo.RTG_MINVER + "," + ModInfo.RTG_MAXVER + ")",
    acceptableRemoteVersions = "*"

  1. The dependency on RTG needs to be such that APL can load on the client without also loading RTG (dedicated server play).
  2. acceptableRemoteVersions = "*" is innappropriate for APL, because it is required on the client.
  3. APL loading server-side needs to verify the version of the RTG API.
  4. APL loading client-side needs to verify that it is the same version of APL running server-side (this check is, AFAIK, automatic by default upon connect).

Using after: with a correct version range is probably the best solution. The version of the RTG API should adhere to SemVer and the version range can block anything above the current major version. (ie: after:RTG-API@[1.2.3, 2.0.0))

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions