Jump to content

[Solved]Odd problem.


SirTerning

Recommended Posts

Posted (edited)

Have made a map exclusive for a server atm but it wont start as it says *Error at starting (mapname)*

Something about the string *race/*

but in the meta it are showing that the destination is set to Race and gamemode shows race

- <meta>
 <info gamemodes="race" type="map" name="(Mapname)" author="redpvp" version="1.0.0" description="It's just a fun map. Report bugs if some found :)" /> 
 <map src="Wanken Orly.map" dimension="0" /> 
- <settings>
 <setting name="#skins" value="[ "random" ]" /> 
 <setting name="#maxplayers" value="[ 32 ]" /> 
 <setting name="#gamespeed" value="[ 1 ]" /> 
 <setting name="#ghostmode" value="[ "false" ]" /> 
 <setting name="#time" value="12:0" /> 
 <setting name="#vehicleweapons" value="[ "false" ]" /> 
 <setting name="#minplayers" value="[ 2 ]" /> 
 <setting name="#weather" value="[ 2 ]" /> 
 <setting name="#gravity" value="[ 0.008000 ]" /> 
 <setting name="#waveheight" value="[ 0 ]" /> 
 <setting name="#respawntime" value="[ 5 ]" /> 
 <setting name="#locked_time" value="[ true ]" /> 
 <setting name="#duration" value="[ 1800 ]" /> 
 <setting name="#respawn" value="[ "none" ]" /> 
 </settings>
 </meta>

somebody know were the problem can be ?

(Mapname) is not the actuall name of the map as It are still in beta :P

Edited by Guest
Posted

When trying to load the map the console threw this error.

[11:12:41] Starting race-Wanken (mapname)
[11:12:41] INFO: onGamemodeMapStart(race-Wanken (mapname))
[11:12:41] Map '(mapname)' started.
[11:12:41] start: Resource 'race-Wanken (mapname)' started
[11:12:41] WARNING: Error while loading race-Wanken (mapname): no <race /> node in meta.xml
[11:12:41] INFO: Error loading map race-Wanken Orly

Posted (edited)

Most certainly, your 'Wanken Orly.map' file can't be parsed as valid xml. Check that file for typos.

ETA: Your meta.xml isn't valid xml either, since lines like this one:

<setting name="#skins" value="[ "random" ]" />

should look like:

<setting name="#skins" value='[ "random" ]' />

Edited by Guest
Posted

Well as the first post show the full meta fila, cant somebody that actually understand the meta file help me :) ?

Oh and it are made in the MTA:DM Map editor.

Well, it does work now, found out by a little look on other maps, going on them trough notepad that i didnt have spawn points so it works perfectly now :)

Posted
<setting name="#skins" value="[ "random" ]" />

should look like:

<setting name="#skins" value='[ "random" ]' />

that doesn't matter, it's basically the same.

show us the first 10 lines of your .map file, it seems like something has been mixed up.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...