Page 1 of 1

Map promblem

Posted: 09 Nov 2008, 21:53
by Super Mario
Hi guys I have a map problem when I run it it give me somewhat this: Image(It looks like Im not the only one with the map error.
Is there anyway to fix this? reply for us as soon possible!

Re: Map promblem

Posted: 11 Nov 2008, 00:21
by Super Mario
(What the heck it got deleted?) I updated with the error message like the one that I got when I running it.

Re: Map promblem

Posted: 11 Nov 2008, 00:29
by smoth
that link was bad.

post your "mars.smd" file's text here on the board looks like you broke the code.

Re: Map promblem

Posted: 11 Nov 2008, 00:34
by Super Mario
smoth wrote:that link was bad.
yea, I know, it somehow got deleted.
smoth wrote:post your "mars.smd" file's text here on the board looks like you broke the code.
It suppose to be a water map name(for me anyway so it isn't mine but we have a same error) but it got crash for some reason, one of the members here says "it isn't the map fault its the spring bug that needs to be fix" I am pretty sure that the .smd code is typed properly. (I compare with other maps)

Re: Map promblem

Posted: 11 Nov 2008, 00:39
by SirArtturi
mars probably doesnt work because theres a error in .smd. Looks like curly bracket is missing somewhere in line 2. So no, you didnt do anything wrong. The problem is in map files and spring map parser cant read the file properly.

So make sure your spring is updated and if it still doesnt work you can fix it by yourself by finding the error in .smd and adding the missing bracket...

edit: I reported these kind of errors to mantis and some maps are broken because of some minor errors in tdf. Devs fixed some in parser but seems like mars wasnt necessary ?

Re: Map promblem

Posted: 11 Nov 2008, 00:48
by Super Mario
Ok, first off, that wasn't my file it was someone else, but it have the same type of error message (just a different file[My file is suppose to be 'water battle" not "mars"]) and yes I do have the latest spring and what do you mean by "missing bracket"?

Re: Map promblem

Posted: 11 Nov 2008, 00:51
by smoth
{ <--- bracket (actually curly brace but meh) that is what that error is telling us, it is looking for.

Re: Map promblem

Posted: 11 Nov 2008, 00:53
by SirArtturi
Super Mario wrote:Ok, first off, that wasn't my file it was someone else, but it have the same type of error message (just a different file[My file is suppose to be 'water battle" not "mars"]) and yes I do have the latest spring and what do you mean by "missing bracket"?
Then post the error message here and then paste the smd to http://pastebin.com/

Re: Map promblem

Posted: 11 Nov 2008, 00:54
by Super Mario
Wait a minute..... Line Two? oh so THAT'S what it is talking about.

Re: Map promblem

Posted: 11 Nov 2008, 00:59
by smoth
yep

Re: Map promblem

Posted: 11 Nov 2008, 01:41
by Super Mario
When I edit the file and move the bracket to the second line it gives me this:

Code: Select all

using configuration source "Software\SJ\Spring"
OS: Microsoft Windows XP Professional Service Pack 3 (build 2600)
Hardware: AMD Athlon(tm) 64 X2 Dual Core Processor 4200+; 2047MB RAM, 3940MB pagefile
Using read-write data directory: C:\Program Files\Spring\
Scanning: C:\Program Files\Spring\maps
Scanning: C:\Program Files\Spring\base
Scanning: C:\Program Files\Spring\mods
Video mode set to  1280 x 1024 / 32 bit
[      0] SDL:  1.2.10
[      0] GL:   2.1.8086 Release
[      0] GL:   ATI Technologies Inc.
[      0] GL:   Radeon X1650 Series
[      0] GLEW: 1.4.0
[      0] Connecting to local server using number 0
[      0] error = 2, maphelper/mapinfo.lua, [string "maphelper/mapinfo.lua"]:40: maps/Water battle 3v3.smd: missing file
[      0] Became player 0
[      0] Using map Water battle 3v3.smf
[      0] Recording demo demos/local_20081110_183846_Water battle 3v3_0.77b5 (spring_0.77b5-R6842).sdf
[      0] Using script GlobalAI test (TestGlobalAI.dll)
[      0] Using mod Balanced Annihilation V6.5
[      0] Connecting to server  
[      0] Parsing unit icons
[      0] Loading all definitions:  0.689000
[      0] error = 2, maphelper/mapinfo.lua, [string "maphelper/mapinfo.lua"]:40: maps/Water battle 3v3.smd: missing file
[      0] Spring 0.77b5 (spring_0.77b5-R6842) has crashed.
[      0] Exception: Privileged instruction (0xc0000096)
[      0] Exception Address: 0x0022f485
[      0] DLL information:
[      0] 0x00400000	spring
[      0] 0x7c900000	ntdll
[      0] 0x7c800000	kernel32
[      0] 0x77dd0000	ADVAPI32
[      0] 0x77e70000	RPCRT4
[      0] 0x77fe0000	Secur32
[      0] 0x73f10000	dsound
[      0] 0x77c10000	msvcrt
[      0] 0x774e0000	ole32
[      0] 0x77f10000	GDI32
[      0] 0x7e410000	USER32
[      0] 0x77c00000	VERSION
[      0] 0x76b40000	WINMM
[      0] 0x68b20000	GLU32
[      0] 0x5ed00000	OPENGL32
[      0] 0x73760000	DDRAW
[      0] 0x73bc0000	DCIMAN32
[      0] 0x76c90000	IMAGEHLP
[      0] 0x6fbc0000	mingwm10

Re: Map promblem

Posted: 11 Nov 2008, 02:12
by smoth
not sure, maybe it is the space in the map file name? Sorry, I can only make that observation/suggestion at the moment,I am about to got eat.

Re: Map promblem

Posted: 11 Nov 2008, 02:35
by Super Mario
YES!!! I got it to work (I had name the file differently from the other files so that because of it the computer doesn't recognized it!)

Re: Map promblem

Posted: 11 Nov 2008, 10:55
by SirArtturi
You need to name the smd file exactly same as the other map files. Map works for me but what is that fmf file for ?