Jump to content
  • 0

[Request] After your death a panel is showing up


NumL0ck

Question

12 answers to this question

Recommended Posts

  • 0

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 ) .

Link to comment
Share on other sites

  • 0

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.

Link to comment
Share on other sites

  • 0

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 :)
Link to comment
Share on other sites

  • 0

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

Link to comment
Share on other sites

  • 0

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 :)

Link to comment
Share on other sites

  • 0

	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

Link to comment
Share on other sites

  • 0

	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

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...