Compare commits
2 commits
master
...
akkadius/d
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
63e6ecda11 | ||
|
|
3693a0d245 |
3 changed files with 1 additions and 31 deletions
|
|
@ -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
|
||||
# }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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 {
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue