I'm trying to improve players profile inside the community board -> region when we click on player's name.
I would like to create a button in each player profile to invite him in party/clan or friend but cannot find the right functions to do that.
So far I have this inside RegionBBSManager.java:
Code: Select all
StringUtil.append(htmlCode, "<td align=center width=30%><button value=\"Invite\" width=40 height=20 back=\"L2UI_ct1.button_df\" fore=\"L2UI_ct1.button_df\" action=\"bypass _bbslocparty;", name, "\"></td>");
Code: Select all
else if (command.startsWith("_bbslocparty;")) { StringTokenizer st = new StringTokenizer(command, ";"); st.nextToken(); String name = st.nextToken(); activeChar.sendMessage("You invited " + name + " to party"); new RequestJoinParty(); }
I wish you can help me with this