Acernis Some Fixes

Results 1 to 6 of 6
  1. #1
    Apprentice v3921358 is offline
    MemberRank
    May 2012 Join Date
    20Posts

    big grin Acernis Some Fixes

    PS: Sorry For my bad English

    Hello Everyone on this forum
    I run v144 Server in Taiwan
    And I just fix few bugs
    Today I'm going to release some easy fixes of Acernis for RageZone

    First : Xenon can't AutoAssignAP
    Reason : It only adds one stat so SecondaryStat will be 0
    But It handles like...
    Code:
      switch (SecondaryStat) {
    .........................(bypass)
                    default:
                        c.getSession().write(CWvsContext.enableActions());
                        return;
    Delete the return Here and do next step;
    Code:
            if (chr.getRemainingAp() == amount + amount2) {
                switch (PrimaryStat) {
    Change it to
    Code:
            if (chr.getRemainingAp() >= amount + amount2) {
                switch (PrimaryStat) {

    Next Bug: Can't Add HP/MP with button(In Character Stats )

    Reason : HP and MP's Packets are wrong
    Fix:
    Looking for
    Code:
                    case 0x400: // HP
                        int maxhp = stat.getMaxHp();
    change it to
    Code:
                    case 0x800: // HP
                        int maxhp = stat.getMaxHp();
    And looking for
    Code:
                    case 0x800: // MP
                        int maxmp = stat.getMaxMp();
    change it to
    Code:
                    case 0x2000: // MP
                        int maxmp = stat.getMaxMp();
    There is also a bug in HiredMerchant
    If there are two(even above) people in the same HiredMerchant Shop
    The other players will dc if one of them leave the HiredMerchant shop

    fix:
    looking for
    Code:
        public static final byte[] shopVisitorLeave(final byte slot) {
            final MaplePacketLittleEndianWriter mplew = new MaplePacketLittleEndianWriter();
    
            mplew.writeShort(SendPacketOpcode.PLAYER_INTERACTION.getValue());
            mplew.write(19);
            mplew.write(slot);
    
            return mplew.getPacket();
        }
    change it to

    Code:
        public static final byte[] shopVisitorLeave(final byte slot) {
            final MaplePacketLittleEndianWriter mplew = new MaplePacketLittleEndianWriter();
    
            mplew.writeShort(SendPacketOpcode.PLAYER_INTERACTION.getValue());
            mplew.write(PlayerInteractionHandler.Interaction.EXIT.action);
            mplew.write(slot);
    
            return mplew.getPacket();
        }
    Last edited by v3921358; 20-08-15 at 02:43 PM. Reason: More fixes


  2. #2
    (O_o(o_O(O_O)o_O)O_o) Novak is offline
    MemberRank
    Apr 2009 Join Date
    The NetherlandsLocation
    1,120Posts

    Re: Acernis Some Fixes

    If you're still on small stuff like this, I'm willing to point out some issues in damage parsing faster then expected attacks. Go to the damageparser and make it not d/c on exceeded speed. How you do that is up to you, it's a security thing. Xenon and Beast Tamer (maybe more) classes have faster attacks then the algorithm is expecting and will d/c players.

    Another issue: attack max allowed monsters (6+ on some skills) and do no damage. Solution: it's somewhere in damageparser. It throws yet another autoban security issue. It registers the attack as an offense, then breaks the damage parser (a literal break; not like it gets destroyed) solve it as you wish. Simply removing the break will work.

    I might release an updated acernis a bit later, but am now working on too much to bother.
    Nice release still. Fun to see people actually using it :)

  3. #3
    Apprentice v3921358 is offline
    MemberRank
    May 2012 Join Date
    20Posts

    Re: Acernis Some Fixes

    Thanks for your tips ~
    I am already fix some attack skills (Like SoulSeekerRegen, Arrow Platter... )
    and over 300+ 's passtive skill BUG ~
    BTW I know the issue that you said..(attack max allowed monsters (6+ on some skills) and do no damage.)
    I removed some many things and make it work(Terrible Way)

  4. #4
    unknowndog Mallissy is offline
    MemberRank
    May 2011 Join Date
    unknowndogLocation
    493Posts

    Re: Acernis Some Fixes

    Keep releasing your fixes and I'll start releasing some of mine ;D

  5. #5
    (O_o(o_O(O_O)o_O)O_o) Novak is offline
    MemberRank
    Apr 2009 Join Date
    The NetherlandsLocation
    1,120Posts

    Re: Acernis Some Fixes

    Gotta thank you for the hired merchant leaving bug. It's the ONLY bug related to hired merchants i've never fixed.

  6. #6
    Apprentice frank863 is offline
    MemberRank
    Apr 2014 Join Date
    24Posts

    Re: Acernis Some Fixes

    thanks fix !!



Advertisement