Skip to content

Getting "ReferenceError: FPSMeter is not defined" when connecting from outside local network #12

Description

@Incomputendo

I am running the chromori server on a Windows machine and it works fine when running on my local network, but when I connect to it using an external IP I get the following error:

Image This also happens when running the server on macos and connecting to it locally

The main problem that I have been trying to solve is the error from running the server on macos, I have tried placing the contents of fpsmeter.js in a script in index.html, but that produces "TypeError: Cannot read properties of undefined (reading 'nw.gui')". The closest I got was just setting adding this._fpsMeter = null; in the Graphics._createFPSMeter function, which leads to a black screen with an omori lightbulb in the corner, but I'm not sure what to do from there.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions