Compare commits

...
Sign in to create a new pull request.

2 commits

Author SHA1 Message Date
Chris Miles
63e6ecda11 Update player.pl 2023-08-06 03:36:45 -05:00
Chris Miles
3693a0d245 Dragons of Norrath Release changes 2023-08-06 03:30:06 -05:00
3 changed files with 1 additions and 31 deletions

View file

@ -79,16 +79,3 @@ sub EVENT_POPUPRESPONSE {
#quest::movepc(480,-23,-619,36);
}
}
sub EVENT_CLICKDOOR
{
# This will move RoF clients to their instance, the rest are handled in the DB
if (($client->GetClientVersionBit() & 4294967264) != 0) {
if ($doorid == 2 || $doorid == 5) {
# Do we really need the check here?
# if ($client->CalculateDistance(-3.4, -162.9, 6.9) <= 30) {
quest::MovePCInstance(344, 5, 0, 588, 1.75, 260); # Zone: guildlobby
# }
}
}
}

View file

@ -19,18 +19,6 @@ sub EVENT_ENTERZONE {
#if I am idle for more than xx seconds, auto-afk and go invisible/don't draw model
quest::settimer("afk_check", 1200); #20 minutes
if(($client->GetClientVersionBit() & 4294967264)!= 0) {
if($client->GetInstanceID() != 5) {
quest::settimer(1,10);
$client->Message(0,"Invalid Zone(344:0): You will be redirected to the proper instance in 10 seconds.");
}
} else {
if($client->GetInstanceID() == 5) {
quest::settimer(2,10);
$client->Message(0,"Invalid Zone(344:5): You will be redirected to the proper zone in 10 seconds.");
}
}
}
sub EVENT_SIGNAL {

View file

@ -14,12 +14,7 @@ sub EVENT_CLICKDOOR {
if ($doorid == 138) #guild lobby
{
if ($client->CalculateDistance(1408, -377, -113) <= 30) {
if (($client->GetClientVersionBit() & 4294967264) != 0) {
quest::MovePCInstance(344, 5, 18, -46, 6, 450); # Zone: guildlobby
}
else {
quest::movepc(344, 18, -46, 6, 492); # Zone: guildlobby
}
quest::movepc(344, 18, -46, 6, 492);
}
}
if ($doorid == 139) #bazaar