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!

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