Dynamic World/Channel deployment + Channel scheduler update

Added "8-slot SETUP expand" item on the CashShop.
Solved a concurrency issue on the fameGainByQuest method.
Refactored many resource freeing modules throughout the source code.
Implemented dynamic deployment of worlds and channels on the server system. Only creation of channels and worlds are available on this feature.
Added a dedicated worker for schedules requested on EventManager.
Fixed a potential cause for deadlocks on the channel schedulers' system.
Refactored many schedules used by the EventManager and Channel, futher improving overall scheduling performance on the server.
This commit is contained in:
ronancpl
2018-07-23 20:45:41 -03:00
parent bee8b5259b
commit 8aadf7c369
48 changed files with 1152 additions and 260 deletions

View File

@@ -164,8 +164,7 @@ function allMonstersDead(eim) {
eim.setProperty("canWarp","true");
}
function cancelSchedule() {
}
function cancelSchedule() {}
function timeOut() {
var iter = em.getInstances().iterator();

View File

@@ -130,8 +130,7 @@ function monsterKilled(mob, eim) {}
function allMonstersDead(eim) {}
function cancelSchedule() {
}
function cancelSchedule() {}
function timeOut() {
var iter = em.getInstances().iterator();

View File

@@ -51,5 +51,4 @@ function arrived() {
scheduleNew();
}
function cancelSchedule() {
}
function cancelSchedule() {}

View File

@@ -107,5 +107,4 @@ function invasion() {
map2.spawnMonsterOnGroundBelow(MapleLifeFactory.getMonster(8150000), pos2);
}
function cancelSchedule() {
}
function cancelSchedule() {}

View File

@@ -108,5 +108,4 @@ function arrived() {
scheduleNew();
}
function cancelSchedule() {
}
function cancelSchedule() {}

View File

@@ -83,6 +83,4 @@ function isDownNow() {
goUp();
}
function cancelSchedule() {
}
function cancelSchedule() {}

View File

@@ -85,5 +85,4 @@ function arrived() {
scheduleNew();
}
function cancelSchedule() {
}
function cancelSchedule() {}

View File

@@ -57,5 +57,4 @@ function arrived() {
NLC_docked.broadcastMessage(MaplePacketCreator.playSound("subway/whistle"));
}
function cancelSchedule() {
}
function cancelSchedule() {}

View File

@@ -66,5 +66,4 @@ function arrived() {
scheduleNew();
}
function cancelSchedule() {
}
function cancelSchedule() {}

View File

@@ -147,6 +147,7 @@ function writeFeatureTab_Playerpotentials() {
function writeFeatureTab_Serverpotentials() {
addFeature("Multi-worlds.");
addFeature("Dynamic World/Channel deployment.");
addFeature("Inventory auto-gather and auto-sorting feature.");
addFeature("Enhanced auto-pot system: smart pet potion handle.");
addFeature("Enhanced buff system: best buffs effects takes place.");

View File

@@ -51,6 +51,10 @@ function writeHeavenMSCommandsLv6() { //Admin
addCommand("dcall", "");
addCommand("mapplayers", "");
addCommand("getacc", "");
addCommand("addchannel", "");
addCommand("addworld", "");
//addCommand("removechannel", "");
//addCommand("removeworld", "");
addCommand("shutdown", "");
addCommand("shutdownnow", "");
addCommand("clearquestcache", "");