Welcome to MaxCheaters.com

Register now to gain access to all of our features. Once registered and logged in, you will be able to create topics, post replies to existing threads

Code Add Clan Skill At Admin Panel


Recommended Posts

Go to : data\html\admin\game_menu.htm

 

<font color="00FF00">Clan related:</font>
<table width=240><tr>
<td><button value="Create" action="bypass -h admin_pledge create $menu_command" width=55 height=15 back="sek.cbui94" fore="sek.cbui92"></td>
<td><button value="Delete" action="bypass -h admin_pledge dismiss $menu_command" width=55 height=15 back="sek.cbui94" fore="sek.cbui92"></td>
<td><button value="Set Level" action="bypass -h admin_pledge setlevel $menu_command" width=55 height=15 back="sek.cbui94" fore="sek.cbui92"></td>
<td><button value="Reputation" action="bypass -h admin_pledge rep $menu_command" width=55 height=15 back="sek.cbui94" fore="sek.cbui92"></td>
</tr><tr>
<td><button value="Castles/CH" action="bypass -h admin_siege" width=55 height=15 back="sek.cbui94" fore="sek.cbui92"></td>
<td><button value="Info" action="bypass -h admin_pledge info" width=55 height=15 back="sek.cbui94" fore="sek.cbui92"></td>
<td><button value="Fortress" action="bypass -h admin_fortsiege" width=55 height=15 back="sek.cbui94" fore="sek.cbui92"></td>
- </tr> <br> 
+ <td><button value="Clan Skill" action="bypass -h admin_help custom_clan.htm" width=55 height=15 back="sek.cbui94" fore="sek.cbui92"></td><tr>

Then make new html : data\html\admin\custom_clan.htm

 

and paste that:

<html><body><table width=260>
<tr><td width=40>
<button value="Main" action="bypass -h admin_admin" width=40 height=15 back="L2UI_ct1.button_df" fore="L2UI_ct1.button_df">
</td><td width=180>
<center>Clan Skills Menu</center>
</td><td width=40>
<button value="Back" action="bypass -h admin_help skills.htm" width=40 height=15 back="L2UI_ct1.button_df" fore="L2UI_ct1.button_df">
</td></tr></table>
<img src="sek.cbui355" width=260 height=2><br>

