Normalize credit comments
This commit is contained in:
@@ -75,7 +75,7 @@ public class MaplePacketDecoder extends CumulativeProtocolDecoder {
|
||||
rcvdCrypto.crypt(decryptedPacket);
|
||||
MapleCustomEncryption.decryptData(decryptedPacket);
|
||||
out.write(decryptedPacket);
|
||||
if (ServerConstants.USE_DEBUG_SHOW_PACKET){ // packet traffic log: Atoot's idea, applied using auto-identation thanks to lrenex
|
||||
if (ServerConstants.USE_DEBUG_SHOW_PACKET){ // Atoot's idea: packet traffic log, applied using auto-identation thanks to lrenex
|
||||
int packetLen = decryptedPacket.length;
|
||||
int pHeader = readFirstShort(decryptedPacket);
|
||||
String pHeaderStr = Integer.toHexString(pHeader).toUpperCase();
|
||||
|
||||
@@ -43,7 +43,7 @@ public final class MesoDropHandler extends AbstractMaplePacketHandler {
|
||||
slea.skip(4);
|
||||
int meso = slea.readInt();
|
||||
|
||||
if (c.tryacquireClient()) { // thanks imbee for noticing players not being able to throw mesos too fast, dampening gameplay of some classes
|
||||
if (c.tryacquireClient()) { // thanks imbee for noticing players not being able to throw mesos too fast
|
||||
try {
|
||||
if (meso <= player.getMeso() && meso > 9 && meso < 50001) {
|
||||
player.gainMeso(-meso, false, true, false);
|
||||
|
||||
@@ -31,7 +31,7 @@ import client.MapleClient;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author Xotic & BubblesDev
|
||||
* @author Xotic (XoticStory) & BubblesDev
|
||||
*/
|
||||
|
||||
public final class MobDamageMobFriendlyHandler extends AbstractMaplePacketHandler {
|
||||
|
||||
@@ -40,7 +40,7 @@ import tools.data.input.SeekableLittleEndianAccessor;
|
||||
|
||||
|
||||
/**
|
||||
*@author Drago/Dragohe4rt
|
||||
*@author Drago (Dragohe4rt)
|
||||
*/
|
||||
|
||||
public final class MonsterCarnivalHandler extends AbstractMaplePacketHandler {
|
||||
|
||||
@@ -53,7 +53,7 @@ import java.sql.SQLException;
|
||||
/**
|
||||
*
|
||||
* @author Matze
|
||||
* @author Ronan - concurrency safety & reviewed minigames
|
||||
* @author Ronan - concurrency safety and reviewed minigames
|
||||
*/
|
||||
public final class PlayerInteractionHandler extends AbstractMaplePacketHandler {
|
||||
public enum Action {
|
||||
|
||||
@@ -31,7 +31,7 @@ import tools.data.input.SeekableLittleEndianAccessor;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author kevintjuh93 :3
|
||||
* @author kevintjuh93 - :3
|
||||
*/
|
||||
public class RemoteStoreHandler extends AbstractMaplePacketHandler {
|
||||
@Override
|
||||
|
||||
@@ -48,7 +48,7 @@ import tools.packets.Wedding;
|
||||
/**
|
||||
* @author Jvlaple
|
||||
* @author Ronan - major overhaul on Ring handling mechanics
|
||||
* @author Drago/Dragohe4rt - on Wishlist
|
||||
* @author Drago (Dragohe4rt) - on Wishlist
|
||||
*/
|
||||
public final class RingActionHandler extends AbstractMaplePacketHandler {
|
||||
private static int getBoxId(int useItemId) {
|
||||
@@ -466,7 +466,7 @@ public final class RingActionHandler extends AbstractMaplePacketHandler {
|
||||
|
||||
case 9:
|
||||
try {
|
||||
// By Drago/Dragohe4rt
|
||||
// By -- Drago (Dragohe4rt)
|
||||
// Groom and Bride's Wishlist
|
||||
|
||||
MapleCharacter player = c.getPlayer();
|
||||
|
||||
@@ -76,7 +76,7 @@ public final class SummonDamageHandler extends AbstractDealDamageHandler {
|
||||
List<SummonAttackEntry> allDamage = new ArrayList<>();
|
||||
byte direction = slea.readByte();
|
||||
int numAttacked = slea.readByte();
|
||||
slea.skip(8); //Thanks Gerald :D, I failed lol (mob x,y and summon x,y)
|
||||
slea.skip(8); // I failed lol (mob x,y and summon x,y), Thanks Gerald
|
||||
for (int x = 0; x < numAttacked; x++) {
|
||||
int monsterOid = slea.readInt(); // attacked oid
|
||||
slea.skip(18);
|
||||
|
||||
@@ -317,7 +317,7 @@ public final class UseCashItemHandler extends AbstractMaplePacketHandler {
|
||||
break;
|
||||
}
|
||||
remove(c, position, itemId);
|
||||
} else if (itemType == 508) { // graduation banner, thanks to tmskdl12. Also, thanks ratency for first pointing lack of Kite handling
|
||||
} else if (itemType == 508) { // thanks tmskdl12 for graduation banner; thanks ratency for first pointing lack of Kite handling
|
||||
MapleKite kite = new MapleKite(player, slea.readMapleAsciiString(), itemId);
|
||||
|
||||
if (!GameConstants.isFreeMarketRoom(player.getMapId())) {
|
||||
|
||||
@@ -30,7 +30,9 @@ import tools.data.input.SeekableLittleEndianAccessor;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author kevintjuh93; modified by Ronan
|
||||
* @author kevintjuh93
|
||||
*
|
||||
* Modified by -- Ronan - concurrency protection
|
||||
*/
|
||||
public class UseGachaExpHandler extends AbstractMaplePacketHandler {
|
||||
|
||||
|
||||
@@ -34,7 +34,9 @@ import tools.data.input.SeekableLittleEndianAccessor;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author XoticStory; modified by kevintjuh93, Ronan
|
||||
* @author XoticStory
|
||||
*
|
||||
* Modified by -- kevintjuh93, Ronan
|
||||
*/
|
||||
public final class UseSolomonHandler extends AbstractMaplePacketHandler {
|
||||
|
||||
|
||||
@@ -26,7 +26,7 @@ import java.util.List;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author By Drago/Dragohe4rt
|
||||
* @author Drago (Dragohe4rt)
|
||||
*/
|
||||
public final class WeddingHandler extends AbstractMaplePacketHandler {
|
||||
|
||||
|
||||
@@ -100,7 +100,7 @@ import net.server.coordinator.MaplePartySearchCoordinator;
|
||||
/**
|
||||
*
|
||||
* @author kevintjuh93
|
||||
* @author Ronan - thread-oriented world schedules, guild queue, marriages & party chars
|
||||
* @author Ronan - thread-oriented (world schedules + guild queue + marriages + party chars)
|
||||
*/
|
||||
public class World {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user