Kotegaeshi92

Members
  • Content Count

    18
  • Joined

  • Last visited

  • Feedback

    N/A

Community Reputation

0 Neutral

About Kotegaeshi92

  • Rank
    Vassal
  • Birthday 05/22/1992

Profile Information

  • Current Mood
    Confused
  • Gender
    Male
  • Country
    Argentina
  • Interests
    L2

Recent Profile Visitors

198 profile views
  1. Hi community, im working with Faction mod and im trying to set when a player dies to go to last captured flag in faction mod, is there any method to do this ? the idea is that the "fixed " button teleports a player to last faction captured flag , i know that "l2tpflaginstance" manages captured flags , so the npc shows a list of captured flags for the team , using this maybe i can set up the button to go to the first flag in the list (the first is the last captured in the npc ) or maybe create other method to store that location when a player capture the flag and bring it to the fixed button . Someone can help me with these ? it well be appreciated . thanks and sorry for my bad english.
  2. Hi ! I want to disable buffer class from my server, im using l2jacis, i tried to disable it from classId but it crashes npcs xD So i just need to disable support classes from class manager and sub class manager. is there any idea ? thank you very much Greetings.
  3. Gracias reynaldo lo voy a probar y te comento los resultados, la idea es que al obtener faccion en mi server, tambien obtenga clan y por lo tanto los clan skills. pero actualmente cuando elijo clan, no me refresca los clan skills instantaneamente, (el clan general esta lv 8 full skill ) entonces hay que re-logear para que tome dichos clan skill. lo pruebo y te comento muchas gracias.
  4. Hi, is there some command to refresh clan skills without re-login ?
  5. Hi friends , Im having some problems to set a default crest when faction is selected, i cant get the method to set a default crest from crestcache (previously loaded in data/crest) for all faction members. can i get some help with this ? sorry for my bad english. Greetings
  6. Hi, im working in this faction mod, and adapted a TvT event from the forum, now its working fine. The only problem is that faction attack restriction interferes with TVT Event, so when 2 players from same faction are in tvt , they cannot attack each other, found this in l2character: if (this instanceof L2PcInstance) { L2PcInstance player = (L2PcInstance) this; L2PcInstance trgtF = null; boolean cond = true; if (!player.isInSiege() && !player.isInOlympiadMode() && !player.isInsideZone(ZONE_PVP)) { if (target instanceof L2PcInstance) trgtF = (L2PcInstance) target; else if (target instanceof L2SummonInstance) trgtF = ((L2SummonInstance)target).getOwner(); else if (target instanceof L2PetInstance) trgtF = ((L2PetInstance)target).getOwner(); if (trgtF != null && trgtF != player) { if (trgtF.getFactionId() == player.getFactionId() && player.getFactionId() > 0) cond = false; else if (trgtF.getFactionId() == 0 || player.getFactionId() == 0) cond = false; } if (!cond) return; } and this in l2pcinstance: if (skill.isPvpSkill()) // pvp skill { // CHECK IF OKAY if (!isInSiege() && !isInOlympiadMode()) { if (getFactionId() != target.getActingPlayer().getFactionId() && !isInsidePeaceZone(this, target)) return true; } // in clan war player can attack whites even with sleep etc. if (getClan() != null && ((L2PcInstance)target).getClan() != null) { if(getClan().isAtWarWith(((L2PcInstance)target).getClan().getClanId())) return true; } } else if ((skilldat != null && !skilldat.isCtrlPressed() && skill.isOffensive() && !srcIsSummon) || (skilldatpet != null && !skilldatpet.isCtrlPressed() && skill.isOffensive() && srcIsSummon)) { if (!isInSiege() && !isInOlympiadMode()) { if (getFactionId() != target.getActingPlayer().getFactionId() && !isInsidePeaceZone(this, target)) return true; } // in clan war player can attack whites even with sleep etc. if (getClan() != null && ((L2PcInstance)target).getClan() != null) { if (getClan().isAtWarWith(((L2PcInstance)target).getClan().getClanId())) return true; } i tried adding "if (!isInSiege() && !isInOlympiadMode() && !isInFunEvent) { but it does not work. Any idea or suggestion ? it will be appreciated
  7. Solved tnx for the answers: just changed _playerInstance.teleToLocation(_coordinates[0], _coordinates[1], _coordinates[2], 0); to _playerInstance.teleToLocation(_coordinates[0], _coordinates[1], _coordinates[2]); Please close.
  8. I dont have that metod , maybe i have to import it ? or creating it in l2pcinstance ?
  9. is solved, thank you very much for your answers , please close
  10. 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(); } }
  11. Hi everybody, im triying to prevent game changing color when pvp flag activated, so i found this : writeD(_activeChar.getPvpFlag()); in userinfo.java Maybe i need to delete this or change some value ? or maybe im pointing to incorrect place... thanks for your time and sorry my bad English. Greetings .
  12. Hi everybody im new in l2j server developement, im working with jericko90 acis faction pack , and im trying to create a gmshop but when i spawn the npc with admin character nothing happens. Ive created the npc in xml /npc ,the htm ,and set it to L2Merchant. Nothing happens but an error, im going to sleep now but tomorrow ill post screenshots, ill apreciate some help. Tnx AND sorry for my bad english . Greetings