Jump to content
  • 0

[Request] After your death a panel is showing up


Question

Posted

Hello all mxc

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.

12 answers to this question

Recommended Posts

  • 0
Posted

Hello all mxc

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.

Ok , i'm just a newbie developer, i can't create that kind of codes, but i'm sure Tryskell, Vampire, Wyatt^, Mhoska, etc  are not creating these kind of codes for free , so please stop asking for that kind of codes . If you need a super code, go and buy one .

 

If you wanna help him, i'll not ( i don't want and i can't ) .

  • 0
Posted

Last and the most important of them all, we will not code/create/implement for you, we will help you, but that dose not mean we will do stuff for you.

Simply edit death method on L2PcInstance and add a htm fed with stats of the killer.

  • 0
Posted

Hello all mxc

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.

its simple... just go to doDie void and take for example the html from vampire. simple :)
  • 0
Posted

If you add it on doDie , the html will be showed to the player who died .

emo?

"After your death" he need a html when a player die.... to show htm status to him from the killer

  • 0
Posted

Please help me, i go to l2pcinstance, search doDie and after doDie who i need write that after death show player who killed you, enchant,hp,cp etc...

  • 0
Posted

Please help me, i go to l2pcinstance, search doDie and after doDie who i need write that after death show player who killed you, enchant,hp,cp etc...

L2Character.java

 

if(killer != null)

            this.Info(); 

 

and make a void named:

private void Info()

{

NpcHtmlMessage html = new NpcHtmlMessage(getObjectId());

TextBuilder sb = new TextBuilder();

              and here sb.append(killer.getHp() + "hp");

html.setHtml(sb.toString());

sendPacket(html);

return;

}

 

ok now? or you need more help?

 

about html desing make anything you want i just gave you a example :)

  • 0
Posted

	public boolean doDie(L2Character killer)
{
	if(killer != null)
        this.Info();  
    private void Info()
    {
          NpcHtmlMessage html = new NpcHtmlMessage(getObjectId());
          TextBuilder sb = new TextBuilder();
          sb.append)(killer.getHp() + "hp")
          html.setHtml(sb.toString());
          sendPacket(html);
          return;
    }

i have much errors

  • 0
Posted

	public boolean doDie(L2Character killer)
{
	if(killer != null)
        this.Info();  
    private void Info()
    {
          NpcHtmlMessage html = new NpcHtmlMessage(getObjectId());
          TextBuilder sb = new TextBuilder();
          sb.append)(killer.getHp() + "hp")
          html.setHtml(sb.toString());
          sendPacket(html);
          return;
    }

i have much errors

lol? you must put only the  if(killer != null)

        this.Info();  to doDIe method and the void outside everywhere you want :)

 

and add the imports i just gave you a example you must make it info(L2Character killer) and then info(killer) player etc i won't help you any more just make it alone

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


×
×
  • 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