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 06-20-2006, 07:27 PM
DrakilorP2P DrakilorP2P is offline
Registered User
DrakilorP2P's Avatar
Join Date: Apr 2006
Posts: 755
DrakilorP2P is just really niceDrakilorP2P is just really nice
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.
Reply With Quote
  #2  
Old 06-20-2006, 10:36 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
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.
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 03:52 PM.


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