EQEmulator Forums

EQEmulator Forums (https://www.eqemulator.org/forums/index.php)
-   Support::Windows Servers (https://www.eqemulator.org/forums/forumdisplay.php?f=587)
-   -   Removing level caps for Nagafen (https://www.eqemulator.org/forums/showthread.php?t=42009)

kris1 07-31-2018 02:40 PM

Removing level caps for Nagafen
 
Anyone have any idea where to go to remove the level cap that boots you from the zone if you get on Naggy's hate list? Can't find anything anywhere.

dagulus2 07-31-2018 02:45 PM

It's two scripts in the SolB folder, one on Naggy himself and the other on the player.

kris1 07-31-2018 06:36 PM

Quote:

Originally Posted by dagulus2 (Post 259562)
It's two scripts in the SolB folder, one on Naggy himself and the other on the player.

Can those be changed in heidi? or do I need to learn perl for that?

kris1 07-31-2018 06:43 PM

I see...


-----------
sub EVENT_AGGRO {
# a 1 second leash timer.
quest::settimer(1,1);
}

sub EVENT_TIMER {
if ($timer == 1) {
if($x < -1000 || $x > -650 || $y < -1500 || $y > -1290) {
WIPE_AGGRO();
}
my @hate_list = $npc->GetHateList();
my $hate_count = @hate_list;
if ($hate_count > 0) {
foreach $ent (@hate_list) {
my $h_ent = $ent->GetEnt();
my $h_dmg = $ent->GetDamage();
my $h_hate = $ent->GetHate();
if ($h_ent->IsClient()) {
if ($h_ent->GetLevel() > 52) {
quest::ze(0,"I will not fight you, but I will banish you!");
$h_ent->CastToClient()->MovePC(27,-64,262,-93.96,0);
}
}
}
} else {
WIPE_AGGRO();
}
}
}

So, how much of this would I remove? This

"if ($h_ent->GetLevel() > 52) {
quest::ze(0,"I will not fight you, but I will banish you!");
$h_ent->CastToClient()->MovePC(27,-64,262,-93.96,0);"

kris1 07-31-2018 06:52 PM

Nevermind...I'm a little slow. lol. I don't know perl. So I don't know what I'm looking at. But I realized that they only exist for that purpose, and just removed them.

Thank you very much for your help


All times are GMT -4. The time now is 04:25 PM.

Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.