Welcome!

Join our community of MMO enthusiasts and game developers! By registering, you'll gain access to discussions on the latest developments in MMO server files and collaborate with like-minded individuals. Join us today and unlock the potential of MMO server development!

Join Today!

v62 Job Advancer.

Newbie Spellweaver
Joined
Dec 15, 2009
Messages
9
Reaction score
0
Hey does anyone know where I can find a good v62 Cody job advancer. Mine works fine except when I click a job to advance as, it doesnt advance. my job stays the same. so does anyone have a good one for me?

---------- Post added at 05:18 PM ---------- Previous post was at 05:10 PM ----------

Help Pl0x.
 
Newbie Spellweaver
Joined
Sep 29, 2009
Messages
43
Reaction score
3
Hey does anyone know where I can find a good v62 Cody job advancer. Mine works fine except when I click a job to advance as, it doesnt advance. my job stays the same. so does anyone have a good one for me?

---------- Post added at 05:18 PM ---------- Previous post was at 05:10 PM ----------

Help Pl0x.

Posted wrong Section so i am not going to answer these stupid people posting in the wrong Threads.
 
Last edited:
Junior Spellweaver
Joined
Apr 2, 2009
Messages
180
Reaction score
10
Posted wrong Section so i am not going to answer these stupid people posting in the wrong Threads.

You should might well help him.

Here you go.
Code:
/*
Credit to myangel
*/
importPackage(net.sf.odinms.client);

var status = 0;
var jobName;
var job;
var jobz = Array(**** 200, 300, 400, 500);

function start() {
    cm.sendNext("#gHello, #rI'm <Server Name> #gJob Advancer.");
}

function action(mode, type, selection) {
    var jobId=cm.getPlayer().getJob().getId();
    if (mode == -1) {
        cm.sendOk("#gSee you around. Remember to enjoy in #rLoveuMS.");
        cm.dispose();
    } else {
        if (mode == 1)
            status++;
        else
            status--;
        if (status == 1) {
            if (cm.getJob().equals(net.sf.odinms.client.MapleJob.BEGINNER)) {
                if (cm.getLevel() < 7) {
                    cm.sendYesNo("#gSorry but you must be at least level 8 to make the #bFirst Job Advancement#k.");
                    cm.dispose();
                } else {
                    cm.sendYesNo("#gCongratulations on reaching such a high level. Would you like to make the #bFirst Job Advancement#k?");
                    status = 149;
                }
            } else if (cm.getLevel() < 30) {
                cm.sendOk("Sorry, but you have to be at least level 30 to make the #bSecond Job Advancement#k.");
                cm.dispose();
            } else if (cm.getJob().equals(net.sf.odinms.client.MapleJob.THIEF))
                cm.sendSimple("#gCongratulations on reaching such a high level. Which would you like to be? #b\r\n#L0##s4101003#Assassin\r\n#L1##s4201002#Bandit");
            else if (cm.getJob().equals(net.sf.odinms.client.MapleJob.WARRIOR))
                cm.sendSimple("#gCongratulations on reaching such a high level. Which would you like to be? #b\r\n#L2##s1101006 #Fighter#l\r\n#L3##s1201007#Page#l\r\n#L4##s1301007#Spearman#l#k");
            else if (cm.getJob().equals(net.sf.odinms.client.MapleJob.MAGICIAN))
                cm.sendSimple("#gCongratulations on reaching such a high level. Which would you like to be? #b\r\n#L5##s2201004#Ice Lightning Wizard#l\r\n#L6##s2101004#Fire Poison Wizard#l\r\n#L7##s2301002#Cleric#l#k");
            else if (cm.getJob().equals(net.sf.odinms.client.MapleJob.BOWMAN))
                cm.sendSimple("#gCongratulations on reaching such a high level. Which would you like to be? #b\r\n#L8##s3101002#Hunter#l\r\n#L9##s3201002#Crossbowman#l#k");
            else if (cm.getJob().equals(net.sf.odinms.client.MapleJob.PIRATE))
                cm.sendSimple("#gCongratulations on reaching such a high level. Which would you like to be? #b\r\n#L10##s5101006#Brawler#l\r\n#L11##s5201003#Gunslinger#l#k");
            else if (cm.getLevel() < 70) {
                cm.sendOk("#gSorry, but you have to be at least level 70 to make the #bThird Job Advancement#k.");
                cm.dispose();
            } else if (jobId % 100 != 0 && (cm.getLevel() >= 70 && jobId % 10 == 0 || cm.getLevel() >= 120 && jobId % 10 == 1)) {
                cm.getPlayer().changeJob(MapleJob.getById(jobId + 1));
                cm.sendOk("Congratulations, you have been job advanced!");
                cm.dispose();
            } else if ( jobId == 112 || jobId == 122 || jobId == 132 || jobId == 212 || jobId == 222 || jobId == 232 || jobId == 312 || jobId == 322 || jobId == 412 || jobId == 422 || jobId == 512 || jobId == 522) {
                cm.sendOk("You are already #bFourth Job#k.");
                cm.dispose();
            } else
                cm.dispose();
        } else if (status == 2) {
            switch(selection) {
                case 0: jobName = "Assassin";             job = net.sf.odinms.client.MapleJob.ASSASSIN;    break;
                case 1: jobName = "Bandit";               job = net.sf.odinms.client.MapleJob.BANDIT;      break;
                case 2: jobName = "Fighter";              job = net.sf.odinms.client.MapleJob.FIGHTER;     break;
                case 3: jobName = "Page";                 job = net.sf.odinms.client.MapleJob.PAGE;        break;
                case 4: jobName = "Spearman";             job = net.sf.odinms.client.MapleJob.SPEARMAN;    break;
                case 5: jobName = "Ice/Lightning Wizard"; job = net.sf.odinms.client.MapleJob.IL_WIZARD;   break;
                case 6: jobName = "Fire/Poison Wizard";   job = net.sf.odinms.client.MapleJob.FP_WIZARD;   break;
                case 7: jobName = "Cleric";               job = net.sf.odinms.client.MapleJob.CLERIC;      break;
                case 8: jobName = "Hunter";               job = net.sf.odinms.client.MapleJob.HUNTER;      break;
                case 9: jobName = "Crossbowman";          job = net.sf.odinms.client.MapleJob.CROSSBOWMAN; break;
                case 10:jobName = "Brawler";              job = net.sf.odinms.client.MapleJob.BRAWLER;     break;
                case 11:jobName = "Gunslinger";           job = net.sf.odinms.client.MapleJob.GUNSLINGER;  break;
            }
            cm.sendYesNo("#gDo you want to become a #b" + jobName + "#k?");
        } else if (status == 3) {
            cm.changeJob(job);
            cm.sendOk("#gYou're job advanced. Good luck with your trainings. :D");
            cm.dispose();
        } else if (status == 150) {
            cm.sendSimple("#gWhich would you like to be? #b\r\n#L0#Warrior#l\r\n#L1#Magician#l\r\n#L2#Bowman#l\r\n#L3#Thief#l\r\n#L4#Pirate#l#k");
        } else if (status == 151) {
            if (selection == 0) {
                jobName = "Warrior";
                job = net.sf.odinms.client.MapleJob.WARRIOR;
            } else if (selection == 1) {
                jobName = "Magician";
                job = net.sf.odinms.client.MapleJob.MAGICIAN;
            } else if (selection == 2) {
                jobName = "Bowman";
                job = net.sf.odinms.client.MapleJob.BOWMAN;
            } else if (selection == 3) {
                jobName = "Thief";
                job = net.sf.odinms.client.MapleJob.THIEF;
            } else if (selection == 4) {
                jobName = "Pirate";
                job = net.sf.odinms.client.MapleJob.PIRATE;
            }
            cm.sendYesNo("#gDo you want to become a #b" + jobName + "#k?");
        } else if (status == 152) {
                cm.changeJob(job);
                cm.sendOk("#gYou're job advanced. Good luck with your trainings. :D");
                cm.dispose();
        } else if (status == 161) {
            cm.doReborn();
            cm.sendOk("#gYou have been reborn! Good luck on your next journey!");
            cm.dispose();
        } else {
            cm.dispose();
        }
    }
}
 
