Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   Tech Support (https://forums.graalonline.com/forums/forumdisplay.php?f=7)
-   -   setAni() in gani: Access violation (https://forums.graalonline.com/forums/showthread.php?t=66782)

DrakilorP2P 06-20-2006 07:27 PM

setAni() in gani: Access violation
 
I noticed that you get an access violation in GraalEngine.dll when you immediately changes the player's animation in the gani's script.
NPC Code:
SCRIPT

function onCreated()
{
// Code here, as long as it doesn't sleep()
// Putting a sleep() here removes the violation

// There might be less obvious code of course
setAni("idle", "");
}

SCRIPTEND


There was 3 others on the server (100% of the testing population) who experienced this too when the gani was played, wich means it is probably not a client error.

Admins 06-20-2006 10:36 PM

Hmmm doing setani inside the gani script is probably deleting itself, so it should crash. Will try to fix that, since it could be interesting to use that setani-call for a dynamic-setbackto replacement or similar.


All times are GMT +2. The time now is 02:42 PM.

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