Page 9 of 11

Re: Mission Editor

Posted: 13 Jun 2009, 23:17
by Super Mario
bump for response.

Re: Mission Editor

Posted: 15 Jun 2009, 22:09
by quantum
It's planned, but I don't have time for it in the short term.

Re: Mission Editor

Posted: 18 Jun 2009, 14:15
by xyz
Brilliant piece of software.

I have some questions though:

1) Can I make a trigger activate itself every 30s till the end of the game?
2) Can i have more then 2 players in the mission?

And this is more of a bug, and i guess is an Spring engine bug:
- In the latest version of spring the test mission no longer works.

Thanks.

Re: Mission Editor

Posted: 18 Jun 2009, 17:52
by CarRepairer
xyz wrote:Brilliant piece of software.

I have some questions though:

1) Can I make a trigger activate itself every 30s till the end of the game?
2) Can i have more then 2 players in the mission?

And this is more of a bug, and i guess is an Spring engine bug:
- In the latest version of spring the test mission no longer works.

Thanks.
1) Yes, it's called the metronome trigger.

2) Yes, see my mission Chicken Tag. It's made for 4 players vs. a bot. In fact it's not playable unless you have 4 dedicated people. If one drops/leaves it's ruined.

3) Need more details.

Re: Mission Editor

Posted: 18 Jun 2009, 18:14
by xyz
thanks for reply.

"see my mission Chicken Tag"
Is springDownload the only way to get this file? i do not have it installed.

As for the bug, when i run my mission from springlobby it works fine, but if I select "mission/test mission" Sring will start and wait indefinitly on the screen: "Waiting for server to start".
Creating a mod file and dragging the txt file over the exe gives the same results.

Re: Mission Editor

Posted: 21 Jun 2009, 07:03
by Satirik
the mission not starting with "test mission" is because the Player0.name and the MyPlayerName are "differents", it seems spring doesn't like spaces and replace one of them (not both) by a _ : "Player 1" becomes "Player_1" != "Player 1" => waiting for server blabla

Re: Mission Editor

Posted: 22 Jun 2009, 17:18
by xyz
Found another problem: It seems that if you have more then 8 players spring will crash with a "Invalid/Missing content" error box.

see this mission file:

http://springrts.com/phpbb/viewtopic.ph ... 89#p358889

Re: Mission Editor

Posted: 15 Aug 2009, 18:44
by Super Mario
I'm still waiting for an update.

Re: Mission Editor

Posted: 23 Aug 2009, 16:07
by Noooooo
Every time I try to create a new mission, the editor crashes with a KeyNotFoundException error
Don't know, if this problem with the new spring-engine (it did work before).

Mod used was NOTA 1.59, map was MoonQ10x
What I did:
New mission -> select map and mod -> OK
The editor then starts up until it gets to "Loading units":
KeyNotFoundException error

Error-log:

Code: Select all

