Reworked Singapore/Malaysia + warp fix

Reworked many aspects of the Malaysia/Singapore region (added DB data,
enabled Latanica & Scarga expedition, fixed maps). Fixed some issues
related with player warping.
This commit is contained in:
ronancpl
2017-07-14 20:40:06 -03:00
parent 7f80f45553
commit 8fab2a6e3e
120 changed files with 17684 additions and 16759 deletions

View File

@@ -146,13 +146,13 @@ function action(mode, type, selection) {
cm.dispose();
return;
} else {
for (var i = 1 ; i < 39; i++) { //only 32 stages, but 38 maps
if(cm.getClient().getChannelServer().getMapFactory().getMap(925020000 + 100 * i).getCharacters().size() > 0) {
cm.sendOk("Someone is already in the Dojo.");
cm.dispose();
return;
}
}
for (var i = 1 ; i < 39; i++) { //only 32 stages, but 38 maps
if(cm.getClient().getChannelServer().getMapFactory().getMap(925020000 + 100 * i).getCharacters().size() > 0) {
cm.sendOk("Someone is already in the Dojo.");
cm.dispose();
return;
}
}
cm.getClient().getChannelServer().getMapFactory().getMap(925020100).resetReactors();
cm.getClient().getChannelServer().getMapFactory().getMap(925020100).killAllMonsters();
cm.warpParty(925020100);