got problem with map

Designed a level that creates new, exciting, and challenging Armagetron game play? Or maybe just something funky. Put it right here.
Post Reply
AI Teâm
Core Dumper
Posts: 106
Joined: Sun Nov 02, 2008 8:38 pm
Location: Munich

got problem with map

Post by AI Teâm »

I wanted to try out some nice selfmade maps for our new Wild Fort server.
but i dont get it work.
i dont get why the hell this map does not work:

Code: Select all

<?xml version="1.0" standalone="no"?>
<!DOCTYPE Resource SYSTEM "map-0.2.8_beta3.dtd">
<Resource type="aamap" name="moving" version="0.0.1" author="AI" category="fort">
	<Map version="2">
		<World>
			      <Field>
                            <Axes number="4"/>
				<Spawn x="720" y="-752" xdir="0" ydir="1"/>
				<Spawn x="720" y="-320" xdir="0" ydir="-1"/>
				<Zone effect="death">
					<ShapeCircle radius="10">
						<Point x="592" y="-480"/>
					</ShapeCircle>
				</Zone>
				<Zone effect="death">
					<ShapeCircle radius="10">
						<Point x="640" y="-480"/>
					</ShapeCircle>
				</Zone>
				<Zone effect="death">
					<ShapeCircle radius="10">
						<Point x="688" y="-480"/>
					</ShapeCircle>
				</Zone>
				<Zone effect="death">
					<ShapeCircle radius="10">
						<Point x="736" y="-480"/>
					</ShapeCircle>
				</Zone>
				<Zone effect="death">
					<ShapeCircle radius="10">
						<Point x="784" y="-480"/>
					</ShapeCircle>
				</Zone>
				<Zone effect="death">
					<ShapeCircle radius="10">
						<Point x="832" y="-480"/>
					</ShapeCircle>
				</Zone>
				<Zone effect="death">
					<ShapeCircle radius="10">
						<Point x="880" y="-480"/>
					</ShapeCircle>
				</Zone>
				<Zone effect="death">
					<ShapeCircle radius="10">
						<Point x="560" y="-480"/>
					</ShapeCircle>
				</Zone>
				<Zone effect="death">
					<ShapeCircle radius="10">
						<Point x="560" y="-512"/>
					</ShapeCircle>
				</Zone>
				<Zone effect="death">
					<ShapeCircle radius="10">
						<Point x="608" y="-512"/>
					</ShapeCircle>
				</Zone>
				<Zone effect="death">
					<ShapeCircle radius="10">
						<Point x="656" y="-512"/>
					</ShapeCircle>
				</Zone>
				<Zone effect="death">
					<ShapeCircle radius="10">
						<Point x="704" y="-512"/>
					</ShapeCircle>
				</Zone>
				<Zone effect="death">
					<ShapeCircle radius="10">
						<Point x="752" y="-512"/>
					</ShapeCircle>
				</Zone>
				<Zone effect="death">
					<ShapeCircle radius="10">
						<Point x="800" y="-512"/>
					</ShapeCircle>
				</Zone>
				<Zone effect="death">
					<ShapeCircle radius="10">
						<Point x="848" y="-512"/>
					</ShapeCircle>
				</Zone>
				<Zone effect="death">
					<ShapeCircle radius="10">
						<Point x="896" y="-512"/>
					</ShapeCircle>
                            </Zone>
                               <Wall height="50">
					<Point x="544" y="-240"/>
					<Point x="544" y="-816"/>
					<Point x="912" y="-816"/>
					<Point x="912" y="-240"/>
					<Point x="544" y="-240"/>
				  </Wall>
				  <Wall height="50">
					<Point x="560" y="-496"/>
					<Point x="592" y="-496"/>
				  </Wall>
				  <Wall height="50">
					<Point x="608" y="-496"/>
					<Point x="640" y="-496"/>
				 </Wall>
				<Wall height="50">
					<Point x="656" y="-496"/>
					<Point x="688" y="-496"/>
				</Wall>
				<Wall height="50">
					<Point x="704" y="-496"/>
					<Point x="736" y="-496"/>
				</Wall>
				<Wall height="50">
					<Point x="752" y="-496"/>
					<Point x="784" y="-496"/>
				</Wall>
				<Wall height="50">
					<Point x="800" y="-496"/>
					<Point x="832" y="-496"/>
				</Wall>
				<Wall height="50">
					<Point x="848" y="-496"/>
					<Point x="880" y="-496"/>
				</Wall>
				<Wall height="50">
					<Point x="912" y="-496"/>
					<Point x="896" y="-496"/>
				</Wall>
				<Wall height="50">
					<Point x="576" y="-288"/>
					<Point x="592" y="-272"/>
				</Wall>
				<Wall height="50">
					<Point x="576" y="-336"/>
					<Point x="592" y="-352"/>
				</Wall>
				<Wall height="50">
					<Point x="864" y="-352"/>
					<Point x="880" y="-336"/>
				</Wall>
				<Wall height="50">
					<Point x="864" y="-272"/>
					<Point x="880" y="-288"/>
				</Wall>
				<Wall height="50">
					<Point x="592" y="-784"/>
					<Point x="576" y="-768"/>
				</Wall>
				<Wall height="50">
					<Point x="864" y="-784"/>
					<Point x="880" y="-768"/>
				</Wall>
				<Wall height="50">
					<Point x="880" y="-720"/>
					<Point x="864" y="-704"/>
				</Wall>
				<Wall height="50">
					<Point x="576" y="-720"/>
					<Point x="592" y="-704"/>
				</Wall>
			      </Field>
		</World>
	</Map>
