Jump to content

te0x

Members
  • Posts

    460
  • Credits

  • Joined

  • Last visited

  • Days Won

    2
  • Feedback

    0%

Everything posted by te0x

  1. if you are using frozen find these lines if ((maxEnchantLevel != 0 && item.getEnchantLevel() >= maxEnchantLevel) || (item.getEnchantLevel()) < minEnchantLevel) { activeChar.sendPacket(new SystemMessage(SystemMessageId.INAPPROPRIATE_ENCHANT_CONDITION)); return; } and below add this if(crystalScroll && !item.getItemId() == 999) { activeChar.sendPacket(new SystemMessage(SystemMessageId.INAPPROPRIATE_ENCHANT_CONDITION)); return; } change the ids and thats it
  2. make a good sleep and when you wake up start the searching :D its not hard to find a buffer thats works. Already on shared section do exists 3-4 buffers for acis.
  3. voitha ton skype giati ine arketa blindy na vali to parapano code hahah klama
  4. Lol is sure for you. I can see the cancer jajajajaj
  5. Sto frozen ama dosis to skill se enan pexti me pvp to skill tha diagrafti sto next login i meta apo sub. Egw etc to ixa dokimasi kai duleve coble
  6. /* * 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 custom.BossRespawn; import net.sf.l2j.gameserver.datatables.NpcTable; import net.sf.l2j.gameserver.instancemanager.GrandBossManager; import net.sf.l2j.gameserver.instancemanager.RaidBossSpawnManager; import net.sf.l2j.gameserver.model.actor.L2Npc; import net.sf.l2j.gameserver.model.actor.instance.L2PcInstance; import net.sf.l2j.gameserver.model.actor.template.NpcTemplate; import net.sf.l2j.gameserver.model.quest.Quest; import net.sf.l2j.gameserver.network.serverpackets.NpcHtmlMessage; import net.sf.l2j.gameserver.templates.StatsSet; public class BossRespawn extends Quest { private static final int NPC_ID = 50022; private static final int[] BOSSES = {25325, 29006, 29014, 29019, 29020, 29022, 29028, 29045}; public BossRespawn(int questid, String name, String descr) { super(questid, name, descr); addFirstTalkId(NPC_ID); } @Override public String onFirstTalk(L2Npc npc, L2PcInstance pc) { if(npc == null || pc == null) return null; if(npc.getNpcId() == NPC_ID) { sendInfo(pc); } return null; } private static void sendInfo(L2PcInstance activeChar) { StringBuilder tb = new StringBuilder(); tb.append("<html><head><title>Lineage II Addicted - Bosses Spectate</title></head><body>"); tb.append("<center><img src=\"l2ui_ch3.herotower_deco\" width=256 height=32>"); tb.append("<img src=\"L2UI.SquareGray\" width=300 height=1>"); tb.append("<table bgcolor=000000 width=300 height=40>"); tb.append("<tr>"); tb.append("<td width=\"300\" align=\"center\"><font color=\"666666\">Welcome " + activeChar.getName() +" in Lineage II</font><font color=\"FF9900\"> -Addicted-</font></td>"); tb.append("</tr>"); tb.append("</table>"); tb.append("<img src=\"L2UI.SquareGray\" width=300 height=1>"); tb.append("<br>"); tb.append("<img src=\"L2UI.SquareGray\" width=300 height=1>"); tb.append("</center>"); tb.append("<center>"); tb.append("<table bgcolor=000000 width=300 height=12>"); tb.append("<tr>"); tb.append("<td width=\"300\" align=\"center\"><font color=\"FF0000\">{Bosses Spectate}</font></td>"); tb.append("</tr>"); tb.append("<tr>"); tb.append("<td width=\"300\" align=\"center\"><font color=\"666666\">Online bosses status</font></td>"); tb.append("</tr>"); tb.append("</table>"); tb.append("<img src=\"L2UI.SquareGray\" width=300 height=1>"); tb.append("<br>"); tb.append("<img src=\"L2UI.SquareGray\" width=300 height=1>"); tb.append("<table border=0 bgcolor=000000 width=300 height=30>"); for(int boss : BOSSES) { String name = ""; NpcTemplate template = null; if((template = NpcTable.getInstance().getTemplate(boss)) != null){ name = template.getName(); }else{ _log.warning("[RaidInfoHandler][sendInfo] Raid Boss with ID "+boss+" is not defined into NpcTable"); continue; } StatsSet actual_boss_stat = null; GrandBossManager.getInstance().getStatsSet(boss); long delay = 0; if(NpcTable.getInstance().getTemplate(boss).isType("L2RaidBoss")){ actual_boss_stat=RaidBossSpawnManager.getInstance().getStatsSet(boss); if(actual_boss_stat!=null) delay = actual_boss_stat.getLong("respawn_time"); }else if(NpcTable.getInstance().getTemplate(boss).isType("L2GrandBoss")){ actual_boss_stat=GrandBossManager.getInstance().getStatsSet(boss); if(actual_boss_stat!=null) delay = actual_boss_stat.getLong("respawn_time"); }else continue; if (delay <= System.currentTimeMillis()) { tb.append("<tr><td width=\"300\" align=\"center\"><font color=\"FF9900\">" + name + " is</font>" + "<font color=\"5EA82E\"> Alive</font></td></tr>"); } else { int hours = (int) ((delay - System.currentTimeMillis()) / 1000 / 60 / 60); int mins = (int) (((delay - (hours * 60 * 60 * 1000)) - System.currentTimeMillis()) / 1000 / 60); tb.append("<tr><td width=\"300\" align=\"center\"><font color=\"FF9900\">" + name + " is respawning in</font>" +"<font color=\"FF0000\"> " + hours + "h and " + mins + "min</font></td></tr>"); } } tb.append("</table>"); tb.append("<img src=\"L2UI.SquareGray\" width=300 height=1>"); tb.append("</center>"); tb.append("<br>"); tb.append("<center>"); tb.append("<img src=\"L2UI.SquareGray\" width=300 height=1>"); tb.append("<table border=0 bgcolor=000000 width=300 height=20>"); tb.append("<tr>"); tb.append("<td align=\"center\" width=\"300\"><font color=\"666666\">Vote for us :</font><font color=\"FF5555\"> www.l2addicted.eu</font></td>"); tb.append("</tr>"); tb.append("</table>"); tb.append("<img src=\"L2UI.SquareGray\" width=300 height=1>"); tb.append("</center>"); tb.append("</body></html>"); NpcHtmlMessage msg = new NpcHtmlMessage(NPC_ID); msg.setHtml(tb.toString()); activeChar.sendPacket(msg); } public static void main(String[] args) { new BossRespawn(-1, "BossRespawn", "custom"); } }
  7. public void pvpSkillsSystem(int pvp) { if (pvp >= 500) { addSkill(SkillTable.getInstance().getInfo(323, 1), true); // Adena to True Gold sendMessage("You have received Adena to True Gold skill for " + getPvpKills() + " PvP's."); } } // Auto-Learn skills if activated if(Config.AUTO_LEARN_SKILLS) { giveAvailableSkills(); +pvpSkillsSystem(getPvpKills()); } public void increasePvpKills() { +pvpSkillsSystem(getPvpKills()); public void onPlayerEnter() { +pvpSkillsSystem(getPvpKills()); dokimase afto i afto public void pvpSkillsSystem() { if (getPvpKills() == 500) { addSkill(SkillTable.getInstance().getInfo(323, 1), true); // Adena to True Gold sendMessage("You have received Adena to True Gold skill for " + getPvpKills() + " PvP's."); } } // Auto-Learn skills if activated if(Config.AUTO_LEARN_SKILLS) { giveAvailableSkills(); +pvpSkillsSystem(); }
  8. te0x

    interlude [L2J] Seven

    Thats good. Thank you
  9. te0x

    interlude [L2J] Seven

    nop its not. Its really simple. You just level up, join events and you can easily be on top :D
  10. te0x

    interlude [L2J] Seven

    Every grade got x3 adena than the previous grade. Starting grade is C[70 lvl]. Once you complete the C grade and you go to B grade[75 Level] you got almost 5-9.000.000 adena. Based on your luck. Items are not expensive. To buy full B grade you will need almost 1.500.000-2.000.000 adena. The others are for enchanting, augment, enchant skills so basically you will never go to the next grade without the Equipment. Ancient Adena dropping on B-Grade[75-79 level] because you will need to unsealed the A equipments. Once you will finish the B-Grade you will have enough to unlock set of jewels or armor set or weapon. Event Medals only by the events [TVT CTF]. You upgrade the Soul crystals with event medals to add special ability to A,S grade weapons. Torches dropping on A-Grade+[80+]. With torches you buy materials so you will be able to unlock S grade items. Festival Adena with 15% drop rate to all the mobs. Accessorie shop, Blessed enchant C,B grade. This is basically the economy ofc this is a fast preview. About the increased max level reason is because its actually a pvp server. At 70 level that you start you got almost the 80% of the skills so the player is able to play a normal pvp. I can't really explain it how i have the idea on my mind ;p
  11. StereoType, foxi, UnSponsored
  12. in SkillData you can found about mana consume, hit time, icons, how to cast the skill but reuse time there doesnt exist.
  13. te0x

    interlude [L2J] Seven

    Updated. Normal enchant scroll rate has been increased from 40% to 60%. Blazing Swamp has been replaced by the Cemetery. Dwarfs classes have been reworked. Added skills "return" and "resurrection" to all the classes. Scroll of escape and scroll of resurrection have been removed.
  14. te0x

    interlude [L2J] Seven

    25/2 updated. Added Site. General changes in the server features will change in the next days. Grand open will be announced in the next days.
  15. 1.000.000 - 100% 1000.00 - 10% 1000.0 - 1% 5000.0 - 5%
  16. thank you dude :)
  17. do again the quick fix.
  18. Use the quick fix.
  19. i said it before dude. L2te0xServiceNpc
  20. U're welcome
  21. L2te0xServiceNpc and use a random id.
  22. U're welcome
  23. I just said it. I don't like to add more files in data.
  24. i dont like to mess with new files in data. how much can 5-6 text builder can effect ? ;p the update on set nobl it was my mistake(i though it needs too but it didnt and i forgot to remove it). anyways it needs a cleanup for sure, additionals Configs in order to change the item request easier. although it works :3
×
×
  • 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