View Full Version : Lord Nag/Lady Vox
Skizoke
10-13-2008, 05:25 PM
Did they remove the level requirement for engaging them? I remember any character over 52 that engaged got banished.
Is that something I can set on my server?
TIA.
So_1337
10-13-2008, 08:07 PM
If you're using PEQ's quests, it's already there. If you don't want it, just remove the quest files for them in the respective zone folders.
Skizoke
10-13-2008, 08:15 PM
Yeah, I am using PEQ database and quests. I engaged the other night with a party of 56+ and no one got banished.
And this is what the quests has for Naggy.
# Attempt to limit players level 53 And over from engaging nagafen And vox.
# Banished to Lavastorm.
sub EVENT_SPAWN {
my $x = $npc->GetX();
my $y = $npc->GetY();
quest::set_proximity($x - 350, $x + 350, $y - 350, $y + 350);
}
Skizoke
10-13-2008, 08:20 PM
Edit: But I don't see it checking for over level 52 anywhere other than in the remarks it is mentioned. I don't understand Perl, so that could be why I don't see it.
trevius
10-13-2008, 08:39 PM
Here is what my script is set to currently for Naggy:
# Attempt to limit players level 53 And over from engaging nagafen And vox.
# Banished to Lavastorm.
sub EVENT_SPAWN {
my $x = $npc->GetX();
my $y = $npc->GetY();
quest::set_proximity($x - 500, $x + 500, $y - 500, $y + 500);
}
sub EVENT_ENTER {
if (($ulevel >= 53) && ($status <= 79)) {
quest::echo("I will not fight you, but I will banish you!");
quest::movepc(27,-64,262,-93.96,0); }
}
sub EVENT_AGGRO {
quest::settimer("getloc",15); #mob will get position every 15 seconds if pulled away from spawn point
if (($ulevel >= 53) && ($status <= 79)) {
quest::echo("I will not fight you, but I will banish you!");
quest::movepc(27,-64,262,-93.96,0); }
}
sub EVENT_TIMER {
quest::clear_proximity();
my $x = $npc->GetX();
my $y = $npc->GetY();
quest::set_proximity($x - 500, $x + 500, $y - 500, $y + 500);
}
sub EVENT_DEATH {
quest::stoptimer("getloc");
quest::clear_proximity();
}
But, since proximities won't work if you are in the zone when the NPC spawns, I also have an invisible NPC that runs this script and is always up near Naggy/Vox:
# Banisher to Lavastorm.
sub EVENT_SPAWN {
my $x = $npc->GetX();
my $y = $npc->GetY();
quest::set_proximity($x - 500, $x + 500, $y - 500, $y + 500);
}
sub EVENT_ENTER {
if (($ulevel >= 53) && ($status <= 79)) {
quest::movepc(27,-64,262,-93.96,0); }
}
sub EVENT_DEATH {
quest::clear_proximity();
}
Skizoke
10-13-2008, 08:50 PM
Thanks again Trevius.
cavedude
10-13-2008, 08:58 PM
Skizoke: if that's what your file looks like then you aren't using a current version of our quests. Did you get them from CVS? You file should look exactly like the first one above (second isn't needed if your zone is static, though a good idea for those who run it dynamic.)
Skizoke
10-13-2008, 10:23 PM
Skizoke: if that's what your file looks like then you aren't using a current version of our quests. Did you get them from CVS? You file should look exactly like the first one above (second isn't needed if your zone is static, though a good idea for those who run it dynamic.)
I'm sorry, db is current up to 1129 but my quests is using your serverpack 4.0 quests with the 1129 upgrade. I may have upgraded something incorrectly.
vBulletin® v3.8.11, Copyright ©2000-2025, vBulletin Solutions Inc.