Skip to content

fix out on a limb auto continue when lang is FR#50

Open
xivsam wants to merge 1 commit intoPunishXIV:masterfrom
xivsam:master
Open

fix out on a limb auto continue when lang is FR#50
xivsam wants to merge 1 commit intoPunishXIV:masterfrom
xivsam:master

Conversation

@xivsam
Copy link
Copy Markdown

@xivsam xivsam commented Feb 22, 2026

Hey,

While it works fine directly in the gold saucer, it seems using the plugin on the Out on a Limb machine in a house does not auto continue while the game language is set to french. After testing/debugging it seems to work fine on all other languages, and it's due to a missing space of the object name in the room compared to the name in the datasheet that is used.

In PluginUI.cs

    private void DrawDebugTab()
    {
        if (!Player.Available) return;
        if (!IsScreenReady()) return;

        ImGui.TextUnformatted($"EObjName<2005423>: '{Svc.Data.GetExcelSheet<EObjName>().GetRow(2005423).Singular.GetText()}'");
        ImGui.TextUnformatted($"Item<30425>: '{Svc.Data.GetExcelSheet<Item>().GetRow(30425).Singular.GetText()}'");
        ImGui.Separator();
        int i = 0;
        foreach (var x in Svc.Objects)
        {
            if(x.ObjectKind != ObjectKind.Housing) continue;
            var distance = Vector3.Distance(Player.Object.Position, x.Position);
            ImGui.TextUnformatted($"#{i}");
            ImGui.TextUnformatted($"Item: '{x.Name}'");
            ImGui.TextUnformatted($"ObjectKind: {x.ObjectKind}");
            ImGui.TextUnformatted($"distance: {distance}");
            i++;
        }
    }

That shows the missing space:
image

So the fix proposed is to remove the spaces when comparing texts, maybe there's a more optimized way of doing it? (like using another item id / attribute in those data sheets for example idk)

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.

1 participant