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 - Stian78

#1
Hello.
After running my game in the no-debug mode, the following error is triggered. It actually makes AGS completely unstable, and it will reoccur when typing, clicking icons etc:

Error: Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
Version: AGS 3.0.0.23

System.AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
   at System.Drawing.SafeNativeMethods.Gdip.GdipFillPath(HandleRef graphics, HandleRef brush, HandleRef path)
   at System.Drawing.Graphics.FillPath(Brush brush, GraphicsPath path)
   at AGS.Editor.TabbedDocumentContainer.DrawPane(Graphics graphics, ContentDocument pane, Boolean selected, Int32 x, Int32 y)
   at AGS.Editor.TabbedDocumentContainer.tabsPanel_Paint(Object sender, PaintEventArgs e)
   at System.Windows.Forms.Control.OnPaint(PaintEventArgs e)
   at System.Windows.Forms.Control.PaintWithErrorHandling(PaintEventArgs e, Int16 layer, Boolean disposeEventArgs)
   at System.Windows.Forms.Control.WmPaint(Message& m)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.ScrollableControl.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)

At the time being, the script for room9 (where the error seems to occur) is quite simple:

function room_AfterFadeIn()
{
object[0].SetView(28,0,0);
object[0].Animate(0, 5, eOnce, eBlock, eForwards);
character[EGO].Walk(142, 128, eBlock, eAnywhere);
object[0].Animate(0, 5, eOnce, eBlock, eBackwards);
}

Quite vexing...  :-\

That being said: Thanx for the v.3.0 - and for a great program all together!  8)
SMF spam blocked by CleanTalk