Help with Zone Builder

Status
Not open for further replies.

FoxBoy8

Miles Tails Prower
Hey guys, I am having a bit of a problem. So, every time I try and open my map on Zone Builder, this error message comes up.

"
***********SYSTEM INFO***********
OS: Microsoft Windows 10 Home
GPU: Intel(R) HD Graphics
Zone Builder: v2.5

********EXCEPTION DETAILS********
An item with the same key has already been added.
at System.ThrowHelper.ThrowArgumentException(ExceptionResource resource)
at System.Collections.Generic.Dictionary`2.Insert(TKey key, TValue value, Boolean add)
at CodeImp.DoomBuilder.Data.WADReader.GetLuaData()
at CodeImp.DoomBuilder.Data.DataManager.LoadCustomObjects()
at CodeImp.DoomBuilder.Data.DataManager.Load(DataLocationList locations)
at CodeImp.DoomBuilder.Data.DataManager.Load(DataLocationList configlist, DataLocationList maplist, DataLocation maplocation)
at CodeImp.DoomBuilder.MapManager.InitializeOpenMap(String filepathname, MapOptions options)
at CodeImp.DoomBuilder.General.OpenMapFileWithOptions(String filename, MapOptions options)
at CodeImp.DoomBuilder.General.OpenMapFile(String filename, MapOptions options)
at CodeImp.DoomBuilder.General.OpenMap()
at CodeImp.DoomBuilder.Actions.Action.Begin()
at CodeImp.DoomBuilder.Actions.ActionManager.InvokeAction(String actionname)
at CodeImp.DoomBuilder.Windows.MainForm.InvokeTaggedAction(Object sender, EventArgs e)
at System.Windows.Forms.ToolStripItem.RaiseEvent(Object key, EventArgs e)
at System.Windows.Forms.ToolStripMenuItem.OnClick(EventArgs e)
at System.Windows.Forms.ToolStripItem.HandleClick(EventArgs e)
at System.Windows.Forms.ToolStripItem.HandleMouseUp(MouseEventArgs e)
at System.Windows.Forms.ToolStripItem.FireEventInteractive(EventArgs e, ToolStripItemEventType met)
at System.Windows.Forms.ToolStripItem.FireEvent(EventArgs e, ToolStripItemEventType met)
at System.Windows.Forms.ToolStrip.OnMouseUp(MouseEventArgs mea)
at System.Windows.Forms.ToolStripDropDown.OnMouseUp(MouseEventArgs mea)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
at System.Windows.Forms.ToolStrip.WndProc(Message& m)
at System.Windows.Forms.ToolStripDropDown.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)"

I don't why it's doing this, I used srb2.srb as the resource. Has this happened to anyone else?
 
Turns out this is a bug I've already fixed for v2.6, which I should really put out one of these days. The problem is that you have three different lumps that are all called "LUA_GAME". In v2.6 ZB will no longer crash when this happens, but it will only read the first lump with this name and ignore all the duplicates. So what you should do is rename the second and third lump to something else. Same thing with MAINCFG, you have two of those as well. Either merge them into one lump or rename one of them to "SOC_xxxx" (where "xxxx" are any four letters).
 
Last edited:
Status
Not open for further replies.

Who is viewing this thread (Total: 1, Members: 0, Guests: 1)

Back
Top