OutOfMemoryException System.Windows.Media.Imaging.WriteableBitmap..ctor(Int32 pixelWidth, Int32 pixelHeight, Double dpiX, Double dpiY, PixelFormat pixelFormat, BitmapPalette palette)
   at MapReader.Tiles.LoadTiles(Dictionary`2 tileFiles, Int32[] tilePositions, Int32 tilesX, Int32 tilesY, Int32 mipLevel) in c:\Documents and Settings\Administrator\My Documents\Projects\MissionEditor\MapReader\Tiles.cs:Zeile 42.
   bei MapReader.SM2.GetTexture(String mapArchive, String mapName, Int32 detail, Int32& width, Int32& height) in c:\Documents and Settings\Administrator\My Documents\Projects\MissionEditor\MapReader\SM2.cs:Zeile 71.
   bei IO.loadMap(FastFunc`2 setStatusText, List`1 maps, String mapName)
   bei IO.clo@105_2.Invoke(Unit _arg3)
   bei Utils.clo@32.Invoke()
   bei System.Threading.ThreadHelper.ThreadStart_Context(Object state)
   bei System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   bei System.Threading.ThreadHelper.ThreadStart()
SerializationException
Fehler beim Deserialisieren des Objekts "". Unexpected end of File. 

 (..and so on..)

Any idea how to get the editor working again? (and yes, there are more than 2 gigs o free memory)

Re: Mission Editor

Posted: 01 Sep 2009, 00:39
by Super Mario
I'm still waiting for an update. Is this project still active?

Re: Mission Editor

Posted: 03 Nov 2009, 09:20
by Army Unit
Just wondering, does this work with Expand & Exterminate?

Edit: I got an error when I started this up for the first time: :cry:

Code: Select all

ZipException
Version required to extract this entry not supported (788)
   at ICSharpCode.SharpZipLib.Zip.ZipFile.TestLocalHeader(ZipEntry entry, HeaderTest tests)
   at ICSharpCode.SharpZipLib.Zip.ZipFile.GetInputStream(Int64 entryIndex)
   at ICSharpCode.SharpZipLib.Zip.ZipFile.GetInputStream(ZipEntry entry)
   at Archive.Zip.extractFileWithExtractor(ZipFile extractor, String file)
   at Archive.extractFile(String archive, String file)
   at SpringLua.getLuaState(String springPath)
   at MissionLib.ArchiveLister..ctor(String springPath)
   at IO.clo@90_2.Invoke(Unit _arg2)
   at Utils.clo@32.Invoke()
   at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Threading.ThreadHelper.ThreadStart()
ZipException
Version required to extract this entry not supported (788)
   at ICSharpCode.SharpZipLib.Zip.ZipFile.TestLocalHeader(ZipEntry entry, HeaderTest tests)
   at ICSharpCode.SharpZipLib.Zip.ZipFile.GetInputStream(Int64 entryIndex)
   at ICSharpCode.SharpZipLib.Zip.ZipFile.GetInputStream(ZipEntry entry)
   at Archive.Zip.extractFileWithExtractor(ZipFile extractor, String file)
   at Archive.extractFile(String archive, String file)
   at SpringLua.getLuaState(String springPath)
   at MissionLib.ArchiveLister..ctor(String springPath)
   at IO.clo@90_2.Invoke(Unit _arg2)
   at Utils.clo@32.Invoke()
   at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Threading.ThreadHelper.ThreadStart()
ZipException
Version required to extract this entry not supported (788)
   at ICSharpCode.SharpZipLib.Zip.ZipFile.TestLocalHeader(ZipEntry entry, HeaderTest tests)
   at ICSharpCode.SharpZipLib.Zip.ZipFile.GetInputStream(Int64 entryIndex)
   at ICSharpCode.SharpZipLib.Zip.ZipFile.GetInputStream(ZipEntry entry)
   at Archive.Zip.extractFileWithExtractor(ZipFile extractor, String file)
   at Archive.extractFile(String archive, String file)
   at SpringLua.getLuaState(String springPath)
   at MissionLib.ArchiveLister..ctor(String springPath)
   at IO.clo@90_2.Invoke(Unit _arg2)
   at Utils.clo@32.Invoke()
   at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Threading.ThreadHelper.ThreadStart()

Re: Mission Editor

Posted: 03 Nov 2009, 10:49
by Forboding Angel
There is no way it would work with EE. A lot would have to be done to the mod to make it compatible.

Re: Mission Editor

Posted: 03 Nov 2009, 12:12
by Licho
Yeah it would require massive change of using zip instead of 7z

Re: Mission Editor

Posted: 03 Nov 2009, 17:45
by Neddie
I think Forb is referring to the internals of E&E, but I'm not sure he is right.

Re: Mission Editor

Posted: 03 Nov 2009, 21:09
by Licho
Well the crash says that zip cannot extract it..

Re: Mission Editor

Posted: 03 Nov 2009, 21:14
by Neddie
I'm aware, I can read the log too, as did Forb.

Re: Mission Editor

Posted: 03 Nov 2009, 21:50
by Army Unit
No, it crashed before I could select a mod.

Too bad it can't run EE, :( thanks for telling me.

Re: Mission Editor

Posted: 07 Nov 2009, 10:37
by quantum
The editor isn't working with the latest versions of spring, so don't bother.

Anyway, I don't think it's an EE problem, there might be a bug that makes the program crash when there is a corrupted or missing zip somewhere. It should support any mod as long as the Lua doesn't conflict (at least when the editor is up-to-date).

Re: Mission Editor

Posted: 08 Nov 2009, 03:50
by Argh
It's borked? That sucks, we'll have to use 0.78 then. If anybody needs a 0.78 installer really bad, let me know.

Oh, and it should work OK with EE, it's just that it takes a bit of fiddling about before you can get it to go. It halts if it hits invalid Units, etc., and it's less forgiving than Spring is, though. I had to manually combine WB and P.U.R.E. and convert all the unit icons to BMP, amongst other things, before it worked

Re: Mission Editor

Posted: 03 Dec 2009, 23:59
by Super Mario
Well the source code is out... We just need to find someone who knows how to program in c#.