My Graal is crashing all the time??

First it crashes when i add new NPCs to levels and try to play them (i can save then play them once it had crashed or closed).
Now its crashing in game when im trying to destroy an NPC that i placed (via .txt file) in another level to follow you to the level where it is destroyed… it comes up an error ( Access violation at address 00401f53 in module ‘Graal.exe’. Read of address 00000001. )
also another error comes up (Excepiton EAccessViolation in module Graal.exe at 00001f5c. Access violation at address 00401f5c in module ‘Graal.exe’. Write of address 00000006.) and (Access violation at address 00507897 in module ‘Graal.exe’. Read of address 00000008.) and (Runtime error 216 at 00002fbc.) all when i close Graal.

Anyone know what to do??

script in the .txt file is…

if (created) {
  showcharacter;
  setcharprop #3,head1.png;
  setcharprop #C0,orange;
  setcharprop #C1,red;
  setcharprop #C2,darkred;
  setcharprop #C3,red;
  setcharprop #C4,pink;
  setcharprop #2,no-shield.png;
  shieldpower = 1;
  dir = 2;
  setcharprop #n,Pete;
  followplayer;
  set tunnelnetwork;
}

if (playertouchsme&&networkleader){
  message Please take me home;
  sleep=2;
  message;
  followplayer;
}
if(playerenters){
  timeout=0.5;
}

if(timeout){
  if (networkq){
    say2 Thanks.;
    unset networkq;
    destroy;
  }
  timeout=0.5;
}

if (timeout && this.mode==0) { // WALKING
  setcharani walk,;
  newx = x + vecx(dir)*this.speed;
  newy = y + vecy(dir)*this.speed;
  this.runcounter--;
}

script place is just the putnpc, and to destroy is

if (playerenters&&petefollow){
    set networkq;
}

Well.
Could be the client you’re using.
But regardless: followplayer; Does not work in online mode.

And if the client is trying to run that in online mode. Then we need to add a trimmer for that to delete that command.