Insecure filename error

Content and general development discussion, including maps, quests, and server code from the development team.
Post Reply
User avatar
Simeon
Peon
Peon
Posts: 33
Joined: 04 Feb 2008, 18:55
Location: The Netherlands

Insecure filename error

Post by Simeon » 05 Feb 2008, 00:55

Hello, I'm trying to view a test map ingame but I keep getting the following error for all tilesets: insecure filename. It does load all the other graphics though so I get a hall of mirrors effect as a result. Anyway, I've created a test map using Tiled with the 4 layers and added the tilesets from the data/graphics/tiles directory.

Here's an example from the log:

Code: Select all

[23:36:46.54] Warning: Failed to load ../../themanaworld/data/graphics/tiles/collision.png: Insecure filename
[23:36:46.54] Warning: Failed to load tileset (../../../themanaworld/data/graphics/tiles/collision.png)
There are no spaces in the path (which was my first guess at the cause) and my second guess is that the game wouldn't allow to load tilesets from arbitrary places but these tilesets are located in the original directory and they function properly when connecting to the main server so that can't be it.

Any help would be appreciated, thanks!
User avatar
Jaxad0127
TMW Adviser
TMW Adviser
Posts: 4209
Joined: 01 Nov 2007, 18:35
Location: Internet

Post by Jaxad0127 » 05 Feb 2008, 01:32

Are you editing the maps inside themanaworld/data/maps? If not, you need to be. To fix the maps, open them in a text editor and replace "../../themanaworld/data/graphics/tiles/collision.png" with "../graphics/tiles/collision.png".
User avatar
Simeon
Peon
Peon
Posts: 33
Joined: 04 Feb 2008, 18:55
Location: The Netherlands

Post by Simeon » 05 Feb 2008, 01:37

Thanks, that did it - the maps were indeed in a different map outside the game installation but it works now :)
Post Reply