Missing Pirate questlines + Find & MoveLife update + Party-Map patch

Implemented missing scripts for Aerial Strike, Hypnotize and Time Leap skill questlines.
Fixed an deadlock issue within player's inventory and status.
Fixed skill spam detection disconnecting players when legitimatelly spamming Flash Jump or Heal.
Fixed party members map location not being properly updated after changing maps.
Rehauled MoveLife handler. Improved packet read of attack and skill elements, properly reflecting incoming actions to other player on the map.
Reviewed an issue with equipments MaxHP/MaxMP getting unsynced with player's MaxHP/MaxMP, resulting in differences within server-client view of a player's pool.
Fixed mobs not being spawned by dojo bosses after enough spawn actions were instanced.
Implemented proper Mob.wz linked mob data support.
Fixed /find not identifying a player's channel properly.
Fixed Echo of Hero not affecting other player in the map.
Fixed commands warp and goto not taking player off events/expeditions properly.
Fixed storage expansion not being registered on DB when buying the cash item.
Fixed party leadership being reassigned after changing channels.
Implemented suggested level range limit between party members on the EXP share system. Players whose level range from the attacker exceeds the estipulated threshold will not receive any EXP from the action.

Happy Thanksgiving Day everyone!!!
This commit is contained in:
ronancpl
2018-11-22 16:16:21 -02:00
parent 5ee0cd1c98
commit 0910dc2428
163 changed files with 4618 additions and 3186 deletions

View File

