Alliances & Pet autopot improvement + Crafters patch
Improved Alliance invitations now using "invite popups" just like buddy, party and guild invites. Pet autopot now properly uses up pots from the inventory, fetching from other inventory slots when one place has been completely used up but the "stop criteria" hasn't been fulfilled yet. Pet autopot now properly detects pots with healing factor defined by the character's pool. Fixed old exploit with mineral/jewel crafters. Patched Doorway's questlines.
This commit is contained in:
@@ -6343,7 +6343,17 @@ public class MaplePacketCreator {
|
||||
mplew.writeInt(alliance);
|
||||
return mplew.getPacket();
|
||||
}
|
||||
|
||||
|
||||
public static byte[] sendAllianceInvitation(int allianceid, MapleCharacter chr) {
|
||||
final MaplePacketLittleEndianWriter mplew = new MaplePacketLittleEndianWriter();
|
||||
mplew.writeShort(SendOpcode.ALLIANCE_OPERATION.getValue());
|
||||
mplew.write(0x03);
|
||||
mplew.writeInt(allianceid);
|
||||
mplew.writeMapleAsciiString(chr.getName());
|
||||
mplew.writeShort(0);
|
||||
return mplew.getPacket();
|
||||
}
|
||||
|
||||
public static byte[] sendMesoLimit() {
|
||||
final MaplePacketLittleEndianWriter mplew = new MaplePacketLittleEndianWriter();
|
||||
mplew.writeShort(SendOpcode.TRADE_MONEY_LIMIT.getValue()); //Players under level 15 can only trade 1m per day
|
||||
|
||||
Reference in New Issue
Block a user