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...
Delete the return Here and do next step;Code:switch (SecondaryStat) { .........................(bypass) default: c.getSession().write(CWvsContext.enableActions()); return;
Change it toCode:if (chr.getRemainingAp() == amount + amount2) { switch (PrimaryStat) {
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
change it toCode:case 0x400: // HP int maxhp = stat.getMaxHp();
And looking forCode:case 0x800: // HP int maxhp = stat.getMaxHp();
change it toCode:case 0x800: // MP int maxmp = stat.getMaxMp();
There is also a bug in HiredMerchantCode:case 0x2000: // MP int maxmp = stat.getMaxMp();
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
change it toCode: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(); }
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(); }





Reply With Quote

