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

Messages - midiman

#1
I don't know how it is over there, but once I remove that "function" the error message is gone. As soon as I add the "function" again, the error shows back up. I think my problem is solved :cheesy: thank you for helping
#2
Whoops, that "Function" is a leftover from a failed code attempt. thanks for the tip
#3
Once again, thanks for the quick reply :smiley: I'll be working on some other stuff in the meantime

Sent from my SM-G900V using Tapatalk

#4
yes, this happens all the time with this one project. Like I said though, It's not much besides 1 testing room. I've uploaded the project onto https://dl.dropboxusercontent.com/u/62028528/jackofhearts.zip
Thanks for your quick response :smiley:
#5
Let me begin by stating that in no way, shape or form, this is an urgent message as I didn't even make it past coding the first room. However, after adding a line that would make cEgo (yes, the standard guy) walk to a set coordinate in a room, the entire game stopped working. I tried to save the project and I ran into this wall of text

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

System.AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt. ---> System.AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
   at ccCompileText(SByte* , SByte* )
   at AGS.Native.NativeMethods.CompileScript(Script script, String[] preProcessedScripts, Game game, Boolean isRoomScript)
   at AGS.Editor.NativeProxy.CompileScript(Script script, String[] preProcessedData, Game game, Boolean isRoomScript)
   at AGS.Editor.AGSEditor.CompileScript(Script script, List`1 headers, CompileMessages errors, Boolean isRoomScript)
   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.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.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 AGS.Editor.ToolStripExtended.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)

Yes, that's an impressive amount of text, especially if you have no idea what most of it means.

I've looked on the forums for more about this question, but it seems like the problem is always something different and I've tried the following "Solutions" so to speak

A) Made a backup, deleted the original files, restored the backup, this did nothing
B) Restarted the computer and attempted to rebuild the files. As soon as I click Rebuild, I get the same error as above
C) looked in the control panel to see if the game is somehow running somewhere, I could not find this
D) Tried to put cEgo in different rooms to start, this did nothing either
E) Remove the new lines that I put in, this didn't work either

It seems that it's only this one game though, I tried making a new game and that seems to work fine.
So I have the following 2 questions

A) Can this be fixed somehow ?
B) How can I prevent this from happening in the future ?

I would appreciate all the help and suggestions you could offer.


Thanks in Advance

Midiman
-remember, there's no game that can't be beat-
SMF spam blocked by CleanTalk