Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Topics - krieghan

#1
I'm going through one of the tutorials, and am at the point where I'm trying to open a script for a hotspot.  AGS becomes non-responsive for a minute or two, and then gives back an error dialog:

Error: Non-negative number required.
Parameter name: count
Version: AGS 3.2.1.111

System.ArgumentOutOfRangeException: Non-negative number required.
Parameter name: count
   at System.Text.EncodingNLS.GetString(Byte[] bytes, Int32 index, Int32 count)
   at Scintilla.ScintillaControl.SendMessageDirect(UInt32 msg, IntPtr wParam, String& text, Int32 length)
   at Scintilla.ScintillaControl.SendMessageDirect(UInt32 msg, Int32 wParam, String& text)
   at Scintilla.ScintillaControl.GetText()
   at AGS.Editor.ScintillaWrapper.FindLineNumberForText(String text)
   at AGS.Editor.ScriptEditor.GetLineNumberForText(String text)
   at AGS.Editor.Components.BaseComponentWithScripts.ZoomToCorrectPositionInScript(ScriptEditor editor, ZoomToFileEventArgs evArgs)
   at AGS.Editor.Components.RoomsComponent.GUIController_OnZoomToFile(ZoomToFileEventArgs evArgs)
   at AGS.Editor.GUIController.ZoomToFileHandler.Invoke(ZoomToFileEventArgs evArgs)
   at AGS.Editor.GUIController.timer_Tick(Object sender, EventArgs e)
   at System.Windows.Forms.Timer.OnTick(EventArgs e)
   at System.Windows.Forms.Timer.TimerNativeWindow.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

I am using 64-bit Windows 7, AGS 3.2.1.  I encounter the same issue when opening scripts in any other context.  Has anyone encountered this before?
SMF spam blocked by CleanTalk