source
Source for my MapleSolaxiaV2 (v83 MapleStory).
This commit is contained in:
48
scripts/map/onFirstUserEnter/dojang_Eff.js
Normal file
48
scripts/map/onFirstUserEnter/dojang_Eff.js
Normal file
@@ -0,0 +1,48 @@
|
||||
/*
|
||||
This file is part of the OdinMS Maple Story Server
|
||||
Copyright (C) 2008 Patrick Huy <patrick.huy@frz.cc>
|
||||
Matthias Butz <matze@odinms.de>
|
||||
Jan Christian Meyer <vimes@odinms.de>
|
||||
|
||||
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/>.
|
||||
*/
|
||||
/*
|
||||
*@Author: Moogra, Traitor
|
||||
*@Map(s): All Dojo fighting maps
|
||||
*@Function: Spawns dojo monsters and handles time
|
||||
*/
|
||||
|
||||
|
||||
function start(ms) {
|
||||
ms.getPlayer().resetEnteredScript();
|
||||
var stage = (ms.getPlayer().getMap().getId() / 100) % 100;
|
||||
if (stage % 6 == 1)
|
||||
ms.getPlayer().setDojoStart();
|
||||
if (ms.getPlayer().getMap().getCharacters().size() == 1)
|
||||
ms.getPlayer().showDojoClock();
|
||||
if (stage % 6 > 0) {
|
||||
var realstage = stage - ((stage / 6) | 0);
|
||||
ms.dojoEnergy();
|
||||
var mob = ms.getMonsterLifeFactory(9300183 + realstage);
|
||||
if (mob != null && ms.getPlayer().getMap().getMonsterById(9300183 + realstage) == null && ms.getPlayer().getMap().getMonsterById(9300216) == null) {
|
||||
mob.setBoss(false);
|
||||
ms.getPlayer().getMap().spawnDojoMonster(mob);
|
||||
ms.playSound("Dojang/start");
|
||||
ms.showEffect("dojang/start/stage");
|
||||
ms.showEffect("dojang/start/number/" + realstage);
|
||||
}
|
||||
}
|
||||
}
|
||||
12
scripts/map/onFirstUserEnter/killing_MapSetting.js
Normal file
12
scripts/map/onFirstUserEnter/killing_MapSetting.js
Normal file
@@ -0,0 +1,12 @@
|
||||
//importPackage(Packages.tools);
|
||||
|
||||
function start(ms) {
|
||||
//var pq = ms.getPyramid();
|
||||
//ms.getPlayer().resetEnteredScript();
|
||||
//ms.getClient().getSession().write(MaplePacketCreator.getClock(pq.timer()));
|
||||
}
|
||||
/*
|
||||
killing/first/stage
|
||||
killing/first/number/
|
||||
killing/first/start
|
||||
*/
|
||||
5
scripts/map/onFirstUserEnter/spaceGaGa_sMap.js
Normal file
5
scripts/map/onFirstUserEnter/spaceGaGa_sMap.js
Normal file
@@ -0,0 +1,5 @@
|
||||
function start(ms) {
|
||||
ms.getPlayer().resetEnteredScript();
|
||||
ms.getPlayer().getMap().addMapTimer(180);
|
||||
ms.spawnMonster(9300331, -28, 0);
|
||||
}
|
||||
41
scripts/map/onFirstUserEnter/spaceGaGa_start.js
Normal file
41
scripts/map/onFirstUserEnter/spaceGaGa_start.js
Normal file
@@ -0,0 +1,41 @@
|
||||
/*
|
||||
This file is part of the OdinMS Maple Story Server
|
||||
Copyright (C) 2008 Patrick Huy <patrick.huy@frz.cc>
|
||||
Matthias Butz <matze@odinms.de>
|
||||
Jan Christian Meyer <vimes@odinms.de>
|
||||
|
||||
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/>.
|
||||
*/
|
||||
/*
|
||||
*@Author: kevintjuh93
|
||||
*/
|
||||
|
||||
importPackage(Packages.tools);
|
||||
var player;
|
||||
|
||||
function start(ms) {
|
||||
player = ms.getPlayer();
|
||||
player.resetEnteredScript();
|
||||
ms.getClient().getSession().write(MaplePacketCreator.showEffect("event/space/start"));
|
||||
player.startMapEffect("Please rescue Gaga within the time limit.", 5120027);
|
||||
var map = player.getMap();
|
||||
if (map.getTimeLeft() > 0) {
|
||||
ms.getClient().getSession().write(MaplePacketCreator.getClock(map.getTimeLeft()));
|
||||
} else {
|
||||
map.addMapTimer(180);
|
||||
}
|
||||
ms.useItem(2360002);//HOORAY <3
|
||||
}
|
||||
23
scripts/map/onUserEnter/108010101.js
Normal file
23
scripts/map/onUserEnter/108010101.js
Normal file
@@ -0,0 +1,23 @@
|
||||
importPackage(Packages.server.life);
|
||||
|
||||
function start(ms) {
|
||||
if(ms.getMapId() == 108010101) { // Archer
|
||||
spawnMob(188, 20, 9001002, ms.getPlayer().getMap());
|
||||
} else if(ms.getMapId() == 108010301) { // Warrior
|
||||
spawnMob(188, 20, 9001000, ms.getPlayer().getMap());
|
||||
} else if(ms.getMapId() == 108010201) { // Mage
|
||||
spawnMob(188, 20, 9001001, ms.getPlayer().getMap());
|
||||
} else if(ms.getMapId() == 108010401) { // Thief
|
||||
spawnMob(188, 20, 9001003, ms.getPlayer().getMap());
|
||||
} else if(ms.getMapId() == 108010501) { // Pirate
|
||||
spawnMob(188, 20, 9001008, ms.getPlayer().getMap());
|
||||
}
|
||||
}
|
||||
|
||||
function spawnMob(x, y, id, map) {
|
||||
if(map.getMonsterById(id) != null)
|
||||
return;
|
||||
|
||||
var mob = MapleLifeFactory.getMonster(id);
|
||||
map.spawnMonsterOnGroudBelow(mob, new java.awt.Point(x, y));
|
||||
}
|
||||
23
scripts/map/onUserEnter/108010201.js
Normal file
23
scripts/map/onUserEnter/108010201.js
Normal file
@@ -0,0 +1,23 @@
|
||||
importPackage(Packages.server.life);
|
||||
|
||||
function start(ms) {
|
||||
if(ms.getMapId() == 108010101) { // Archer
|
||||
spawnMob(188, 20, 9001002, ms.getPlayer().getMap());
|
||||
} else if(ms.getMapId() == 108010301) { // Warrior
|
||||
spawnMob(188, 20, 9001000, ms.getPlayer().getMap());
|
||||
} else if(ms.getMapId() == 108010201) { // Mage
|
||||
spawnMob(188, 20, 9001001, ms.getPlayer().getMap());
|
||||
} else if(ms.getMapId() == 108010401) { // Thief
|
||||
spawnMob(188, 20, 9001003, ms.getPlayer().getMap());
|
||||
} else if(ms.getMapId() == 108010501) { // Pirate
|
||||
spawnMob(188, 20, 9001008, ms.getPlayer().getMap());
|
||||
}
|
||||
}
|
||||
|
||||
function spawnMob(x, y, id, map) {
|
||||
if(map.getMonsterById(id) != null)
|
||||
return;
|
||||
|
||||
var mob = MapleLifeFactory.getMonster(id);
|
||||
map.spawnMonsterOnGroudBelow(mob, new java.awt.Point(x, y));
|
||||
}
|
||||
23
scripts/map/onUserEnter/108010301.js
Normal file
23
scripts/map/onUserEnter/108010301.js
Normal file
@@ -0,0 +1,23 @@
|
||||
importPackage(Packages.server.life);
|
||||
|
||||
function start(ms) {
|
||||
if(ms.getMapId() == 108010101) { // Archer
|
||||
spawnMob(188, 20, 9001002, ms.getPlayer().getMap());
|
||||
} else if(ms.getMapId() == 108010301) { // Warrior
|
||||
spawnMob(188, 20, 9001000, ms.getPlayer().getMap());
|
||||
} else if(ms.getMapId() == 108010201) { // Mage
|
||||
spawnMob(188, 20, 9001001, ms.getPlayer().getMap());
|
||||
} else if(ms.getMapId() == 108010401) { // Thief
|
||||
spawnMob(188, 20, 9001003, ms.getPlayer().getMap());
|
||||
} else if(ms.getMapId() == 108010501) { // Pirate
|
||||
spawnMob(188, 20, 9001008, ms.getPlayer().getMap());
|
||||
}
|
||||
}
|
||||
|
||||
function spawnMob(x, y, id, map) {
|
||||
if(map.getMonsterById(id) != null)
|
||||
return;
|
||||
|
||||
var mob = MapleLifeFactory.getMonster(id);
|
||||
map.spawnMonsterOnGroudBelow(mob, new java.awt.Point(x, y));
|
||||
}
|
||||
23
scripts/map/onUserEnter/108010401.js
Normal file
23
scripts/map/onUserEnter/108010401.js
Normal file
@@ -0,0 +1,23 @@
|
||||
importPackage(Packages.server.life);
|
||||
|
||||
function start(ms) {
|
||||
if(ms.getMapId() == 108010101) { // Archer
|
||||
spawnMob(188, 20, 9001002, ms.getPlayer().getMap());
|
||||
} else if(ms.getMapId() == 108010301) { // Warrior
|
||||
spawnMob(188, 20, 9001000, ms.getPlayer().getMap());
|
||||
} else if(ms.getMapId() == 108010201) { // Mage
|
||||
spawnMob(188, 20, 9001001, ms.getPlayer().getMap());
|
||||
} else if(ms.getMapId() == 108010401) { // Thief
|
||||
spawnMob(188, 20, 9001003, ms.getPlayer().getMap());
|
||||
} else if(ms.getMapId() == 108010501) { // Pirate
|
||||
spawnMob(188, 20, 9001008, ms.getPlayer().getMap());
|
||||
}
|
||||
}
|
||||
|
||||
function spawnMob(x, y, id, map) {
|
||||
if(map.getMonsterById(id) != null)
|
||||
return;
|
||||
|
||||
var mob = MapleLifeFactory.getMonster(id);
|
||||
map.spawnMonsterOnGroudBelow(mob, new java.awt.Point(x, y));
|
||||
}
|
||||
23
scripts/map/onUserEnter/108010501.js
Normal file
23
scripts/map/onUserEnter/108010501.js
Normal file
@@ -0,0 +1,23 @@
|
||||
importPackage(Packages.server.life);
|
||||
|
||||
function start(ms) {
|
||||
if(ms.getMapId() == 108010101) { // Archer
|
||||
spawnMob(188, 20, 9001002, ms.getPlayer().getMap());
|
||||
} else if(ms.getMapId() == 108010301) { // Warrior
|
||||
spawnMob(188, 20, 9001000, ms.getPlayer().getMap());
|
||||
} else if(ms.getMapId() == 108010201) { // Mage
|
||||
spawnMob(188, 20, 9001001, ms.getPlayer().getMap());
|
||||
} else if(ms.getMapId() == 108010401) { // Thief
|
||||
spawnMob(188, 20, 9001003, ms.getPlayer().getMap());
|
||||
} else if(ms.getMapId() == 108010501) { // Pirate
|
||||
spawnMob(188, 20, 9001008, ms.getPlayer().getMap());
|
||||
}
|
||||
}
|
||||
|
||||
function spawnMob(x, y, id, map) {
|
||||
if(map.getMonsterById(id) != null)
|
||||
return;
|
||||
|
||||
var mob = MapleLifeFactory.getMonster(id);
|
||||
map.spawnMonsterOnGroudBelow(mob, new java.awt.Point(x, y));
|
||||
}
|
||||
25
scripts/map/onUserEnter/130030000.js
Normal file
25
scripts/map/onUserEnter/130030000.js
Normal file
@@ -0,0 +1,25 @@
|
||||
/*
|
||||
This file is part of the OdinMS Maple Story Server
|
||||
Copyright (C) 2008 Patrick Huy <patrick.huy@frz.cc>
|
||||
Matthias Butz <matze@odinms.de>
|
||||
Jan Christian Meyer <vimes@odinms.de>
|
||||
|
||||
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(ms) {
|
||||
ms.getPlayer().updateQuestInfo(20010, "1");
|
||||
}
|
||||
25
scripts/map/onUserEnter/130030001.js
Normal file
25
scripts/map/onUserEnter/130030001.js
Normal file
@@ -0,0 +1,25 @@
|
||||
/*
|
||||
This file is part of the OdinMS Maple Story Server
|
||||
Copyright (C) 2008 Patrick Huy <patrick.huy@frz.cc>
|
||||
Matthias Butz <matze@odinms.de>
|
||||
Jan Christian Meyer <vimes@odinms.de>
|
||||
|
||||
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(ms) {
|
||||
ms.getPlayer().updateQuestInfo(20010, "1");
|
||||
}
|
||||
13
scripts/map/onUserEnter/677000009.js
Normal file
13
scripts/map/onUserEnter/677000009.js
Normal file
@@ -0,0 +1,13 @@
|
||||
importPackage(Packages.server.life);
|
||||
|
||||
function start(ms) {
|
||||
spawnMob(251, -841, 9400613, ms.getPlayer().getMap());
|
||||
}
|
||||
|
||||
function spawnMob(x, y, id, map) {
|
||||
if(map.getMonsterById(id) != null)
|
||||
return;
|
||||
|
||||
var mob = MapleLifeFactory.getMonster(id);
|
||||
map.spawnMonsterOnGroudBelow(mob, new java.awt.Point(x, y));
|
||||
}
|
||||
25
scripts/map/onUserEnter/914000100.js
Normal file
25
scripts/map/onUserEnter/914000100.js
Normal file
@@ -0,0 +1,25 @@
|
||||
/*
|
||||
This file is part of the OdinMS Maple Story Server
|
||||
Copyright (C) 2008 Patrick Huy <patrick.huy@frz.cc>
|
||||
Matthias Butz <matze@odinms.de>
|
||||
Jan Christian Meyer <vimes@odinms.de>
|
||||
|
||||
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(ms) {
|
||||
ms.getPlayer().updateQuestInfo(21000, "1");
|
||||
}
|
||||
7
scripts/map/onUserEnter/922000000.js
Normal file
7
scripts/map/onUserEnter/922000000.js
Normal file
@@ -0,0 +1,7 @@
|
||||
function start(pi) {
|
||||
var map = pi.getClient().getChannelServer().getMapFactory().getMap(922000000);
|
||||
map.resetReactors();
|
||||
map.shuffleReactors();
|
||||
|
||||
return(true);
|
||||
}
|
||||
6
scripts/map/onUserEnter/Massacre_result.js
Normal file
6
scripts/map/onUserEnter/Massacre_result.js
Normal file
@@ -0,0 +1,6 @@
|
||||
function start(ms) {
|
||||
var py = ms.getPyramid();
|
||||
if (py != null) {
|
||||
py.sendScore(ms.getPlayer());
|
||||
}
|
||||
}
|
||||
26
scripts/map/onUserEnter/PromiseDragon.js
Normal file
26
scripts/map/onUserEnter/PromiseDragon.js
Normal file
@@ -0,0 +1,26 @@
|
||||
/*
|
||||
This file is part of the OdinMS Maple Story Server
|
||||
Copyright (C) 2008 Patrick Huy <patrick.huy@frz.cc>
|
||||
Matthias Butz <matze@odinms.de>
|
||||
Jan Christian Meyer <vimes@odinms.de>
|
||||
|
||||
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(ms) {
|
||||
ms.lockUI();
|
||||
ms.showIntro("Effect/Direction4.img/PromiseDragon/Scene" + ms.getPlayer().getGender());
|
||||
}
|
||||
3
scripts/map/onUserEnter/Resi_tutor10.js
Normal file
3
scripts/map/onUserEnter/Resi_tutor10.js
Normal file
@@ -0,0 +1,3 @@
|
||||
function start(ms) {
|
||||
ms.setStandAloneMode(true);
|
||||
}
|
||||
3
scripts/map/onUserEnter/Resi_tutor20.js
Normal file
3
scripts/map/onUserEnter/Resi_tutor20.js
Normal file
@@ -0,0 +1,3 @@
|
||||
function start(ms) {
|
||||
ms.mapEffect("resistance/tutorialGuide");
|
||||
}
|
||||
4
scripts/map/onUserEnter/Resi_tutor30.js
Normal file
4
scripts/map/onUserEnter/Resi_tutor30.js
Normal file
@@ -0,0 +1,4 @@
|
||||
function start(ms) {
|
||||
ms.updateAreaInfo(23007, "exp1=1;exp2=1;exp3=1;exp4=1");//force
|
||||
ms.showInfo("Effect/OnUserEff.img/guideEffect/resistanceTutorial/userTalk");
|
||||
}
|
||||
3
scripts/map/onUserEnter/Resi_tutor40.js
Normal file
3
scripts/map/onUserEnter/Resi_tutor40.js
Normal file
@@ -0,0 +1,3 @@
|
||||
function start(ms) {
|
||||
ms.openNpc(2159012);
|
||||
}
|
||||
4
scripts/map/onUserEnter/Resi_tutor50.js
Normal file
4
scripts/map/onUserEnter/Resi_tutor50.js
Normal file
@@ -0,0 +1,4 @@
|
||||
function start(ms) {
|
||||
ms.setDirectionMode(false);
|
||||
ms.openNpc(2159006);
|
||||
}
|
||||
3
scripts/map/onUserEnter/Resi_tutor60.js
Normal file
3
scripts/map/onUserEnter/Resi_tutor60.js
Normal file
@@ -0,0 +1,3 @@
|
||||
function start(ms) {
|
||||
ms.openNpc(2159007);
|
||||
}
|
||||
4
scripts/map/onUserEnter/Resi_tutor70.js
Normal file
4
scripts/map/onUserEnter/Resi_tutor70.js
Normal file
@@ -0,0 +1,4 @@
|
||||
function start(ms) {
|
||||
ms.setDirectionMode(true);
|
||||
ms.showIntro("Effect/Direction4.img/Resistance/TalkJ");
|
||||
}
|
||||
3
scripts/map/onUserEnter/Resi_tutor80.js
Normal file
3
scripts/map/onUserEnter/Resi_tutor80.js
Normal file
@@ -0,0 +1,3 @@
|
||||
function start(ms) {
|
||||
ms.setDirectionMode(false);
|
||||
}
|
||||
25
scripts/map/onUserEnter/aranDirection.js
Normal file
25
scripts/map/onUserEnter/aranDirection.js
Normal file
@@ -0,0 +1,25 @@
|
||||
/*
|
||||
This file is part of the OdinMS Maple Story Server
|
||||
Copyright (C) 2008 Patrick Huy <patrick.huy@frz.cc>
|
||||
Matthias Butz <matze@odinms.de>
|
||||
Jan Christian Meyer <vimes@odinms.de>
|
||||
|
||||
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(ms) {
|
||||
ms.displayAranIntro();
|
||||
}
|
||||
26
scripts/map/onUserEnter/babyPigMap.js
Normal file
26
scripts/map/onUserEnter/babyPigMap.js
Normal file
@@ -0,0 +1,26 @@
|
||||
/*
|
||||
This file is part of the OdinMS Maple Story Server
|
||||
Copyright (C) 2008 Patrick Huy <patrick.huy@frz.cc>
|
||||
Matthias Butz <matze@odinms.de>
|
||||
Jan Christian Meyer <vimes@odinms.de>
|
||||
|
||||
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(ms) {
|
||||
ms.unlockUI();
|
||||
ms.forceStartQuest(22015);
|
||||
}
|
||||
6
scripts/map/onUserEnter/cannon_tuto_01.js
Normal file
6
scripts/map/onUserEnter/cannon_tuto_01.js
Normal file
@@ -0,0 +1,6 @@
|
||||
function start(ms) {
|
||||
ms.setDirection(0);
|
||||
ms.setDirectionStatus(true);
|
||||
ms.lockUI2();
|
||||
ms.startDirection("cannon_tuto_02");
|
||||
}
|
||||
5
scripts/map/onUserEnter/cannon_tuto_direction.js
Normal file
5
scripts/map/onUserEnter/cannon_tuto_direction.js
Normal file
@@ -0,0 +1,5 @@
|
||||
function start(ms) {
|
||||
ms.setDirectionStatus(true);
|
||||
ms.showIntro("Effect/Direction4.img/cannonshooter/Scene00");
|
||||
ms.showIntro("Effect/Direction4.img/cannonshooter/out00");
|
||||
}
|
||||
6
scripts/map/onUserEnter/cannon_tuto_direction1.js
Normal file
6
scripts/map/onUserEnter/cannon_tuto_direction1.js
Normal file
@@ -0,0 +1,6 @@
|
||||
function start(ms) {
|
||||
ms.playSound("cannonshooter/flying");
|
||||
ms.sendDirectionInfo("Effect/Direction4.img/effect/cannonshooter/balloon/0", 9000, 0, 0, 0, -1);
|
||||
ms.sendDirectionInfo(1, 1500);
|
||||
ms.setDirectionStatus(true);
|
||||
}
|
||||
6
scripts/map/onUserEnter/cannon_tuto_direction2.js
Normal file
6
scripts/map/onUserEnter/cannon_tuto_direction2.js
Normal file
@@ -0,0 +1,6 @@
|
||||
function start(ms) {
|
||||
ms.playSound("cannonshooter/bang");
|
||||
ms.setDirectionStatus(true);
|
||||
ms.showIntro("Effect/Direction4.img/cannonshooter/Scene01");
|
||||
ms.showIntro("Effect/Direction4.img/cannonshooter/out02");
|
||||
}
|
||||
4
scripts/map/onUserEnter/crash_Dragon.js
Normal file
4
scripts/map/onUserEnter/crash_Dragon.js
Normal file
@@ -0,0 +1,4 @@
|
||||
function start(ms) {
|
||||
ms.lockUI();
|
||||
ms.showIntro("Effect/Direction4.img/crash/Scene" + ms.getPlayer().getGender());
|
||||
}
|
||||
27
scripts/map/onUserEnter/dojang_1st.js
Normal file
27
scripts/map/onUserEnter/dojang_1st.js
Normal file
@@ -0,0 +1,27 @@
|
||||
/*
|
||||
This file is part of the OdinMS Maple Story Server
|
||||
Copyright (C) 2008 Patrick Huy <patrick.huy@frz.cc>
|
||||
Matthias Butz <matze@odinms.de>
|
||||
Jan Christian Meyer <vimes@odinms.de>
|
||||
|
||||
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/>.
|
||||
*/
|
||||
/*
|
||||
* @author Traitor
|
||||
*/
|
||||
function start(ms) {
|
||||
|
||||
}
|
||||
36
scripts/map/onUserEnter/dojang_Msg.js
Normal file
36
scripts/map/onUserEnter/dojang_Msg.js
Normal file
@@ -0,0 +1,36 @@
|
||||
/*
|
||||
This file is part of the OdinMS Maple Story Server
|
||||
Copyright (C) 2008 Patrick Huy <patrick.huy@frz.cc>
|
||||
Matthias Butz <matze@odinms.de>
|
||||
Jan Christian Meyer <vimes@odinms.de>
|
||||
|
||||
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/>.
|
||||
*/
|
||||
/*
|
||||
Author: Traitor
|
||||
Map(s): Mu Lung Dojo Entrance
|
||||
Desc: Sends the entrance message or the taunt message from that dojo guy
|
||||
*/
|
||||
var messages = Array("Your courage for challenging the Mu Lung Dojo is commendable!", "If you want to taste the bitterness of defeat, come on in!", "I will make you thoroughly regret challenging the Mu Lung Dojo! Hurry up!");
|
||||
|
||||
function start(ms) {
|
||||
if (ms.getPlayer().getMap().getId() == 925020000) {
|
||||
ms.getPlayer().startMapEffect(messages[(Math.random() * messages.length) | 0], 5120024);
|
||||
} else {
|
||||
ms.getPlayer().resetEnteredScript(); //in case the person dcs in here we set it at dojang_tuto portal
|
||||
ms.getPlayer().startMapEffect("Ha! Let's see what you got! I won't let you leave unless you defeat me first!", 5120024);
|
||||
}
|
||||
}
|
||||
25
scripts/map/onUserEnter/evanleaveD.js
Normal file
25
scripts/map/onUserEnter/evanleaveD.js
Normal file
@@ -0,0 +1,25 @@
|
||||
/*
|
||||
This file is part of the OdinMS Maple Story Server
|
||||
Copyright (C) 2008 Patrick Huy <patrick.huy@frz.cc>
|
||||
Matthias Butz <matze@odinms.de>
|
||||
Jan Christian Meyer <vimes@odinms.de>
|
||||
|
||||
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(ms) {
|
||||
ms.unlockUI();
|
||||
}
|
||||
48
scripts/map/onUserEnter/explorationPoint.js
Normal file
48
scripts/map/onUserEnter/explorationPoint.js
Normal file
@@ -0,0 +1,48 @@
|
||||
/*
|
||||
This file is part of the OdinMS Maple Story Server
|
||||
Copyright (C) 2008 Patrick Huy <patrick.huy@frz.cc>
|
||||
Matthias Butz <matze@odinms.de>
|
||||
Jan Christian Meyer <vimes@odinms.de>
|
||||
|
||||
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/>.
|
||||
*/
|
||||
|
||||
/*
|
||||
* Author: kevintjuh93
|
||||
*
|
||||
*/
|
||||
function start(ms) {
|
||||
if (ms.getPlayer().getMapId() == 110000000 || (ms.getPlayer().getMapId() >= 100000000 && ms.getPlayer().getMapId() < 105040300)) {
|
||||
ms.explorerQuest(29005, "Beginner Explorer");//Beginner Explorer
|
||||
} else if (ms.getPlayer().getMapId() >= 105040300 && ms.getPlayer().getMapId() <= 105090900) {
|
||||
ms.explorerQuest(29014, "Sleepywood Explorer");//Sleepywood Explorer
|
||||
} else if (ms.getPlayer().getMapId() >= 200000000 && ms.getPlayer().getMapId() <= 211041800) {
|
||||
ms.explorerQuest(29006, "El Nath Mts. Explorer");//El Nath Mts. Explorer
|
||||
} else if (ms.getPlayer().getMapId() >= 220000000 && ms.getPlayer().getMapId() <= 222010400) {
|
||||
ms.explorerQuest(29007, "Ludus Lake Explorer");//Ludus Lake Explorer
|
||||
} else if (ms.getPlayer().getMapId() >= 230000000 && ms.getPlayer().getMapId() <= 230040401) {
|
||||
ms.explorerQuest(29008, "Undersea Explorer");//Undersea Explorer
|
||||
} else if (ms.getPlayer().getMapId() >= 250000000 && ms.getPlayer().getMapId() <= 251010500) {
|
||||
ms.explorerQuest(29009, "Mu Lung Explorer");//Mu Lung Explorer
|
||||
} else if (ms.getPlayer().getMapId() >= 260000000 && ms.getPlayer().getMapId() <= 261030000) {
|
||||
ms.explorerQuest(29010, "Nihal Desert Explorer");//Nihal Desert Explorer
|
||||
} else if (ms.getPlayer().getMapId() >= 240000000 && ms.getPlayer().getMapId() <= 240050000) {
|
||||
ms.explorerQuest(29011, "Minar Forest Explorer");//Minar Forest Explorer
|
||||
}
|
||||
if (ms.getPlayer().getMapId() == 104000000) {
|
||||
ms.mapEffect("maplemap/enter/104000000");
|
||||
}
|
||||
}
|
||||
4
scripts/map/onUserEnter/getDragonEgg.js
Normal file
4
scripts/map/onUserEnter/getDragonEgg.js
Normal file
@@ -0,0 +1,4 @@
|
||||
function start(ms) {
|
||||
ms.lockUI();
|
||||
ms.showIntro("Effect/Direction4.img/getDragonEgg/Scene" + ms.getPlayer().getGender());
|
||||
}
|
||||
26
scripts/map/onUserEnter/go10000.js
Normal file
26
scripts/map/onUserEnter/go10000.js
Normal file
@@ -0,0 +1,26 @@
|
||||
/*
|
||||
This file is part of the OdinMS Maple Story Server
|
||||
Copyright (C) 2008 Patrick Huy <patrick.huy@frz.cc>
|
||||
Matthias Butz <matze@odinms.de>
|
||||
Jan Christian Meyer <vimes@odinms.de>
|
||||
|
||||
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(ms) {
|
||||
ms.unlockUI();
|
||||
ms.mapEffect("maplemap/enter/10000");
|
||||
}
|
||||
25
scripts/map/onUserEnter/go1000000.js
Normal file
25
scripts/map/onUserEnter/go1000000.js
Normal file
@@ -0,0 +1,25 @@
|
||||
/*
|
||||
This file is part of the OdinMS Maple Story Server
|
||||
Copyright (C) 2008 Patrick Huy <patrick.huy@frz.cc>
|
||||
Matthias Butz <matze@odinms.de>
|
||||
Jan Christian Meyer <vimes@odinms.de>
|
||||
|
||||
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(ms) {
|
||||
ms.mapEffect("maplemap/enter/1000000");
|
||||
}
|
||||
25
scripts/map/onUserEnter/go1010000.js
Normal file
25
scripts/map/onUserEnter/go1010000.js
Normal file
@@ -0,0 +1,25 @@
|
||||
/*
|
||||
This file is part of the OdinMS Maple Story Server
|
||||
Copyright (C) 2008 Patrick Huy <patrick.huy@frz.cc>
|
||||
Matthias Butz <matze@odinms.de>
|
||||
Jan Christian Meyer <vimes@odinms.de>
|
||||
|
||||
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(ms) {
|
||||
ms.mapEffect("maplemap/enter/1010000");
|
||||
}
|
||||
25
scripts/map/onUserEnter/go1010100.js
Normal file
25
scripts/map/onUserEnter/go1010100.js
Normal file
@@ -0,0 +1,25 @@
|
||||
/*
|
||||
This file is part of the OdinMS Maple Story Server
|
||||
Copyright (C) 2008 Patrick Huy <patrick.huy@frz.cc>
|
||||
Matthias Butz <matze@odinms.de>
|
||||
Jan Christian Meyer <vimes@odinms.de>
|
||||
|
||||
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(ms) {
|
||||
ms.mapEffect("maplemap/enter/1010100");
|
||||
}
|
||||
25
scripts/map/onUserEnter/go1010200.js
Normal file
25
scripts/map/onUserEnter/go1010200.js
Normal file
@@ -0,0 +1,25 @@
|
||||
/*
|
||||
This file is part of the OdinMS Maple Story Server
|
||||
Copyright (C) 2008 Patrick Huy <patrick.huy@frz.cc>
|
||||
Matthias Butz <matze@odinms.de>
|
||||
Jan Christian Meyer <vimes@odinms.de>
|
||||
|
||||
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(ms) {
|
||||
ms.mapEffect("maplemap/enter/1010200");
|
||||
}
|
||||
25
scripts/map/onUserEnter/go1010300.js
Normal file
25
scripts/map/onUserEnter/go1010300.js
Normal file
@@ -0,0 +1,25 @@
|
||||
/*
|
||||
This file is part of the OdinMS Maple Story Server
|
||||
Copyright (C) 2008 Patrick Huy <patrick.huy@frz.cc>
|
||||
Matthias Butz <matze@odinms.de>
|
||||
Jan Christian Meyer <vimes@odinms.de>
|
||||
|
||||
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(ms) {
|
||||
ms.mapEffect("maplemap/enter/1010300");
|
||||
}
|
||||
4
scripts/map/onUserEnter/go1020000.js
Normal file
4
scripts/map/onUserEnter/go1020000.js
Normal file
@@ -0,0 +1,4 @@
|
||||
function start(ms) {
|
||||
ms.unlockUI();
|
||||
ms.mapEffect("maplemap/enter/1020000");
|
||||
}
|
||||
26
scripts/map/onUserEnter/go20000.js
Normal file
26
scripts/map/onUserEnter/go20000.js
Normal file
@@ -0,0 +1,26 @@
|
||||
/*
|
||||
This file is part of the OdinMS Maple Story Server
|
||||
Copyright (C) 2008 Patrick Huy <patrick.huy@frz.cc>
|
||||
Matthias Butz <matze@odinms.de>
|
||||
Jan Christian Meyer <vimes@odinms.de>
|
||||
|
||||
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(ms) {
|
||||
ms.unlockUI();
|
||||
ms.mapEffect("maplemap/enter/20000");
|
||||
}
|
||||
25
scripts/map/onUserEnter/go30000.js
Normal file
25
scripts/map/onUserEnter/go30000.js
Normal file
@@ -0,0 +1,25 @@
|
||||
/*
|
||||
This file is part of the OdinMS Maple Story Server
|
||||
Copyright (C) 2008 Patrick Huy <patrick.huy@frz.cc>
|
||||
Matthias Butz <matze@odinms.de>
|
||||
Jan Christian Meyer <vimes@odinms.de>
|
||||
|
||||
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(ms) {
|
||||
ms.mapEffect("maplemap/enter/30000");
|
||||
}
|
||||
25
scripts/map/onUserEnter/go40000.js
Normal file
25
scripts/map/onUserEnter/go40000.js
Normal file
@@ -0,0 +1,25 @@
|
||||
/*
|
||||
This file is part of the OdinMS Maple Story Server
|
||||
Copyright (C) 2008 Patrick Huy <patrick.huy@frz.cc>
|
||||
Matthias Butz <matze@odinms.de>
|
||||
Jan Christian Meyer <vimes@odinms.de>
|
||||
|
||||
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(ms) {
|
||||
ms.mapEffect("maplemap/enter/40000");
|
||||
}
|
||||
25
scripts/map/onUserEnter/go50000.js
Normal file
25
scripts/map/onUserEnter/go50000.js
Normal file
@@ -0,0 +1,25 @@
|
||||
/*
|
||||
This file is part of the OdinMS Maple Story Server
|
||||
Copyright (C) 2008 Patrick Huy <patrick.huy@frz.cc>
|
||||
Matthias Butz <matze@odinms.de>
|
||||
Jan Christian Meyer <vimes@odinms.de>
|
||||
|
||||
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(ms) {
|
||||
ms.mapEffect("maplemap/enter/50000");
|
||||
}
|
||||
25
scripts/map/onUserEnter/goAdventure.js
Normal file
25
scripts/map/onUserEnter/goAdventure.js
Normal file
@@ -0,0 +1,25 @@
|
||||
/*
|
||||
This file is part of the OdinMS Maple Story Server
|
||||
Copyright (C) 2008 Patrick Huy <patrick.huy@frz.cc>
|
||||
Matthias Butz <matze@odinms.de>
|
||||
Jan Christian Meyer <vimes@odinms.de>
|
||||
|
||||
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(ms) {
|
||||
ms.goAdventure();
|
||||
}
|
||||
25
scripts/map/onUserEnter/goArcher.js
Normal file
25
scripts/map/onUserEnter/goArcher.js
Normal file
@@ -0,0 +1,25 @@
|
||||
/*
|
||||
This file is part of the OdinMS Maple Story Server
|
||||
Copyright (C) 2008 Patrick Huy <patrick.huy@frz.cc>
|
||||
Matthias Butz <matze@odinms.de>
|
||||
Jan Christian Meyer <vimes@odinms.de>
|
||||
|
||||
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(ms) {
|
||||
ms.startExplorerExperience();
|
||||
}
|
||||
25
scripts/map/onUserEnter/goLith.js
Normal file
25
scripts/map/onUserEnter/goLith.js
Normal file
@@ -0,0 +1,25 @@
|
||||
/*
|
||||
This file is part of the OdinMS Maple Story Server
|
||||
Copyright (C) 2008 Patrick Huy <patrick.huy@frz.cc>
|
||||
Matthias Butz <matze@odinms.de>
|
||||
Jan Christian Meyer <vimes@odinms.de>
|
||||
|
||||
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(ms) {
|
||||
ms.goLith();
|
||||
}
|
||||
25
scripts/map/onUserEnter/goMagician.js
Normal file
25
scripts/map/onUserEnter/goMagician.js
Normal file
@@ -0,0 +1,25 @@
|
||||
/*
|
||||
This file is part of the OdinMS Maple Story Server
|
||||
Copyright (C) 2008 Patrick Huy <patrick.huy@frz.cc>
|
||||
Matthias Butz <matze@odinms.de>
|
||||
Jan Christian Meyer <vimes@odinms.de>
|
||||
|
||||
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(ms) {
|
||||
ms.startExplorerExperience();
|
||||
}
|
||||
25
scripts/map/onUserEnter/goPirate.js
Normal file
25
scripts/map/onUserEnter/goPirate.js
Normal file
@@ -0,0 +1,25 @@
|
||||
/*
|
||||
This file is part of the OdinMS Maple Story Server
|
||||
Copyright (C) 2008 Patrick Huy <patrick.huy@frz.cc>
|
||||
Matthias Butz <matze@odinms.de>
|
||||
Jan Christian Meyer <vimes@odinms.de>
|
||||
|
||||
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(ms) {
|
||||
ms.startExplorerExperience();
|
||||
}
|
||||
25
scripts/map/onUserEnter/goRogue.js
Normal file
25
scripts/map/onUserEnter/goRogue.js
Normal file
@@ -0,0 +1,25 @@
|
||||
/*
|
||||
This file is part of the OdinMS Maple Story Server
|
||||
Copyright (C) 2008 Patrick Huy <patrick.huy@frz.cc>
|
||||
Matthias Butz <matze@odinms.de>
|
||||
Jan Christian Meyer <vimes@odinms.de>
|
||||
|
||||
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(ms) {
|
||||
ms.startExplorerExperience();
|
||||
}
|
||||
25
scripts/map/onUserEnter/goSwordman.js
Normal file
25
scripts/map/onUserEnter/goSwordman.js
Normal file
@@ -0,0 +1,25 @@
|
||||
/*
|
||||
This file is part of the OdinMS Maple Story Server
|
||||
Copyright (C) 2008 Patrick Huy <patrick.huy@frz.cc>
|
||||
Matthias Butz <matze@odinms.de>
|
||||
Jan Christian Meyer <vimes@odinms.de>
|
||||
|
||||
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(ms) {
|
||||
ms.startExplorerExperience();
|
||||
}
|
||||
9
scripts/map/onUserEnter/iceCave.js
Normal file
9
scripts/map/onUserEnter/iceCave.js
Normal file
@@ -0,0 +1,9 @@
|
||||
function start(ms) {
|
||||
ms.teachSkill(20000014, -1, 0, -1);
|
||||
ms.teachSkill(20000015, -1, 0, -1);
|
||||
ms.teachSkill(20000016, -1, 0, -1);
|
||||
ms.teachSkill(20000017, -1, 0, -1);
|
||||
ms.teachSkill(20000018, -1, 0, -1);
|
||||
ms.unlockUI();
|
||||
ms.showIntro("Effect/Direction1.img/aranTutorial/ClickLilin");
|
||||
}
|
||||
26
scripts/map/onUserEnter/meetWithDragon.js
Normal file
26
scripts/map/onUserEnter/meetWithDragon.js
Normal file
@@ -0,0 +1,26 @@
|
||||
/*
|
||||
This file is part of the OdinMS Maple Story Server
|
||||
Copyright (C) 2008 Patrick Huy <patrick.huy@frz.cc>
|
||||
Matthias Butz <matze@odinms.de>
|
||||
Jan Christian Meyer <vimes@odinms.de>
|
||||
|
||||
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(ms) {
|
||||
ms.lockUI();
|
||||
ms.showIntro("Effect/Direction4.img/meetWithDragon/Scene" + ms.getPlayer().getGender());
|
||||
}
|
||||
6
scripts/map/onUserEnter/rien.js
Normal file
6
scripts/map/onUserEnter/rien.js
Normal file
@@ -0,0 +1,6 @@
|
||||
function start(ms) {
|
||||
if (ms.isQuestCompleted(21101) && ms.containsAreaInfo(21019, "miss=o;arr=o;helper=clear")) {
|
||||
ms.updateAreaInfo(21019, "miss=o;arr=o;ck=1;helper=clear");
|
||||
}
|
||||
ms.unlockUI();
|
||||
}
|
||||
6
scripts/map/onUserEnter/rienArrow.js
Normal file
6
scripts/map/onUserEnter/rienArrow.js
Normal file
@@ -0,0 +1,6 @@
|
||||
function start(ms) {
|
||||
if (ms.containsAreaInfo(21019, "miss=o;helper=clear")) {
|
||||
ms.updateAreaInfo(21019, "miss=o;arr=o;helper=clear");
|
||||
ms.showInfo("Effect/OnUserEff.img/guideEffect/aranTutorial/tutorialArrow3");
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user