Graal Forums  

Go Back   Graal Forums > Development Forums > Tech Support
FAQ Members List Calendar Today's Posts

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 02-04-2006, 11:01 PM
Skyld Skyld is offline
Script-fu
Skyld's Avatar
Join Date: Jan 2002
Location: United Kingdom
Posts: 3,914
Skyld has much to be proud ofSkyld has much to be proud ofSkyld has much to be proud ofSkyld has much to be proud ofSkyld has much to be proud ofSkyld has much to be proud of
Send a message via AIM to Skyld
destroy() and showani()

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.
Attached Files
File Type: gani skyld_test.gani (219 Bytes, 109 views)
__________________
Skyld
Reply With Quote
  #2  
Old 02-05-2006, 12:22 PM
Snakeandy7 Snakeandy7 is offline
"Member ID=2610"
Snakeandy7's Avatar
Join Date: Mar 2003
Posts: 987
Snakeandy7 is on a distinguished road
Quite weird, did anyone find a solution?
__________________
"Freedom is best I tell thee
of all things to be won
then never live within the bond
of slavery my son".


Reply With Quote
  #3  
Old 02-06-2006, 06:02 PM
Admins Admins is offline
Graal Administration
Join Date: Jan 2000
Location: Admins
Posts: 11,693
Admins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud of
Ok added protection against using destroy in gani scripts, so it will be fixed with the next Graal version.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 12:26 AM.


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