Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   Tech Support (https://forums.graalonline.com/forums/forumdisplay.php?f=7)
-   -   destroy() and showani() (https://forums.graalonline.com/forums/showthread.php?t=63919)

Skyld 02-04-2006 11:01 PM

destroy() and showani()
 
1 Attachment(s)
Using showani(), I have found that using destroy() in the GANI script causes an error.

Setting the player's GANI to this GANI does not cause any problems, however. It only seems to happen when using showani().

I get a dialog saying "Priveledged instruction", and then flooded with a number of access violations in GraalEngine.dll until I kill the Graal4.exe process.

Recreating the Error
Using:
PHP Code:

showani(15, player.x, player.y, 0, "skyld_test", ""); 

and the GANI containing:
PHP Code:

function onCreated()
{
  
destroy();
} 

Attached is the skyld_test GANI.

Using Windows XP SP2, latest version of Graal (4.0305), up-to-date graphics drivers.

Snakeandy7 02-05-2006 12:22 PM

Quite weird, did anyone find a solution?

Admins 02-06-2006 06:02 PM

Ok added protection against using destroy in gani scripts, so it will be fixed with the next Graal version.


All times are GMT +2. The time now is 10:56 PM.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.