Skip to content

Conversation

@Volte6
Copy link
Member

@Volte6 Volte6 commented May 7, 2025

Description

This forces the mapper to use the lowest RoomId in the set as the 0,0,0 origin. This solves the issue of drifting coordinates depending on what gets mapped first.

Changes

  • Added x, y, z offsets based on lowest room in mapper.
  • Added ephemeral to Room GMCP payload (Details) when a room is ephemeral.

Examples

without changes (Force to generate dark forest first):

Room.Info {
        "num": 1,
        "name": "Town Square",
        "area": "Frostfang",
        "environment": "City",
        "coords": "Frostfang, -18, 1, 0",
        "exits": {
                "east": 54,
                "north": 2,
                "south": 12,
                "west": 7
        },

With changes (Still forced to generate dark forest first):

Room.Info {
        "num": 1,
        "name": "Town Square",
        "area": "Frostfang",
        "environment": "City",
        "coords": "Frostfang, 0, 0, 0",
        "exits": {
                "east": 54,
                "north": 2,
                "south": 12,
                "west": 7
        },

Copy link
Contributor

@MorquinDevlar MorquinDevlar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me. Tested it locally and it mapped like a champ.

@MorquinDevlar MorquinDevlar merged commit 82d1b2e into master May 8, 2025
2 checks passed
@MorquinDevlar MorquinDevlar deleted the mapper-adjustments branch May 8, 2025 07:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants