Aran skill & mount quests + New player IDs + MapleSkillMakerFetcher
Aran skill and mount questlines fixed. Player ID starts counting from 20mil now, preventing clashes with map objects oid's (trying to solve the NPC disappearing issue). New tool: MapleSkillMakerFetcher. It compiles a SQL script file containing updated Maker data info from the inputted ItemMake.wz.xml. Updated Maker tables on the DB.
This commit is contained in:
@@ -29,6 +29,7 @@ function action(mode, type, selection) {
|
||||
if(cm.getClient().getChannelServer().getMapFactory().getMap(925020010).getCharacters().size() > 0) {
|
||||
cm.sendOk("Someone is already challenging the Master. Try again later.");
|
||||
} else {
|
||||
cm.getWarpMap(910510202).spawnMonsterOnGroundBelow(Packages.server.life.MapleLifeFactory.getMonster(9300346), new java.awt.Point(95, 200));
|
||||
cm.warp(910510202, 0);
|
||||
}
|
||||
|
||||
|
||||
23
scripts/npc/11000.js
Normal file
23
scripts/npc/11000.js
Normal file
@@ -0,0 +1,23 @@
|
||||
/*
|
||||
This file is part of the MapleSolaxiaV2 Maple Story Server
|
||||
|
||||
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 start() {
|
||||
Packages.server.MapleShopFactory.getInstance().getShop(11000).sendShop(cm.getClient());
|
||||
cm.dispose();
|
||||
}
|
||||
@@ -6,6 +6,11 @@ function start() {
|
||||
}
|
||||
|
||||
function action(mode, type, selection) {
|
||||
cm.sendOk("Up ahead is the #rMirror Cave#k. Only the chosen ones have permission to access that place.");
|
||||
if(cm.getPlayer().getItemQuantity(1902016, true) > 0) {
|
||||
cm.warp(140010210, 0);
|
||||
} else {
|
||||
cm.sendOk("What is it? If you you're here to waste my time, get lost!");
|
||||
}
|
||||
|
||||
cm.dispose();
|
||||
}
|
||||
44
scripts/npc/2091009.js
Normal file
44
scripts/npc/2091009.js
Normal file
@@ -0,0 +1,44 @@
|
||||
var status;
|
||||
|
||||
function start(){
|
||||
status = -1;
|
||||
action(1, 0, 0);
|
||||
}
|
||||
|
||||
function action(mode, type, selection){
|
||||
if(mode == -1 || (mode == 0 && status == 0)){
|
||||
cm.dispose();
|
||||
return;
|
||||
}
|
||||
else if(mode == 0)
|
||||
status--;
|
||||
else
|
||||
status++;
|
||||
|
||||
|
||||
|
||||
if(status == 0){
|
||||
cm.sendGetText("The entrance of the Sealed Shrine... #bPassword#k!");
|
||||
}
|
||||
else if(status == 1){
|
||||
if(cm.getWarpMap(925040100).countPlayers() > 0) {
|
||||
cm.sendOk("Someone is already attending the Sealed Shrine.");
|
||||
cm.dispose();
|
||||
return;
|
||||
}
|
||||
if(cm.getText() == "Actions speak louder than words"){
|
||||
if(cm.isQuestStarted(21747) && cm.getQuestProgress(21747, 9300351) == 0)
|
||||
cm.warp(925040100, 0);
|
||||
else
|
||||
cm.playerMessage(5, "Although you said the right answer, some mysterious forces is blocking the way in.");
|
||||
|
||||
cm.dispose();
|
||||
}
|
||||
else{
|
||||
cm.sendOk("#rWrong!");
|
||||
}
|
||||
}
|
||||
else if(status == 2){
|
||||
cm.dispose();
|
||||
}
|
||||
}
|
||||
@@ -24,6 +24,8 @@ function action(mode, type, selection){
|
||||
if(cm.getText() == "Francis is a genius Puppeteer!"){
|
||||
if(cm.isQuestStarted(20730) && cm.getQuestProgress(20730, 9300285) == 0)
|
||||
cm.warp(910510001, 1);
|
||||
else if(cm.isQuestStarted(21731) && cm.getQuestProgress(21731, 9300346) == 0)
|
||||
cm.warp(910510001, 1);
|
||||
else
|
||||
cm.playerMessage(5, "Although you said the right answer, some mysterious forces is blocking the way in.");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user