Using Custom Maps with rc4

Post here if you need help setting up your server, etc.
Post Reply
User avatar
ed
Match Winner
Posts: 613
Joined: Mon Feb 13, 2006 12:34 pm
Location: UK

Using Custom Maps with rc4

Post by ed »

I am running a server on unix dedicated 2.8rc4, It works fine if I use one of the default maps but if i try to use my own maps (which work fine on a different server running rc3) I get the following message:

Code: Select all

Incorrect File Path: The resource file loaded from "ed/fortress/mad_fortress-0.0.2-aamap.xml" wants to be at "ed/fortress/mad_fortress-0.0.2.aamap.xml". Possible resolutions:
a) If you are not the author of the resource, you should move it to the right place given above and adapt the reference pointing to it.
b) If you are the author and want the file to stay where it is, you can modify its <Resource> tag so it wants to be where you put it. Consult the documentation on how to do that.
The first couple of lines of mad_fortress-0.0.2-aamap.xml reads

Code: Select all

<!DOCTYPE Resource SYSTEM "AATeam/map-0.2.8.0_rc4.dtd">
<Resource type="aamap" author="ed" name="mad_fortress" version="0.0.2" category="fortress">

        <Map version="0.2.8">
I have copied the map file to:

The settings file reads:

MAP_FILE ed/fortress/mad_fortress-0.0.2-aamap.xml

RESOURCE_REPOSITORY_SERVER http://plantpeanuts.co.uk/resource/

The map file is stored at: http://plantpeanuts.co.uk/resource/ed/f ... -aamap.xml

I have copied it on the server to:
/usr/local/share/games/armagetronad-dedicated/resource/included/ed/fortress

Maybe I'm making a simple mistake, I'm pretty sure this setup works on my rc3 server. Any help much appreciated.
User avatar
Z-Man
God & Project Admin
Posts: 11717
Joined: Sun Jan 23, 2005 6:01 pm
Location: Cologne
Contact:

Post by Z-Man »

Sorry, some server admins were a bit sloppy when choosing the location of their files, that's why we're now (starting with rc4) have to enforce it, or there will be collisions in users' caches with bizarre bug reports resulting.

In your case, that is overkill. All the system wants you to do is to rename your map from fortress-0.0.2-aamap.xml to fortress-0.0.2.aamap.xml and to adapt your filepath. Just a dash to a dot.

Sorry for the inconvenience, had we discovered the problem earlier, we'd have first made it a warning. Or made it so that the file path is corrected for the clients and the server keeps the file where it is.
User avatar
ed
Match Winner
Posts: 613
Joined: Mon Feb 13, 2006 12:34 pm
Location: UK

Post by ed »

Thank you kindly.
Knew it would be simple, didn't spot the difference between the 2. They're the same!
Hours I spent with different configurations. All I needed was to replace a dash with a dot. Doh!
User avatar
Tank Program
Forum & Project Admin, PhD
Posts: 6712
Joined: Thu Dec 18, 2003 7:03 pm

Post by Tank Program »

That dash and dot can make a lot of difference. Take morse code for exame...

Code: Select all

.... .  .-.. .-.. ---
-... .- .-.. .-.. ...
A few slips in timing and concentration takes you from "hello" to "balls." Quite a bit of a difference!
Image
Post Reply