Arex
04-29-2007, 06:31 PM
I am running EQemu on my linux (ubuntu) machine. And after 1 week trying to know why zones was giving me the message "Segmentation Failure", i have discovered that the problem comes when i boot a zone with a quest that use EVENT_SPAWN. For example in soldungb, the zone fail if i hold the Naggy pl file that contains this code:
sub EVENT_SPAWN {
my $x = $npc->GetX();
my $y = $npc->GetY();
quest::set_proximity($x - 200, $x + 200, $y - 200, $y + 200);
}
If i delete that sub EVENT_SPAWN, all works ok, anybody know why i am getting this error, and how can i fix it?
Thank You!
sub EVENT_SPAWN {
my $x = $npc->GetX();
my $y = $npc->GetY();
quest::set_proximity($x - 200, $x + 200, $y - 200, $y + 200);
}
If i delete that sub EVENT_SPAWN, all works ok, anybody know why i am getting this error, and how can i fix it?
Thank You!