Jump to content
  • 0

[Request]-Death Manager


Question

Posted

Long time i'm looking for this 6116402a.jpg I rly need this.

After your death a panel is showing up and shows the person that killed you and his stats.(e.x Enchant's, Hp, Cp, Mp.)

who can create or say link to this super code, thanks.

8 answers to this question

Recommended Posts

  • 0
Posted

Long time i'm looking for this 6116402a.jpg I rly need this.

After your death a panel is showing up and shows the person that killed you and his stats.(e.x Enchant's, Hp, Cp, Mp.)

who can create or say link to this super code, thanks.

it is implemented in the pvp rank system o mathew go check it out

  • 0
Posted

Hey Guys. I want that too..if someone could make them for l2jhellas or frozen..would be awesome

Just go L2PcInstance doDie() method and add a html window there.. pretty basic stuff.

  • 0
Posted

Just go  L2PcInstance doDie() and add this

{
		NpcHtmlMessage adminReply = new NpcHtmlMessage(5);
		TextBuilder replyMSG = new TextBuilder("<html><body>");
		replyMSG.append("<center>Teddy Killer Panel</center><br>");
		final L2PcInstance player = killer.getActingPlayer();
		replyMSG.append("<center>----->" + player.getName() + "<-----</center><br>");
		replyMSG.append("<table border=0 width=\"100%\">");
		replyMSG.append("<tr><td><font color=\"009900\">HP:</font> "+ player.getCurrentHp() + "/<font color=\"009900\">"+ player.getMaxHp() + "</font></td></tr>");
		replyMSG.append("<tr><td><font color=\"009900\">CP:</font> "+ player.getCurrentCp() + "/<font color=\"009900\">"+ player.getMaxCp() + "</font></td></tr>");
		replyMSG.append("<tr><td><font color=\"009900\">MP:</font> "+ player.getCurrentMp() + "/<font color=\"009900\">"+ player.getMaxMp() + "</font></td></tr>");
		replyMSG.append("</table>");
		replyMSG.append("<tr><td>==================================</tr></td>");
		//Weapon
		if(player.getInventory().getPaperdollItem(Inventory.PAPERDOLL_RHAND) != null)
		{
			replyMSG.append("<table border=0 width=\"100%\">");
			replyMSG.append("<tr><td><font color=\"009900\">Weapon Enchant: </font>+" + player.getInventory().getPaperdollItem(Inventory.PAPERDOLL_RHAND).getEnchantLevel() + "</tr></td></table>");
		}
		else
	    {			
			replyMSG.append("<table border=0 width=\"100%\">");
			replyMSG.append("<tr><td><font color=\"009900\">Weapon Enchant:</font><font color=\"A80000\"> The player doesn't have weapon.</font></tr></td></table>");
	    }
		//helmet
		if(player.getInventory().getPaperdollItem(Inventory.PAPERDOLL_HEAD) != null)
		{
			replyMSG.append("<table border=0 width=\"100%\">");
			replyMSG.append("<tr><td><font color=\"009900\">Helmet Enchant: </font>+" + player.getInventory().getPaperdollItem(Inventory.PAPERDOLL_HEAD).getEnchantLevel() + "</tr></td></table>");
		}
		else
	    {			
			replyMSG.append("<table border=0 width=\"100%\">");
			replyMSG.append("<tr><td><font color=\"009900\">Helmet Enchant:</font><font color=\"A80000\"> The player doesn't have helmet.</font></tr></td></table>");
	    }
		//chest
		if(player.getInventory().getPaperdollItem(Inventory.PAPERDOLL_CHEST) != null)
		{
			replyMSG.append("<table border=0 width=\"100%\">");
			replyMSG.append("<tr><td><font color=\"009900\">Chest Enchant: </font>+" + player.getInventory().getPaperdollItem(Inventory.PAPERDOLL_CHEST).getEnchantLevel() + "</tr></td></table>");
		}
		else
	    {			
			replyMSG.append("<table border=0 width=\"100%\">");
			replyMSG.append("<tr><td><font color=\"009900\">Chest Enchant:</font><font color=\"A80000\"> The player doesn't have chest.</font></tr></td></table>");
		}
		//Legs
		if(player.getInventory().getPaperdollItem(Inventory.PAPERDOLL_LEGS) != null)
		{
			replyMSG.append("<table border=0 width=\"100%\">");
			replyMSG.append("<tr><td><font color=\"009900\">Legs Enchant: </font>+" + player.getInventory().getPaperdollItem(Inventory.PAPERDOLL_LEGS).getEnchantLevel() + "</tr></td></table>");
		}
		else
	    {			
			replyMSG.append("<table border=0 width=\"100%\">");
			replyMSG.append("<tr><td><font color=\"009900\">Legs Enchant:</font><font color=\"A80000\"> The player doesn't have legs.</font></tr></td></table>");
		}
		//Gloves
		if(player.getInventory().getPaperdollItem(Inventory.PAPERDOLL_GLOVES) != null)
		{
			replyMSG.append("<table border=0 width=\"100%\">");
			replyMSG.append("<tr><td><font color=\"009900\">Gloves Enchant: </font>+" + player.getInventory().getPaperdollItem(Inventory.PAPERDOLL_GLOVES).getEnchantLevel() + "</tr></td></table>");
		}
		else
	    {			
			replyMSG.append("<table border=0 width=\"100%\">");
			replyMSG.append("<tr><td><font color=\"009900\">Gloves Enchant:</font><font color=\"A80000\"> The player doesn't have gloves.</font></tr></td></table>");
		}
		//Boots
		if(player.getInventory().getPaperdollItem(Inventory.PAPERDOLL_FEET) != null)
		{
			replyMSG.append("<table border=0 width=\"100%\">");
			replyMSG.append("<tr><td><font color=\"009900\">Boots Enchant: </font>+" + player.getInventory().getPaperdollItem(Inventory.PAPERDOLL_FEET).getEnchantLevel() + "</tr></td></table>");
		}
		else
	    {			
			replyMSG.append("<table border=0 width=\"100%\">");
			replyMSG.append("<tr><td><font color=\"009900\">Boots Enchant:</font><font color=\"A80000\"> The player doesn't have boots.</font></tr></td></table>");
		}
		//Necklace
		if(player.getInventory().getPaperdollItem(Inventory.PAPERDOLL_NECK) != null)
		{
			replyMSG.append("<table border=0 width=\"100%\">");
			replyMSG.append("<tr><td><font color=\"009900\">Necklace Enchant: </font>+" + player.getInventory().getPaperdollItem(Inventory.PAPERDOLL_NECK).getEnchantLevel() + "</tr></td></table>");
		}
		else
	    {			
			replyMSG.append("<table border=0 width=\"100%\">");
			replyMSG.append("<tr><td><font color=\"009900\">Necklace Enchant:</font><font color=\"A80000\"> The player doesn't have necklace.</font></tr></td></table>");
		}
		//L-Earring
		if(player.getInventory().getPaperdollItem(Inventory.PAPERDOLL_LEAR) != null)
		{
			replyMSG.append("<table border=0 width=\"100%\">");
			replyMSG.append("<tr><td><font color=\"009900\">L-Earring Enchant: </font>+" + player.getInventory().getPaperdollItem(Inventory.PAPERDOLL_LEAR).getEnchantLevel() + "</tr></td></table>");
		}
		else
	    {			
			replyMSG.append("<table border=0 width=\"100%\">");
			replyMSG.append("<tr><td><font color=\"009900\">L-Earring Enchant:</font><font color=\"A80000\"> The player doesn't have l-earring.</font></tr></td></table>");
		}
		//R-Earring
		if(player.getInventory().getPaperdollItem(Inventory.PAPERDOLL_REAR) != null)
		{
			replyMSG.append("<table border=0 width=\"100%\">");
			replyMSG.append("<tr><td><font color=\"009900\">R-Earring Enchant: </font>+" + player.getInventory().getPaperdollItem(Inventory.PAPERDOLL_REAR).getEnchantLevel() + "</tr></td></table>");
		}
		else
	    {			
			replyMSG.append("<table border=0 width=\"100%\">");
			replyMSG.append("<tr><td><font color=\"009900\">R-Earring Enchant:</font><font color=\"A80000\"> The player doesn't have r-earring.</font></tr></td></table>");
		}
		//L-Ring
		if(player.getInventory().getPaperdollItem(Inventory.PAPERDOLL_LFINGER) != null)
		{
			replyMSG.append("<table border=0 width=\"100%\">");
			replyMSG.append("<tr><td><font color=\"009900\">L-Ring Enchant: </font>+" + player.getInventory().getPaperdollItem(Inventory.PAPERDOLL_LFINGER).getEnchantLevel() + "</tr></td></table>");
		}
		else
	    {			
			replyMSG.append("<table border=0 width=\"100%\">");
			replyMSG.append("<tr><td><font color=\"009900\">L-Ring Enchant:</font><font color=\"A80000\"> The player doesn't have l-ring.</font></tr></td></table>");
		}
		//R-Ring
		if(player.getInventory().getPaperdollItem(Inventory.PAPERDOLL_RFINGER) != null)
		{
			replyMSG.append("<table border=0 width=\"100%\">");
			replyMSG.append("<tr><td><font color=\"009900\">R-Ring Enchant: </font>+" + player.getInventory().getPaperdollItem(Inventory.PAPERDOLL_RFINGER).getEnchantLevel() + "</tr></td></table>");
		}
		else
	    {			
			replyMSG.append("<table border=0 width=\"100%\">");
			replyMSG.append("<tr><td><font color=\"009900\">R-Ring Enchant:</font><font color=\"A80000\"> The player doesn't have r-ring.</font></tr></td></table>");
		}
		replyMSG.append("</body></html>");

		adminReply.setHtml(replyMSG.toString());
		sendPacket(adminReply);

		adminReply = null;
		replyMSG = null;
	}

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


  • Posts

    • Nothing about high five is hardcore even at x1, such easy Chronicle. 
    • This is actually very interesting, i've seen similar concepts applied to different games (even single-player games such as skyrim with PrismaUI Prisma UI - Next-Gen Web UI Framework at Skyrim Special Edition Nexus - Mods and Community ) if it works seamlessly with the client then it would be insane. I believe everyone is tired of getting cancer with xdat/flash/.uc edits
    • Dragic is a trusted guy—buy with confidence. The feature list looks incredibly solid, and you've clearly put a ton of work into this pack. Good luck with the sale, mate!
    • Im Selling my Interlude server L2wish only The Data and Core of L2wish based on lucera2 files with source code reconstructed which i did a long time ago. Im not selling the servername copyrights logos launcher etc only server data and source code, including Essence Interface reworked with interface source also.      EXP/SP: x75  Adena: x20  Drop: x20  Spoil: x20  Seal Stones: x5  Fangs of Stakato: x5  Raid Boss EXP/SP: x75  Raid Boss Drop: x1  Epic Boss Drop: x1  Manor: x5  Safe Enchant: +3  Max Enchant: Unlimited   Normal Scroll S/A Grade: 50%   Blessed Scroll S/A Grade: 55%    Normal Scroll B/C/D Grade: 50%    Blessed Scroll B/C/D Grade 55%  Max clans in ally (2)  3rd Class Cost (700 Halisha's Mark from Shrine of Loyalty)  NPC Buffer with 3h buff duration  GM Shop until B-Grade  Mana Potions  (1000 Power Delay 10 Seconds)  Auto-learn skills   Buff Slots (22+4 extra with Divine Inspiration)  Autopickup  Auction House in NPC at all towns  Offline Stores  Max Clients per PC (2)  Retail Geodata and Pathnodes  Reworked movement  Shift + Click Droplist on Monsters  Alt + Click Remove Buffs  Global Shout & Trade Chat  Special akamanah and zariche transformation  Seven Sings (Open)  Olympiad Weekly Circle  Olympiad Non-class  (5 min participants to begin)  Olympiad Class based (5 min participants to begin)  Tyrannosaurus drop Top LS chance 20% 5 Minutes Respawn  Flames of Invincibility cast 5 sec / duration 30 sec  Premium Account System  Auto Farm system using 10th Skill Bar.  IMPROVED RING OF CORE +1 STR +1 INT • INCREASE M. ATK. AND P. ATK.  IMPROVED EARRING OF ORFEN +1 WIT • INCREASE CASTING SPEED.  Subclass Quest           Part I: Kill Cabrio (Aden-Seal of Shilen) Talk to the box and bring the item to Subclass Quest           NPC.           Part II: Go for Hallate TOI 3, Kernon TOI 8 and Golkonda TOI 11, (Regardless of the order)           kill them, talk to the boxes and bring the sticks to Subclass Quest NPC to redeem your           subclass item.    Vote Reward System with Vote Coins and 12 Hours Vote Rune.  Vote Rune increases your P. Def and M. Def by 6%, P. Attack and M. Attack by 4%, Movement Speed by 4%.  Duration 12 Hours   Quest Name Drop  Relics of the Old Empire x4-8  Gather The Flames x3  Alliance with the Ketra Orcs x5  Alliance with the Varka Silenos x5  War with Ketra Orcs x10  War with the Varka Silenos x10  The Finest Food x5  A Powerful Primeval Creature x5  Rise and Fall of the Elroki Tribe x8  Legacy of Insolence x6-50%  Exploration of Giants Cave Part 1 x3  Exploration of Giants Cave Part 2 x3   Seekers of the Holy Grail x10   Guardians of the Holy Grail x10  Hunt of the Golden Ram Mercenary Force x10  The Zero Hour x5  Delicious Top Choice Meat x1  Heart in Search of Power x1  Whisper of Dreams 1/2 x3  In Search Of Fragments Of The Dimension x1 Raid Boss Name LvL Respawn  Frintezza    80 Respawn 48 Hours + - 30 Min  • Frintezza’s Necklace drop chance is 100%  Valakas    80 Respawn 240 Hours + - 30 Min  Sleep time 30 Minutes • Necklace of Valakas drop chance is 100%  Antharas    80 Respawn 192 Hours + - 30 Min  Sleep time 30 Minutes • Earring of Antharas drop chance is 100%  Baium    80 Respawn 120 Hours + - 30 Min  Sleep time 30 Minutes • Ring of Baium drop chance is 100%  Zaken    80 Respawn 48 Hours + - 30 Min  Door Open 22:00 in the night • Zaken’s Earring drop chance is 100%  Orfen    80 Every 24 Hours -+ 20 Minutes  • Earring of Orfen drop chance is 30%  Core    80 Every 26 Hours -+ 20 Minutes   • Ring of Core drop chance is 30%  Ant Queen    80 Every 28 Hours -+ 20 Minutes • Ring of Queen Ant drop chance is 30%  Splendor Barakiel    80 Spawn 6 Hours + - 15 Min Random  Subclass - Cabrio    80 Spawn 6 Hours + - 15 Min Random  Subclass - Hallate    80 Spawn 6 Hours + - 15 Min Random  Subclass - Kernon    80 Spawn 6 Hours + - 15 Min Random  Subclass - Golkonda    80 Spawn 6 Hours + - 15 Min Random   Ketra's Hero Hekaton    80 Spawn 22 Hours + - 15 Min Random   Ketra's Commander Tayr    80 Spawn 22 Hours + - 15 Min Random  Varka's Hero Shadith    80 Spawn 22 Hours + - 15 Min Random   Varka's Commander    80 Spawn 22 Hours + - 15 Min Random   Command Description .getreward Get vote reward from Hopzone. .rune Your Rune Informations. .menu Personal Menu Options. .raid Shows Normal Raids & Respawn. .epic Shows Epic Raids & Respawn. .rewards Get your Achievments. .offline Offline Shops. .relog Clearing your cache fps.     Source code reconstructed from my Lucera2 project.             Akamanah/Zariche transformation (This video was with an old interface version).             Contact me for more informations, trollers will be not answered and don't expect a low price or a price drop. This project was running with 500+ real players.
  • Topics

×
×
  • Create New...

Important Information

This community uses essential cookies to function properly. Non-essential cookies and third-party services are used only with your consent. Read our Privacy Policy and We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue..