Jump to content
  • 0

Help script npc


Devolick

Question

6 answers to this question

Recommended Posts

  • 0

Ok, take a look at this simple example:

 

(code from L2Npc.java)

 

html.replace("%playername%", player.getName());

 

So now, use this in Your html:

 

"%playername%

 

For example:

 

<html>

<br>

Hello "%playername% !

 

And it should show You: Hello XXX where XXX is your name.

 

Simple, I hope so.

Link to comment
Share on other sites

  • 0

Ok, take a look at this simple example:

 

(code from L2Npc.java)

 

So now, use this in Your html:

 

For example:

 

And it should show You: Hello XXX where XXX is your name.

 

Simple, I hope so.

 

 

NICE !!!! it's in java?

Where i can find in java Auctioner (clan hall seller) ?

ty for example :)))

 

 

And Matim i download your File editer 1.1 , i open in l2jserver code with him, and many text in very very crypt .... how i can decrypt text ?

Link to comment
Share on other sites

  • 0

I told You - You can add it in L2Npc.java so yes its java xD

 

You have to download clean source, add your changes and compile.

 

If You dont know how, check this Guide

 

Also I think You should read few other guides like This or This One

 

About my L2J File Editor, You should read program description once again.

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.



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