• Unfortunately, we have experienced significant hard drive damage that requires urgent maintenance and rebuilding. The forum will be a state of read only until we install our new drives and rebuild all the configurations needed. Please follow our Facebook page for updates, we will be back up shortly! (The forum could go offline at any given time due to the nature of the failed drives whilst awaiting the upgrades.) When you see an Incapsula error, you know we are in the process of migration.

LeaderMS Job Advance NPC Error

Newbie Spellweaver
Joined
Sep 16, 2015
Messages
33
Reaction score
1
Hello and if you're using LeaderMS Repack. You should be having an error when Job Advancing via Warrior, Thief, Archer, Magician (Pirate is fine).

Find this code and remove:

Code:
var statup = new java.util.ArrayList();
var p = cm.getPlayer();
var totAp = p.getRemainingAp() + p.getStr() + p.getDex() + p.getInt() + p.getLuk();        
                p.setStr(4);
                p.setDex(4);
                p.setInt(4);
                p.setLuk(4);
                p.setRemainingAp (totAp - 16);
                statup.add(new Pair(MapleStat.STR, java.lang.Integer.valueOf(4)));
                statup.add(new Pair(MapleStat.DEX, java.lang.Integer.valueOf(4)));
                statup.add(new Pair(MapleStat.LUK, java.lang.Integer.valueOf(4)));
                statup.add(new Pair(MapleStat.INT, java.lang.Integer.valueOf(4)));
                statup.add(new Pair(MapleStat.AVAILABLEAP, java.lang.Integer.valueOf(p.getRemainingAp())));
                p.getClient().getSession().write (MaplePacketCreator.updatePlayerStats(statup));

Then the error will be fixed.
 
Newbie Spellweaver
Joined
Apr 25, 2007
Messages
26
Reaction score
2
i tried to find that code by searching it and it didn't come up in my files, which java file is it in?
 
Back
Top