<center><font color="88aaaa"><table width=200>
</tr><tr><td align=center><button value="Clan lvl 8" action="bypass -h admin_pledge setlevel 8" width=160 height=21 back="L2UI_ct1.button_df" fore="L2UI_ct1.button_df"></td></tr>
</tr><tr><td align=center><br></td></tr>
<tr><td align=center><button value="Clan Vitality" action="bypass -h admin_add_clan_skill 370 3"  value="Town Center" width=160 height=21 back="L2UI_ct1.button_df" fore="L2UI_ct1.button_df"></td></tr>
<tr><td align=center><button value="Clan Spirituality" action="bypass -h admin_add_clan_skill 371 3" value="Town Center" width=160 height=21 back="L2UI_ct1.button_df" fore="L2UI_ct1.button_df"></td></tr>
<tr><td align=center><button value="Clan Essence" action="bypass -h admin_add_clan_skill 372 3" value="Town Center" width=160 height=21 back="L2UI_ct1.button_df" fore="L2UI_ct1.button_df"></td></tr>
<tr><td align=center><button value="Clan Lifeblood" action="bypass -h admin_add_clan_skill 373 3" value="Town Center" width=160 height=21 back="L2UI_ct1.button_df" fore="L2UI_ct1.button_df"></td></tr>
<tr><td align=center><button value="Clan Morale" action="bypass -h admin_add_clan_skill 374 3" value="Town Center" width=160 height=21 back="L2UI_ct1.button_df" fore="L2UI_ct1.button_df"></td></tr>
<tr><td align=center><button value="Clan Clarity" action="bypass -h admin_add_clan_skill 375 3" value="Town Center" width=160 height=21 back="L2UI_ct1.button_df" fore="L2UI_ct1.button_df"></td></tr>
<tr><td align=center><button value="Clan Might" action="bypass -h admin_add_clan_skill 376 3" value="Town Center" width=160 height=21 back="L2UI_ct1.button_df" fore="L2UI_ct1.button_df"></td></tr>
<tr><td align=center><button value="Clan Aegis" action="bypass -h admin_add_clan_skill 377 3" value="Town Center" width=160 height=21 back="L2UI_ct1.button_df" fore="L2UI_ct1.button_df"></td></tr>
<tr><td align=center><button value="Clan Empowerment" action="bypass -h admin_add_clan_skill 378 3" value="Town Center" width=160 height=21 back="L2UI_ct1.button_df" fore="L2UI_ct1.button_df"></td></tr>
<tr><td align=center><button value="Clan Magic Protection" action="bypass -h admin_add_clan_skill 379 3" value="Town Center" width=160 height=21 back="L2UI_ct1.button_df" fore="L2UI_ct1.button_df"></td></tr>
<tr><td align=center><button value="Clan Guidance" action="bypass -h admin_add_clan_skill 380 3" value="Town Center" width=160 height=21 back="L2UI_ct1.button_df" fore="L2UI_ct1.button_df"></td></tr>
<tr><td align=center><button value="Clan Agility" action="bypass -h admin_add_clan_skill 381 3" value="Town Center" width=160 height=21 back="L2UI_ct1.button_df" fore="L2UI_ct1.button_df"></td></tr>
<tr><td align=center><button value="Clan Withstand-Attack" action="bypass -h admin_add_clan_skill 382 3" value="Town Center" width=160 height=21 back="L2UI_ct1.button_df" fore="L2UI_ct1.button_df"></td></tr>
<tr><td align=center><button value="Clan Shield Boost" action="bypass -h admin_add_clan_skill 383 3" value="Town Center" width=160 height=21 back="L2UI_ct1.button_df" fore="L2UI_ct1.button_df"></td></tr>
<tr><td align=center><button value="Clan Cyclonic Resistance" action="bypass -h admin_add_clan_skill 384 3" value="Town Center" width=160 height=21 back="L2UI_ct1.button_df" fore="L2UI_ct1.button_df"></td></tr>
<tr><td align=center><button value="Clan Magmatic Resistance" action="bypass -h admin_add_clan_skill 385 3" value="Town Center" width=160 height=21 back="L2UI_ct1.button_df" fore="L2UI_ct1.button_df"></td></tr>
<tr><td align=center><button value="Clan Fortitude" action="bypass -h admin_add_clan_skill 386 3" value="Town Center" width=160 height=21 back="L2UI_ct1.button_df" fore="L2UI_ct1.button_df"></td></tr>
<tr><td align=center><button value="Clan Freedom" action="bypass -h admin_add_clan_skill 387 3" value="Town Center" width=160 height=21 back="L2UI_ct1.button_df" fore="L2UI_ct1.button_df"></td></tr>
<tr><td align=center><button value="Clan Vigilance" action="bypass -h admin_add_clan_skill 388 3" value="Town Center" width=160 height=21 back="L2UI_ct1.button_df" fore="L2UI_ct1.button_df"></td></tr>
<tr><td align=center><button value="Clan March" action="bypass -h admin_add_clan_skill 389 3" value="Town Center" width=160 height=21 back="L2UI_ct1.button_df" fore="L2UI_ct1.button_df"></td></tr>
<tr><td align=center><button value="Clan Luck" action="bypass -h admin_add_clan_skill 390 3" value="Town Center" width=160 height=21 back="L2UI_ct1.button_df" fore="L2UI_ct1.button_df"></td></tr>
<tr><td align=center><button value="Clan Imperium" action="bypass -h admin_add_clan_skill 391 3" value="Town Center" width=160 height=21 back="L2UI_ct1.button_df" fore="L2UI_ct1.button_df"></td></tr>
</table></font></center>
</body></html>

and the Java Side :gameserver/handler/admincommandhandlers/AdminSkill.java

activeChar.getClan().broadcastToOnlineMembers(new PledgeSkillList(activeChar.getClan()));

for (final L2PcInstance member : activeChar.getClan().getOnlineMembers(""))
{
member.sendSkillList();
}

+AdminHelpPage.showHelpPage(activeChar, "custom_clan.htm");
skillname = null;
return;
}
activeChar.sendMessage("Error: there is no such skill.");
}
}
//no more line
Edited by iSparky

Share this post


Link to post
Share on other sites
  • 2 weeks later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

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