5051525354555657585960
switch (RaidBossSpawnManager.getInstance().getRaidBossStatusId(bossId)) { case ALIVE: case DEAD: L2Spawn spawn = RaidBossSpawnManager.getInstance().getSpawns().get(bossId); player.sendPacket(new RadarControl(0, 1, spawn.getLocx(), spawn.getLocy(), spawn.getLocz())); break; case UNDEFINED: player.sendMessage("This Boss isn't in game - notify L2J Datapack Dev Team"); break;
4546474849505152535455
// Quest item: Lidia's diary if (itemId == 7064 ) { activeChar.sendPacket(new ShowMiniMap(1665)); activeChar.sendPacket(new RadarControl(0, 1, 51995, -51265, -3104)); } if (content == null) { NpcHtmlMessage html = new NpcHtmlMessage(1);
40414243444546
public void addMarker(int x, int y, int z) { RadarMarker newMarker = new RadarMarker(x, y, z); _markers.add(newMarker); _player.sendPacket(new RadarControl(0, 1, x, y, z)); }
49505152535455
public void removeMarker(int x, int y, int z) { RadarMarker newMarker = new RadarMarker(x, y, z); _markers.remove(newMarker); _player.sendPacket(new RadarControl(1, 1, x, y, z)); }
565758596061626364
public void removeAllMarkers() { // TODO: Need method to remove all markers from radar at once for (RadarMarker tempMarker : _markers) _player.sendPacket(new RadarControl(1, tempMarker._type, tempMarker._x, tempMarker._y, tempMarker._z)); _markers.removeAllElements(); }
4849505152535455565758
final L2PcInstance activeChar = (L2PcInstance)playable; final int itemId=item.getItemId(); if (itemId == 7063 ) { activeChar.sendPacket(new ShowMiniMap(1665)); activeChar.sendPacket(new RadarControl(0, 1, 51995, -51265, -3104)); } else activeChar.sendPacket(new ShowMiniMap(itemId)); return; }
10401041104210431044104510461047104810491050
try { L2Spawn spawn = SpawnTable.getInstance().getTemplate(Integer.parseInt(command.substring(12).trim())); if(spawn!=null) player.sendPacket(new RadarControl(0,1,spawn.getLocx(),spawn.getLocy(),spawn.getLocz())); } catch (NumberFormatException nfe) { player.sendMessage("Wrong command parameters"); } }