Adventure Game Studio

AGS Support => Advanced Technical Forum => Topic started by: on Mon 16/02/2004 22:45:55

Title: Book of Spells Error
Post by: on Mon 16/02/2004 22:45:55
I had a quick question about Book of Spells.  I'm getting an error message in the cave with the treasure box.  The game quits and says:

    An error has occured.  Please contact the game author for support,  
    as this problem is caused by the game rather than the interpreter.
    (ACI version 2.56.627)

    (Room 15 script line 59)
    Error: Calculate_Route: invalid colours in walkable area mask.

Anyway, emailed Spyros and he said it might be my graphics card...Any ideas?

Cat
Title: Re:Book of Spells Error
Post by: a-v-o on Mon 16/02/2004 23:04:32
it could be that he imported the walkable area from a file that he made with a graphic programm which had anti alias on or was using semitransparent masks. Then there can be colors with numbers over 15 (mixed or shaded colors) which aren't allowed.

It isn't visible in the editor that the shade e.g. is a little bit different, but it's a wrong color number and so pathfinder has a problem.

Title: Re:Book of Spells Error
Post by: Spyros on Tue 17/02/2004 18:59:34
I don't think I used masks for that walkable area so maybe that's not the problem. (BOS 4 is out for 2+ years and noone has reported such thing.)

koko_99_2001 I sent you a patch room without the script line 59.
Check if it works.