forked from ronancpl/HeavenMS
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Neo City + Revamped EllinPQ + New Release
Fixed Neo City area, now playable. Overhauled the EllinPQ mechanics, such as the "CLEAR" effect when passing maps, and some bug fixes along the way. Refactored a lot of out-of-place classes and properly renamed a few others through the project. Updated readme and licenses through the source, preparing the stage for the new release.
- Loading branch information
Showing
163 changed files
with
15,584 additions
and
13,420 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
@echo off | ||
@title MapleSolaxia | ||
@title HeavenMS | ||
set CLASSPATH=.;dist\* | ||
java -Xmx2048m -Dwzpath=wz\ net.server.Server | ||
pause |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
build.xml.data.CRC32=b88ac406 | ||
build.xml.script.CRC32=52a9651a | ||
build.xml.data.CRC32=92113194 | ||
build.xml.script.CRC32=ff13faf5 | ||
build.xml.stylesheet.CRC32=[email protected] | ||
# This file is used by a NetBeans-based IDE to track changes in generated files such as build-impl.xml. | ||
# Do not edit this file. You may delete it but then the IDE will never regenerate such files for you. | ||
nbproject/build-impl.xml.data.CRC32=b88ac406 | ||
nbproject/build-impl.xml.script.CRC32=7fc24afd | ||
nbproject/build-impl.xml.data.CRC32=92113194 | ||
nbproject/build-impl.xml.script.CRC32=cef58264 | ||
nbproject/build-impl.xml.stylesheet.CRC32=[email protected] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,98 @@ | ||
var minPlayers = 1; | ||
var timeLimit = 15; //15 minutes | ||
var eventTimer = 1000 * 60 * timeLimit; | ||
var exitMap = 240070000; | ||
var eventMap = 240070010; | ||
|
||
function init(){} | ||
|
||
function setup(difficulty, lobbyId){ | ||
var eim = em.newInstance("Nex_" + lobbyId); | ||
eim.setIntProperty("nex", lobbyId); | ||
|
||
eim.getInstanceMap(eventMap + 10 * lobbyId).resetFully(); | ||
eim.getInstanceMap(eventMap + 10 * lobbyId).allowSummonState(false); | ||
respawn(eim); | ||
eim.startEventTimer(eventTimer); | ||
return eim; | ||
} | ||
|
||
function afterSetup(eim){} | ||
|
||
function respawn(eim){} | ||
|
||
function playerEntry(eim, player){ | ||
var cave = eim.getMapInstance(eventMap + 10 * eim.getIntProperty("nex")); | ||
player.changeMap(cave); | ||
} | ||
|
||
function scheduledTimeout(eim){ | ||
var party = eim.getPlayers(); | ||
|
||
for(var i = 0; i < party.size(); i++) | ||
playerExit(eim, party.get(i)); | ||
|
||
eim.dispose(); | ||
} | ||
|
||
function playerRevive(eim, player){ | ||
player.setHp(50); | ||
player.setStance(0); | ||
eim.unregisterPlayer(player); | ||
player.changeMap(exitMap); | ||
return false; | ||
} | ||
|
||
function playerDead(eim, player){} | ||
|
||
function playerDisconnected(eim, player){ | ||
var party = eim.getPlayers(); | ||
|
||
for(var i = 0; i < party.size(); i++){ | ||
if(party.get(i).equals(player)) | ||
removePlayer(eim, player); | ||
else | ||
playerExit(eim, party.get(i)); | ||
} | ||
eim.dispose(); | ||
} | ||
|
||
function monsterValue(eim, mobId){ | ||
return -1; | ||
} | ||
|
||
function leftParty(eim, player){} | ||
|
||
function disbandParty(eim){} | ||
|
||
function playerUnregistered(eim, player){} | ||
|
||
function playerExit(eim, player){ | ||
eim.unregisterPlayer(player); | ||
player.changeMap(exitMap); | ||
} | ||
|
||
function changedMap(eim, player, mapId){ | ||
if(mapId != (eventMap + 10 * eim.getIntProperty("nex"))){ | ||
removePlayer(eim, player); | ||
eim.stopEventTimer(); | ||
eim.setEventCleared(); | ||
eim.dispose(); | ||
} | ||
} | ||
|
||
function removePlayer(eim, player){ | ||
eim.unregisterPlayer(player); | ||
player.getMap().removePlayer(player); | ||
player.setMap(exitMap); | ||
} | ||
|
||
function cancelSchedule(){} | ||
|
||
function dispose(){} | ||
|
||
function clearPQ(eim){} | ||
|
||
function monsterKilled(mob, eim){} | ||
|
||
function allMonstersDead(eim){} |
Oops, something went wrong.