Jump to content

Question

2 answers to this question

Recommended Posts

  • 0
Posted

Use shift + click on npc to open its stats and info and check the npc's id from there.

Then go to your html folder on your server files and i guess since it's for skils this file should be inside the folder trainer find the html by its id and edit it.

  • 0
Posted (edited)

I find, it is from SkillList.java, cuz bypass it is taken from java, not from html folder.

.../dist/scripts/handlers/bypasshandlers/SkillList.java

Solved:

Code for who need my edit:

Spoiler

-                                text += "<a action=\"bypass -h npc_%objectId%_SkillList " + cid.getId() + "\">Learn " + cid + "'s class Skills</a><br>\n";
+                                text += ("<center>");
+                                text += ("<table fixwidth=250 background=\"L2UI_CT1.Windows.Windows_DF_TooltipBG\">");
+                                text += ("<tr>");
+                                text += ("<td>");
+                                text += ("<button value=\"Learn " + cid + "'s class skills" + "\" action=\"bypass -h npc_%objectId%_SkillList " + cid.getId() + "\"width=250 height=25 back=\"L2UI_ct1.button_df\" fore=\"L2UI_ct1.button_df\">\n");
+                                text += ("</td>");
+                                text += ("</tr>");
+                                text += ("</table>");
+                                text += ("</center>");
+                                text += ("<br>");

image.png.33266ea0bdc624ed2fe208f08045452c.png

 

Edited by 0flee

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

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