</Resource>

Code: Select all

:165: element Field: validity error : Element Field content does not follow the DTD, expecting (Axes? , (Spawn | Wall | Zone)*), got (Setting Setting Setting Setting Axes Spawn Spawn Zone Zone Zone Zone Zone Zone Zone Zone Zone Zone Zone Zone Zone Zone Zone Zone Wall Wall Wall Wall Wall Wall Wall Wall Wall Wall Wall Wall Wall Wall Wall Wall Wall )
                         </Field>
                                 ^
[0] Failed to validate.
[0] Map load failure:
[0] The map AI/fort/moving-0.0.1.aamap.xml(http://trongame.de/maps/moving-0.0.1.aamap.xml) could not be loaded or parsed; please check your configuration and the log.
[0]
[0] Reverting to last known working map Anonymous/polygon/regular/square-1.0.1.aamap.xml.
?
[/code]
User avatar
Z-Man
God & Project Admin
Posts: 11717
Joined: Sun Jan 23, 2005 6:01 pm
Location: Cologne
Contact:

Post by Z-Man »

The error is not from the map you posted. The error complains about <Setting> tags inside <Field> that are not there.
AI Teâm
Core Dumper
Posts: 106
Joined: Sun Nov 02, 2008 8:38 pm
Location: Munich

Post by AI Teâm »

i see.
but why??
User avatar
Z-Man
God & Project Admin
Posts: 11717
Joined: Sun Jan 23, 2005 6:01 pm
Location: Cologne
Contact:

Post by Z-Man »

You posted the wrong map? Check what's actually in your resource folder.
AI Teâm
Core Dumper
Posts: 106
Joined: Sun Nov 02, 2008 8:38 pm
Location: Munich

Post by AI Teâm »

i just gave the map another name and it worked :o :o
Luke-Jr
Dr Z Level
Posts: 2246
Joined: Sun Mar 20, 2005 4:03 pm
Location: IM: luke@dashjr.org

Post by Luke-Jr »

That means you tried changing it without changing the version. Once you use a map with a specific author+category+name+version, it becomes permanent-- you can't change it anymore. The only exception is for testing locally.
Post Reply