kckaiwei / TurnMarker-alt

Turn Marker is a module for Foundry VTT that adds an image under a token who is currently active in the combat tracker.
7 stars 16 forks source link

[BUG] Invalid BaseTexture #51

Open rmasoni opened 3 years ago

rmasoni commented 3 years ago

When logging in as a player, custom Turn Marker images are replaced by warning signs and I get the following errors in the Console:

Error: The requested texture icons/target-origin.svg could not be loaded: Invalid BaseTexture
    loadTexture http://localhost:30000/scripts/foundry.js:36234
foundry.js:36238:13

Error: The requested texture icons/target-current.svg could not be loaded: Invalid BaseTexture
    loadTexture http://localhost:30000/scripts/foundry.js:36234

They work fine as a GM.

kckaiwei commented 3 years ago

Do you have the SVG so I can try to replicate?

rmasoni commented 3 years ago

Sure, here you go:

https://www.dropbox.com/s/1vfsejcweuso3sl/target-current.svg https://www.dropbox.com/s/w8yf2zc29c1g2cm/target-origin.svg

kckaiwei commented 3 years ago

Sorry for the late reply, life's been busy, but I've tried this again, and I can't replicate it. Are the GM for this game? localhost:30000 is the default port that's used for the docker repo.

Running a docker container for a test server, I can't replicate it. I'm guessing it might be a problem since as a client, you won't have access to localhost:30000 remotely, since localhost is relative and will point to your own machine. It sounds like a configuration issue so far.

rmasoni commented 3 years ago

I experienced this when testing some things on the player side while hosting the server locally. That's why it's localhost. I hosted the game and logged in as a player.