Newbie Spellweaver
Joined
Dec 10, 2009
Messages
17
Reaction score
2
You should might well help him.

Here you go.
Code:
/*
Credit to myangel
*/
importPackage(net.sf.odinms.client);

var status = 0;
var jobName;
var job;
var jobz = Array(**** 200, 300, 400, 500);

function start() {
    cm.sendNext("#gHello, #rI'm <Server Name> #gJob Advancer.");
}

function action(mode, type, selection) {
    var jobId=cm.getPlayer().getJob().getId();
    if (mode == -1) {
        cm.sendOk("#gSee you around. Remember to enjoy in #rLoveuMS.");
        cm.dispose();
    } else {
        if (mode == 1)
            status++;
        else
            status--;
        if (status == 1) {
            if (cm.getJob().equals(net.sf.odinms.client.MapleJob.BEGINNER)) {
                if (cm.getLevel() < 7) {
                    cm.sendYesNo("#gSorry but you must be at least level 8 to make the #bFirst Job Advancement#k.");
                    cm.dispose();
                } else {
                    cm.sendYesNo("#gCongratulations on reaching such a high level. Would you like to make the #bFirst Job Advancement#k?");
                    status = 149;
                }
            } else if (cm.getLevel() < 30) {
                cm.sendOk("Sorry, but you have to be at least level 30 to make the #bSecond Job Advancement#k.");
                cm.dispose();
            } else if (cm.getJob().equals(net.sf.odinms.client.MapleJob.THIEF))
                cm.sendSimple("#gCongratulations on reaching such a high level. Which would you like to be? #b\r\n#L0##s4101003#Assassin\r\n#L1##s4201002#Bandit");
            else if (cm.getJob().equals(net.sf.odinms.client.MapleJob.WARRIOR))
                cm.sendSimple("#gCongratulations on reaching such a high level. Which would you like to be? #b\r\n#L2##s1101006 #Fighter#l\r\n#L3##s1201007#Page#l\r\n#L4##s1301007#Spearman#l#k");
            else if (cm.getJob().equals(net.sf.odinms.client.MapleJob.MAGICIAN))
                cm.sendSimple("#gCongratulations on reaching such a high level. Which would you like to be? #b\r\n#L5##s2201004#Ice Lightning Wizard#l\r\n#L6##s2101004#Fire Poison Wizard#l\r\n#L7##s2301002#Cleric#l#k");
            else if (cm.getJob().equals(net.sf.odinms.client.MapleJob.BOWMAN))
                cm.sendSimple("#gCongratulations on reaching such a high level. Which would you like to be? #b\r\n#L8##s3101002#Hunter#l\r\n#L9##s3201002#Crossbowman#l#k");
            else if (cm.getJob().equals(net.sf.odinms.client.MapleJob.PIRATE))
                cm.sendSimple("#gCongratulations on reaching such a high level. Which would you like to be? #b\r\n#L10##s5101006#Brawler#l\r\n#L11##s5201003#Gunslinger#l#k");
            else if (cm.getLevel() < 70) {
                cm.sendOk("#gSorry, but you have to be at least level 70 to make the #bThird Job Advancement#k.");
                cm.dispose();
            } else if (jobId % 100 != 0 && (cm.getLevel() >= 70 && jobId % 10 == 0 || cm.getLevel() >= 120 && jobId % 10 == 1)) {
                cm.getPlayer().changeJob(MapleJob.getById(jobId + 1));
                cm.sendOk("Congratulations, you have been job advanced!");
                cm.dispose();
            } else if ( jobId == 112 || jobId == 122 || jobId == 132 || jobId == 212 || jobId == 222 || jobId == 232 || jobId == 312 || jobId == 322 || jobId == 412 || jobId == 422 || jobId == 512 || jobId == 522) {
                cm.sendOk("You are already #bFourth Job#k.");
                cm.dispose();
            } else
                cm.dispose();
        } else if (status == 2) {
            switch(selection) {
                case 0: jobName = "Assassin";             job = net.sf.odinms.client.MapleJob.ASSASSIN;    break;
                case 1: jobName = "Bandit";               job = net.sf.odinms.client.MapleJob.BANDIT;      break;
                case 2: jobName = "Fighter";              job = net.sf.odinms.client.MapleJob.FIGHTER;     break;
                case 3: jobName = "Page";                 job = net.sf.odinms.client.MapleJob.PAGE;        break;
                case 4: jobName = "Spearman";             job = net.sf.odinms.client.MapleJob.SPEARMAN;    break;
                case 5: jobName = "Ice/Lightning Wizard"; job = net.sf.odinms.client.MapleJob.IL_WIZARD;   break;
                case 6: jobName = "Fire/Poison Wizard";   job = net.sf.odinms.client.MapleJob.FP_WIZARD;   break;
                case 7: jobName = "Cleric";               job = net.sf.odinms.client.MapleJob.CLERIC;      break;
                case 8: jobName = "Hunter";               job = net.sf.odinms.client.MapleJob.HUNTER;      break;
                case 9: jobName = "Crossbowman";          job = net.sf.odinms.client.MapleJob.CROSSBOWMAN; break;
                case 10:jobName = "Brawler";              job = net.sf.odinms.client.MapleJob.BRAWLER;     break;
                case 11:jobName = "Gunslinger";           job = net.sf.odinms.client.MapleJob.GUNSLINGER;  break;
            }
            cm.sendYesNo("#gDo you want to become a #b" + jobName + "#k?");
        } else if (status == 3) {
            cm.changeJob(job);
            cm.sendOk("#gYou're job advanced. Good luck with your trainings. :D");
            cm.dispose();
        } else if (status == 150) {
            cm.sendSimple("#gWhich would you like to be? #b\r\n#L0#Warrior#l\r\n#L1#Magician#l\r\n#L2#Bowman#l\r\n#L3#Thief#l\r\n#L4#Pirate#l#k");
        } else if (status == 151) {
            if (selection == 0) {
                jobName = "Warrior";
                job = net.sf.odinms.client.MapleJob.WARRIOR;
            } else if (selection == 1) {
                jobName = "Magician";
                job = net.sf.odinms.client.MapleJob.MAGICIAN;
            } else if (selection == 2) {
                jobName = "Bowman";
                job = net.sf.odinms.client.MapleJob.BOWMAN;
            } else if (selection == 3) {
                jobName = "Thief";
                job = net.sf.odinms.client.MapleJob.THIEF;
            } else if (selection == 4) {
                jobName = "Pirate";
                job = net.sf.odinms.client.MapleJob.PIRATE;
            }
            cm.sendYesNo("#gDo you want to become a #b" + jobName + "#k?");
        } else if (status == 152) {
                cm.changeJob(job);
                cm.sendOk("#gYou're job advanced. Good luck with your trainings. :D");
                cm.dispose();
        } else if (status == 161) {
            cm.doReborn();
            cm.sendOk("#gYou have been reborn! Good luck on your next journey!");
            cm.dispose();
        } else {
            cm.dispose();
        }
    }
}

Nice, hopes this helps that guy
 
Back
Top