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

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