[Release] King Clang Event

Page 1 of 2 12 LastLast
Results 1 to 25 of 41
  1. #1
    win CioNide is offline
    MemberRank
    Jun 2008 Join Date
    2,560Posts

    [Release] King Clang Event

    Just felt like releasing this.

    Make a file in your "scripts/events" folder called KingClang.js

    Inside it put this:

    Code:
    /*
    	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/>.
    */
    
    /**
    -- Odin JavaScript --------------------------------------------------------------------------------
    	King Clang Spawner
    **/
    
    importPackage(net.sf.odinms.client);
    
    function init() {
    	scheduleNew();
    }
    
    function scheduleNew() {
    	em.schedule("start", 35*60*1000); //every 35 min
    }
    
    function start() {
    	scheduleNew();
    	var hotSand = em.getChannelServer().getMapFactory().getMap(110040000, false, false);
    	var kingClang = net.sf.odinms.server.life.MapleLifeFactory.getMonster(5220001);
    	var current1 = em.getChannelServer().getMapFactory().getMap(110040000).countMobOnMap(5220001);
    	var current2 = em.getChannelServer().getMapFactory().getMap(110040000).countMobOnMap(5220000);
    	if (current1 == 0 && current2 == 0) {
    		var random = Math.floor(Math.random()*7);
    		var posX;
    		var posY;
    		switch (random) { //king clang can spawn in a variety of different spots
    			case 1:
    				posX = -116;
    				posY = -833;
    				break;
    			case 2:
    				posX = -1056;
    				posY = 173;
    				break;
    			case 3:
    				posX = -300;
    				posY = 176;
    				break;
    			case 4:
    				posX = 964;
    				posY = 173;
    				break;
    			case 5:
    				posX = 286;
    				posY = -473;
    				break;
    			default:
    				posX = 709;
    				posY = -353;
    		}
    		hotSand.spawnMonsterOnGroundBelow(kingClang, new java.awt.Point(posX, posY));
    		hotSand.broadcastMessage(net.sf.odinms.tools.MaplePacketCreator.serverNotice(6, "[Event] A large, blue shell seems to have been washed up onto the beach..."));
    	}
    	scheduleNew();
    }


  2. #2
    Account Upgraded | Title Enabled! fdinufdinu is offline
    MemberRank
    Jun 2008 Join Date
    Right Over ThereLocation
    374Posts

    Re: [Release] King Clang Event

    Quote Originally Posted by CioNide View Post
    Just felt like releasing this.

    Make a file in your "scripts/events" folder called KingClang.js

    Inside it put this:

    Code:
    /*
    	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/>.
    */
    
    /**
    -- Odin JavaScript --------------------------------------------------------------------------------
    	King Clang Spawner
    **/
    
    importPackage(net.sf.odinms.client);
    
    function init() {
    	scheduleNew();
    }
    
    function scheduleNew() {
    	em.schedule("start", 35*60*1000); //every 35 min
    }
    
    function start() {
    	scheduleNew();
    	var hotSand = em.getChannelServer().getMapFactory().getMap(110040000, false, false);
    	var kingClang = net.sf.odinms.server.life.MapleLifeFactory.getMonster(5220001);
    	var current1 = em.getChannelServer().getMapFactory().getMap(110040000).countMobOnMap(5220001);
    	var current2 = em.getChannelServer().getMapFactory().getMap(110040000).countMobOnMap(5220000);
    	if (current1 == 0 && current2 == 0) {
    		var random = Math.floor(Math.random()*7);
    		var posX;
    		var posY;
    		switch (random) { //king clang can spawn in a variety of different spots
    			case 1:
    				posX = -116;
    				posY = -833;
    				break;
    			case 2:
    				posX = -1056;
    				posY = 173;
    				break;
    			case 3:
    				posX = -300;
    				posY = 176;
    				break;
    			case 4:
    				posX = 964;
    				posY = 173;
    				break;
    			case 5:
    				posX = 286;
    				posY = -473;
    				break;
    			default:
    				posX = 709;
    				posY = -353;
    		}
    		hotSand.spawnMonsterOnGroundBelow(kingClang, new java.awt.Point(posX, posY));
    		hotSand.broadcastMessage(net.sf.odinms.tools.MaplePacketCreator.serverNotice(6, "[Event] A large, blue shell seems to have been washed up onto the beach..."));
    	}
    	scheduleNew();
    }
    Thanks, but what is it a GMS quest or a custom one or is it a quest at all?

  3. #3
    win CioNide is offline
    MemberRank
    Jun 2008 Join Date
    2,560Posts

    Re: [Release] King Clang Event

    It's the King Clang Spawner script (event)

  4. #4
    Account Upgraded | Title Enabled! AuroX is offline
    MemberRank
    Sep 2008 Join Date
    1,431Posts

    Re: [Release] King Clang Event

    this is from destinyms

  5. #5
    win CioNide is offline
    MemberRank
    Jun 2008 Join Date
    2,560Posts

    Re: [Release] King Clang Event

    Quote Originally Posted by yenpooh View Post
    this is from destinyms
    Haha! No.

    I would tell you where I got it, but that's a secret.

  6. #6
    Account Upgraded | Title Enabled! AzuS is offline
    MemberRank
    Jul 2008 Join Date
    871Posts

    Re: [Release] King Clang Event

    Lol, I saw that when I read the header

  7. #7
    :) Horizon is offline
    MemberRank
    Jan 2009 Join Date
    Illinois, U.S.Location
    2,381Posts

    Re: [Release] King Clang Event

    Nice leak. It's not DestinyMS, btw.

  8. #8
    Dead & gone... xQuasar is offline
    MemberRank
    Aug 2008 Join Date
    519Posts

    Re: [Release] King Clang Event

    LOL, if it's not DestinyMS then what is it?

    I made this myself.

    It was in the leaked DestinyMS source, lmao, you can go and check it.

  9. #9
    warp(california, "home"); LameJacob is offline
    MemberRank
    Sep 2008 Join Date
    CaliforniaLocation
    537Posts

    Re: [Release] King Clang Event

    Wow this is straight ripped from DestinyMS >_> at least give some credits jeeze

  10. #10
    Account Upgraded | Title Enabled! xJvlaplex is offline
    MemberRank
    Mar 2009 Join Date
    478Posts

    Re: [Release] King Clang Event

    ITS NOT FROM DESTINYMS xQuasar CANT CODE

  11. #11
    Infraction Banned LaiLaiN00b is offline
    MemberRank
    Jan 2009 Join Date
    85Posts

    Re: [Release] King Clang Event

    Quote Originally Posted by xJvlaplex View Post
    ITS NOT FROM DESTINYMS xQuasar CANT CODE
    Quote for the truth

  12. #12
    Enthusiast Coliboy is offline
    MemberRank
    Aug 2008 Join Date
    darknightms.servegame.comLocation
    30Posts

    Re: [Release] King Clang Event

    Lol its maybe a noob question but what to do to let it spawn?
    Like a COmmand or sumthing? xD

    Btw Nice :D

  13. #13
    Valued Member Indekms321 is offline
    MemberRank
    Mar 2009 Join Date
    132Posts

    Re: [Release] King Clang Event

    just wait in the map 35 Minutes

  14. #14
    win CioNide is offline
    MemberRank
    Jun 2008 Join Date
    2,560Posts

    Re: [Release] King Clang Event

    God damnit.

    It's from the MapleFusion / ESMS source, get over it.

  15. #15
    Dead & gone... xQuasar is offline
    MemberRank
    Aug 2008 Join Date
    519Posts

    Re: [Release] King Clang Event

    Quote Originally Posted by CioNide View Post
    God damnit.

    It's from the MapleFusion / ESMS source, get over it.
    Didn't know my scripts were so good they wanted to rip it too.

  16. #16
    Account Upgraded | Title Enabled! ishan1996 is offline
    MemberRank
    Nov 2008 Join Date
    WisconsinLocation
    1,429Posts

    Re: [Release] King Clang Event

    LOL WHICH WAS ADDED BY DESTINY MS SOURCE sorry but this is it
    Maplefusion/ESMS is using XOTIC
    Or was at least. LOL

  17. #17
    Dead & gone... xQuasar is offline
    MemberRank
    Aug 2008 Join Date
    519Posts

    Re: [Release] King Clang Event

    Here's the fucking original header, but I'm not expecting you to add it back on.

    /**
    -- Odin JavaScript --------------------------------------------------------------------------------
    King Clang Spawner
    -- By --------------------------------------------------------------------------------------------------
    xQuasar (With help from MrMysterious)
    -- Version Info -------------------------------------------------------------------------------------
    1.0 First version by xQuasar
    **/

  18. #18
    Apprentice Konan is offline
    MemberRank
    Oct 2008 Join Date
    20Posts

    Re: [Release] King Clang Event

    Quasar did code this. o.o

  19. #19
    Dead & gone... xQuasar is offline
    MemberRank
    Aug 2008 Join Date
    519Posts

    Re: [Release] King Clang Event

    Lol, thanks but who are you? o-o

    And I DID code this; and MrMysterious really did help me with it, 'coz I can tell you that if you just put this into your source, it won't work. :)

  20. #20
    Valued Member candyman1212 is offline
    MemberRank
    Mar 2009 Join Date
    124Posts

    Re: [Release] King Clang Event

    Quote Originally Posted by xQuasar View Post
    Lol, thanks but who are you? o-o

    And I DID code this; and MrMysterious really did help me with it, 'coz I can tell you that if you just put this into your source, it won't work. :)
    Your an arrogant whore.

  21. #21
    Dead & gone... xQuasar is offline
    MemberRank
    Aug 2008 Join Date
    519Posts

    Re: [Release] King Clang Event

    Quote Originally Posted by candyman1212 View Post
    Your an arrogant whore.
    Thanks, fag.

  22. #22
    Proficient Member lit0aznb3ar is offline
    MemberRank
    Jan 2009 Join Date
    151Posts

    Re: [Release] King Clang Event

    I don't give a fuck who made it but destinyMS was the shit. :] nuff said

  23. #23
    Dead & gone... xQuasar is offline
    MemberRank
    Aug 2008 Join Date
    519Posts

    Re: [Release] King Clang Event

    Quote Originally Posted by lit0aznb3ar View Post
    I don't give a fuck who made it but destinyMS was the shit. :] nuff said
    'Das right man. :)

  24. #24
    Infraction Banned xDinoxP is offline
    MemberRank
    Mar 2009 Join Date
    84Posts

    Re: [Release] King Clang Event

    DestinyMS was SHIT it was the fucking SHITTIEST shit availiable

  25. #25
    Dead & gone... xQuasar is offline
    MemberRank
    Aug 2008 Join Date
    519Posts

    Re: [Release] King Clang Event

    Quote Originally Posted by xDinoxP View Post
    DestinyMS was SHIT it was the fucking SHITTIEST shit availiable
    And you are...?

    I'm amused by your hollow flaming. xD



Page 1 of 2 12 LastLast

Advertisement