Jump to content
  • 0

[Request] After your death a panel is showing up


NumL0ck
 Share

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.

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.

 Share



  • Posts

    • Hi, i will be GM and i help him so mysql needs to be edited also. But what should be values in gameserver.bat   [code]REM Default parameters for a basic server. java -version:1.7 -Djava.util.logging.manager=com.l2jserver.util.L2LogManager -Xms1024m -Xmx1024m -cp ./../libs/*;l2jserver.jar com.l2jserver.gameserver.GameServer REM REM If you have a big server and lots of memory, you could experiment for example with REM java -server -Xmx1536m -Xms1024m -Xmn512m -XX:PermSize=256m [/code]
    • Hello dear friends, im selling ready to go vanganth downgraded to c4 retail with many fixes with script and geodata latest. Already running valkyrie X1 if you like to test. www.esl2.org. send me private message if you interesting. 200€ without source and 300 with source.
    • Ok i get it i must edit    How about gameserver.bat and login server.bat  I just wanna be sure im not missing something   Yes sir i know, last time we got 500 ppl but we were with 4 gb ram and we got issue. So i wanna make sure everything is cool
    • What should actually worry you if you expect a high amount of players (by high talking about 1k+ real players, is if your project's code can handle such load (this is a typical issue by using good/bad base projects).  About launch configs study your current one and then google your "java" related questions so you can get accurate information through stackoverflow and other forums that actually have answers for almost everything you're going to need.
    • Server.proprierts # Maximum database connections. MaximumDbConnections = 1000   # Define how many players are allowed to play simultaneously on your server. MaximumOnlineUsers = 1000 # ================================================================= #                            Threadpool # ================================================================= # Determines the amount of scheduled thread pools. If set to -1, the server will decide the amount depending on the available processors. ScheduledThreadPoolCount = -1 # Specifies how many threads will be in a single scheduled pool. ThreadsPerScheduledThreadPool = 750 # Determines the amount of instant thread pools. If set to -1, the server will decide the amount depending on the available processors. InstantThreadPoolCount = -1 # Specifies how many threads will be in a single instant pool. ThreadsPerInstantThreadPool = 8   LoguinServer # Maximum database connections. MaximumDbConnections = 1000   Can you make your question clearer now?
  • Topics

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