Topic: [Question] How to Differenciate Map Name from Map Filename ?!
Hi,
My problem require good knowledges in C/C++ and the Teeworlds source.
Currently, the server is using the filename given in the .cfg as a map name but this is a very bad thing for me because you can't use a filepath (like "directory/mapname.map").
However, i don't want to re-code all the server API, for my use, i just want to seperate filename from the file path to avoid the client error "strange character in map name".
Thanks in advance !
EDIT:
Example: "ctf2_africa.map" in directory "downloaded"
Config: sv_map downloaded/ctf2_africa
Server is ok but client get "downloaded/ctf2_africa" as map name (in server list) and return a "strange character in map name" error when I try to access to my server.