@@ -23,28 +23,34 @@
/* @author RonanLana */
function enter(pi) {
var em = pi.getEventManager("PapulatusBattle");
if (!((pi.isQuestStarted(6361) && pi.haveItem(4031870, 1)) || (pi.isQuestCompleted(6361) && !pi.isQuestCompleted(6363)))) {
var em = pi.getEventManager("PapulatusBattle");
if (pi.getParty() == null) {
pi.playerMessage(5, "You are currently not in a party, create one to attempt the boss.");
return false;
} else if(!pi.isLeader()) {
pi.playerMessage(5, "Your party leader must enter the portal to start the battle.");
return false;
} else {
var eli = em.getEligibleParty(pi.getParty());
if(eli.size() > 0) {
if(!em.startInstance(pi.getParty(), pi.getPlayer().getMap(), 1)) {
pi.playerMessage(5, "The battle against the boss has already begun, so you may not enter this place yet.");
if (pi.getParty() == null) {
pi.playerMessage(5, "You are currently not in a party, create one to attempt the boss.");
return false;
} else if(!pi.isLeader()) {
pi.playerMessage(5, "Your party leader must enter the portal to start the battle.");
return false;
} else {
var eli = em.getEligibleParty(pi.getParty());
if(eli.size() > 0) {
if(!em.startInstance(pi.getParty(), pi.getPlayer().getMap(), 1)) {
pi.playerMessage(5, "The battle against the boss has already begun, so you may not enter this place yet.");
return false;
}
}
else { //this should never appear
pi.playerMessage(5, "You cannot start this battle yet, because either your party is not in the range size, some of your party members are not eligible to attempt it or they are not in this map. If you're having trouble finding party members, try Party Search.");
return false;
}
}
else { //this should never appear
pi.playerMessage(5, "You cannot start this battle yet, because either your party is not in the range size, some of your party members are not eligible to attempt it or they are not in this map. If you're having trouble finding party members, try Party Search.");
return false;
}
pi.playPortalSound();
return true;
}
} else {
pi.playPortalSound();
pi.warp(922020300);
return true;
}
}
}

View File

@@ -20,7 +20,7 @@
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
/*
By kevintjuh93
@author kevintjuh93
*/
function enter(pi) {
pi.blockPortal();

View File

@@ -20,7 +20,7 @@
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
/*
By kevintjuh93
@author kevintjuh93
*/
function enter(pi) {
pi.blockPortal();

View File

@@ -20,7 +20,7 @@
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
/*
By kevintjuh93
@author kevintjuh93
*/
function enter(pi) {
pi.blockPortal();

View File

@@ -20,7 +20,7 @@
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
/*
By kevintjuh93
@author kevintjuh93
*/
function enter(pi) {
pi.blockPortal();

View File

@@ -20,7 +20,7 @@
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
/*
By kevintjuh93
@author kevintjuh93
*/
function enter(pi) {
pi.blockPortal();

View File

@@ -20,7 +20,7 @@
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
/*
By kevintjuh93
@author kevintjuh93
*/
function enter(pi) {
pi.blockPortal();

View File

@@ -20,7 +20,7 @@
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
/*
By kevintjuh93
@author kevintjuh93
*/
function enter(pi) {
pi.blockPortal();

View File

@@ -20,7 +20,7 @@
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
/*
By kevintjuh93
@author kevintjuh93
*/
function enter(pi) {
pi.blockPortal();

View File

@@ -20,7 +20,7 @@
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
/*
By kevintjuh93
@author kevintjuh93
*/
function enter(pi) {
pi.blockPortal();

View File

@@ -20,7 +20,7 @@
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
/*
By kevintjuh93
@author kevintjuh93
*/
function enter(pi) {
pi.blockPortal();

View File

@@ -20,7 +20,7 @@
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
/*
By kevintjuh93
@author kevintjuh93
*/
function enter(pi) {
pi.blockPortal();

View File

@@ -20,7 +20,7 @@
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
/*
By kevintjuh93
@author kevintjuh93
*/
function enter(pi) {
pi.blockPortal();

View File

@@ -16,7 +16,7 @@
You should have received a copy of the GNU Affero General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
Edited by: Kevin
Credits to: Kevin
*/
function enter(pi) {
if(pi.isQuestStarted(20718)){

View File

@@ -20,7 +20,7 @@
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
/*
By kevintjuh93
@author kevintjuh93
*/
function enter(pi) {
pi.showInstruction("Once you leave this area you won't be able to return.", 150, 5);

View File

@@ -20,7 +20,7 @@
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
/*
By kevintjuh93
@author kevintjuh93
*/
function enter(pi) {
if (pi.isQuestStarted(1031))

View File

@@ -20,7 +20,7 @@
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
/*
By kevintjuh93
@author kevintjuh93
*/
function enter(pi) {
if (pi.isQuestStarted(1035))

View File

@@ -20,7 +20,7 @@
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
/*
By kevintjuh93
@author kevintjuh93
*/
function enter(pi) {
if (pi.isQuestCompleted(1008))

View File

@@ -20,7 +20,7 @@
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
/*
By kevintjuh93
@author kevintjuh93
*/
function enter(pi) {
if (pi.isQuestCompleted(1035))

View File

@@ -0,0 +1,33 @@
/*
This file is part of the HeavenMS MapleStory Server
Copyleft (L) 2016 - 2018 RonanLana
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as
published by the Free Software Foundation version 3 as published by
the Free Software Foundation. You may not use, modify or distribute
this program under any other version of the GNU Affero General Public
License.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Affero General Public License for more details.
You should have received a copy of the GNU Affero General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
function enter(pi) {
if (!pi.getEventInstance().isEventCleared()) {
pi.message("You have to clear this mission before entering this portal.");
return false;
} else {
if (pi.isQuestStarted(6410)) {
pi.setQuestProgress(6410, 0, 1);
}
pi.playPortalSound();
pi.warp(925010400);
return true;
}
}

View File

@@ -23,9 +23,11 @@ function enter(pi) {
pi.message("You have to wait one minute before you can leave this place.");
return false;
} else if (exit == 2) {
pi.playPortalSound();
pi.warp(912010200);
return true;
} else {
pi.playPortalSound();
pi.warp(120000101);
return true;
}

View File

@@ -23,9 +23,11 @@ function enter(pi) {
pi.message("You have to wait one minute before you can leave this place.");
return false;
} else if (exit == 2) {
pi.playPortalSound();
pi.warp(912010200);
return true;
} else {
pi.playPortalSound();
pi.warp(120000101);
return true;
}