map files

Post here if you need help setting up your server, etc.
User avatar
pie goes moo
Round Winner
Posts: 306
Joined: Wed Aug 12, 2009 10:42 pm
Location: San Antonio, Texas, USA

map files

Post by pie goes moo »

I am running dedicated on mac os x and am testing it. When I do, it says the map file is trying to corrupt system files or something. I did attempt to use a map file that is NOT the default. I REALLY need help :?
Image
User avatar
Z-Man
God & Project Admin
Posts: 11589
Joined: Sun Jan 23, 2005 6:01 pm
Location: Cologne
Contact:

Re: map files

Post by Z-Man »

Post the full error message and your configuration, please. (The line with MAP_FILE in it should be enough)
User avatar
pie goes moo
Round Winner
Posts: 306
Joined: Wed Aug 12, 2009 10:42 pm
Location: San Antonio, Texas, USA

Re: map files

Post by pie goes moo »

Log:
ERROR: Absolute file name, the server is trying to overwrite system files.

PS I noticed it said /Applications/Armagetron \
and thats it. No Advanced \Dedicated or map file
Image
User avatar
Z-Man
God & Project Admin
Posts: 11589
Joined: Sun Jan 23, 2005 6:01 pm
Location: Cologne
Contact:

Re: map files

Post by Z-Man »

Your MAP_FILE line?

It probably reads something like
MAP_FILE /Applications/Armagetron\ Advanced/resources/included/<bla>

Change it to
MAP_FILE <bla>

Map filenames must be given relative to the resource root folder.
User avatar
pie goes moo
Round Winner
Posts: 306
Joined: Wed Aug 12, 2009 10:42 pm
Location: San Antonio, Texas, USA

map_file line

Post by pie goes moo »

actually, I just typed map_file in terminal then dragged the file there

PS I noticed it said ";clients older than 0.2.8_beta3 will not be allowed in"
Image
User avatar
pie goes moo
Round Winner
Posts: 306
Joined: Wed Aug 12, 2009 10:42 pm
Location: San Antonio, Texas, USA

Re: map files

Post by pie goes moo »

I still get the error when i do it from the resource.
I downloaded the non default files from resource.armagetronad.net
Image
User avatar
Z-Man
God & Project Admin
Posts: 11589
Joined: Sun Jan 23, 2005 6:01 pm
Location: Cologne
Contact:

Re: map_file line

Post by Z-Man »

pie goes moo wrote:PS I noticed it said ";clients older than 0.2.8_beta3 will not be allowed in"
That's normal, because earlier clients don't have map support.

You need to store the maps you download INSIDE the Armagetron resource directory for them to work. Please paste your exact input and error messages here. Can't say that often enough. Especially since you're on a Mac, apparently, and my main experience here is with the Linux version which has massively different paths.
User avatar
pie goes moo
Round Winner
Posts: 306
Joined: Wed Aug 12, 2009 10:42 pm
Location: San Antonio, Texas, USA

Re: map files

Post by pie goes moo »

They are in the resource directory, I made a MapFile folder inside the resource. :?:
It also says
[0] ERROR: User given path "/config/examples/deathzone.cfg" is an absolute path. You're not allowed to access files outside of the configured file hierarchies.
Image
User avatar
Z-Man
God & Project Admin
Posts: 11589
Joined: Sun Jan 23, 2005 6:01 pm
Location: Cologne
Contact:

Re: map files

Post by Z-Man »

Get rid of the "/config/", with both slashes.
User avatar
pie goes moo
Round Winner
Posts: 306
Joined: Wed Aug 12, 2009 10:42 pm
Location: San Antonio, Texas, USA

Re: map files

Post by pie goes moo »

[0] ERROR: User given path "/examples/deathzone.cfg" is an absolute path. You're not allowed to access files outside of the configured file hierarchies.
I also tried it without the first slash
[0] Configuration file "examples/deathzone.cfg" to be included not found.
:/
Image
User avatar
dlh
Formerly That OS X Guy
Posts: 2035
Joined: Fri Jan 02, 2004 12:05 am
Contact:

Re: map files

Post by dlh »

include examples/death_zone.cfg

Also: http://wiki.armagetronad.net/index.php? ... aying_Maps
User avatar
pie goes moo
Round Winner
Posts: 306
Joined: Wed Aug 12, 2009 10:42 pm
Location: San Antonio, Texas, USA

Re: map files

Post by pie goes moo »

:?: The map file only works when I use a built-in file, not the ones I downloaded.
Image
User avatar
Z-Man
God & Project Admin
Posts: 11589
Joined: Sun Jan 23, 2005 6:01 pm
Location: Cologne
Contact:

Re: map files

Post by Z-Man »

Look, we really need more details. Your exact configuration and the exact errors server AND client are giving.
User avatar
pie goes moo
Round Winner
Posts: 306
Joined: Wed Aug 12, 2009 10:42 pm
Location: San Antonio, Texas, USA

Re: map files

Post by pie goes moo »

Client:
pie goes moo wrote:Log:
ERROR: Absolute file name, the server is trying to overwrite system files.
The server just takes it until someone logs on to the server, then it just says the same thing.
Image
Word
Reverse Adjust Outside Corner Grinder
Posts: 4260
Joined: Wed Jan 07, 2009 6:13 pm

Re: map files

Post by Word »

do you know what .cfg files are?

copy and paste it here (but leave out the server pass ;) )
Post Reply