You might have noticed on the PCMaple repack that when you reborn and kill a green or red snail you'll get glitched and get to level 145 then you can't advance. Compile this easy command to your source which allows people to fix their levels. It will make them level 1 again.
@fixlevel
Put this in CommandProcessor.java,
*Edit*
Zapotek posted an NPC that he said will not give this glitch.
@fixlevel
Put this in CommandProcessor.java,
Code:
} else if (splitted[0].equals("@fixlevel")) {
if (player.getLevel() >= 145) {
player.setLevel(1);
mc.dropMessage("Your level has been reset to 1. Please re-log for it to take effect. Make sure you don't kill any red or green snails!");
} else {
mc.dropMessage("You're not glitched.");
}
*Edit*
Zapotek posted an NPC that he said will not give this glitch.
Code:
/*
Rebirth NPC
By
Zapotek
*/
var status = 0;
function start() {
status = -1;
action(1, 0, 0);
}
function action(mode, type, selection) {
if (mode == -1) {
cm.dispose();
}
else if (mode == 0){
cm.sendOk("Talk to me again when you want to reborn.");
cm.dispose();
}
else{
if (mode == 1)
status++;
else
status--;
if (status == 0) {
cm.sendYesNo("Hi~ Do you want to reborn ?" );
}
else if (status == 1) {
if(cm.getChar().getLevel() < 200){
cm.sendOk("You have to be at least level 200.");
cm.dispose();
}
else{
cm.sendOk("Good job. Have fun.");
}
}
else if (status == 2) {
cm.getChar().levelUp();
cm.unequipEverything();
cm.changeJob(net.sf.odinms.client.MapleJob.BEGINNER);
cm.getChar().setLevel(2);
cm.setExp(0);
cm.sendNext("Tadaa! Don't forget to relog.");
cm.dispose();
}
}
}
Last edited: