Help me! Stat Limit..

Results 1 to 4 of 4
  1. #1
    Member Hao Yi is offline
    MemberRank
    May 2013 Join Date
    88Posts

    Help me! Stat Limit..

    Anyone know how to increase the base stat limit? . i cant seem to find it. IM newbie:)


    Help me please. Thank you!


  2. #2
    Sorcerer Supreme hecari is offline
    Member +Rank
    Dec 2008 Join Date
    336Posts

    Re: Help me! Stat Limit..

    Quote Originally Posted by Hao Yi View Post
    Anyone know how to increase the base stat limit? . i cant seem to find it. IM newbie:)


    Help me please. Thank you!
    As in remove the 999 limit?

    To remove the 999 limit for command, go to PlayerCommand.java

    Find:

    PHP Code:
    public abstract static class DistributeStatCommands extends CommandExecute {

            protected 
    MapleStat stat null;
            private static 
    int statLim 999;

            private 
    void setStat(MapleCharacter playerint amount) {
                switch (
    stat) {
                    case 
    STR:
                        
    player.getStat().setStr((shortamountplayer);
                        
    player.updateSingleStat(MapleStat.STRplayer.getStat().getStr());
                        break;
                    case 
    DEX:
                        
    player.getStat().setDex((shortamountplayer);
                        
    player.updateSingleStat(MapleStat.DEXplayer.getStat().getDex());
                        break;
                    case 
    INT:
                        
    player.getStat().setInt((shortamountplayer);
                        
    player.updateSingleStat(MapleStat.INTplayer.getStat().getInt());
                        break;
                    case 
    LUK:
                        
    player.getStat().setLuk((shortamountplayer);
                        
    player.updateSingleStat(MapleStat.LUKplayer.getStat().getLuk());
                        break;
                }
            } 
    Replace
    PHP Code:
    private static int statLim 999
    PHP Code:
    private static int statLim = <amount>; // what you desire 
    As for the adding of AP using the AP window, go StatsHandling.java

    Find:
    PHP Code:
    public static final void DistributeAP(final LittleEndianAccessor slea, final MapleClient c, final MapleCharacter chr) {
            
    Map<MapleStatIntegerstatupdate = new EnumMap<MapleStatInteger>(MapleStat.class);
            
    c.getSession().write(CWvsContext.updatePlayerStats(statupdatetruechr));
            
    chr.updateTick(slea.readInt());

            final 
    PlayerStats stat chr.getStat();
            final 
    int job chr.getJob();
            if (
    chr.getRemainingAp() > 0) {
                switch (
    slea.readInt()) {
                    case 
    64// Str
                        
    if (stat.getStr() >= 999) {
                            return;
                        }
                        
    stat.setStr((short) (stat.getStr() + 1), chr);
                        
    statupdate.put(MapleStat.STR, (int) stat.getStr());
                        break;
                    case 
    128// Dex
                        
    if (stat.getDex() >= 999) {
                            return;
                        }
                        
    stat.setDex((short) (stat.getDex() + 1), chr);
                        
    statupdate.put(MapleStat.DEX, (int) stat.getDex());
                        break;
                    case 
    256// Int
                        
    if (stat.getInt() >= 999) {
                            return;
                        }
                        
    stat.setInt((short) (stat.getInt() + 1), chr);
                        
    statupdate.put(MapleStat.INT, (int) stat.getInt());
                        break;
                    case 
    512// Luk
                        
    if (stat.getLuk() >= 999) {
                            return;
                        }
                        
    stat.setLuk((short) (stat.getLuk() + 1), chr);
                        
    statupdate.put(MapleStat.LUK, (int) stat.getLuk());
                        break; 
    Replace all the 999 to the value you want.
    Last edited by hecari; 13-05-13 at 05:29 AM.

  3. #3
    Member Hao Yi is offline
    MemberRank
    May 2013 Join Date
    88Posts

    Re: Help me! Stat Limit..

    Thanks!!^^

    btww you know how to make a no dmg cap client for v117.1?

  4. #4
    Sorcerer Supreme hecari is offline
    Member +Rank
    Dec 2008 Join Date
    336Posts

    Re: Help me! Stat Limit..

    Apparently, there's a dmgcap removed LEN redirector somewhere lying in the forum. Search it.



Advertisement