View Single Post
  #1  
Old 05-13-2010, 10:25 PM
adam adam is offline
http://wiki.graal.us/
adam's Avatar
Join Date: Nov 2001
Posts: 2,247
adam has a spectacular aura about
Send a message via AIM to adam
clearemptyvars() crashes npc server.

PHP Code:
function onCreated() {
  
clearemptyvars(); // doesn't crash when used here
  
  
this.test.var = "testing";
  echo( 
this.test.getDynamicVarNames() );
  
  
this.test.var = "";
  echo( 
this.test.getDynamicVarNames() );
  
  
//clearemptyvars();    // crash's when i swap it to here
  
echo( this.test.getDynamicVarNames() );
  

I'm not exactly sure what's going on here. It seems to crash when used alongside echo() Which is silly.
__________________
Rogue Shadow (TCN)(NAT)(Global Development Team)

For development help, contact the patrons of the #graaldt irc channel below, I am usually there.
Click Here to Join IRC Chat Now! -- irc.freenode.net Channel: #graaldt
Quote:
<Dustyshouri> no, RogueShadow is always talking about scripts lol
<Dustyshouri> in fact, he pretty much brought Graal back as a topic single-handedly
Reply With Quote