MoonlightStory
Welcome to MoonlightStory's Forum!

MoonlightStory is a v83 MapleStory Private server! It is a very fun and awesome server with tons of features!

Be sure to register and play MoonlightStory! If not, you will regret!

What are you waiitng for? Do it now!

Nick's suggestions.

View previous topic View next topic Go down

Nick's suggestions.

Post by Fruit on Tue Jun 28, 2011 3:34 am

We all love PQs right? And we also love our coders? My suggestion is that the coders would make a guild PQ or any PQ Very Happy
I got this idea from the server i made yesterday. I was looking at the files and saw there lots of PQs (; One of them was like ''QuildQuest'' and i think it should work here, maybe not ^.^ :

var exitMap;

importPackage(Packages.world);
importPackage(Packages.client);
importPackage(Packages.server.maps);
importPackage(java.lang);

function init() {
em.setProperty("shuffleReactors","false");
}

function monsterValue(eim, mobId) { //should only trigger on ergoth
if (mobId == 9300028) { //but, just to be safe...
var rubian = new Item(4001024, 0, 1);
var map = eim.getMapInstance(990000900);
var reactor = map.getReactorByName("boss");
map.spawnItemDrop(reactor, eim.getPlayers().get(0), rubian, reactor.getPosition(), true, false);
}
return -1;
}

function setup(eim) {
exitMap = em.getChannelServer().getMapFactory().getMap(990001100); //returning path

//no time limit yet until clock can be visible in all maps

//shuffle reactors in two maps for stage 3
eim.getMapInstance(990000501).shuffleReactors();
eim.getMapInstance(990000502).shuffleReactors();

//force no-respawn on certain map reactors
eim.getMapInstance(990000611).getReactorByName("").setDelay(-1);
eim.getMapInstance(990000620).getReactorByName("").setDelay(-1);
eim.getMapInstance(990000631).getReactorByName("").setDelay(-1);
eim.getMapInstance(990000641).getReactorByName("").setDelay(-1);

//activate three minutes after start
eim.setProperty("entryTimestamp",System.currentTimeMillis() + (3 * 60000));
eim.setProperty("canEnter","true");
eim.schedule("begin", 60000);
}

function begin(eim) {
eim.setProperty("canEnter","false");
eim.schedule("earringcheck", 15000);
var party = eim.getPlayers();
//if (party.size() < 6) { //not enough to start
// end(eim,"There are no longer enough players to continue, and those remaining shall be warped out.");
//} else {
var iter = party.iterator();
while (iter.hasNext()) {
iter.next().getClient().getSession().write(Packages.tools.MaplePacketCreator.serverNotice(6,"The quest has begun."));
}
//}
}

function playerEntry(eim, player) {
var map = eim.getMapInstance(990000000);
player.changeMap(map, map.getPortal(0));
player.getClient().getSession().write(Packages.tools.MaplePacketCreator.getClock((Long.parseLong(eim.getProperty("entryTimestamp")) - System.currentTimeMillis()) / 1000));

//TODO: hold time across map changes
http://player.getClient().getSession().write(Packages.tools.MaplePacketCreator.getClock(1800));
}

function playerRevive(eim, player) {
var returnMap = 990000200;
if (eim.getProperty("canEnter").equals("true")) {
returnMap = 990000000;
}
player.setHp(50);
player.setStance(0);
player.changeMap(eim.getMapInstance(returnMap), eim.getMapInstance(returnMap).getPortal(0));
return false;
}

function playerDead(eim, player) {
}

function playerDisconnected(eim, player) {
var party = eim.getPlayers();
if (player.getName().equals(eim.getProperty("leader"))) { //check for party leader
//boot all players and end
var iter = party.iterator();
while (iter.hasNext()) {
var pl = iter.next();
pl.getClient().getSession().write(Packages.tools.MaplePacketCreator.serverNotice(6,"The leader of the instance has disconnected, and the remaining players shall be warped out."));
if (pl.equals(player)) {
removePlayer(eim, pl);
}
else {
eim.unregisterPlayer(pl);
pl.changeMap(exitMap, exitMap.getPortal(0));
}
}
eim.dispose();
}
else { //boot d/ced player and check if enough players left
removePlayer(eim, player);
if (party.size() < 6) { //five after player booted
end(eim,"There are no longer enough players to continue, and those remaining shall be warped out.");
}
}
}

function leftParty(eim, player) { //ignore for GQ
}

function disbandParty(eim) { //ignore for GQ
}

function playerExit(eim, player) {
eim.unregisterPlayer(player);
player.changeMap(exitMap, exitMap.getPortal(0));
var party = eim.getPlayers();
if (party.size() < 6) { //five after player booted
end(eim,"There are no longer enough players to continue, and those remaining shall be warped out.");
}
}

function end(eim, msg) {
var iter = eim.getPlayers().iterator();
while (iter.hasNext()) {
var player = iter.next();
player.getClient().getSession().write(Packages.tools.MaplePacketCreator.serverNotice(6,msg));
eim.unregisterPlayer(player);
player.changeMap(exitMap, exitMap.getPortal(0));
}
eim.dispose();
}

//for offline players
function removePlayer(eim, player) {
eim.unregisterPlayer(player);
player.getMap().removePlayer(player);
player.setMap(exitMap);
}

function clearPQ(eim) {
var iter = eim.getPlayers().iterator();
var bonusMap = eim.getMapInstance(990001000);
while (iter.hasNext()) {
var player = iter.next();
player.changeMap(bonusMap, bonusMap.getPortal(0));
player.getClient().getSession().write(Packages.tools.MaplePacketCreator.getClock(40));
}
eim.schedule("finish", 40000)
}

function finish(eim) {
var iter = eim.getPlayers().iterator();
while (iter.hasNext()) {
var player = iter.next();
eim.unregisterPlayer(player);
player.changeMap(exitMap, exitMap.getPortal(0));
}
eim.dispose();
}

function allMonstersDead(eim) {
//do nothing; GQ has nothing to do with monster killing
}

function cancelSchedule() {
}

function timeOut() {

}

function earringcheck(eim, player) {
var iter = eim.getPlayers().iterator();
while (iter.hasNext()) {
var pl = iter.next();
if (pl.getHp() > 0 && pl.getMapId() > 990000200 && pl.getInventory(MapleInventoryType.EQUIPPED).countById(1032033) == 0) {
pl.addHP(-30000);
pl.getMap().broadcastMessage(Packages.tools.MaplePacketCreator.serverNotice(6,pl.getName() + " died from not wearing earrings!"));
}
}
eim.schedule("earringcheck", 15000);
}

function dispose() {

}

Secondly please do not add any limits to FM rooms because anyone with Heaven's hammer with 10 RBs can kill easily a Headless Horseman kinda fast
(The headless horsemans had so so so much extra HP but it was still fast)

Thirdly, Maybe the forum would look nicer with different theme Very Happy

Theese are my suggestions, i still will be adding more. (:
avatar
Fruit

Posts : 18
Join date : 2011-06-27
Age : 19
Location : Finland

View user profile

Back to top Go down

Re: Nick's suggestions.

Post by Maiya on Tue Jun 28, 2011 4:34 am

I like your first suggestion, PQ's are always fun.
I agree with your second suggestion too, sometimes if you're new it's hard to find people to train with if you have limits on FM rooms as well.
And I love the forum theme at the moment. <3
But maybe you could add details as to what forum theme you would like better.
avatar
Maiya

Posts : 272
Join date : 2011-06-27
Location : England

View user profile

Back to top Go down

Re: Nick's suggestions.

Post by Twiggy on Tue Jun 28, 2011 5:30 am

1= Gooooood

2= Good idea because it was a bit challenging to get to 30 rbs by myself, because fm 6 was the best place and i always needed people to help and stuff

3= noo, theme is amahzing
avatar
Twiggy

Posts : 47
Join date : 2011-06-27
Location : Somewhere, Someplace

View user profile

Back to top Go down

Re: Nick's suggestions.

Post by Matt on Tue Jun 28, 2011 6:27 am

Not positive. FYI, I have no idea about Ryan, but I hate leeching things that I did not make.
avatar
Matt
Administrator
Administrator

Posts : 61
Join date : 2011-06-26
Age : 21
Location : Chicago, Illinois

View user profile http://sunshinems.net/

Back to top Go down

Re: Nick's suggestions.

Post by Fusionatic on Tue Jun 28, 2011 7:18 am

Matt wrote:Not positive. FYI, I have no idea about Ryan, but I hate leeching things that I did not make.
You don't have to leech it. It's like a previeuw. You can costumize it all to you own wishes. It's like a vieuw how it could be working. Else is up to the coders.

Fusionatic

Posts : 7
Join date : 2011-06-27
Age : 24
Location : Netherlands

View user profile

Back to top Go down

Re: Nick's suggestions.

Post by [Eternity] on Tue Jun 28, 2011 7:55 am

Well...

1.) PQ: Yeah party quests are fun, but hard to code i think o-o. And The coders could make a own customized pq tho.
2.)Yeah I agree with you that they shouldn't make a Limit to the FM rooms. Since it would be hard to sell leech and stuff wich relates to Leeching someone XD
3.) I like the current Forum Theme tho :C
avatar
[Eternity]
Donator
Donator

Posts : 47
Join date : 2011-06-27
Age : 23
Location : Lisa's Pants

View user profile

Back to top Go down

Re: Nick's suggestions.

Post by Sponsored content


Sponsored content


Back to top Go down

View previous topic View next topic Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum