Persistent diseases + PQ request system + GuildPQ fix

Implemented persistent diseases. Players now keep their disease status when logging out the game.
Solved several concurrent access issues in MapleMap and MapleMonster.
Implemented an option where an account's character slots can be accounted either by each world or all-server range.
Fixed some issues with character slot count when entering/exiting Cash Shop.
Fixed an exploit with Papulatus, on where players could create cracks of dimension infinitely.
Solved an issue with the "reach" command not working properly when the targeted player is on an event instance.
Devised an advanced and secure "PQ request" system. The service revolves around expecting massive number of players requesting a "pass" simultaneously, and fairly & swiftly responsing as much people as possible.
Improved overall Whisper handler performance.
Fixed GPQ Stage 1 statues not working as expected, which rendered the instance unplayable until now.
Added commands for start, complete and reset quests.
This commit is contained in:
ronancpl
2018-08-18 11:38:55 -03:00
parent cda4433d99
commit 0d47edf1a7
116 changed files with 1596 additions and 703 deletions

View File

@@ -863,11 +863,11 @@ public class MaplePacketCreator {
List<MapleCharacter> chars = c.loadCharacters(serverId);
mplew.write((byte) chars.size());
for (MapleCharacter chr : chars) {
addCharEntry(mplew, chr, false);
addCharEntry(mplew, chr, false);
}
mplew.write(ServerConstants.ENABLE_PIC ? (c.getPic() == null ? 0 : 1) : 2);
mplew.writeInt(c.getCharacterSlots());
mplew.writeInt(ServerConstants.COLLECTIVE_CHARSLOT ? chars.size() + c.getAvailableCharacterSlots() : c.getCharacterSlots());
return mplew.getPacket();
}
@@ -2812,7 +2812,7 @@ public class MaplePacketCreator {
final MaplePacketLittleEndianWriter mplew = new MaplePacketLittleEndianWriter();
mplew.writeShort(SendOpcode.GIVE_FOREIGN_BUFF.getValue());
mplew.writeInt(cid);
mplew.writeLong(MapleBuffStat.MONSTER_RIDING.getValue()); //Thanks?
mplew.writeLong(MapleBuffStat.MONSTER_RIDING.getValue());
mplew.writeLong(0);
mplew.writeShort(0);
mplew.writeInt(mount.getItemId());
@@ -6079,14 +6079,14 @@ public class MaplePacketCreator {
return mplew.getPacket();
}
public static byte[] enableReport() { // by snow
public static byte[] enableReport() { // thanks to snow
final MaplePacketLittleEndianWriter mplew = new MaplePacketLittleEndianWriter(3);
mplew.writeShort(SendOpcode.CLAIM_STATUS_CHANGED.getValue());
mplew.write(1);
return mplew.getPacket();
}
public static byte[] giveFinalAttack(int skillid, int time) {//packets found by lailainoob
public static byte[] giveFinalAttack(int skillid, int time) { // packets found thanks to lailainoob
final MaplePacketLittleEndianWriter mplew = new MaplePacketLittleEndianWriter();
mplew.writeShort(SendOpcode.GIVE_BUFF.getValue());
mplew.writeLong(0);