-
Публикаций
96 -
Зарегистрирован
-
Посещение
-
Отзывы
0%
Тип контента
Профили
Форумы
Загрузки
Магазин
Инструкции
Весь контент La Luna
-
festina-project.ru(не реклама) - закрылись
-
IDEASERV OPEN - команды разрабатывающая грацию финал с открытыми исходниками.
-
да пашет но не так как нужно надо урезать под с4
-
Может у кого завалялась Geodata для c4 ?
-
Может вы дополнения ставили свои? Проверьте хтмл.
-
я эклипсом не пользуюсь, компилирую ant
-
[javac] _playerInstance.teleToLocation(_coordinates[0], _coordinates[1], _coordinates[2], false); [javac] ^ [javac] method L2Character.teleToLocation(TeleportWhereType) is not applicable [javac] (actual and formal argument lists differ in length) [javac] method L2Character.teleToLocation(Location) is not applicable [javac] (actual and formal argument lists differ in length) [javac] method L2Character.teleToLocation(int,int,int) is not applicable [javac] (actual and formal argument lists differ in length)
-
Не это не то, надо в L2Character.java метод добавлять
-
импорт тут не надо! Надо метод teleToLocation в L2Character создать или переделать этот! L2Character.java L2TvTEventNpcInstance.java
-
public void leaveOlympiadObserverMode() { setTarget(null); sendPacket(new ExOlympiadMode(0)); teleToLocation(_obsX, _obsY, _obsZ); setVisible(); setIsInvul(false); if (getAI() != null) { getAI().setIntention(CtrlIntention.AI_INTENTION_IDLE); } Olympiad.getInstance().removeSpectator(_olympiadGameId, this); _olympiadGameId = -1; _observerMode = false; broadcastPacket(new CharInfo(this)); } public void stopRentPet() { if (_taskRentPet != null) { // if the rent of a wyvern expires while over a flying zone, tp to down before unmounting if (checkLandingState() && getMountType()==2) teleToLocation(MapRegionTable.getInstance().getTeleToLocation(this, MapRegionTable.TeleportWhereType.Town)); _taskRentPet.cancel(false); Ride dismount = new Ride(getObjectId(), Ride.ACTION_DISMOUNT, 0); sendPacket(dismount); broadcastPacket(dismount); _taskRentPet = null; setMountType(0); } }
-
[javac] _playerInstance.teleToLocation( new Location( _coordinates[0], _coordinates[1], _coordinates[2] ) ); [javac] ^ [javac] symbol: class Location [javac] location: class TvTEventTeleporter [javac] Note: C:\Users\Иван\Desktop\исходники\L2J\java\net\sf\l2j\Config.java uses unchecked or unsafe operations. [javac] Note: Recompile with -Xlint:unchecked for details.
-
package net.sf.l2j.gameserver.model.entity; import net.sf.l2j.Config; import net.sf.l2j.gameserver.ThreadPoolManager; import net.sf.l2j.gameserver.model.L2Effect; import net.sf.l2j.gameserver.model.L2Summon; import net.sf.l2j.gameserver.model.entity.TvTEvent; import net.sf.l2j.gameserver.model.actor.instance.L2PcInstance; public class TvTEventTeleporter implements Runnable { private L2PcInstance _playerInstance; private int[] _coordinates = new int[3]; public TvTEventTeleporter(L2PcInstance playerInstance, int[] coordinates, boolean reAdd) { _playerInstance = playerInstance; _coordinates = coordinates; // in config as seconds long delay = (TvTEvent.isStarted() ? Config.TVT_EVENT_RESPAWN_TELEPORT_DELAY : Config.TVT_EVENT_START_LEAVE_TELEPORT_DELAY) * 1000; if (reAdd) delay = 0; ThreadPoolManager.getInstance().scheduleGeneral(this, delay); } public void run() { if (_playerInstance == null) return; L2Summon summon = _playerInstance.getPet(); if (summon != null) summon.unSummon(_playerInstance); for (L2Effect effect : _playerInstance.getAllEffects()) { if (effect != null) effect.exit(); } _playerInstance.doRevive(); _playerInstance.setCurrentCp(_playerInstance.getMaxCp()); _playerInstance.setCurrentHp(_playerInstance.getMaxHp()); _playerInstance.setCurrentMp(_playerInstance.getMaxMp()); _playerInstance.teleToLocation(_coordinates[0], _coordinates[1], _coordinates[2], false); if (TvTEvent.isStarted()) _playerInstance.setTeam(TvTEvent.getParticipantTeamId(_playerInstance.getName())+1); else _playerInstance.setTeam(0); _playerInstance.broadcastStatusUpdate(); _playerInstance.broadcastUserInfo(); } }
-
Как я понял не хватает метода
-
файл тот и на что ругается я тоже знаю, а как устранить!?
-
[javac] Compiling 1018 source files to C:\Users\nure\Desktop\svn\L2J\build\classes [javac] warning: [options] bootstrap class path not set in conjunction with -source 1.5 [javac] C:\Users\nure\Desktop\svn\L2J\java\net\sf\l2j\gameserver\model\entity\TvTEventTeleporter.java:44: error: no suitable method found for teleToLocation(int,int,int,boolean) [javac] _playerInstance.teleToLocation(_coordinates[0], _coordinates[1], _coordinates[2], false); [javac] ^ [javac] method L2Character.teleToLocation(TeleportWhereType) is not applicable [javac] (actual and formal argument lists differ in length) [javac] method L2Character.teleToLocation(Location) is not applicable [javac] (actual and formal argument lists differ in length) [javac] method L2Character.teleToLocation(int,int,int) is not applicable [javac] (actual and formal argument lists differ in length) [javac] Note: C:\Users\nure\Desktop\svn\L2J\java\net\sf\l2j\Config.java uses unchecked or unsafe operations. [javac] Note: Recompile with -Xlint:unchecked for details. [javac] 1 error [javac] 1 warning При компиляции ошибка помогите ее решить вот сам файл package net.sf.l2j.gameserver.model.entity; import net.sf.l2j.Config; import net.sf.l2j.gameserver.ThreadPoolManager; import net.sf.l2j.gameserver.model.L2Effect; import net.sf.l2j.gameserver.model.L2Summon; import net.sf.l2j.gameserver.model.entity.TvTEvent; import net.sf.l2j.gameserver.model.actor.instance.L2PcInstance; public class TvTEventTeleporter implements Runnable { private L2PcInstance _playerInstance; private int[] _coordinates = new int[3]; public TvTEventTeleporter(L2PcInstance playerInstance, int[] coordinates, boolean reAdd) { _playerInstance = playerInstance; _coordinates = coordinates; // in config as seconds long delay = (TvTEvent.isStarted() ? Config.TVT_EVENT_RESPAWN_TELEPORT_DELAY : Config.TVT_EVENT_START_LEAVE_TELEPORT_DELAY) * 1000; if (reAdd) delay = 0; ThreadPoolManager.getInstance().scheduleGeneral(this, delay); } public void run() { if (_playerInstance == null) return; L2Summon summon = _playerInstance.getPet(); if (summon != null) summon.unSummon(_playerInstance); for (L2Effect effect : _playerInstance.getAllEffects()) { if (effect != null) effect.exit(); } _playerInstance.doRevive(); _playerInstance.setCurrentCp(_playerInstance.getMaxCp()); _playerInstance.setCurrentHp(_playerInstance.getMaxHp()); _playerInstance.setCurrentMp(_playerInstance.getMaxMp()); _playerInstance.teleToLocation(_coordinates[0], _coordinates[1], _coordinates[2], false); if (TvTEvent.isStarted()) _playerInstance.setTeam(TvTEvent.getParticipantTeamId(_playerInstance.getName())+1); else _playerInstance.setTeam(0); _playerInstance.broadcastStatusUpdate(); _playerInstance.broadcastUserInfo(); } }
-
это я выдрал, из конфигов выдрал, и из манагера, еще где то есть но где?