Here's the htm :
Code: Select all
public void showHelpPage(L2PcInstance activeChar){ NpcHtmlMessage adminReply = new NpcHtmlMessage(5); TextBuilder replyMSG = new TextBuilder(); replyMSG.append("<html><body>"); replyMSG.append("<center><font color=\"LEVEL\">[Help Page]</font></center><br><br><br>"); replyMSG.append("<br><button value=\"Main Info\" action=\"bypass -h help_main\" width=90 height=15 back=\"L2UI_ct1.button_df\" fore=\"L2UI_ct1.button_df\">"); replyMSG.append("<br><button value=\"Good secured\" action=\"bypass -h help_security\" width=90 height=15 back=\"L2UI_ct1.button_df\" fore=\"L2UI_ct1.button_df\">"); replyMSG.append("<br><button value=\"Custom Feautures\" action=\"bypass -h help_custom\" width=90 height=15 back=\"L2UI_ct1.button_df\" fore=\"L2UI_ct1.button_df\">"); replyMSG.append("<br><button value=\"Voting Bonus\" action=\"bypass -h help_vote\" width=90 height=15 back=\"L2UI_ct1.button_df\" fore=\"L2UI_ct1.button_df\">"); replyMSG.append("<br><button value=\"Voiced Commands\" action=\"bypass -h help_command\" width=90 height=15 back=\"L2UI_ct1.button_df\" fore=\"L2UI_ct1.button_df\">"); replyMSG.append("</html></body>"); adminReply.setHtml(replyMSG.toString()); activeChar.sendPacket(adminReply);}
Its opening it ,everything normal ,but when you click on something ,the bypass doesn't work.
Can someone tell me how i can make bypasses like this? I got the other commands registred and all is fine ,but i don't get why it doesn't work.
I've seen CTF engine and it works there ,but its on the admin panel thing..
The server is interlude (if that matters).
Thank you.