Search the Community
Showing results for tags 'Tvt'.
-
Hi everybody ! i need some help with the TVT event, is working everything fine but the teleport to arena is not . i have set te coords in events.properities but when event start the characters stay in the same place, i think the problem is here, but i dont know ... im working with an old rev of Acis... hope you can help me guys .. Thank you ! /* * This program is free software: you can redistribute it and/or modify it under * the terms of the GNU General Public License as published by the Free Software * Foundation, either version 3 of the License, or (at your option) any later * version. * * This program is distributed in the hope that it will be useful, but WITHOUT * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS * FOR A PARTICULAR PURPOSE. See the GNU General Public License for more * details. * * You should have received a copy of the GNU General Public License along with * this program. If not, see <http://www.gnu.org/licenses/>. */ package net.sf.l2j.gameserver.events; import net.sf.l2j.Config; import net.sf.l2j.gameserver.ThreadPoolManager; import net.sf.l2j.gameserver.datatables.SkillTable; import net.sf.l2j.gameserver.model.L2Effect; import net.sf.l2j.gameserver.model.L2Skill; import net.sf.l2j.gameserver.model.actor.L2Summon; import net.sf.l2j.gameserver.model.actor.instance.L2PcInstance; public class TvTEventTeleport implements Runnable { /** Gives Noblesse to players */ static L2Skill noblesse = SkillTable.getInstance().getInfo(1323, 1); /** The instance of the player to teleport */ public L2PcInstance _playerInstance; /** Coordinates of the spot to teleport to */ public int[] _coordinates = new int[3]; /** Admin removed this player from event */ private boolean _adminRemove; /** * Initialize the teleporter and start the delayed task * @param playerInstance * @param coordinates * @param fastSchedule * @param adminRemove */ public TvTEventTeleport(L2PcInstance playerInstance, int[] coordinates, boolean fastSchedule, boolean adminRemove) { _playerInstance = playerInstance; _coordinates = coordinates; _adminRemove = adminRemove; // in config as seconds long delay = (TvTEvent.isStarted() ? Config.TVT_EVENT_RESPAWN_TELEPORT_DELAY : Config.TVT_EVENT_START_LEAVE_TELEPORT_DELAY) * 1000; if (fastSchedule) delay = 0; ThreadPoolManager.getInstance().scheduleGeneral(this, delay); } /** * The task method to teleport the player<br> * 1. Unsummon pet if there is one 2. Remove all effects 3. Revive and full heal the player 4. Teleport the player 5. Broadcast status and user info * @see java.lang.Runnable#run() */ @Override public void run() { if (_playerInstance == null) return; L2Summon summon = _playerInstance.getPet(); if (summon != null) summon.unSummon(_playerInstance); for (L2Effect effect : _playerInstance.getAllEffects()) { if (Config.TVT_EVENT_REMOVE_BUFFS && effect != null) effect.exit(); } ThreadPoolManager.getInstance().scheduleGeneral(new Runnable() { @Override public void run() { _playerInstance.doRevive(); _playerInstance.setCurrentHp(_playerInstance.getMaxHp()); _playerInstance.setCurrentCp(_playerInstance.getMaxCp()); _playerInstance.setCurrentMp(_playerInstance.getMaxMp()); noblesse.getEffects(_playerInstance, _playerInstance); _playerInstance.teleToLocation(_coordinates[0], _coordinates[1], _coordinates[2], 0); } }, 4000); if (TvTEvent.isStarted() && !_adminRemove) _playerInstance.setTeam(TvTEvent.getParticipantTeamId(_playerInstance.getName()) + 1); else _playerInstance.setTeam(0); _playerInstance.broadcastStatusUpdate(); _playerInstance.broadcastUserInfo(); } }
-
Help Tvt working good, but don't spawning npc
martuxas1 posted a question in Request Server Development Help [L2J]
Tvt works fine But when starts tvt event i get this error on concole ERROR TVT Engine[spawnEventNpc(exception: null Source: L2jFrozen maybe some one know the problem? -
Help l2jfrozen tvt change teleport location
martuxas1 posted a question in Request Server Development Help [L2J]
Hello, how to change l2jfrozen tvt teleport locations? -
>>Site : www.l2nuke.com<< >>Page : https://www.facebook.com/L2nuke/<< >>Safe +8 Max +16 Donate +20<< >>Blessed 100%<< >>No Custom<< >>Farm Easy<< >> + Info Site/Page << Open 15 Agust 2017
- 2 replies
-
- Gracia final
- Lineage
-
(and 6 more)
Tagged with:
-
Help Tvt Players Attack/cast Without Pressing Ctrl
zilbe333 posted a question in Request Server Development Help [L2J]
Hello, I've came across this issue: TvT players that are clan members to ttack/cast, if the opposite event team player is a clan memmber, they have to be pressing CTRL to attack, if you're not a clan memmber all works fine. How to fix it? [L2jFrozen] -
hello forum, I was implementing l2jphoenix engine to rev last public of L2jacis and not achieving it work if someone could help me the dif ? thank you very much greetings from Argentina
- 4 replies
-
- Phoenix Engine
- Tvt
- (and 4 more)
-
Gia sas simera evala tvt se jacis pack ola koble mia xara den m vgike kanena problem alla otan bika sto game kai arxise to registartion elege ayto elege sto announcements ayto "Registrations for the TvT Event are opened for 2 minutes. Type /join to register and /leave to WITHDRAW" alla otan to dokimasa na patiso /join den m elege tpt oute oti ekana register opos tin eikona edw kanonika leei "You have registered successfully" otan patas /join emena den m elege tpt kai den ekane register sto event to idio kai me to /leave kanena apo ta dio den douleve kseri kanis ti fteei? i an einai anti gia /join na ta kano .join i .tvtjoin oti einai pio efkolo na gini pls :|
-
geia. psaxnw kapoioa codes gia tvt events. epidi den exei to l2jacis apoti exw di. mporeite na me vohthisete? ( skype giorgosmargazhs ) gia poio grigora :P