Error message [Soveld]

Started by Icey, Thu 15/09/2011 00:54:03

Previous topic - Next topic

Icey

I tried to compile my to give it a test when I got this message. I aso get it whe rebuilding the files.

Error: Load_room: inconsistent blocks for object names
Version: AGS 3.2.1.111

AGS.Types.AGSEditorException: Load_room: inconsistent blocks for object names
  at ThrowManagedException(SByte* message)
  at load_room_file(SByte* )
  at load_crm_file(UnloadedRoom roomToLoad)
  at AGS.Native.NativeMethods.LoadRoomFile(UnloadedRoom roomToLoad)
  at AGS.Editor.Components.RoomsComponent.LoadNewRoomIntoMemory(UnloadedRoom newRoom, CompileMessages errors)
  at AGS.Editor.Components.RoomsComponent.RecompileAnyRoomsWhereTheScriptHasChanged(CompileMessages errors, Boolean rebuildAll)
  at AGS.Editor.Components.RoomsComponent.AGSEditor_PreCompileGame(PreCompileGameEventArgs evArgs)
  at AGS.Editor.AGSEditor.PreCompileGameHandler.Invoke(PreCompileGameEventArgs evArgs)
  at AGS.Editor.AGSEditor.CompileGame(Boolean forceRebuild, Boolean createMiniExeForDebug)
  at AGS.Editor.Components.BuildCommandsComponent.CompileGame(Boolean forceRebuild)
  at AGS.Editor.Components.BuildCommandsComponent.CommandClick(String controlID)
  at AGS.Editor.GUIController._mainForm_OnMenuClick(String menuItemID)
  at AGS.Editor.MainMenuManager.MenuEventHandler(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)

Now I no this is caused by some thing I did but I can't figure out what this means
"inconsistent blocks for object names"

monkey0506

Sounds like your room file(s) got corrupted. Looks like that's the end of PMQ... :'(

Icey

Corrupted! and this is osd. I guess I gotta figure out which room to fix.

Icey

I got it. I had to delete all the unused rooms from the game.

Monsieur OUXX

Are you sure it's not because you gave some names to the scripts supposed to be executed by some room events (for example: MyButton_onclick) and then changed the names in the script itself without changing it in the room editor?

Anyway if you fixed it, problem solved.
 

monkey0506

Monsieur, even if he did that it would cause a run-time error about "unresolved import", not cause an explosive editor crash.

Alan v.Drake

#6
You didn't write the names with weird japanese unicode characters, did you ? Admitted that is indeed possible, maybe rewriting them with normal ascii ones would have fixed things. Or perhaps not. Whatever, I'm sweating so hard I can't think straight.


- Alan

Icey

Oh I never put this as solved did I.

Only problem I had after I said it was fixed was during the game play I made it up to room 10 and it crashed saying something about out of memory. So I restarted the game and it said the same thing from before only this time it let me run the game.

I fixed that problem and so far it works.

SMF spam blocked by CleanTalk