Jump to content

Miracles

Members
  • Posts

    102
  • Credits

  • Joined

  • Last visited

  • Feedback

    0%

Everything posted by Miracles

  1. I change it 4699 1 1 122 -1 1 4.00000000 1 skill.su.1077 icon.skill1331 0 0 0 0 -1 10 for 4699 1 1 122 -1 1 4.00000000 1 skill.su.1077 icon.skill4699 0 0 0 0 -1 10 Still nothing, but on my buff bar, skill appear black;
  2. Yep, i see it on interlude servers, but can't found it.
  3. But they got icon.skills ; <skill id="4699" levels="13" name="Blessing of Queen"> Skillname 4699 1 a,Blessing of Queen\0 a,Queen's buff magic Temporarily increases your party member's critical damage amount rate and power. Effect 1.\0 a,none\0 a,none\0 Skillgrp 4699 1 1 122 -1 1 4.00000000 1 skill.su.1077 icon.skill1331 0 0 0 0 -1 10 4699 2 1 157 -1 1 4.00000000 1 skill.su.1077 icon.skill1331 0 0 0 0 -1 10 4699 3 1 194 -1 1 4.00000000 1 skill.su.1077 icon.skill1331 0 0 0 0 -1 10 4699 4 1 202 -1 1 4.00000000 1 skill.su.1077 icon.skill1331 0 0 0 0 -1 10 4699 5 1 207 -1 1 4.00000000 1 skill.su.1077 icon.skill1331 0 0 0 0 -1 10 4699 6 1 212 -1 1 4.00000000 1 skill.su.1077 icon.skill1331 0 0 0 0 -1 10 4699 7 1 215 -1 1 4.00000000 1 skill.su.1077 icon.skill1331 0 0 0 0 -1 10 4699 8 1 220 -1 1 4.00000000 1 skill.su.1077 icon.skill1331 0 0 0 0 -1 10 4699 9 1 224 -1 1 4.00000000 1 skill.su.1077 icon.skill1331 0 0 0 0 -1 10 4699 10 1 229 -1 1 4.00000000 1 skill.su.1077 icon.skill1331 0 0 0 0 -1 10 4699 11 1 233 -1 1 4.00000000 1 skill.su.1077 icon.skill1331 0 0 0 0 -1 10 4699 12 1 237 -1 1 4.00000000 1 skill.su.1077 icon.skill1331 0 0 0 0 -1 10 4699 13 1 242 -1 1 4.00000000 1 skill.su.1077 icon.skill1331 0 0 0 0 -1 10 <skill id="4703" levels="13" name="Gift of Seraphim"> SkillName 4703 2 a,Gift of Seraphim\0 a,Unicorn Seraphim's buff magic temporarily reduces party members' magic skill recovery time. Effect 2.\0 a,none\0 a,none\0 SkillGrp 4703 1 1 122 -1 1 4.00000000 1 D skill.su.1085 icon.skill1332 0 0 0 0 -1 10 4703 2 1 157 -1 1 4.00000000 1 D skill.su.1085 icon.skill1332 0 0 0 0 -1 10 4703 3 1 194 -1 1 4.00000000 1 D skill.su.1085 icon.skill1332 0 0 0 0 -1 10 4703 4 1 202 -1 1 4.00000000 1 D skill.su.1085 icon.skill1332 0 0 0 0 -1 10 4703 5 1 207 -1 1 4.00000000 1 D skill.su.1085 icon.skill1332 0 0 0 0 -1 10 4703 6 1 212 -1 1 4.00000000 1 D skill.su.1085 icon.skill1332 0 0 0 0 -1 10 4703 7 1 215 -1 1 4.00000000 1 D skill.su.1085 icon.skill1332 0 0 0 0 -1 10 4703 8 1 220 -1 1 4.00000000 1 D skill.su.1085 icon.skill1332 0 0 0 0 -1 10 4703 9 1 224 -1 1 4.00000000 1 D skill.su.1085 icon.skill1332 0 0 0 0 -1 10 4703 10 1 229 -1 1 4.00000000 1 D skill.su.1085 icon.skill1332 0 0 0 0 -1 10 4703 11 1 233 -1 1 4.00000000 1 D skill.su.1085 icon.skill1332 0 0 0 0 -1 10 4703 12 1 237 -1 1 4.00000000 1 D skill.su.1085 icon.skill1332 0 0 0 0 -1 10 4703 13 1 242 -1 1 4.00000000 1 D skill.su.1085 icon.skill1332 0 0 0 0 -1 10
  4. I wanna buy this pincode sistem http://www.lineage2.com/en/game/getting-started/how-to-play/pin-security-system.php If someone sell it, pm me with the price and test server. Only for aCis ;
  5. So, i need change that icon skills on system, for ejample: cat summon skill, and poison skill icon? I ser the post but dont explain how to fix it
  6. Hi guys, i got a little problem, with the retail scheme buffer from acis; I add a new category; add the buffs; this appear but don't show me a image of buff; Example i add: Gift of Seraphim and Blessing of Queen (reuse delay and critical attack) on the npc, icon no appear, but on a buff effects; yeah.
  7. Script if someone need it, make all GrandBoss Chaotic Zone http://www.lineager.su/always-pvp-status-in-boss-zone/ . Someone know why got this error? Thanks guys. Error PvpFlagTaskManager.java /** * Updates and clears PvP flag of {@link L2PcInstance} after specified time. * @author Tryskell, Hasha */ public final class PvpFlagTaskManager implements Runnable { private final Map<L2PcInstance, Long> _players = new ConcurrentHashMap<>(); public static final PvpFlagTaskManager getInstance() { return SingletonHolder._instance; } protected PvpFlagTaskManager() { // Run task each second. ThreadPoolManager.getInstance().scheduleGeneralAtFixedRate(this, 1000, 1000); } /** * Adds {@link L2PcInstance} to the PvpFlagTask. * @param player : L2PcInstance to be added and checked. * @param time : Time in ms, after which the PvP flag is removed. */ public final void add(L2PcInstance player, long time) { _players.put(player, System.currentTimeMillis() + time); } /** * Removes {@link L2PcInstance} from the PvpFlagTask. * @param player : {@link L2PcInstance} to be removed. */ public final void remove(L2PcInstance player) { _players.remove(player); } @Override public final void run() { // List is empty, skip. if (_players.isEmpty()) return; // Get current time. final long currentTime = System.currentTimeMillis(); // Loop all players. for (Iterator<Map.Entry<L2PcInstance, Long>> iterator = _players.entrySet().iterator(); iterator.hasNext();) { // Get entry of current iteration. Map.Entry<L2PcInstance, Long> entry = iterator.next(); // Get time left and check. final long timeLeft = entry.getValue(); if (_players.isInsideZone(ZoneId.BOSS)) entry.setValue(System.currentTimeMillis() + Config.PVP_NORMAL_TIME); // Time is running out, clear PvP flag and remove from list. if (currentTime > timeLeft) { entry.getKey().updatePvPFlag(0); iterator.remove(); } // Time almost runned out, update to blinking PvP flag. else if (currentTime > (timeLeft - 5000)) entry.getKey().updatePvPFlag(2); // Time didn't run out, keep PvP flag. else entry.getKey().updatePvPFlag(1); } } private static class SingletonHolder { protected static final PvpFlagTaskManager _instance = new PvpFlagTaskManager(); } } Modificar mensaje
  8. hahaha, dat nuub i'm Thanks bro; U play lol or something like that? I send u a little present :)
  9. Because, dont have any directory "Custom"
  10. Sweets; I look the pastebin for Nobles Party; I put in on net.sf.l2j.gameserver.instancemanager right ?
  11. Thanks mate; i can configure the boss, or just make all raidboss = pvp zone ?
  12. Sure bro? I search on mxc forums, and all post are of Server's Preview, or ppl lf box bypass; hwid ban bypass; etc.
  13. If someone shared it for free better; else tell me the price on US$
  14. Hi guys, i'm searching for some codes, if u have can link it me? Pin code at character selection. Nobles for party Kill barakiel If u are noble, u can't enter to barakiel zone (Automatic teleport to near city) Zone Chaotic on Epic Boss 1 Box per pc Hwid Ban Bishops can't heal GrandBoss (baium, valakas, antharas, etc)
  15. Its good Sweets? + import net.sf.l2j.gameserver.handler.itemhandlers.ScrollOfClanRepPoints; + registerItemHandler(new ScrollOfClanRepPoints()); <item id="9258" type="EtcItem" name="Clan Coin"> <set name="material" val="PAPER" /> <set name="is_tradable" val="true" /> <set name="is_dropable" val="false" /> <set name="is_sellable" val="true" /> <set name="handler" val="ScrollOfClanRepPoints" /> </item>
  16. I need create the item ID on items.xml? Example: 9200-9299.xml <item id="9209" type="Scroll" name="Clan Reputation Scroll"> <set name="default_action" val="ScrollOfClanRepPoints" /> <set name="material" val="PAPER" /> <set name="weight" val="10" /> <set name="is_tradable" val="true" /> <set name="is_dropable" val="true" /> <set name="is_sellable" val="true" /> <set name="is_stackable" val="true" /> </item>
  17. Hi guys, I'm adding this old code for make a "Clan Reputation Score Item" Maybe is for revisions to old; I got this error, Eclipse's solutions, wanna make this: private void setReputationScore(int value) to public void setReputationScore(int value) Can i got problems to do that?
  18. Yep i replace it after run build; Check the imports, i add L2Skill but still give me errors; import java.sql.Connection; import java.sql.PreparedStatement; import java.util.logging.Logger; import net.sf.l2j.L2DatabaseFactory; import net.sf.l2j.gameserver.datatables.SkillTable; import net.sf.l2j.gameserver.datatables.CharNameTable; import net.sf.l2j.gameserver.datatables.ClanTable; import net.sf.l2j.gameserver.datatables.ClanSkillsTable; import net.sf.l2j.gameserver.model.L2Skill; import net.sf.l2j.gameserver.model.actor.L2Npc; import net.sf.l2j.gameserver.model.actor.instance.L2PcInstance; import net.sf.l2j.gameserver.model.olympiad.OlympiadManager; import net.sf.l2j.gameserver.model.quest.Quest; import net.sf.l2j.gameserver.model.quest.QuestState; import net.sf.l2j.gameserver.network.serverpackets.MagicSkillUse; Error
  19. SkillTable.java /* * 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.datatables; import java.io.File; import java.util.HashMap; import java.util.Map; import java.util.logging.Logger; import net.sf.l2j.gameserver.model.L2Skill; import net.sf.l2j.gameserver.skills.DocumentSkill; public class SkillTable { private static final Logger _log = Logger.getLogger(SkillTable.class.getName()); private static final Map<Integer, L2Skill> _skills = new HashMap<>(); private static final Map<Integer, Integer> _skillMaxLevel = new HashMap<>(); private static final L2Skill[] _heroSkills = new L2Skill[5]; private static final int[] _heroSkillsId = { 395, 396, 1374, 1375, 1376 }; private static final L2Skill[] _nobleSkills = new L2Skill[8]; private static final int[] _nobleSkillsId = { 325, 326, 327, 1323, 1324, 1325, 1326, 1327 }; private static final L2Skill[] _clanSkills = new L2Skill[22]; private static final int[] _clanSkillsId = { 370,371,372,373,374,375,376,377,378,379, 380,381,382,383,384,385,386,387,388,389, 390,391 }; public static SkillTable getInstance() { return SingletonHolder._instance; } protected SkillTable() { load(); } private void load() { final File dir = new File("./data/xml/skills"); for (File file : dir.listFiles()) { DocumentSkill doc = new DocumentSkill(file); doc.parse(); for (L2Skill skill : doc.getSkills()) _skills.put(getSkillHashCode(skill), skill); } _log.info("SkillTable: Loaded " + _skills.size() + " skills."); // Stores max level of skills in a map for future uses. for (final L2Skill skill : _skills.values()) { // Only non-enchanted skills final int skillLvl = skill.getLevel(); if (skillLvl < 99) { final int skillId = skill.getId(); final int maxLvl = getMaxLevel(skillId); if (skillLvl > maxLvl) _skillMaxLevel.put(skillId, skillLvl); } } // Loading FrequentSkill enumeration values for (FrequentSkill sk : FrequentSkill.values()) sk._skill = getInfo(sk._id, sk._level); for (int i = 0; i < _heroSkillsId.length; i++) _heroSkills[i] = getInfo(_heroSkillsId[i], 1); for (int i = 0; i < _clanSkillsId.length; i++) _clanSkills[i] = getInfo(_clanSkillsId[i], 1); for (int i = 0; i < _nobleSkills.length; i++) _nobleSkills[i] = getInfo(_nobleSkillsId[i], 1); } public void reload() { _skills.clear(); _skillMaxLevel.clear(); load(); } /** * Provides the skill hash * @param skill The L2Skill to be hashed * @return SkillTable.getSkillHashCode(skill.getId(), skill.getLevel()) */ public static int getSkillHashCode(L2Skill skill) { return getSkillHashCode(skill.getId(), skill.getLevel()); } /** * Centralized method for easier change of the hashing sys * @param skillId The Skill Id * @param skillLevel The Skill Level * @return The Skill hash number */ public static int getSkillHashCode(int skillId, int skillLevel) { return skillId * 256 + skillLevel; } public L2Skill getInfo(int skillId, int level) { return _skills.get(getSkillHashCode(skillId, level)); } public int getMaxLevel(int skillId) { final Integer maxLevel = _skillMaxLevel.get(skillId); return (maxLevel != null) ? maxLevel : 0; } /** * @param addNoble if true, will add also Advanced headquarters. * @return an array with siege skills. */ public L2Skill[] getSiegeSkills(boolean addNoble) { L2Skill[] temp = new L2Skill[2 + (addNoble ? 1 : 0)]; int i = 0; temp[i++] = _skills.get(SkillTable.getSkillHashCode(246, 1)); temp[i++] = _skills.get(SkillTable.getSkillHashCode(247, 1)); if (addNoble) temp[i++] = _skills.get(SkillTable.getSkillHashCode(326, 1)); return temp; } public static L2Skill[] getClanSkills() { return _clanSkills; } public static L2Skill[] getHeroSkills() { return _heroSkills; } public static boolean isHeroSkill(int skillid) { for (int id : _heroSkillsId) if (id == skillid) return true; return false; } public static L2Skill[] getNobleSkills() { return _nobleSkills; } /** * Enum to hold some important references to frequently used (hardcoded) skills in core * @author DrHouse */ public static enum FrequentSkill { LUCKY(194, 1), SEAL_OF_RULER(246, 1), BUILD_HEADQUARTERS(247, 1), STRIDER_SIEGE_ASSAULT(325, 1), DWARVEN_CRAFT(1321, 1), COMMON_CRAFT(1322, 1), LARGE_FIREWORK(2025, 1), SPECIAL_TREE_RECOVERY_BONUS(2139, 1), ANTHARAS_JUMP(4106, 1), ANTHARAS_TAIL(4107, 1), ANTHARAS_FEAR(4108, 1), ANTHARAS_DEBUFF(4109, 1), ANTHARAS_MOUTH(4110, 1), ANTHARAS_BREATH(4111, 1), ANTHARAS_NORMAL_ATTACK(4112, 1), ANTHARAS_NORMAL_ATTACK_EX(4113, 1), ANTHARAS_SHORT_FEAR(5092, 1), ANTHARAS_METEOR(5093, 1), RAID_CURSE(4215, 1), WYVERN_BREATH(4289, 1), ARENA_CP_RECOVERY(4380, 1), RAID_CURSE2(4515, 1), VARKA_KETRA_PETRIFICATION(4578, 1), FAKE_PETRIFICATION(4616, 1), THE_VICTOR_OF_WAR(5074, 1), THE_VANQUISHED_OF_WAR(5075, 1), BLESSING_OF_PROTECTION(5182, 1), FIREWORK(5965, 1); protected final int _id; protected final int _level; protected L2Skill _skill = null; private FrequentSkill(int id, int level) { _id = id; _level = level; } public L2Skill getSkill() { return _skill; } } private static class SingletonHolder { protected static final SkillTable _instance = new SkillTable(); } } Compile:
×
×
  • Create New...

AdBlock Extension Detected!

Our website is made possible by displaying online advertisements to our members.

Please disable AdBlock browser extension first, to be able to use our community.

I've Disabled AdBlock