Пользователь
Регистрация: 24.07.2012
Возраст: 29
Сообщений: 32
Отблагодарили 0 раз(а)
Рейтинг мнений:
|
Re: L2J Freya Community Board
L2CCCP, чего именно?
Добавлено через 11 минут
Добавлено через 8 минут
вот код первой странички бафов
Свернуть ↑
PHP код:
<html>
<body>
<center>
<table>
<tr>
<td><button value="О Сервере" action="bypass -h _bbstop" width=90 height=25 back="L2UI_CT1.Button_DF_Down" fore="L2UI_CT1.Button_DF"></td>
<td><button value="Магазин" action="bypass -h _bbstop;30" width=90 height=25 back="L2UI_CT1.Button_DF_Down" fore="L2UI_CT1.Button_DF"></td>
<td><button value="Баффы" action="bypass -h _bbstop;60" width=90 height=25 back="L2UI_CT1.Button_DF_Down" fore="L2UI_CT1.Button_DF"></td>
<td><button value="Телепорт" action="bypass -h _bbstop;50" width=90 height=25 back="L2UI_CT1.Button_DF_Down" fore="L2UI_CT1.Button_DF"></td>
<td><button value="Карьера" action="bypass -h _bbsclass;" width=90 height=25 back="L2UI_CT1.Button_DF_Down" fore="L2UI_CT1.Button_DF"></td>
<td><button value="Новости" action="bypass -h _bbstop;40" width=90 height=25 back="L2UI_CT1.Button_DF_Down" fore="L2UI_CT1.Button_DF"></td>
<td><button value="Крафт" action="bypass -h _bbstop;70" width=90 height=25 back="L2UI_CT1.Button_DF_Down" fore="L2UI_CT1.Button_DF"></td>
</tr>
</table>
<img src="L2UI.SquareWhite" width=600 height=1>
<table width=600 bgcolor=CCCCCC>
<tr><td width=200>
<a action="bypass -h _bbstop"><font color=F2C202>PvP Masters</font></a>
<font color=F2C202> -> </font>
<a action="bypass -h _bbstop;60"><font color=F2C202>Баффы</font></a>
</td><td width=400 align=left>
<font color=D70000>Все бафы бесплатны</font>\<font color=D70000>И даже сохранение!</font>
</td></tr>
</table>
<img src="L2UI.SquareWhite" width=600 height=1>
<table width=600>
<tr>
<td height=300>
<center>
<br>
<img src="L2UI.SquareWhite" width=340 height=1>
<table width=350>
<tr>
<td><center><button value="<< back" action="bypass -h _bbstop;603" width=90 height=18 back="L2UI_CT1.Button_DF_Down" fore="L2UI_CT1.Button_DF"></center></td>
<td><center><font color=F2C202>Page 1</font></center></td>
<td><center><button value="next >>" action="bypass -h _bbstop;601" width=90 height=18 back="L2UI_CT1.Button_DF_Down" fore="L2UI_CT1.Button_DF"></center></td>
</tr>
</table>
<img src="L2UI.SquareWhite" width=340 height=1>
</center>
<table width=300>
<tr>
<td align=center>
<img src=icon.skill1077 width=32 height=32><button value="Focus" action="bypass -h _bbs_buff_Focus_ $tvari" width=80 height=18 back="L2UI_ct1.button_df" fore="L2UI_ct1.button_df">
<img src=icon.skill1242 width=32 height=32><button value="D. Whisper" action="bypass -h _bbs_buff_Death Whisper_ $tvari" width=80 height=18 back="L2UI_ct1.button_df" fore="L2UI_ct1.button_df">
<img src=icon.skill1303 width=32 height=32><button value="Wild Magic" action="bypass -h _bbs_buff_Wild Magic_ $tvari" width=80 height=18 back="L2UI_ct1.button_df" fore="L2UI_ct1.button_df">
<img src=icon.skill1086 width=32 height=32><button value="Haste" action="bypass -h _bbs_buff_Haste_ $tvari" width=80 height=18 back="L2UI_ct1.button_df" fore="L2UI_ct1.button_df">
<img src=icon.skill1240 width=32 height=32><button value="Guidance" action="bypass -h _bbs_buff_Guidance_ $tvari" width=80 height=18 back="L2UI_ct1.button_df" fore="L2UI_ct1.button_df">
<img src=icon.skill1087 width=32 height=32><button value="Agility" action="bypass -h _bbs_buff_Agility_ $tvari" width=80 height=18 back="L2UI_ct1.button_df" fore="L2UI_ct1.button_df">
</td>
<td align=center>
<img src=icon.skill1045 width=32 height=32><button value="Bles. Body" action="bypass -h _bbs_buff_Blessed Body_ $tvari" width=80 height=18 back="L2UI_ct1.button_df" fore="L2UI_ct1.button_df">
<img src=icon.skill1048 width=32 height=32><button value="Bles. Soul" action="bypass -h _bbs_buff_Blessed Soul_ $tvari" width=80 height=18 back="L2UI_ct1.button_df" fore="L2UI_ct1.button_df">
<img src=icon.skill1085 width=32 height=32><button value="Acumen" action="bypass -h _bbs_buff_Acumen_ $tvari" width=80 height=18 back="L2UI_ct1.button_df" fore="L2UI_ct1.button_df">
<img src=icon.skill1257 width=32 height=32><button value="Dec. Weight" action="bypass -h _bbs_buff_Decrease Weight_ $tvari" width=80 height=18 back="L2UI_ct1.button_df" fore="L2UI_ct1.button_df">
<img src=icon.skill1068 width=32 height=32><button value="Might" action="bypass -h _bbs_buff_Might_ $tvari" width=80 height=18 back="L2UI_ct1.button_df" fore="L2UI_ct1.button_df">
<img src=icon.skill1059 width=32 height=32><button value="Empower" action="bypass -h _bbs_buff_Empower_ $tvari" width=80 height=18 back="L2UI_ct1.button_df" fore="L2UI_ct1.button_df">
</td>
<td align=center>
<img src=icon.skill1040 width=32 height=32><button value="Shield" action="bypass -h _bbs_buff_Shield_ $tvari" width=80 height=18 back="L2UI_ct1.button_df" fore="L2UI_ct1.button_df">
<img src=icon.skill1036 width=32 height=32><button value="M. Barrier" action="bypass -h _bbs_buff_Magic Barrier_ $tvari" width=80 height=18 back="L2UI_ct1.button_df" fore="L2UI_ct1.button_df">
<img src=icon.skill1268 width=32 height=32><button value="Vamp. Rage" action="bypass -h _bbs_buff_Vampiric Rage_ $tvari" width=80 height=18 back="L2UI_ct1.button_df" fore="L2UI_ct1.button_df">
<img src=icon.skill1204 width=32 height=32><button value="Wind Walk" action="bypass -h _bbs_buff_Wind Walk_ $tvari" width=80 height=18 back="L2UI_ct1.button_df" fore="L2UI_ct1.button_df">
<img src=icon.skill1062 width=32 height=32><button value="Ber. Spirit" action="bypass -h _bbs_buff_Berserker Spirit_ $tvari" width=80 height=18 back="L2UI_ct1.button_df" fore="L2UI_ct1.button_df">
<img src=icon.skill1397 width=32 height=32><button value="Clarity" action="bypass -h _bbs_buff_Clarity_ $tvari" width=80 height=18 back="L2UI_ct1.button_df" fore="L2UI_ct1.button_df">
</td>
<td align=center>
<img src=icon.skill1332 width=32 height=32><button value="Bles.Seraphim" action="bypass -h _bbs_buff_Blessing of Seraphim_ $tvari" width=80 height=18 back="L2UI_ct1.button_df" fore="L2UI_ct1.button_df">
<img src=icon.skill1332 width=32 height=32><button value="Gift Seraphim" action="bypass -h _bbs_buff_Gift of Seraphim_ $tvari" width=80 height=18 back="L2UI_ct1.button_df" fore="L2UI_ct1.button_df">
<img src=icon.skill1331 width=32 height=32><button value="Bles.Queen" action="bypass -h _bbs_buff_Blessing of Queen_ $tvari" width=80 height=18 back="L2UI_ct1.button_df" fore="L2UI_ct1.button_df">
<img src=icon.skill1331 width=32 height=32><button value="Gift Queen" action="bypass -h _bbs_buff_Gift of Queen_ $tvari" width=80 height=18 back="L2UI_ct1.button_df" fore="L2UI_ct1.button_df">
<img src=icon.skill1388 width=32 height=32><button value="G. Might" action="bypass -h _bbs_buff_Greater Might_ $tvari" width=80 height=18 back="L2UI_ct1.button_df" fore="L2UI_ct1.button_df">
<img src=icon.skill1389 width=32 height=32><button value="G. Shield" action="bypass -h _bbs_buff_Greater Shield_ $tvari" width=80 height=18 back="L2UI_ct1.button_df" fore="L2UI_ct1.button_df">
</td>
</tr>
</table>
</td>
<td height=300>
<center>
<table width="300">
<tr>
<td><center><font color=3293F3>Операции</font></center></td>
</tr>
</table>
</center>
<center>
<table width="300" align=center>
<tr>
<td align=center><button value="Набор для война" action="bypass -h _bbsbuff;grp;1; $tvari" width=150 height=18 back="L2UI_ct1.button_df" fore="L2UI_ct1.button_df"></td>
<td align=center><button value="Все Songs" action="bypass -h _bbsbuff;grp;4; $tvari" width=150 height=18 back="L2UI_ct1.button_df" fore="L2UI_ct1.button_df"></td>
</tr>
<tr>
<td align=center><button value="Набор для мага" action="bypass -h _bbsbuff;grp;2; $tvari" width=150 height=18 back="L2UI_ct1.button_df" fore="L2UI_ct1.button_df"></td>
<td align=center><button value="Все Dances" action="bypass -h _bbsbuff;grp;3; $tvari" width=150 height=18 back="L2UI_ct1.button_df" fore="L2UI_ct1.button_df"></td>
</tr>
<tr>
<td align=center>
<table>
<tr>
<td align=center>
<button value="Сохранить" action="bypass -h _bbsbuff;save" width=70 height=18 back="L2UI_ct1.button_df" fore="L2UI_ct1.button_df">
</td>
<td align=center>
<button value="Вернуть" action="bypass -h _bbsbuff;restore" width=70 height=18 back="L2UI_ct1.button_df" fore="L2UI_ct1.button_df">
</td>
</tr>
<tr>
<td align=center>
<button value="Сброс" action="bypass -h _bbsbuff;cancel" width=70 height=18 back="L2UI_ct1.button_df" fore="L2UI_ct1.button_df">
</td>
<td align=center>
<button value="Мана" action="bypass -h _bbsbuff;regmp" width=70 height=18 back="L2UI_ct1.button_df" fore="L2UI_ct1.button_df">
</td>
</tr>
</table>
</td>
<td align=center>
<font color=3293F3>Кого бафать:</font>
<combobox width=145 var="tvari" list="Player;Pet">
</td>
</tr>
</table>
</center>
<br>
<center>
<table width="300">
<tr>
<td>
<center><font color=3293F3>Song & Dance</font></center>
</td>
</tr>
</table>
<table width="300">
</center>
<center>
<tr>
<td align=center>
<button value="Song of Earth" action="bypass -h _bbsbuff;buff;60;264;1; $tvari" width=150 height=18 back="L2UI_ct1.button_df" fore="L2UI_ct1.button_df">
<button value="Song of Life" action="bypass -h _bbsbuff;buff;60;265;1; $tvari" width=150 height=18 back="L2UI_ct1.button_df" fore="L2UI_ct1.button_df">
<button value="Song of Warding" action="bypass -h _bbsbuff;buff;60;267;1; $tvari" width=150 height=18 back="L2UI_ct1.button_df" fore="L2UI_ct1.button_df">
<button value="Song of Wind" action="bypass -h _bbsbuff;buff;60;268;1; $tvari" width=150 height=18 back="L2UI_ct1.button_df" fore="L2UI_ct1.button_df">
<button value="Song of Hunter" action="bypass -h _bbsbuff;buff;60;269;1; $tvari" width=150 height=18 back="L2UI_ct1.button_df" fore="L2UI_ct1.button_df">
<button value="Song of Vitality" action="bypass -h _bbsbuff;buff;60;304;1; $tvari" width=150 height=18 back="L2UI_ct1.button_df" fore="L2UI_ct1.button_df">
<button value="Song of Renewal" action="bypass -h _bbsbuff;buff;60;349;1; $tvari" width=150 height=18 back="L2UI_ct1.button_df" fore="L2UI_ct1.button_df">
<button value="Song of Meditation" action="bypass -h _bbsbuff;buff;60;363;1; $tvari" width=150 height=18 back="L2UI_ct1.button_df" fore="L2UI_ct1.button_df">
</td>
<td align=center>
<button value="Song of Champion" action="bypass -h _bbsbuff;buff;60;364;1; $tvari" width=150 height=18 back="L2UI_ct1.button_df" fore="L2UI_ct1.button_df">
<button value="Dance of the Mystic" action="bypass -h _bbsbuff;buff;60;273;1; $tvari" width=150 height=18 back="L2UI_ct1.button_df" fore="L2UI_ct1.button_df">
<button value="Dance of Concentration" action="bypass -h _bbsbuff;buff;60;276;1; $tvari" width=150 height=18 back="L2UI_ct1.button_df" fore="L2UI_ct1.button_df">
<button value="Siren's Dance" action="bypass -h _bbsbuff;buff;60;365;1; $tvari" width=150 height=18 back="L2UI_ct1.button_df" fore="L2UI_ct1.button_df">
<button value="Dance of the Warrior" action="bypass -h _bbsbuff;buff;60;271;1; $tvari" width=150 height=18 back="L2UI_ct1.button_df" fore="L2UI_ct1.button_df">
<button value="Dance of Fire" action="bypass -h _bbsbuff;buff;60;274;1; $tvari" width=150 height=18 back="L2UI_ct1.button_df" fore="L2UI_ct1.button_df">
<button value="Dance of Fury" action="bypass -h _bbsbuff;buff;60;275;1; $tvari" width=150 height=18 back="L2UI_ct1.button_df" fore="L2UI_ct1.button_df">
<button value="Dance of the Vampire" action="bypass -h _bbsbuff;buff;60;310;1; $tvari" width=150 height=18 back="L2UI_ct1.button_df" fore="L2UI_ct1.button_df">
</td>
</tr>
</table>
</center>
</td>
</tr>
</table>
<br>
<img src="L2UI.SquareWhite" width=600 height=1>
<br>
<font color=3293F3>Maddev ® 2010-2011 | PvP community board by Снежек ©</font>
</center>
</body>
</html>
Свернуть ↑Развернуть ↓
вот второй
Свернуть ↑
PHP код:
<html>
<body>
<center>
<table>
<tr>
<td><button value="Новости" action="bypass -h _bbstop" width=90 height=25 back="L2UI_CT1.Button_DF_Down" fore="L2UI_CT1.Button_DF"></td>
<td><button value="Магазин" action="bypass -h _bbstop;30" width=90 height=25 back="L2UI_CT1.Button_DF_Down" fore="L2UI_CT1.Button_DF"></td>
<td><button value="Баффер" action="bypass -h _bbstop;60" width=90 height=25 back="L2UI_CT1.Button_DF_Down" fore="L2UI_CT1.Button_DF"></td>
<td><button value="Телепорт" action="bypass -h _bbsteleport;" width=90 height=25 back="L2UI_CT1.Button_DF_Down" fore="L2UI_CT1.Button_DF"></td>
<td><button value="Карьера" action="bypass -h _bbsclass;" width=90 height=25 back="L2UI_CT1.Button_DF_Down" fore="L2UI_CT1.Button_DF"></td>
<td><button value="Сервис" action="bypass -h _bbstop;40" width=90 height=25 back="L2UI_CT1.Button_DF_Down" fore="L2UI_CT1.Button_DF"></td>
<td><button value="Крафт" action="bypass -h _bbstop;70" width=90 height=25 back="L2UI_CT1.Button_DF_Down" fore="L2UI_CT1.Button_DF"></td>
</tr>
</table>
<img src="L2UI.SquareWhite" width=600 height=1>
<table width=600 bgcolor=CCCCCC>
<tr>
<td></td>
<td><a action="bypass -h _bbstop"><font color=F2C202>Главная</font></a></td>
<td><font color=F2C202> -> </font></td>
<td><a action="bypass -h _bbstop;60"><font color=F2C202>Бафферы</font></a></td>
<td width=50></td>
<td align=left><font color=D70000>Группа Бафферов 200000 Адена. 1 Баффер: 20000 Adena</font></td>
</tr>
</table>
<img src="L2UI.SquareWhite" width=600 height=1>
<table width="600" height="20" border="0">
<tr>
<td height="20"><center><button value="Все для война" action="bypass -h _bbsscripts;60-1;services.PVPCommunityBoard.CBBuffer:doBuffGroup 1 0 %buffs_in_grp1%" width=100 height=20 back="L2UI_CT1.Button_DF_Down" fore="L2UI_CT1.Button_DF"></center></td>
<td><center><button value="Все для мага" action="bypass -h _bbsscripts;60-1;services.PVPCommunityBoard.CBBuffer:doBuffGroup 2 0 %buffs_in_grp1%" width=100 height=20 back="L2UI_CT1.Button_DF_Down" fore="L2UI_CT1.Button_DF"></center></td>
<td><center><button value="Все танцы" action="bypass -h _bbsscripts;60-1;services.PVPCommunityBoard.CBBuffer:doBuffGroup 3 0 %buffs_in_grp1%" width=100 height=20 back="L2UI_CT1.Button_DF_Down" fore="L2UI_CT1.Button_DF"></center></td>
<td><center><button value="Все песьни" action="bypass -h _bbsscripts;60-1;services.PVPCommunityBoard.CBBuffer:doBuffGroup 4 0 %buffs_in_grp1%" width=100 height=20 back="L2UI_CT1.Button_DF_Down" fore="L2UI_CT1.Button_DF"></center></td>
<td><button value="Все чанты" action="bypass -h _bbsscripts;60-1;services.PVPCommunityBoard.CBBuffer:doBuffGroup 5 0 %buffs_in_grp1%" width=100 height=20 back="L2UI_CT1.Button_DF_Down" fore="L2UI_CT1.Button_DF"></td>
<td><button value="Сброс" action="bypass -h _bbsscripts;60-1;services.PVPCommunityBoard.CBBuffer:cancel_buff_char" width=50 height=20 back="L2UI_CT1.Button_DF_Down" fore="L2UI_CT1.Button_DF"></td>
</tr>
</table>
<table width="200" border="0">
<tr>
<td><button value="<Назад" action="bypass -h _bbstop;60" width=80 height=25 back="L2UI_CT1.Button_DF_Down" fore="L2UI_CT1.Button_DF"></td>
<td width=50>Page: 2 </td>
<td><button value="Далее>" action="bypass -h _bbstop;60-2" width=80 height=25 back="L2UI_CT1.Button_DF_Down" fore="L2UI_CT1.Button_DF"></td>
</tr>
</table>
<table width="300" height="300" border="0">
<tr>
<td>
<table width="135" border="0">
<tr>
<td height=32 width=32 valign=top><img src=icon.skill0264 width=32 height=32></td>
<td height=25><button value=$ action="bypass -h _bbsscripts;60-1;services.PVPCommunityBoard.CBBuffer:doBuff 264 1 0" width=25 height=32 back="L2UI_CT1.Button_DF_Down" fore="L2UI_CT1.Button_DF"></td>
<td height=32><font color=3293F3>S. Earth</font><br1><font color=F2C202>Уровень 1</font></td>
</tr>
</table>
<table width="135" border="0">
<tr>
<td height=32 width=32 valign=top><img src=icon.skill0265 width=32 height=32></td>
<td height=25><button value=$ action="bypass -h _bbsscripts;60-1;services.PVPCommunityBoard.CBBuffer:doBuff 265 1 0" width=25 height=32 back="L2UI_CT1.Button_DF_Down" fore="L2UI_CT1.Button_DF"></td>
<td height=32><font color=3293F3>S. Life</font><br1><font color=F2C202>Уровень 1</font></td>
</tr>
</table>
<table width="135" border="0">
<tr>
<td height=32 width=32 valign=top><img src=icon.skill0266 width=32 height=32></td>
<td height=25><button value=$ action="bypass -h _bbsscripts;60-1;services.PVPCommunityBoard.CBBuffer:doBuff 266 1 0" width=25 height=32 back="L2UI_CT1.Button_DF_Down" fore="L2UI_CT1.Button_DF"></td>
<td height=32><font color=3293F3>S. Water</font><br1><font color=F2C202>Уровень 1</font></td>
</tr>
</table>
<table width="135" border="0">
<tr>
<td height=32 width=32 valign=top><img src=icon.skill0267 width=32 height=32></td>
<td height=25><button value=$ action="bypass -h _bbsscripts;60-1;services.PVPCommunityBoard.CBBuffer:doBuff 267 1 0" width=25 height=32 back="L2UI_CT1.Button_DF_Down" fore="L2UI_CT1.Button_DF"></td>
<td height=32><font color=3293F3>S. Ward</font><br1><font color=F2C202>Уровень 1</font></td>
</tr>
</table>
<table width="135" border="0">
<tr>
<td height=32 width=32 valign=top><img src=icon.skill0268 width=32 height=32></td>
<td height=25><button value=$ action="bypass -h _bbsscripts;60-1;services.PVPCommunityBoard.CBBuffer:doBuff 268 1 0" width=25 height=32 back="L2UI_CT1.Button_DF_Down" fore="L2UI_CT1.Button_DF"></td>
<td height=32><font color=3293F3>S. Wind</font><br1><font color=F2C202>Уровень 1</font></td>
</tr>
</table>
<table width="135" border="0">
<tr>
<td height=32 width=32 valign=top><img src=icon.skill0269 width=32 height=32></td>
<td height=25><button value=$ action="bypass -h _bbsscripts;60-1;services.PVPCommunityBoard.CBBuffer:doBuff 269 1 0" width=25 height=32 back="L2UI_CT1.Button_DF_Down" fore="L2UI_CT1.Button_DF"></td>
<td height=32><font color=3293F3>S. Hunter</font><br1><font color=F2C202>Уровень 1</font></td>
</tr>
</table>
<table width="135" border="0">
<tr>
<td height=32 width=32 valign=top><img src=icon.skill0270 width=32 height=32></td>
<td height=25><button value=$ action="bypass -h _bbsscripts;60-1;services.PVPCommunityBoard.CBBuffer:doBuff 270 1 0" width=25 height=32 back="L2UI_CT1.Button_DF_Down" fore="L2UI_CT1.Button_DF"></td>
<td height=32><font color=3293F3>S. Invocat</font><br1><font color=F2C202>Уровень 1</font></td>
</tr>
</table>
</td>
<td>
<table width="135" border="0">
<tr>
<td height=32 width=32 valign=top><img src=icon.skill0304 width=32 height=32></td>
<td height=25><button value=$ action="bypass -h _bbsscripts;60-1;services.PVPCommunityBoard.CBBuffer:doBuff 304 1 0" width=25 height=32 back="L2UI_CT1.Button_DF_Down" fore="L2UI_CT1.Button_DF"></td>
<td height=32><font color=3293F3>S. Vitality</font><br1><font color=F2C202>Уровень 1</font></td>
</tr>
</table>
<table width="135" border="0">
<tr>
<td height=32 width=32 valign=top><img src=icon.skill0306 width=32 height=32></td>
<td height=25><button value=$ action="bypass -h _bbsscripts;60-1;services.PVPCommunityBoard.CBBuffer:doBuff 306 1 0" width=25 height=32 back="L2UI_CT1.Button_DF_Down" fore="L2UI_CT1.Button_DF"></td>
<td height=32><font color=3293F3>S. F. Guard</font><br1><font color=F2C202>Уровень 1</font></td>
</tr>
</table>
<table width="135" border="0">
<tr>
<td height=32 width=32 valign=top><img src=icon.skill0308 width=32 height=32></td>
<td height=25><button value=$ action="bypass -h _bbsscripts;60-1;services.PVPCommunityBoard.CBBuffer:doBuff 308 1 0" width=25 height=32 back="L2UI_CT1.Button_DF_Down" fore="L2UI_CT1.Button_DF"></td>
<td height=32><font color=3293F3>S. S. Guard</font><br1><font color=F2C202>Уровень 1</font></td>
</tr>
</table>
<table width="135" border="0">
<tr>
<td height=32 width=32 valign=top><img src=icon.skill0349 width=32 height=32></td>
<td height=25><button value=$ action="bypass -h _bbsscripts;60-1;services.PVPCommunityBoard.CBBuffer:doBuff 349 1 0" width=25 height=32 back="L2UI_CT1.Button_DF_Down" fore="L2UI_CT1.Button_DF"></td>
<td height=32><font color=3293F3>S. Renewal</font><br1><font color=F2C202>Уровень 1</font></td>
</tr>
</table>
<table width="135" border="0">
<tr>
<td height=32 width=32 valign=top><img src=icon.skill0363 width=32 height=32></td>
<td height=25><button value=$ action="bypass -h _bbsscripts;60-1;services.PVPCommunityBoard.CBBuffer:doBuff 363 1 0" width=25 height=32 back="L2UI_CT1.Button_DF_Down" fore="L2UI_CT1.Button_DF"></td>
<td height=32><font color=3293F3>S. Meditat</font><br1><font color=F2C202>Уровень 1</font></td>
</tr>
</table>
<table width="135" border="0">
<tr>
<td height=32 width=32 valign=top><img src=icon.skill0364 width=32 height=32></td>
<td height=25><button value=$ action="bypass -h _bbsscripts;60-1;services.PVPCommunityBoard.CBBuffer:doBuff 364 1 0" width=25 height=32 back="L2UI_CT1.Button_DF_Down" fore="L2UI_CT1.Button_DF"></td>
<td height=32><font color=3293F3>S. Champ </font><br1><font color=F2C202>Уровень 1</font></td>
</tr>
</table>
</td>
</tr>
</table>
<img src="L2UI.SquareWhite" width=600 height=1>
<font color=3293F3>Community Board PVP | L2Phoenix © 2010</font>
</center>
</body>
</html>
Свернуть ↑Развернуть ↓
странички, сражу скажу, еще не доделаны
Вот код BuffBBSManager.java
Свернуть ↑
PHP код:
package com.l2jserver.gameserver.communitybbs.Manager;
import java.sql.Connection;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.SQLException;
import com.l2jserver.Config;
import com.l2jserver.L2DatabaseFactory;
import com.l2jserver.gameserver.cache.HtmCache;
import com.l2jserver.gameserver.datatables.SkillTable;
import com.l2jserver.gameserver.model.*;
import com.l2jserver.gameserver.model.actor.instance.L2PcInstance;
import com.l2jserver.gameserver.model.entity.TvTEvent;
import com.l2jserver.gameserver.network.serverpackets.ExShowScreenMessage;
public class BuffBBSManager extends BaseBBSManager
{
private static BuffBBSManager _instance = new BuffBBSManager();
public int allskillid_1[][];
public BuffBBSManager()
{
Load();
}
public static BuffBBSManager getInstance()
{
if(_instance == null)
_instance = new BuffBBSManager();
return _instance;
}
public void Load()
{
Connection connn = null;
try
{
connn = L2DatabaseFactory.getInstance().getConnection();
PreparedStatement count = connn.prepareStatement("SELECT COUNT(*) FROM communitybuff");
ResultSet countt = count.executeQuery();
countt.next();
allskillid_1 = new int[countt.getInt(1)][4];
PreparedStatement table = connn.prepareStatement("SELECT * FROM communitybuff");
ResultSet skills = table.executeQuery();
for(int i = 0; i < allskillid_1.length; i++)
{
skills.next();
allskillid_1[i][0] = skills.getInt(2);
allskillid_1[i][1] = skills.getInt(3);
allskillid_1[i][2] = skills.getInt(4);
allskillid_1[i][3] = skills.getInt(5);
}
count.close();
countt.close();
skills.close();
table.close();
connn.close();
}
catch(Exception ignored) { }
}
@Override
public void parsecmd(String command, L2PcInstance activeChar)
{
String[] parts = command.split("_");
boolean petbuff = false;
if(activeChar.isDead() || activeChar.isAlikeDead() || TvTEvent.isStarted() || activeChar.isInSiege() || activeChar.isCastingNow() || activeChar.isInCombat() || activeChar.isAttackingNow() || activeChar.isInOlympiadMode() || activeChar.isInJail() || activeChar.isFlying() || activeChar.getKarma() > 0 || activeChar.isInDuel())
{
activeChar.sendMessage("В данных условиях бафф запрещен");
return;
}
if (!(parts[2].startsWith("buff")))
return;
String content = HtmCache.getInstance().getHtm(activeChar.getHtmlPrefix(), "data/html/CommunityBoard/60.htm");
separateAndSend(content, activeChar);
if(parts[4] != null && parts[4].startsWith(" Player"))
petbuff = false;
if(parts[4] != null && parts[4].startsWith(" Pet"))
petbuff = true;
if(parts[3].startsWith("FIGHERLIST"))
if(Config.BUFF_PEACE)
{
if(activeChar.isInsideZone((byte)2))
FIGHERLIST(activeChar, petbuff);
else
activeChar.sendPacket(new ExShowScreenMessage("Sorry, you not town!!", 3000));
}
else
{
FIGHERLIST(activeChar, petbuff);
}
if(parts[3].startsWith("DANCEFIGHTERLIST"))
{
if(Config.BUFF_PEACE)
{
if(activeChar.isInsideZone((byte)2))
DANCEFIGHTERLIST(activeChar, petbuff);
else
activeChar.sendPacket(new ExShowScreenMessage("Sorry, you not town!!", 3000));
}
else
{
DANCEFIGHTERLIST(activeChar, petbuff);
}
}
if(parts[3].startsWith("MAGELIST"))
if(Config.BUFF_PEACE)
{
if(activeChar.isInsideZone((byte)2))
MAGELIST(activeChar, petbuff);
else
activeChar.sendPacket(new ExShowScreenMessage("Sorry, you not town!!", 3000));
}
else
{
MAGELIST(activeChar, petbuff);
}
if(parts[3].startsWith("DANCEMAGELIST"))
if(Config.BUFF_PEACE)
{
if(activeChar.isInsideZone((byte)2))
DANCEMAGELIST(activeChar, petbuff);
else
activeChar.sendPacket(new ExShowScreenMessage("Sorry, you not town!!", 3000));
}
else
{
DANCEMAGELIST(activeChar, petbuff);
}
if(parts[3].startsWith("SAVE"))
if(Config.BUFF_PEACE)
{
if(activeChar.isInsideZone((byte)2))
SAVE(activeChar, petbuff);
else
activeChar.sendPacket(new ExShowScreenMessage("Sorry, you not town!!", 3000));
} else
{
SAVE(activeChar, petbuff);
}
if(parts[3].startsWith("BUFF"))
if(Config.BUFF_PEACE)
{
if(activeChar.isInsideZone((byte)2))
BUFF(activeChar, petbuff);
else
activeChar.sendPacket(new ExShowScreenMessage("Sorry, you not town!!", 3000));
} else
{
BUFF(activeChar, petbuff);
}
if(parts[3].startsWith("CANCEL"))
if(Config.BUFF_PEACE)
{
if(activeChar.isInsideZone((byte)2))
CANCEL(activeChar, petbuff);
else
activeChar.sendPacket(new ExShowScreenMessage("Sorry, you not town!!", 3000));
}
else
{
CANCEL(activeChar, petbuff);
}
if(parts[3].startsWith("REGMP"))
if(Config.BUFF_PEACE)
{
if(activeChar.isInsideZone((byte)2))
REGMP(activeChar, petbuff);
else
activeChar.sendPacket(new ExShowScreenMessage("Sorry, you not town!!", 3000));
}
else
{
REGMP(activeChar, petbuff);
}
if(parts[3].startsWith("REGHP"))
if(Config.BUFF_PEACE)
{
if(activeChar.isInsideZone((byte)2))
REGHP(activeChar, petbuff);
else
activeChar.sendPacket(new ExShowScreenMessage("Sorry, you not town!!", 3000));
}
else
{
REGHP(activeChar, petbuff);
}
if(parts[3].startsWith("REGCP"))
if(Config.BUFF_PEACE)
{
if(activeChar.isInsideZone((byte)2))
REGCP(activeChar, petbuff);
else
activeChar.sendPacket(new ExShowScreenMessage("Sorry, you not town!!", 3000));
}
else
{
REGCP(activeChar, petbuff);
}
for(int key = 0; key < allskillid_1.length; key++)
{
L2Skill skill;
int skilllevel;
if(Config.BUFF_PEACE)
{
if(activeChar.isInsideZone((byte)2))
{
skilllevel = SkillTable.getInstance().getMaxLevel(allskillid_1[key][0]);
skill = SkillTable.getInstance().getInfo(allskillid_1[key][0], skilllevel);
if(parts[3].startsWith(skill.getName()))
SKILL(activeChar, petbuff, key, skill);
} else
{
activeChar.sendPacket(new ExShowScreenMessage("Sorry, you not town!!", 3000));
}
continue;
}
skilllevel = SkillTable.getInstance().getMaxLevel(allskillid_1[key][0]);
skill = SkillTable.getInstance().getInfo(allskillid_1[key][0], skilllevel);
if(parts[3].startsWith(skill.getName()))
SKILL(activeChar, petbuff, key, skill);
}
}
private void FIGHERLIST(L2PcInstance activeChar, boolean petbuff)
{
int arr$[][] = allskillid_1;
int len$ = arr$.length;
for(int i$ = 0; i$ < len$; i$++)
{
int aSkillid[] = arr$[i$];
if(aSkillid[1] != 1 && aSkillid[1] != 3)
continue;
L2Skill skill;
int skilllevel;
if(Config.MANI_BUFF)
{
if(activeChar.destroyItemByItemId(null, aSkillid[3], aSkillid[2], activeChar, true))
{
skilllevel = SkillTable.getInstance().getMaxLevel(aSkillid[0]);
skill = SkillTable.getInstance().getInfo(aSkillid[0], skilllevel);
if(!petbuff)
skill.getEffects(activeChar, activeChar);
else
skill.getEffects(activeChar.getPet(), activeChar.getPet());
}
else
{
activeChar.sendPacket(new ExShowScreenMessage("Sorry, not item!!", 3000));
}
continue;
}
skilllevel = SkillTable.getInstance().getMaxLevel(aSkillid[0]);
skill = SkillTable.getInstance().getInfo(aSkillid[0], skilllevel);
if(!petbuff)
skill.getEffects(activeChar, activeChar);
else
skill.getEffects(activeChar.getPet(), activeChar.getPet());
}
}
private void DANCEFIGHTERLIST(L2PcInstance activeChar, boolean petbuff)
{
int arr$[][] = allskillid_1;
int len$ = arr$.length;
for(int i$ = 0; i$ < len$; i$++)
{
int aSkillid[] = arr$[i$];
if(aSkillid[1] != 4 && aSkillid[1] != 6)
continue;
L2Skill skill;
int skilllevel;
if(Config.MANI_BUFF)
{
if(activeChar.destroyItemByItemId(null, aSkillid[3], aSkillid[2], activeChar, true))
{
skilllevel = SkillTable.getInstance().getMaxLevel(aSkillid[0]);
skill = SkillTable.getInstance().getInfo(aSkillid[0], skilllevel);
if(!petbuff)
skill.getEffects(activeChar, activeChar);
else
skill.getEffects(activeChar.getPet(), activeChar.getPet());
}
else
{
activeChar.sendPacket(new ExShowScreenMessage("Sorry, not item!!", 3000));
}
continue;
}
skilllevel = SkillTable.getInstance().getMaxLevel(aSkillid[0]);
skill = SkillTable.getInstance().getInfo(aSkillid[0], skilllevel);
if(!petbuff)
skill.getEffects(activeChar, activeChar);
else
skill.getEffects(activeChar.getPet(), activeChar.getPet());
}
}
private void MAGELIST(L2PcInstance activeChar, boolean petbuff)
{
int arr$[][] = allskillid_1;
int len$ = arr$.length;
for(int i$ = 0; i$ < len$; i$++)
{
int aSkillid[] = arr$[i$];
if(aSkillid[1] != 2 && aSkillid[1] != 3)
continue;
L2Skill skill;
int skilllevel;
if(Config.MANI_BUFF)
{
if(activeChar.destroyItemByItemId(null, aSkillid[3], aSkillid[2], activeChar, true))
{
skilllevel = SkillTable.getInstance().getMaxLevel(aSkillid[0]);
skill = SkillTable.getInstance().getInfo(aSkillid[0], skilllevel);
if(!petbuff)
skill.getEffects(activeChar, activeChar);
else
skill.getEffects(activeChar.getPet(), activeChar.getPet());
}
else
{
activeChar.sendPacket(new ExShowScreenMessage("Sorry, not item!!", 3000));
}
continue;
}
skilllevel = SkillTable.getInstance().getMaxLevel(aSkillid[0]);
skill = SkillTable.getInstance().getInfo(aSkillid[0], skilllevel);
if(!petbuff)
skill.getEffects(activeChar, activeChar);
else
skill.getEffects(activeChar.getPet(), activeChar.getPet());
}
}
private void DANCEMAGELIST(L2PcInstance activeChar, boolean petbuff)
{
int arr$[][] = allskillid_1;
int len$ = arr$.length;
for(int i$ = 0; i$ < len$; i$++)
{
int aSkillid[] = arr$[i$];
if(aSkillid[1] != 5 && aSkillid[1] != 6)
continue;
L2Skill skill;
int skilllevel;
if(Config.MANI_BUFF)
{
if(activeChar.destroyItemByItemId(null, aSkillid[3], aSkillid[2], activeChar, true))
{
skilllevel = SkillTable.getInstance().getMaxLevel(aSkillid[0]);
skill = SkillTable.getInstance().getInfo(aSkillid[0], skilllevel);
if(!petbuff)
skill.getEffects(activeChar, activeChar);
else
skill.getEffects(activeChar.getPet(), activeChar.getPet());
}
else
{
activeChar.sendPacket(new ExShowScreenMessage("Sorry, not item!!", 3000));
}
continue;
}
skilllevel = SkillTable.getInstance().getMaxLevel(aSkillid[0]);
skill = SkillTable.getInstance().getInfo(aSkillid[0], skilllevel);
if(!petbuff)
skill.getEffects(activeChar, activeChar);
else
skill.getEffects(activeChar.getPet(), activeChar.getPet());
}
}
private void BUFF(L2PcInstance activeChar, boolean petbuff)
{
Connection con = null;
try
{
con = L2DatabaseFactory.getInstance().getConnection();
PreparedStatement statement = con.prepareStatement("SELECT * FROM community_skillsave WHERE charId=?;");
statement.setInt(1, activeChar.getObjectId());
ResultSet rcln = statement.executeQuery();
rcln.next();
if(!petbuff)
{
char allskills[] = rcln.getString(2).toCharArray();
if(allskills.length == allskillid_1.length)
{
for(int i = 0; i < allskillid_1.length; i++)
if(allskills[i] == '1')
if(Config.MANI_BUFF)
{
if(activeChar.destroyItemByItemId(null, allskillid_1[i][3], allskillid_1[i][2], activeChar, true))
{
int skilllevel = SkillTable.getInstance().getMaxLevel(allskillid_1[i][0]);
L2Skill skill = SkillTable.getInstance().getInfo(allskillid_1[i][0], skilllevel);
skill.getEffects(activeChar, activeChar);
activeChar.getLevel();
} else
{
activeChar.sendPacket(new ExShowScreenMessage("Sorry, not item!!", 3000));
}
} else
{
int skilllevel = SkillTable.getInstance().getMaxLevel(allskillid_1[i][0]);
L2Skill skill = SkillTable.getInstance().getInfo(allskillid_1[i][0], skilllevel);
skill.getEffects(activeChar, activeChar);
}
}
}
else
{
char petskills[] = rcln.getString(3).toCharArray();
if(petskills.length == allskillid_1.length)
{
for(int i = 0; i < allskillid_1.length; i++)
{
if(petskills[i] != '1')
continue;
if(Config.MANI_BUFF)
{
if(activeChar.destroyItemByItemId(null, allskillid_1[i][3], allskillid_1[i][2], activeChar, true))
{
int skilllevel = SkillTable.getInstance().getMaxLevel(allskillid_1[i][0]);
L2Skill skill = SkillTable.getInstance().getInfo(allskillid_1[i][0], skilllevel);
skill.getEffects(activeChar.getPet(), activeChar.getPet());
} else
{
activeChar.sendPacket(new ExShowScreenMessage("Sorry, not item!!", 3000));
}
} else
{
int skilllevel = SkillTable.getInstance().getMaxLevel(allskillid_1[i][0]);
L2Skill skill = SkillTable.getInstance().getInfo(allskillid_1[i][0], skilllevel);
skill.getEffects(activeChar.getPet(), activeChar.getPet());
}
}
}
}
rcln.close();
statement.close();
}
catch(Exception ignored)
{
try
{
if(con != null)
con.close();
}
catch(SQLException e)
{
e.printStackTrace();
}
}
try
{
if(con != null)
con.close();
}
catch(SQLException e)
{
e.printStackTrace();
}
}
private void CANCEL(L2PcInstance activeChar, boolean petbuff)
{
if(!petbuff)
activeChar.stopAllEffects();
else
activeChar.getPet().stopAllEffects();
}
private void REGMP(L2PcInstance activeChar, boolean petbuff)
{
if(!petbuff)
activeChar.setCurrentMp(activeChar.getMaxMp());
else
activeChar.getPet().setCurrentMp(activeChar.getPet().getMaxMp());
}
private void REGHP(L2PcInstance activeChar, boolean petbuff)
{
if(!petbuff)
activeChar.setCurrentHp(activeChar.getMaxHp());
else
activeChar.getPet().setCurrentHp(activeChar.getPet().getMaxHp());
}
private void REGCP(L2PcInstance activeChar, boolean petbuff)
{
if(!petbuff)
activeChar.setCurrentCp(activeChar.getMaxCp());
else
activeChar.getPet().setCurrentCp(activeChar.getPet().getMaxCp());
}
private void SKILL(L2PcInstance activeChar, boolean petbuff, int key, L2Skill skill)
{
if(Config.MANI_BUFF)
{
if(activeChar.destroyItemByItemId(null, allskillid_1[key][3], allskillid_1[key][2], activeChar, true))
{
if(!petbuff)
skill.getEffects(activeChar, activeChar);
else
skill.getEffects(activeChar.getPet(), activeChar.getPet());
}
else
{
activeChar.sendPacket(new ExShowScreenMessage("Sorry, not item!!", 3000));
}
}
else
if(!petbuff)
skill.getEffects(activeChar, activeChar);
else
skill.getEffects(activeChar.getPet(), activeChar.getPet());
}
private void SAVE(L2PcInstance activeChar, boolean petbuff)
{
Connection con = null;
try
{
con = L2DatabaseFactory.getInstance().getConnection();
PreparedStatement stat = con.prepareStatement("SELECT COUNT(*) FROM community_skillsave WHERE charId=?;");
stat.setInt(1, activeChar.getObjectId());
ResultSet rset = stat.executeQuery();
rset.next();
String allbuff = "";
if(!petbuff)
{
L2Effect skill[] = activeChar.getAllEffects();
boolean flag = true;
int arr$[][] = allskillid_1;
int len$ = arr$.length;
for(int i$ = 0; i$ < len$; i$++)
{
int aSkillid[] = arr$[i$];
for(int j = 0; j < skill.length; j++)
{
if(aSkillid[0] == skill[j].getId())
{
allbuff = (new StringBuilder()).append(allbuff).append(1).toString();
flag = false;
}
if(j == skill.length - 1 && flag)
allbuff = (new StringBuilder()).append(allbuff).append(0).toString();
}
flag = true;
}
if(rset.getInt(1) == 0)
{
PreparedStatement statement1 = con.prepareStatement("INSERT INTO community_skillsave (charId,skills) values (?,?)");
statement1.setInt(1, activeChar.getObjectId());
statement1.setString(2, allbuff);
statement1.execute();
statement1.close();
}
else
{
PreparedStatement statement = con.prepareStatement("UPDATE community_skillsave SET skills=? WHERE charId=?;");
statement.setString(1, allbuff);
statement.setInt(2, activeChar.getObjectId());
statement.execute();
statement.close();
}
}
else
{
L2Effect skill[] = activeChar.getPet().getAllEffects();
boolean flag = true;
int arr$[][] = allskillid_1;
int len$ = arr$.length;
for(int i$ = 0; i$ < len$; i$++)
{
int aSkillid[] = arr$[i$];
for(int j = 0; j < skill.length; j++)
{
if(aSkillid[0] == skill[j].getId())
{
allbuff = (new StringBuilder()).append(allbuff).append(1).toString();
flag = false;
}
if(j == skill.length - 1 && flag)
allbuff = (new StringBuilder()).append(allbuff).append(0).toString();
}
flag = true;
}
if(rset.getInt(1) == 0)
{
PreparedStatement statement1 = con.prepareStatement("INSERT INTO community_skillsave (charId,pet) values (?,?)");
statement1.setInt(1, activeChar.getObjectId());
statement1.setString(2, allbuff);
statement1.execute();
statement1.close();
} else
{
PreparedStatement statement = con.prepareStatement("UPDATE community_skillsave SET pet=? WHERE charId=?;");
statement.setString(1, allbuff);
statement.setInt(2, activeChar.getObjectId());
statement.execute();
statement.close();
}
}
rset.close();
stat.close();
}
catch(Exception ignored)
{
try
{
if(con != null)
con.close();
}
catch(SQLException e)
{
e.printStackTrace();
}
}
try
{
if(con != null)
con.close();
}
catch(SQLException e)
{
e.printStackTrace();
}
}
@Override
public void parsewrite(String s, String s1, String s2, String s3, String s4, L2PcInstance l2pcinstance)
{
}
}
Свернуть ↑Развернуть ↓
Последний раз редактировалось BymerOK; 26.07.2012 в 12:50.
Причина: Добавлено сообщение
|