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

#1
Yeah, I'll go get the download now see what happens?

Thanks
#2
The first time this happened I am sure there were not duplicate sprites, as I replaced old sprites rather than adding new. I can not be so sure the second time as I went in and started adding new sprites so they may have doubled?

Thanks
#3
Nope haven't been dragging sprites around at all, I replaced a few...based on that I had sized them too large edited them and replaced them with a smaller version? However I have not been dragging or moving any of the files around?

Thanks
#4
Re loaded all the graphics and had no problems, realised that the sprites were too big for my walk view deleted them and hit save and this came up:

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

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 save_sprites(Boolean )
   at AGS.Native.NativeMethods.SaveGame(Game game)
   at AGS.Editor.NativeProxy.SaveGame(Game game)
   at AGS.Editor.AGSEditor.SaveGameFilesProcess(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.AGSEditor.SaveGameFiles()
   at AGS.Editor.Components.FileCommandsComponent.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 lparam)

And now I am receiving the same getspriteasbitmap error I had 2 times before? I submitted this as well when it asked me to? Really is odd how I can't seem to get pass this?
#5
That could well be the error message, I didn't read it too closely but it sounds about right for the error that I had.

I have to be honest I couldn't tell you which sprite it was.....I imported several all at the same time. A number for a walk view, several as objects and invent items?

I guess the only thing I could do is import everything one by one and press save each time to see if it catches a certain file when crashing?

Although I think the second time it crashed, I had imported more than the first time?

Thanks
#6
I am indeed using the latest version, downloaded the new one no more than a few weeks ago?

Yes that file is present when the error happens, there is no "backup" file of the same name when the error occurs.

Thanks
#7
No, none of my stuff is on remote or extended storage it is all soted on the internal hard drive. It is just really strange how it has happened twice now?
#8
I am fairly sure I saved the game before running it. However, I built the same game a second time because of the crash...and it happened again and that time I definately didn't save whilst the game was running. Weirdly though it let me add more than it did last time before crashing?

Could it be due to file size? Or the resolution the pictures are in?
#9
Quote from: Pumaman on Sun 19/07/2009 19:49:34
It sounds like your game's sprite file is corrupt, though I think I've only seen this happen before where there was some sort of error saving the game, and then this message started to come up whenever you tried to load it in future.

If you can zip up and upload your game folder I can take a look, though it's likely you'll need to restore from a previous backup version.

Did you use the Send Error Report button when this message first appeared?
Which version of AGS are you running?


Thinking about it, it may have been when I saved it? I often press save before running the game to test it.

I didn't have a back up version, so I found the acsprset file in the demo game and loaded it in. This allowed me to open my game, all the coding was still there but all the graphics had gone. So I started again added everything back in...but now I have been given the error message again! So I am not sure what I am doing but it doesn't like something! I am not sure if the resolutions are too big for the game?

I did report it the first time as AGS offered me to report the bug.

I think I am using the latest version of AGS as I downloaded it only a week ago. I'll try to zip up the file and post it as soon as I can.

Thanks
#10
Quote from: Pumaman on Sat 18/07/2009 19:54:19
What happened before you saw this message for the first time? Was there an error saving the game before it started doing this?

I imported a new sprite and applied it to an inventory item, I then ran the game to see what it looked like in game. The game ran its usual loading screen and then stopped throwing up the error:

getSpriteAsBitmap32bit: Unable to find sprite 0

I then wasn't able to save the game, I thought if I reload it from the last place I saved it would be okay, but I continued to get the above getSprite..... message.

Thanks
#11
After not finding the backup file in he folder I replaced the old file...

I now have a whole new error message......a 'square', hexadecimal value 0x06, is an invalid characer. Line 1, position 1.

***PLEASE IGNORE THIS SECTION THIS HAS BEEN RESOLVED****

The below error continues:


getSpriteAsBitmap32bit: Unable to find sprite 0

Thanks
#12
Quote from: NsMn on Sat 18/07/2009 17:52:01
Solution: Delete the file acsesprite (or something like that) and rename the file backup_acsesprite (or so) to only acsesprite (I won't comment it again :P ). Then try to load the game again.


Thanks for replying, I have found the file acsprset in the game folder, however I can not find the back up file which you describe? I guess it would be in teh same place as the original file?

Thanks
#13
Hi

I have received this message:

getSpriteAsBitmap32bit: Unable to find sprite 0

It says if you are unable to resolve the error post on the forum.

My game save will not open...so I am unable rectify any possible problem. Does anyone know how to resolve this issue so I can get my game back?


Thanks
SMF spam blocked by CleanTalk