Jump to content

SweeTs

Legendary Member
  • Posts

    8,941
  • Credits

  • Joined

  • Last visited

  • Days Won

    25
  • Feedback

    0%

Everything posted by SweeTs

  1. Do not buy - waste of money && big probability you will get scammed, it's shared plenty of times :P Search "stazis geodata" :) Take this one, it's Akumu from December 2012 or beggining of the year 2013 (you need only to register to download, I guess). http://www.lineager.su/index.php?topic=2.0
  2. Stazis / geo.ru one shit to be honest.. :P
  3. It's not best, it's good enough. Use it, even shared one, and try to fix it if it's needed :P
  4. Changeset 323 Misc - numerous cleanups (Javadocs, formatting, methods renaming, organizing classes, etcs). - AutoSpawnHandler > AutoSpawnManager (moved to instancemanager) - RecipeController > RecipeTable (moved to datatables) - SevenSigns / SevenSignsFestival (moved to instancemanager) - CursedWeapon (moved to model.entity) - model.partymatching folder creation (moved 3 classes inside) - numerous "L2" drops on names (L2Item, L2Weapon, L2Armor, etc). More to come. - Item renamed NewItem (because of L2Item renamed Item), and internal Item (another one) class dropped for ItemHolder use. - rework checkPvpSkill method. Ty Kingzor for the buff/heal fix. - recipes lists are on Collection from now (avoids operations from/to arrays). - drop _charId, getter/setter. Use of getObjectId() on the few uses. - rework SkillDat (renamed for SkillUseHolder), avoiding to create a massive amount of objects (3 final objects per players refreshed on demand, instead of 1 created per casted/queued skill). - _currentPetSkill getSkill() is correctly setted to null after a pet skill cast. - [L2J 6477] fix a double login issue. - [L2J 6488] [L2J 6490] implements MaterialType, CrystalType enums. Cleanup ItemTable. Move and rename classes. - addition of missing sounds for boats, ty Root. PS : you have to replace all items/skills XMLs, and few quests/scripts aswell.
  5. Here you go http://www.speedyshare.com/QXGxZ/l2blaze.rar
  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 2, 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, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA * 02111-1307, USA. * * http://www.gnu.org/copyleft/gpl.html */ package net.sf.l2j.gameserver.model.actor.instance; import java.util.StringTokenizer; import net.sf.l2j.gameserver.ai.CtrlIntention; import net.sf.l2j.gameserver.datatables.SkillTable; import net.sf.l2j.gameserver.network.serverpackets.ActionFailed; import net.sf.l2j.gameserver.network.serverpackets.MyTargetSelected; import net.sf.l2j.gameserver.network.serverpackets.NpcHtmlMessage; import net.sf.l2j.gameserver.network.serverpackets.SocialAction; import net.sf.l2j.gameserver.network.serverpackets.ValidateLocation; import net.sf.l2j.gameserver.network.serverpackets.MagicSkillUse; import net.sf.l2j.gameserver.templates.chars.L2NpcTemplate; import net.sf.l2j.util.StringUtil; import net.sf.l2j.util.Rnd; /** * * @author DarthVader * @version 1.2 */ public final class L2BufferInstance extends L2NpcInstance { public L2BufferInstance(int objectId, L2NpcTemplate template) { super(objectId, template); } @Override public void onBypassFeedback(L2PcInstance player, String command) { StringTokenizer st = new StringTokenizer(command, " "); String actualCommand = st.nextToken(); int buffid = 0; int bufflevel = 1; if (st.countTokens() == 2) { buffid = Integer.valueOf(st.nextToken()); bufflevel = Integer.valueOf(st.nextToken()); } else if (st.countTokens() == 1) buffid = Integer.valueOf(st.nextToken()); if (actualCommand.equalsIgnoreCase("getbuff")) { if (buffid != 0) { MagicSkillUse mgc = new MagicSkillUse(this, player, buffid, bufflevel, 5, 0); SkillTable.getInstance().getInfo(buffid, bufflevel).getEffects(this, player); showMessageWindow(player); player.broadcastPacket(mgc); } } else if (actualCommand.equalsIgnoreCase("restore")) { player.setCurrentHpMp(player.getMaxHp(), player.getMaxMp()); player.setCurrentCp(player.getMaxCp()); showMessageWindow(player); } else if (actualCommand.equalsIgnoreCase("cancel")) { player.stopAllEffects(); showMessageWindow(player); } else super.onBypassFeedback(player, command); } @Override public void onAction(L2PcInstance player) { if (this != player.getTarget()) { player.setTarget(this); player.sendPacket(new MyTargetSelected(getObjectId(), player.getLevel() - getLevel())); player.sendPacket(new ValidateLocation(this)); } else if (isInsideRadius(player, INTERACTION_DISTANCE, false, false)) { SocialAction sa = new SocialAction(this, Rnd.get(8)); broadcastPacket(sa); player.setCurrentFolkNPC(this); showMessageWindow(player); player.sendPacket(ActionFailed.STATIC_PACKET); } else { player.getAI().setIntention(CtrlIntention.AI_INTENTION_INTERACT, this); player.sendPacket(ActionFailed.STATIC_PACKET); } } private void showMessageWindow(L2PcInstance player) { NpcHtmlMessage html = new NpcHtmlMessage(1); final StringBuilder strBuffer = StringUtil.startAppend(3500, "<html><title>Buffer</title><body><center>"); if (player.isSitting()) { player.sendMessage("You can't use buffer while you're sitting."); strBuffer.append("Stand up, <font color=\"LEVEL\">%charname%</font>!<br>"); strBuffer.append("How dare you to talk with me while you're sitting?!<br>"); } else if (player.isAlikeDead()) { player.sendMessage("You can't use buffer while you're dead or using fake death."); strBuffer.append("Sadly, <font color=\"LEVEL\">%charname%</font>, you're dead.<br>"); strBuffer.append("I can't offer any support effect for dead people...<br>"); } else if (player.isInCombat()) { player.sendMessage("You can't use buffer while you're in combat."); strBuffer.append("Sadly, <font color=\"LEVEL\">%charname%</font>, I can't serve you.<br>"); strBuffer.append("Came back when you will not be in a combat.<br>"); } else { strBuffer.append("Welcome, <font color=\"LEVEL\">%charname%</font>!<br>"); strBuffer.append("Here is the list of all available effects:<br>"); strBuffer.append("<table width=300>"); strBuffer.append("<tr><td><a action=\"bypass -h npc_%objectId%_getbuff 1204 2\">Wind Walk</a></td> <td><a action=\"bypass -h npc_%objectId%_getbuff 1040 3\">Shield</a></td> <td><a action=\"bypass -h npc_%objectId%_getbuff 1243 6\">Bless Shield</a></td></tr>"); strBuffer.append("<tr><td><a action=\"bypass -h npc_%objectId%_getbuff 1068 3\">Might</a></td> <td><a action=\"bypass -h npc_%objectId%_getbuff 1036 2\">Magic Barrier</a></td> <td><a action=\"bypass -h npc_%objectId%_getbuff 1259 4\">Resist Shock</a></td></tr>"); strBuffer.append("<tr><td><a action=\"bypass -h npc_%objectId%_getbuff 1035 4\">Mental Shield</a></td> <td><a action=\"bypass -h npc_%objectId%_getbuff 1045 6\">Blessed Body</a></td> <td><a action=\"bypass -h npc_%objectId%_getbuff 1304 3\">Advanced Block</a></td></tr>"); strBuffer.append("<tr><td><a action=\"bypass -h npc_%objectId%_getbuff 1048 6\">Blessed Soul</a></td> <td><a action=\"bypass -h npc_%objectId%_getbuff 1062 2\">Berserker Spirit</a></td> <td><a action=\"bypass -h npc_%objectId%_getbuff 1189 3\">Resist Wind</a></td></tr>"); strBuffer.append("<tr><td><a action=\"bypass -h npc_%objectId%_getbuff 1086 2\">Haste</a></td> <td><a action=\"bypass -h npc_%objectId%_getbuff 1240 3\">Guidance</a></td> <td><a action=\"bypass -h npc_%objectId%_getbuff 1393 3\">Unholy Resistance</a></td></tr>"); strBuffer.append("<tr><td><a action=\"bypass -h npc_%objectId%_getbuff 1242 3\">Death Whisper</a></td> <td><a action=\"bypass -h npc_%objectId%_getbuff 1077 3\">Focus</a></td> <td><a action=\"bypass -h npc_%objectId%_getbuff 1353 1\">Divine Protection</a></td></tr>"); strBuffer.append("<tr><td><a action=\"bypass -h npc_%objectId%_getbuff 1268 4\">Vampiric Rage</a></td> <td><a action=\"bypass -h npc_%objectId%_getbuff 1087 3\">Agility</a></td> <td><a action=\"bypass -h npc_%objectId%_getbuff 1352 1\">Elemental Protection</a></td></tr>"); strBuffer.append("<tr><td><a action=\"bypass -h npc_%objectId%_getbuff 1085 3\">Acumen</a></td> <td><a action=\"bypass -h npc_%objectId%_getbuff 1059 3\">Empower</a></td> <td><a action=\"bypass -h npc_%objectId%_getbuff 1388 3\">Greater Might</a></td></tr>"); strBuffer.append("<tr><td><a action=\"bypass -h npc_%objectId%_getbuff 1303 2\">Wild Magic</a></td> <td><a action=\"bypass -h npc_%objectId%_getbuff 1078 6\">Concentration</a></td> <td><a action=\"bypass -h npc_%objectId%_getbuff 1389 3\">Greater Shield</a></td></tr>"); strBuffer.append("<tr><td></td><td></td><td></td></tr>"); strBuffer.append("<tr><td></td></tr>"); strBuffer.append("<tr><td><font color=\"ff9900\">Dances:</font></td></tr>"); strBuffer.append("<tr><td><a action=\"bypass -h npc_%objectId%_getbuff 275 1\">Fury</a></td> <td><a action=\"bypass -h npc_%objectId%_getbuff 273 1\">Mystic</a></td> <td><a action=\"bypass -h npc_%objectId%_getbuff 365 1\">Siren's</a></td></tr>"); strBuffer.append("<tr><td><a action=\"bypass -h npc_%objectId%_getbuff 274 1\">Fire</a></td> <td><a action=\"bypass -h npc_%objectId%_getbuff 276 1\">Concentration</a></td> <td><a action=\"bypass -h npc_%objectId%_getbuff 310 1\">Vampire</a></td></tr>"); strBuffer.append("<tr><td><a action=\"bypass -h npc_%objectId%_getbuff 271 1\">Warrior</a></td> <td><a action=\"bypass -h npc_%objectId%_getbuff 277 1\">Light</a></td> <td><a action=\"bypass -h npc_%objectId%_getbuff 272 1\">Inspiration</a></td></tr>"); strBuffer.append("<tr><td><a action=\"bypass -h npc_%objectId%_getbuff 311 1\">Protection</a></td> <td><a action=\"bypass -h npc_%objectId%_getbuff 309 1\">Earth Guard</a></td> <td><a action=\"bypass -h npc_%objectId%_getbuff 307 1\">Aqua Guard</a></td></tr>"); strBuffer.append("<tr><td></td></tr>"); strBuffer.append("<tr><td><font color=\"ff9900\">Songs:</font></td></tr>"); strBuffer.append("<tr><td><a action=\"bypass -h npc_%objectId%_getbuff 264 1\">Earth</a></td> <td><a action=\"bypass -h npc_%objectId%_getbuff 269 1\">Hunter</a></td> <td><a action=\"bypass -h npc_%objectId%_getbuff 270 1\">Invocation</a></td></tr>"); strBuffer.append("<tr><td><a action=\"bypass -h npc_%objectId%_getbuff 266 1\">Water</a></td> <td><a action=\"bypass -h npc_%objectId%_getbuff 267 1\">Warding</a></td> <td><a action=\"bypass -h npc_%objectId%_getbuff 304 1\">Vitality</a></td></tr>"); strBuffer.append("<tr><td><a action=\"bypass -h npc_%objectId%_getbuff 268 1\">Wind</a></td> <td><a action=\"bypass -h npc_%objectId%_getbuff 364 1\">Champion</a></td> <td><a action=\"bypass -h npc_%objectId%_getbuff 349 1\">Renewal</a></td></tr>"); strBuffer.append("<tr><td></td> <td></td> <td></td></tr>"); strBuffer.append("<tr><td><a action=\"bypass -h npc_%objectId%_getbuff 308 1\">Storm Guard</a></td> <td><a action=\"bypass -h npc_%objectId%_getbuff 306 1\">Flame Guard</a></td></tr>"); strBuffer.append("<tr><td></td></tr>"); strBuffer.append("<tr><td><font color=\"ff9900\">Other:</font></td></tr>"); strBuffer.append("<tr><td><a action=\"bypass -h npc_%objectId%_cancel\"><font color=\"ffffff\">Cancel</font></a></td><td><a action=\"bypass -h npc_%objectId%_getbuff 1413 1\">Magnus' Chant</a></td><td><a action=\"bypass -h npc_%objectId%_getbuff 1323 1\">Noblesse</a></td></tr>"); strBuffer.append("<tr><td><a action=\"bypass -h npc_%objectId%_restore\"><font color=\"ffffff\">Restore</font></a></td><td><a action=\"bypass -h npc_%objectId%_getbuff 1363 1\">Chant of Victory</a></td><td><a action=\"bypass -h npc_%objectId%_getbuff 1356 1\">Prophecy of Fire</a></td></tr>"); strBuffer.append("<tr><td></td><td><a action=\"bypass -h npc_%objectId%_getbuff 1355 1\">Prophecy of Water</a></td><td><a action=\"bypass -h npc_%objectId%_getbuff 1357 1\">Prophecy of Wind</a></td></tr>"); } strBuffer.append("</center></body></html>"); html.setHtml(strBuffer.toString()); html.replace("%objectId%", String.valueOf(getObjectId())); html.replace("%charname%", player.getName()); player.sendPacket(html); } }
  7. Nop, I dont think so.
  8. Decrease the effect of vengeance and such.
  9. How long did you wait? Maybe somehow it "takes" too much time. So, be patient and even wait 5-10min :D
  10. I am an idiot, yup you are right here. Ofc its all about numbers. Like I said "you will flame" huehue. No, you cant really listen to the "players". Each of them have their own opinion, you cant make everyone happy. I already know todays "players". They pick your server cuz its interesting by features which you offer. At least should be like that. So you cant rly look at what ppl want (they want to press F1).
  11. "toxic" replies for a reason. Anyway, lets stop here :)
  12. lol, this made my day. You state there are shitty servers and you are asking community what server they want and ideas for it.. ? Find out it on your own. It's gonna be YOUR server, no matter what. So, it's YOUR ideas, YOUR imagination about YOUR server. :P I guess you won't get my point and you will start to flame. :happyforever:
  13. Your reply made my day. Most of ppl who know how things goes will tell you it's shit code.. Anyway, let's stop on that since you won't get that :)
  14. It's not an instance npc type. :P
  15. Changeset 322 Trove drop, Misc Trove drop - drop entirely usage of that library, as there is almost no impact on performance. - basically : - TIntObjectHashMap : Map<Integer, Object> - TIntIntHashMap : Map<Integer, Integer> - TShortObjectHashMap : Map<Short, Object> - TIntArrayList : List<Integer> Misc - remove/add the SA if a weapon grade penalty occurs/doesn't occur. Ty KaL for the idea. - cleanup sortHeroesToBe() method. - fix map_regions.xml in order 20_25 and 21_25 teleport to Talking Island (fix Elven Ruins). - fix a sit visual bug. Ty Kingzor. - fix siege skills on subclass change, and drop a double use of restoreDeathPenaltyBuffLevel(). Ty Kingzor.
  16. The point is, it's already shared few times.. And in fact, it's shit code. ;)
  17. If you are talking about "server" then compile and switch the l2jserver.jar, lib folder.
  18. Sources.. https://bitbucket.org/Shyla/l2jfrozen/src/895452d01555513efb74bcf22e6d9f48c455aa3f/game/src/main/java/com/l2jfrozen/gameserver/handler/voicedcommandhandlers/?at=master
  19. Hahahaha dat fake count number :D Check Online.java at gameserver.handler.voicedcommandhandler
  20. If its frozen -> db..
  21. Like Tk said, add ", 0"
  22. Check the item code structure, there is a check. data/stats or where it is on frozen. Like this <cond msgId="1518"> <player isHero="true" /> </cond> So, just remove it.
  23. Hahaha lol.. No, definitelly not.. :D
  24. Create user command with the same code, simple as fack. :P
×
×
  • Create New...