Any Idea why I would be getting this error?
Error: String is too long: The Chronicles of Thomas Covenant
Version: AGS 3.0.2.40
AGS.Types.AGSEditorException: String is too long: The Chronicles of Thomas Covenant ---> AGS.Types.AGSEditorException: String is too long: The Chronicles of Thomas Covenant
at ConvertStringToCharArray(String clrString, SByte* textBuffer, Int32 maxLength)
at save_crm_file(Room room)
at AGS.Native.NativeMethods.SaveRoomFile(Room roomToSave)
at AGS.Editor.Components.RoomsComponent.SaveRoomOnThread(Object parameter)
at AGS.Editor.BusyDialog.RunHandlerOnThread()
--- End of inner exception stack trace ---
at AGS.Editor.BusyDialog.Show(String message, ProcessingHandler handler, Object parameter)
at AGS.Editor.Components.RoomsComponent.SaveRoomButDoNotShowAnyErrors(Room room, CompileMessages errors, String pleaseWaitText)
at AGS.Editor.Components.RoomsComponent.SaveRoomAndShowAnyErrors(Room room)
at AGS.Editor.Components.RoomsComponent.AGSEditor_PreSaveGame(PreSaveGameEventArgs evArgs)
at AGS.Editor.AGSEditor.PreSaveGameHandler.Invoke(PreSaveGameEventArgs evArgs)
at AGS.Editor.AGSEditor.SaveGameFiles()
at AGS.Editor.Components.BuildCommandsComponent.TestGame(Boolean withDebugger)
at AGS.Editor.Components.BuildCommandsComponent.CommandClick(String controlID)
at AGS.Editor.ToolBarManager.ToolbarEventHandler(Object sender, EventArgs e)
at System.Windows.Forms.ToolStripItem.RaiseEvent(Object key, EventArgs e)
at System.Windows.Forms.ToolStripButton.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.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.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 lpara
EDIT:
ok after some more tinkering and trouble shooting I found this source of this error..
it has to do that the Discription of hotspot ID 8 hUnbeliever is "The Chronicles of Thomas Covenant"
And it came up with that error. Is this Bug fixed in the newest version of AGS?
The length of hotspot names is limited to 30 characters, however the editor should handle the situation better than this. I'll look into it, and also into whether that limit can be removed.