Illegal exception trying to save/test project (SOLVED)

Started by , Tue 10/01/2006 20:13:33

Previous topic - Next topic

Vale

The project was made with AGS 2.70 and I have imported it in AGS 2.71.
When I try to save or test the game an illegal exception occurs:

Exception: 0x00000000
EIP: 0x00000
AGSEDIT v2.71.631
SIP: 26

The saving dialog is blocked on Compiling general function,
(general function is my general function module)

Thanks for your help

Pumaman

Hmm, could you upload the module so that I can try it out and see if I can replicate the problem?

Vale

Where could I send the module, on forum or at another address?
The module is small only 14kb, or 4kb .rar

Sorry for the question but I'm a beginner in this forum

Thank you for your help

strazer

You can upload it for us to download or send it to CJ via e-mail: ags@jibblers.plus.com (Please attach a link to this forum topic).

Pumaman

The error is caused by this line in your VerboDefault function:

if (val==oldverbodef) return();

There should not be brackets after "return" -- it should just be:

if (val==oldverbodef) return;

I'll update AGS to recognise this situation and provide a proper error rather than crashing, so thanks for bringing this up.

ZakMcKracken

Vale,

when you programmed in C/C++, you never put brackets after a return :-)
It's a common rule!
You ashamed!  ;D

(me and Vale are friends, this is not a flame)

Thank you AGS crew!

Vale

Thanks Ags Team
now I porting the project in AGS 2.71 without problem
:-)

Only for Zack: Ma va.... :-)

SMF spam blocked by CleanTalk