
Originally Posted by
Vulpes
Some servers don't have the monsterbombhandler.java . Sorry. I'll try to come up with a fix ASAP.
Code:
package net.sf.odinms.net.channel.handler;
import net.sf.odinms.client.MapleClient;
import net.sf.odinms.server.maps.MapleMap;
import net.sf.odinms.server.life.MapleMonster;
import net.sf.odinms.tools.data.input.SeekableLittleEndianAccessor;
public class MonsterBombHandler extends AbstractMaplePacketHandler {
@Override
public void handlePacket(SeekableLittleEndianAccessor slea, MapleClient c) {
MapleMap map = c.getPlayer().getMap();
MapleMonster monster = map.getMonsterByOid(slea.readInt());
if (c.getPlayer().isAlive() && monster != null && (monster.getId() == 8500003 || monster.getId() == 8500004)) {
map.killMonster(monster, c.getPlayer(), false);
}
}
}
*i do not know if this will work in 62. i just edited the imports.