Adventure Game Studio

AGS Support => Advanced Technical Forum => Topic started by: RetroJay on Thu 11/09/2014 23:19:16

Title: AGS Error Report.
Post by: RetroJay on Thu 11/09/2014 23:19:16
Hi All.

I think that this is the right forum for this subject.

Ok. Tonight I was merrily working away when AGS suffered a large crash.
At the time I was working on a Character and had inadvertently entered the wrong ID number for it.
AGS told me I had but then everything went wrong.8-0

I am using AGS 3.2.1 (Draconian Version)
I tried to send an error report to AGS Server but couldn't.
So I was told to post it here.
QuoteError: Object reference not set to an instance of an object.
Version: AGS 3.2.1.111

System.NullReferenceException: Object reference not set to an instance of an object.
   at AGS.Editor.CharactersEditorFilter.GetCharacterRect(Character character, Int32 scale, RoomEditorState state)
   at AGS.Editor.CharactersEditorFilter.Paint(Graphics graphics, RoomEditorState state)
   at AGS.Editor.RoomSettingsEditor.bufferedPanel1_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)

All is well, though, with my project and nothing has been lost.;-D

Yours.
Jay.
Title: Re: AGS Error Report.
Post by: Crimson Wizard on Fri 12/09/2014 08:32:25
I did not know you can change character's ID. Is this a Draconian edition feature?
Title: Re: AGS Error Report.
Post by: RetroJay on Fri 12/09/2014 18:18:51
Hi Crimson Wizard.

No Sorry, I got that wrong.:-[

What I meant was that I was working with a character and entered a view number for it that didn't exist. (I Should stop scripting when I get too tired.);)
You see, I wanted my character to play an animation and thought 'I will just do this and call it a night'.
AGS told me that it was an invalid number and then threw a fit.

Sorry for the confusion.

Yours.
Jay.
Title: Re: AGS Error Report.
Post by: Crimson Wizard on Fri 12/09/2014 19:33:11
Oh, I see.

It appears we have this crash fixed in AGS 3.3.1 WIP version.

Not completely sure why you couldn't send crash report. I vaguely recall fixing report address in 3.3.0 (because server address changed). Perhaps 3.2.1 version (and Draconian one) were refering to old one.
Title: Re: AGS Error Report.
Post by: RetroJay on Fri 12/09/2014 20:58:53
Hi Crimson Wizard.

That's good to hear.
Would it be worth me using AGS 3.3.1 WIP version, at the moment or wait a while?

Regarding the 'send error report' It sounds as if you could be right, especially if the server address changed in 3.3.0.
When I tried to send the crash report it said something along the lines of:

'Couldn't connect to server, it maybe busy.
Copy the error report and post it in the Advanced Technical Forums.'

So I thought I would, just in case it helped people who are developing AGS 5.1. (laugh)

Yours.
Jay.
Title: Re: AGS Error Report.
Post by: Crimson Wizard on Fri 12/09/2014 21:06:49
Quote from: RetroJay on Fri 12/09/2014 20:58:53
Would it be worth me using AGS 3.3.1 WIP version, at the moment or wait a while?
I don't know, this depends on whether you want to use new features: http://www.adventuregamestudio.co.uk/forums/index.php?topic=50162.0
Gurok is releasing updates periodically. I think it is relatively safe to use; but still not tested enough, in my opinion.
Title: Re: AGS Error Report.
Post by: RetroJay on Fri 12/09/2014 21:17:22
Thanks for the information, Crimson Wizard.

It all looks and sounds good...but...
I think I will hang on until it is officially released.

Yours.
Jay.