HolyMS
Would you like to react to this message? Create an account in a few clicks or log in to continue.


A Place for us All
 
HomePortalLatest imagesSearchRegisterLog in

 

 [Relese]4nd job script.

Go down 
3 posters
AuthorMessage
[HeadMod]CsSniper
Moderator
Moderator
[HeadMod]CsSniper


Number of posts : 76
Registration date : 2008-05-10

[Relese]4nd job script. Empty
PostSubject: [Relese]4nd job script.   [Relese]4nd job script. I_icon_minitimeMon May 12, 2008 6:46 am

Instruction


1. Open Notepad
2.Copy and paste script in
3.In Maplestory find a NPC which does nothing and doesn't talk
4.Go to http://sauna.gibbed.us/ and find the NPC's ID
5.Save the file inside odinms/scripts/npc as NPCIDHERE.js
6.Relog and it should work


Code:
/* 4th job NPC by [url=http://phoenixms.forumakers.com/javascript:void(0)]Thai[/url]
*/

importPackage(net.sf.odinms.client);

var status = 0;
var job;

function start() {
   status = -1;
   action(1, 0, 0);
}

function action(mode, type, selection) {
   if (mode == -1) {
      cm.dispose();
   } else {
      if (mode == 1)
         status++;
      else
         status--;
      if (status == 0) {
         if (cm.getLevel() < 30) {
            cm.sendNext("Sorry, but you have to be at least level 120 to use my services.");
         } else if (cm.getLevel() >= 30 && cm.getLevel() < 120) {
            cm.sendNext("Hello, I'm in charge of Job Advancements.");
         } else if (cm.getLevel() >= 120) {
            status = 60;
            cm.sendNext("Hello, I'm in charge of 4th Job Advancements, please take note not all skills work");
         }
      } else if (status == 61) {
         if (cm.getJob().equals(net.sf.odinms.client.MapleJob.HERMIT)) {
            status = 63;
            cm.sendYesNo("Conratulations on reaching such a high level. Do you want to Job Advance now?");
         } else if (cm.getJob().equals(net.sf.odinms.client.MapleJob.CHIEFBANDIT)) {
            status = 66;
            cm.sendYesNo("Conratulations on reaching such a high level. Do you want to Job Advance now?");
         } else if (cm.getJob().equals(net.sf.odinms.client.MapleJob.RANGER)) {
            status = 69;
            cm.sendYesNo("Conratulations on reaching such a high level. Do you want to Job Advance now?");
         } else if (cm.getJob().equals(net.sf.odinms.client.MapleJob.SNIPER)) {
            status = 72;
            cm.sendYesNo("Conratulations on reaching such a high level. Do you want to Job Advance now?");
         } else if (cm.getJob().equals(net.sf.odinms.client.MapleJob.FP_MAGE)) {
            status = 75;
            cm.sendYesNo("Conratulations on reaching such a high level. Do you want to Job Advance now?");
         } else if (cm.getJob().equals(net.sf.odinms.client.MapleJob.IL_MAGE)) {
            status = 78;
            cm.sendYesNo("Conratulations on reaching such a high level. Do you want to Job Advance now?");
         } else if (cm.getJob().equals(net.sf.odinms.client.MapleJob.PRIEST)) {
            status = 81;
            cm.sendYesNo("Conratulations on reaching such a high level. Do you want to Job Advance now?");
         } else if (cm.getJob().equals(net.sf.odinms.client.MapleJob.CRUSADER)) {
            status = 84;
            cm.sendYesNo("Conratulations on reaching such a high level. Do you want to Job Advance now?");
         } else if (cm.getJob().equals(net.sf.odinms.client.MapleJob.WHITEKNIGHT)) {
            status = 87;
            cm.sendYesNo("Conratulations on reaching such a high level. Do you want to Job Advance now?");
         } else if (cm.getJob().equals(net.sf.odinms.client.MapleJob.DRAGONKNIGHT)) {
            status = 90;
            cm.sendYesNo("Conratulations on reaching such a high level. Do you want to Job Advance now?");
         } else if (cm.getJob().equals(net.sf.odinms.client.MapleJob.BEGINNER)) {
            cm.sendNext("Such a high level #bBeginner#k! Amazing!");
         } else {
            cm.sendOk("You have already undergone the #b4th Job Advancement#k, please don't waste my time, I'm busy.");
         }
      } else if (status == 64) {
         cm.changeJob(MapleJob.NIGHTLORD);
         cm.teachSkill(4121007, 30, 30);
         cm.teachSkill(4121009, 30, 30);
         cm.teachSkill(4121004, 30, 30);
         cm.sendOk("There you go. Hope you enjoy it. See you around in the future maybe :)");
      } else if (status == 67) {
         cm.changeJob(MapleJob.SHADOWER);
         cm.teachSkill(4221001, 30, 30);
         cm.teachSkill(4221007, 30, 30);
         cm.sendOk("There you go. Hope you enjoy it. See you around in the future maybe :)");
      } else if (status == 70) {
         cm.changeJob(MapleJob.BOWMASTER);
         cm.teachSkill(3120005, 30, 30);
         cm.teachSkill(3121003, 30, 30);
         cm.teachSkill(3121006, 30, 30);
         cm.teachSkill(3121004, 30, 30);
         cm.sendOk("There you go. Hope you enjoy it. See you around in the future maybe :)");
      } else if (status == 73) {
         cm.changeJob(MapleJob.CROSSBOWMASTER);
         cm.teachSkill(3221006, 30, 30);
         cm.teachSkill(3220004, 30, 30);
         cm.teachSkill(3221003, 30, 30);
         cm.teachSkill(3221005, 30, 30);
         cm.teachSkill(3221001, 30, 30);
         cm.teachSkill(3221002, 30, 30);
         cm.teachSkill(3221007, 30, 30);
         cm.sendOk("There you go. Hope you enjoy it. See you around in the future maybe :)");
      } else if (status == 76) {
         cm.changeJob(MapleJob.FP_ARCHMAGE);
         cm.teachSkill(2121001, 30, 30);
         cm.teachSkill(2121005, 30, 30);
         cm.teachSkill(2121003, 30, 30);
         cm.teachSkill(2121004, 30, 30);
         cm.teachSkill(2121002, 30, 30);
         cm.teachSkill(2121007, 30, 30);
         cm.teachSkill(2121006, 30, 30);
         cm.sendOk("There you go. Hope you enjoy it. See you around in the future maybe :)");
      } else if (status == 79) {
         cm.changeJob(MapleJob.IL_ARCHMAGE);
         cm.teachSkill(2221001, 30, 30);
         cm.teachSkill(2221007, 30, 30);
         cm.teachSkill(2221006, 30, 30);
         cm.teachSkill(2221003, 30, 30);
         cm.teachSkill(2221005, 30, 30);
         cm.teachSkill(2221004, 30, 30);
         cm.teachSkill(2221002, 30, 30);
         cm.sendOk("There you go. Hope you enjoy it. See you around in the future maybe :)");
      } else if (status == 82) {
         cm.changeJob(MapleJob.BISHOP);
         cm.teachSkill(2321007, 30, 30);
         cm.teachSkill(2321009, 30, 30);
         cm.teachSkill(2321003, 30, 30);
         cm.teachSkill(2321001, 30, 30);
         cm.teachSkill(2321008, 30, 30);
         cm.teachSkill(2321005, 30, 30);
         cm.teachSkill(2321004, 30, 30);
         cm.teachSkill(2321002, 30, 30);
         cm.teachSkill(2321006, 30, 30);
         cm.sendOk("There you go. Hope you enjoy it. See you around in the future maybe :)");
      } else if (status == 85) {
         cm.changeJob(MapleJob.HERO);
         cm.teachSkill(1120004, 30, 30);
         cm.teachSkill(1120003, 30, 30);
         cm.teachSkill(1121011, 30, 30);
         cm.teachSkill(1120005, 30, 30);
         cm.teachSkill(1121008, 30, 30);
         cm.teachSkill(1121010, 30, 30);
         cm.teachSkill(1121006, 30, 30);
         cm.teachSkill(1121002, 30, 30);
         cm.sendOk("There you go. Hope you enjoy it. See you around in the future maybe :)");
      } else if (status == 88) {
         cm.changeJob(MapleJob.PALADIN);
         cm.teachSkill(1220005, 30, 30);
         cm.teachSkill(1220010, 30, 30);
         cm.teachSkill(1221012, 30, 30);
         cm.teachSkill(1221009, 30, 30);
         cm.teachSkill(1220006, 30, 30);
         cm.teachSkill(1221004, 30, 30);
         cm.teachSkill(1221003, 30, 30);
         cm.teachSkill(1221007, 30, 30);
         cm.teachSkill(1221011, 30, 30);
         cm.teachSkill(1221002, 30, 30);
         cm.sendOk("There you go. Hope you enjoy it. See you around in the future maybe :)");
      } else if (status == 91) {
         cm.changeJob(MapleJob.DARKKNIGHT);
         cm.teachSkill(1320005, 30, 30);
         cm.teachSkill(1321010, 30, 30);
         cm.teachSkill(1321007, 30, 30);
         cm.teachSkill(1320009, 30, 30);
         cm.teachSkill(1320008, 30, 30);
         cm.teachSkill(1320006, 30, 30);
         cm.teachSkill(1321003, 30, 30);
         cm.teachSkill(1321002, 30, 30);
         cm.sendOk("There you go. Hope you enjoy it. See you around in the future maybe :)");
      }
   }
}


