Updating more credits
This commit is contained in:
@@ -858,7 +858,7 @@ public class Server {
|
||||
} catch (SQLException sqle) {
|
||||
sqle.printStackTrace();
|
||||
}
|
||||
applyAllNameChanges(); //name changes can be missed by INSTANT_NAME_CHANGE
|
||||
applyAllNameChanges(); // -- name changes can be missed by INSTANT_NAME_CHANGE --
|
||||
applyAllWorldTransfers();
|
||||
//MaplePet.clearMissingPetsFromDb(); // thanks Optimist for noticing this taking too long to run
|
||||
MapleCashidGenerator.loadExistentCashIdsFromDb();
|
||||
|
||||
@@ -164,7 +164,7 @@ public abstract class AbstractDealDamageHandler extends AbstractMaplePacketHandl
|
||||
int mobCount = attackEffect.getMobCount();
|
||||
if (attack.skill != Cleric.HEAL) {
|
||||
if (player.isAlive()) {
|
||||
if(attack.skill == Aran.BODY_PRESSURE || attack.skill == Marauder.ENERGY_CHARGE || attack.skill == ThunderBreaker.ENERGY_CHARGE) { // thanks IxianMace for noticing Energy Charge skills refreshing on touch, leading to misleading buff applies
|
||||
if(attack.skill == Aran.BODY_PRESSURE || attack.skill == Marauder.ENERGY_CHARGE || attack.skill == ThunderBreaker.ENERGY_CHARGE) { // thanks IxianMace for noticing Energy Charge skills refreshing on touch
|
||||
// prevent touch dmg skills refreshing
|
||||
} else if(attack.skill == NightWalker.POISON_BOMB) {// Poison Bomb
|
||||
attackEffect.applyTo(player, new Point(attack.position.x, attack.position.y));
|
||||
|
||||
@@ -205,7 +205,7 @@ public abstract class AbstractMovementPacketHandler extends AbstractMaplePacketH
|
||||
lea.skip(9); // jump down (?)
|
||||
break;
|
||||
case 10: // Change Equip
|
||||
//ignored by server
|
||||
//ignored server-side
|
||||
lea.readByte();
|
||||
break;
|
||||
/*case 11: { // Chair
|
||||
|
||||
@@ -105,7 +105,7 @@ public final class AcceptFamilyHandler extends AbstractMaplePacketHandler {
|
||||
newEntry.setSenior(inviterEntry, true);
|
||||
// save new family
|
||||
insertNewFamilyRecord(inviter.getId(), newFamily.getID(), 0, true);
|
||||
insertNewFamilyRecord(chr.getId(), newFamily.getID(), inviter.getId(), false); // char was already saved by setSenior() above
|
||||
insertNewFamilyRecord(chr.getId(), newFamily.getID(), inviter.getId(), false); // char was already saved from setSenior() above
|
||||
newFamily.setMessage("", true);
|
||||
} else { //new family for inviter, absorb invitee family
|
||||
insertNewFamilyRecord(inviter.getId(), newFamily.getID(), 0 , true);
|
||||
|
||||
@@ -102,7 +102,7 @@ public final class AdminCommandHandler extends AbstractMaplePacketHandler {
|
||||
c.announce(MaplePacketCreator.getGMEffect(6, (byte) 1));
|
||||
}
|
||||
break;
|
||||
case 0x10: // /h, information added by vana <and tele mode f1> ... hide ofcourse
|
||||
case 0x10: // /h, information added by vana -- <and tele mode f1> ... hide ofcourse
|
||||
c.getPlayer().Hide(slea.readByte() == 1);
|
||||
break;
|
||||
case 0x11: // Entering a map
|
||||
|
||||
@@ -61,7 +61,7 @@ public class FamilySeparateHandler extends AbstractMaplePacketHandler {
|
||||
if(senior.getSenior() != null) senior.getSenior().gainReputation(-(repCost/2), false);
|
||||
forkOn.announceToSenior(MaplePacketCreator.serverNotice(5, forkOn.getName() + " has left the family."), true);
|
||||
forkOn.fork();
|
||||
c.announce(MaplePacketCreator.getFamilyInfo(forkOn)); //pedigree info will be requested by the client if the window is open
|
||||
c.announce(MaplePacketCreator.getFamilyInfo(forkOn)); //pedigree info will be requested from the client if the window is open
|
||||
forkOn.updateSeniorFamilyInfo(true);
|
||||
c.announce(MaplePacketCreator.sendFamilyMessage(1, 0));
|
||||
}
|
||||
|
||||
@@ -160,7 +160,7 @@ public final class MoveLifeHandler extends AbstractMovementPacketHandler {
|
||||
|
||||
try {
|
||||
long movementDataStart = slea.getPosition();
|
||||
updatePosition(slea, monster, -2); // Thanks Doodle and ZERO傑洛 for noticing sponge-based bosses moving out of stage in case of no-offset applied
|
||||
updatePosition(slea, monster, -2); // Thanks Doodle & ZERO傑洛 for noticing sponge-based bosses moving out of stage in case of no-offset applied
|
||||
long movementDataLength = slea.getPosition() - movementDataStart; //how many bytes were read by updatePosition
|
||||
slea.seek(movementDataStart);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user