Insecure filename error

Content and general development discussion, including quest scripts and server code. TMW Classic is a project comprising the Legacy tmwAthena server & the designated improved engine server based on evolHercules.


Forum rules

This forum houses many years of development, tracing back to some of the earliest posts that exist on the board.

Its current use is for the continued development of the server and game it has always served: TMW Classic.

Post Reply
User avatar
Simeon
Peon
Peon
Posts: 33
Joined: 04 Feb 2008, 17:55
Location: The Netherlands

Insecure filename error

Post by Simeon »

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
Manasource
Manasource
Posts: 4209
Joined: 01 Nov 2007, 17:35
Location: Internet

Post by Jaxad0127 »

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, 17:55
Location: The Netherlands

Post by Simeon »

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