Enjoy.




CsSniper. Smile
Back to top Go down
[Mod]OmgItsParm
Moderator
Moderator
[Mod]OmgItsParm


Male
Number of posts : 194
Age : 31
Location : Behind You!
Registration date : 2008-05-02

[Relese]4nd job script. Empty
PostSubject: Re: [Relese]4nd job script.   [Relese]4nd job script. I_icon_minitimeMon May 12, 2008 9:39 am

ahh is this for the 4th job npc?

Can you tell me what this exactly is?
Back to top Go down
[Admin]holyslayer
Admin
Admin
[Admin]holyslayer


Male
Number of posts : 94
Age : 36
Location : Cali
Registration date : 2008-04-29

[Relese]4nd job script. Empty
PostSubject: Re: [Relese]4nd job script.   [Relese]4nd job script. I_icon_minitimeMon May 12, 2008 10:17 am

it is for the forth job.. and it looks pretty close to the same one we have ATM, but its split up into the normal NPC's that give you the job.
and we are NOT on Odins sorce...
Back to top Go down
http://profile.myspace.com/index.cfm?fuseaction=user.viewprofile
[HeadMod]CsSniper
Moderator
Moderator
[HeadMod]CsSniper


Number of posts : 76
Registration date : 2008-05-10

[Relese]4nd job script. Empty
PostSubject: Re: [Relese]4nd job script.   [Relese]4nd job script. I_icon_minitimeMon May 12, 2008 10:22 am

This script... work's on any source. I just thouth that..there isn't any 4nd job.
Back to top Go down
Sponsored content





[Relese]4nd job script. Empty
PostSubject: Re: [Relese]4nd job script.   [Relese]4nd job script. I_icon_minitime

Back to top Go down
 
[Relese]4nd job script.
Back to top 
Page 1 of 1

Permissions in this forum:You cannot reply to topics in this forum
HolyMS :: Maplestory Discussion-
Jump to: