Advertisement
LIONN

Core Npc Buffer

Dec 8th, 2013
1,355
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Diff 32.29 KB | None | 0 0
  1. ### Eclipse Workspace Patch 1.0
  2. #P Fanatic_GameServer
  3. Index: java/net/sf/l2j/gameserver/model/actor/instance/L2NpcBufferInstance.java
  4. ===================================================================
  5. --- java/net/sf/l2j/gameserver/model/actor/instance/L2NpcBufferInstance.java    (revision 0)
  6. +++ java/net/sf/l2j/gameserver/model/actor/instance/L2NpcBufferInstance.java    (working copy)
  7. @@ -0,0 +1,214 @@
  8. +/*
  9. + * This program is free software; you can redistribute it and/or modify
  10. + * it under the terms of the GNU General Public License as published by
  11. + * the Free Software Foundation; either version 2, or (at your option)
  12. + * any later version.
  13. + *
  14. + * This program is distributed in the hope that it will be useful,
  15. + * but WITHOUT ANY WARRANTY; without even the implied warranty of
  16. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  17. + * GNU General Public License for more details.
  18. + *
  19. + * You should have received a copy of the GNU General Public License
  20. + * along with this program; if not, write to the Free Software
  21. + * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
  22. + * 02111-1307, USA.
  23. + *
  24. + * http://www.gnu.org/copyleft/gpl.html
  25. + */
  26. +package net.sf.l2j.gameserver.model.actor.instance;
  27. +
  28. +import java.util.StringTokenizer;
  29. +
  30. +import net.sf.l2j.gameserver.ai.CtrlIntention;
  31. +import net.sf.l2j.gameserver.datatables.SkillTable;
  32. +import net.sf.l2j.gameserver.network.SystemMessageId;
  33. +import net.sf.l2j.gameserver.serverpackets.ActionFailed;
  34. +import net.sf.l2j.gameserver.serverpackets.MagicSkillUser;
  35. +import net.sf.l2j.gameserver.serverpackets.MoveToPawn;
  36. +import net.sf.l2j.gameserver.serverpackets.MyTargetSelected;
  37. +import net.sf.l2j.gameserver.serverpackets.NpcHtmlMessage;
  38. +import net.sf.l2j.gameserver.serverpackets.SocialAction;
  39. +import net.sf.l2j.gameserver.serverpackets.SystemMessage;
  40. +import net.sf.l2j.gameserver.serverpackets.ValidateLocation;
  41. +import net.sf.l2j.gameserver.templates.L2NpcTemplate;
  42. +import net.sf.l2j.util.Rnd;
  43. +
  44. +public final class L2NpcBufferInstance extends L2NpcInstance
  45. +{
  46. +   public L2NpcBufferInstance(int objectId, L2NpcTemplate template)
  47. +   {
  48. +       super(objectId, template);
  49. +   }
  50. +  
  51. +   @Override
  52. +   public void onAction(L2PcInstance player)
  53. +   {
  54. +       // Check if the L2PcInstance already target the L2Npc
  55. +       if (player.getTarget() != this)
  56. +       {
  57. +           // Set the target of the L2PcInstance player
  58. +           player.setTarget(this);
  59. +          
  60. +           // Send MyTargetSelected to the L2PcInstance player
  61. +           player.sendPacket(new MyTargetSelected(getObjectId(), 0));
  62. +          
  63. +           player.sendPacket(new ValidateLocation(this));
  64. +       }
  65. +       else
  66. +       {
  67. +           // Calculate the distance between the L2PcInstance and the L2Npc
  68. +           if (canInteract(player))
  69. +           {
  70. +               SocialAction sa = new SocialAction(this.getObjectId(), (int) Rnd.get());
  71. +               broadcastPacket(sa);
  72. +              
  73. +               // Rotate the player to face the instance
  74. +               player.sendPacket(new MoveToPawn(player, this, 150));
  75. +              
  76. +               showMessageWindow(player);
  77. +              
  78. +               // Send ActionFailed to the player in order to avoid he stucks
  79. +               player.sendPacket(new ActionFailed());
  80. +           }
  81. +           else
  82. +           {
  83. +               player.getAI().setIntention(CtrlIntention.AI_INTENTION_INTERACT, this);
  84. +               // Send ActionFailed to the player in order to avoid he stucks
  85. +               player.sendPacket(new ActionFailed());
  86. +           }
  87. +       }
  88. +   }
  89. +  
  90. +   @Override
  91. +   public void onBypassFeedback(L2PcInstance player, String command)
  92. +   {
  93. +       StringTokenizer st = new StringTokenizer(command, " ");
  94. +       String actualCommand = st.nextToken();
  95. +      
  96. +       int buffId = 0;
  97. +       int buffLevel = 1;
  98. +       int buffPrice = 0;
  99. +       int nextWindow = 0;
  100. +      
  101. +       if (st.countTokens() == 4)
  102. +       {
  103. +           buffId = Integer.valueOf(st.nextToken());
  104. +           buffLevel = Integer.valueOf(st.nextToken());
  105. +           buffPrice = Integer.valueOf(st.nextToken());
  106. +           nextWindow = Integer.valueOf(st.nextToken());
  107. +       }
  108. +       else if (st.countTokens() == 3)
  109. +       {
  110. +           buffId = Integer.valueOf(st.nextToken());
  111. +           buffLevel = Integer.valueOf(st.nextToken());
  112. +           nextWindow = Integer.valueOf(st.nextToken());
  113. +       }
  114. +       else if (st.countTokens() == 2)
  115. +       {
  116. +           buffId = Integer.valueOf(st.nextToken());
  117. +           nextWindow = Integer.valueOf(st.nextToken());
  118. +       }
  119. +       else if (st.countTokens() == 1)
  120. +           nextWindow = Integer.valueOf(st.nextToken());
  121. +      
  122. +       if (actualCommand.equalsIgnoreCase("chat"))
  123. +           showChatWindow(player, nextWindow);
  124. +       else if (actualCommand.equalsIgnoreCase("vipbuff"))
  125. +       {
  126. +           if (!player.isVip())
  127. +           {
  128. +               player.sendMessage("You must be vip to get this buff.");
  129. +               showChatWindow(player, nextWindow);
  130. +               return;
  131. +           }
  132. +          
  133. +           if (buffId != 0 && player.reduceAdena("vipbuff", buffPrice, player.getLastFolkNPC(), true))
  134. +           {
  135. +               player.broadcastPacket(new MagicSkillUser(this, player, buffId, buffLevel, 5, 0));
  136. +               player.sendPacket(new SystemMessage(SystemMessageId.YOU_FEEL_S1_EFFECT).addSkillName(buffId, buffLevel));
  137. +               SkillTable.getInstance().getInfo(buffId, buffLevel).getEffects(this, player);
  138. +               showChatWindow(player, nextWindow);
  139. +           }
  140. +       }
  141. +       else if (actualCommand.equalsIgnoreCase("buff") || actualCommand.equalsIgnoreCase("vipbuff"))
  142. +       {
  143. +           if (buffId != 0 && player.reduceAdena("buff", buffPrice, player.getLastFolkNPC(), true))
  144. +           {
  145. +               player.broadcastPacket(new MagicSkillUser(this, player, buffId, buffLevel, 5, 0));
  146. +               player.sendPacket(new SystemMessage(SystemMessageId.YOU_FEEL_S1_EFFECT).addSkillName(buffId, buffLevel));
  147. +               SkillTable.getInstance().getInfo(buffId, buffLevel).getEffects(this, player);
  148. +               showChatWindow(player, nextWindow);
  149. +           }
  150. +       }
  151. +       else if (actualCommand.equalsIgnoreCase("restore"))
  152. +       {
  153. +           player.broadcastPacket(new MagicSkillUser(this, player, 1218, 33, 100, 0));
  154. +          
  155. +           player.setCurrentCp(player.getMaxCp());
  156. +           player.setCurrentHp(player.getMaxHp());
  157. +           player.setCurrentCp(player.getMaxCp());
  158. +          
  159. +           showChatWindow(player, nextWindow);
  160. +       }
  161. +       else if (actualCommand.equalsIgnoreCase("cancel"))
  162. +       {
  163. +           player.broadcastPacket(new MagicSkillUser(this, player, 1056, 12, 100, 0));
  164. +          
  165. +           player.stopAllEffects();
  166. +          
  167. +           showChatWindow(player, nextWindow);
  168. +       }
  169. +       else if (actualCommand.equalsIgnoreCase("fighter"))
  170. +       {
  171. +           String buffs[] = "1204,2;1068,3;1040,3;1035,4;1036,2;1045,6;1086,2;1077,3;1240,3;1242,3;264,1;267,1;268,1;269,1;304,1;349,1;364,1;271,1;274,1;275,1;1363,1;1391,3;4699,1;4703,1;".split(";");
  172. +           for (String buffInfo : buffs)
  173. +           {
  174. +               buffInfo.replace(" ", "");
  175. +               buffId = Integer.parseInt(buffInfo.split(",")[0]);
  176. +               buffLevel = Integer.parseInt(buffInfo.split(",")[1]);
  177. +               SkillTable.getInstance().getInfo(buffId, buffLevel).getEffects(player, player);
  178. +           }
  179. +          
  180. +           showChatWindow(player, nextWindow);
  181. +       }
  182. +       else if (actualCommand.equalsIgnoreCase("mage"))
  183. +       {
  184. +           String buffs[] = "1204,2;1040,3;1035,4;1045,6;1048,6;1036,2;1303,2;1085,3;1059,3;1078,6;1062,2;1397,3;264,1;267,1;268,1;304,1;349,1;364,1;273,1;276,1;365,1;1413,1;1391,3;4703,1;".split(";");
  185. +           for (String buffInfo : buffs)
  186. +           {
  187. +               buffInfo.replace(" ", "");
  188. +               buffId = Integer.parseInt(buffInfo.split(",")[0]);
  189. +               buffLevel = Integer.parseInt(buffInfo.split(",")[1]);
  190. +               SkillTable.getInstance().getInfo(buffId, buffLevel).getEffects(player, player);
  191. +           }
  192. +          
  193. +           showChatWindow(player, nextWindow);
  194. +       }
  195. +       else
  196. +           super.onBypassFeedback(player, command);
  197. +   }
  198. +  
  199. +   public void showMessageWindow(L2PcInstance player)
  200. +   {
  201. +       String filename = "data/html/buffer/" + getNpcId() + ".htm";
  202. +      
  203. +       NpcHtmlMessage html = new NpcHtmlMessage(getObjectId());
  204. +       html.setFile(filename);
  205. +       html.replace("%objectId%", String.valueOf(getObjectId()));
  206. +       html.replace("%npcname%", getName());
  207. +       player.sendPacket(html);
  208. +   }
  209. +  
  210. +   @Override
  211. +   public String getHtmlPath(int npcId, int val)
  212. +   {
  213. +       String pom = "";
  214. +       if (val == 0)
  215. +           pom = "" + npcId;
  216. +       else
  217. +           pom = npcId + "-" + val;
  218. +      
  219. +       return "data/html/buffer/" + pom + ".htm";
  220. +   }
  221. +}
  222. \ No newline at end of file
  223. #P Fanatic_DataPack
  224. Index: sql/npc.sql
  225. ===================================================================
  226. --- sql/npc.sql (revision 4)
  227. +++ sql/npc.sql (working copy)
  228. @@ -6602,6 +6602,7 @@
  229.     (35656,35656,'Court Magician',0,'Schuttgart',0,'Monster3.Elite_Mage',6.50,21.96,70,'male','L2Npc',40,3862,1493,11.85,2.78,40,43,30,21,20,10,0,0,1314,470,780,382,278,0,333,0,0,0,88,132,NULL,0,0,0,'LAST_HIT');
  230.  
  231.  INSERT INTO `npc` VALUES
  232. +   (40000,30990,'Claudio',1,'Npc Buffer',1,'NPC.a_casino_MHuman',8.00,23.00,70,'male','L2NpcBuffer',40,3862,1493,11.85,2.78,40,43,30,21,20,10,0,0,1314,470,780,382,278,0,333,0,0,0,55,132,NULL,0,1,0,'LAST_HIT'),
  233.     (50007,31324,'Andromeda',1,'Wedding Manager',1,'NPC.a_casino_FDarkElf',8.00,23.00,70,'female','L2WeddingManager',40,3862,1493,11.85,2.78,40,43,30,21,20,10,0,0,1314,470,780,382,278,0,333,316,0,0,55,132,NULL,0,1,0,'LAST_HIT'),
  234.     (70010,31606,'Catrina',1,'TvT Event Manager',1,'Monster2.queen_of_cat',8.00,15.00,70,'female','L2TvTEventNpc',40,3862,1493,11.85,2.78,40,43,30,21,20,10,0,0,1314,470,780,382,278,0,333,0,0,0,28,132,NULL,0,0,0,'LAST_HIT');
  235.  
  236. Index: data/html/buffer/40000-4.htm
  237. ===================================================================
  238. --- data/html/buffer/40000-4.htm    (revision 0)
  239. +++ data/html/buffer/40000-4.htm    (working copy)
  240. @@ -0,0 +1,45 @@
  241. +<html>
  242. +   <body>
  243. +       <center>
  244. +           <table width=260>
  245. +               <tr>
  246. +                   <td><button value="Buffs" action="bypass -h npc_%objectId%_chat 2" width=65 height=19 back="L2UI_ch3.smallbutton2_over" fore="L2UI_ch3.smallbutton2"></td>
  247. +                   <td><button value="Songs" action="bypass -h npc_%objectId%_chat 3" width=65 height=19 back="L2UI_ch3.smallbutton2_over" fore="L2UI_ch3.smallbutton2"></td>
  248. +                   <td><button value="Dances" action="bypass -h npc_%objectId%_chat 4" width=65 height=19 back="L2UI_ch3.smallbutton2_over" fore="L2UI_ch3.smallbutton2"></td>
  249. +                   <td><button value="Other" action="bypass -h npc_%objectId%_chat 5" width=65 height=19 back="L2UI_ch3.smallbutton2_over" fore="L2UI_ch3.smallbutton2"></td>
  250. +               </tr>
  251. +           </table>
  252. +           <img src=L2UI.SquareGray width=300 height=1><br>
  253. +           <img src=L2UI_CH3.herotower_deco width=256 height=32>
  254. +           <font color=LEVEL>Dance Menu</font>
  255. +           <table width=170>
  256. +               <tr>
  257. +                   <td valign=top><img src=icon.skill0271 width=32 height=32 align=left></td>
  258. +                   <td><button value="Warrior" action="bypass -h npc_%objectId%_buff 271 1 1000 4" width=75 height=21 back="L2UI_ch3.Btn1_normalOn" fore="L2UI_ch3.Btn1_normal"></td><br>
  259. +                   <td valign=top><img src=icon.skill0272 width=32 height=32 align=left></td>
  260. +                   <td><button value="Inspiration" action="bypass -h npc_%objectId%_buff 272 1 1000 4" width=75 height=21 back="L2UI_ch3.Btn1_normalOn" fore="L2UI_ch3.Btn1_normal"></td><br>
  261. +               </tr><tr><td></td></tr>
  262. +               <tr>
  263. +                   <td valign=top><img src=icon.skill0273 width=32 height=32 align=left></td>
  264. +                   <td><button value="Mystic" action="bypass -h npc_%objectId%_buff 273 1 1000 4" width=75 height=21 back="L2UI_ch3.Btn1_normalOn" fore="L2UI_ch3.Btn1_normal"></td><br>
  265. +                   <td valign=top><img src=icon.skill0274 width=32 height=32 align=left></td>
  266. +                   <td><button value="Fire" action="bypass -h npc_%objectId%_buff 274 1 1000 4" width=75 height=21 back="L2UI_ch3.Btn1_normalOn" fore="L2UI_ch3.Btn1_normal"></td><br>
  267. +               </tr><tr><td></td></tr>
  268. +               <tr>
  269. +                   <td valign=top><img src=icon.skill0275 width=32 height=32 align=left></td>
  270. +                   <td><button value="Fury" action="bypass -h npc_%objectId%_buff 275 1 1000 4" width=75 height=21 back="L2UI_ch3.Btn1_normalOn" fore="L2UI_ch3.Btn1_normal"></td><br>
  271. +                   <td valign=top><img src=icon.skill0276 width=32 height=32 align=left></td>
  272. +                   <td><button value="Concentration" action="bypass -h npc_%objectId%_buff 276 1 1000 4" width=75 height=21 back="L2UI_ch3.Btn1_normalOn" fore="L2UI_ch3.Btn1_normal"></td><br>
  273. +               </tr><tr><td></td></tr>
  274. +               <tr>
  275. +                   <td valign=top><img src=icon.skill0310 width=32 height=32 align=left></td>
  276. +                   <td><button value="Vampire" action="bypass -h npc_%objectId%_buff 310 1 1000 4" width=75 height=21 back="L2UI_ch3.Btn1_normalOn" fore="L2UI_ch3.Btn1_normal"></td><br>
  277. +                   <td valign=top><img src=icon.skill0365 width=32 height=32 align=left></td>
  278. +                   <td><button value="Siren" action="bypass -h npc_%objectId%_buff 365 1 1000 4" width=75 height=21 back="L2UI_ch3.Btn1_normalOn" fore="L2UI_ch3.Btn1_normal"></td><br>
  279. +               </tr><tr><td></td></tr>
  280. +           </table>
  281. +           <br><br>
  282. +           <img src="L2UI_CH3.onscrmsg_pattern01_2" width=300 height=32 align=left align=left>
  283. +       </center>
  284. +   </body>
  285. +</html>
  286. \ No newline at end of file
  287. Index: data/html/buffer/40000-2.htm
  288. ===================================================================
  289. --- data/html/buffer/40000-2.htm    (revision 0)
  290. +++ data/html/buffer/40000-2.htm    (working copy)
  291. @@ -0,0 +1,87 @@
  292. +<html>
  293. +   <body>
  294. +       <center>
  295. +           <table width=260>
  296. +               <tr>
  297. +                   <td><button value="Buffs" action="bypass -h npc_%objectId%_chat 2" width=65 height=19 back="L2UI_ch3.smallbutton2_over" fore="L2UI_ch3.smallbutton2"></td>
  298. +                   <td><button value="Songs" action="bypass -h npc_%objectId%_chat 3" width=65 height=19 back="L2UI_ch3.smallbutton2_over" fore="L2UI_ch3.smallbutton2"></td>
  299. +                   <td><button value="Dances" action="bypass -h npc_%objectId%_chat 4" width=65 height=19 back="L2UI_ch3.smallbutton2_over" fore="L2UI_ch3.smallbutton2"></td>
  300. +                   <td><button value="Other" action="bypass -h npc_%objectId%_chat 5" width=65 height=19 back="L2UI_ch3.smallbutton2_over" fore="L2UI_ch3.smallbutton2"></td>
  301. +               </tr>
  302. +           </table>
  303. +           <img src=L2UI.SquareGray width=300 height=1><br>
  304. +           <img src=L2UI_CH3.herotower_deco width=256 height=32>
  305. +           <font color=LEVEL>Buff Menu</font>
  306. +           <table width=170>
  307. +               <tr>
  308. +                   <td valign=top><img src=icon.skill1204 width=32 height=32 align=left></td>
  309. +                   <td><button value="Wind Walk" action="bypass -h npc_%objectId%_buff 1204 2 1000 2" width=75 height=21 back="L2UI_ch3.Btn1_normalOn" fore="L2UI_ch3.Btn1_normal"></td>
  310. +                   <td valign=top><img src=icon.skill1068 width=32 height=32 align=left></td>
  311. +                   <td><button value="Might" action="bypass -h npc_%objectId%_buff 1068 3 1000 2" width=75 height=21 back="L2UI_ch3.Btn1_normalOn" fore="L2UI_ch3.Btn1_normal"></td>
  312. +               </tr><tr><td></td></tr>
  313. +               <tr>
  314. +                   <td valign=top><img src=icon.skill1040 width=32 height=32 align=left></td>
  315. +                   <td><button value="Shield" action="bypass -h npc_%objectId%_buff 1040 3 1000 2" width=75 height=21 back="L2UI_ch3.Btn1_normalOn" fore="L2UI_ch3.Btn1_normal"></td>
  316. +                   <td valign=top><img src=icon.skill1035 width=32 height=32 align=left></td>
  317. +                   <td><button value="Mental Shield" action="bypass -h npc_%objectId%_buff 1035 4 1000 2" width=75 height=21 back="L2UI_ch3.Btn1_normalOn" fore="L2UI_ch3.Btn1_normal"></td>
  318. +               </tr><tr><td></td></tr>
  319. +               <tr>
  320. +                   <td valign=top><img src=icon.skill1045 width=32 height=32 align=left></td>
  321. +                   <td><button value="Blessed Body" action="bypass -h npc_%objectId%_buff 1045 6 1000 2" width=75 height=21 back="L2UI_ch3.Btn1_normalOn" fore="L2UI_ch3.Btn1_normal"></td>
  322. +                   <td valign=top><img src=icon.skill1048 width=32 height=32 align=left></td>
  323. +                   <td><button value="Blessed Soul" action="bypass -h npc_%objectId%_buff 1048 6 1000 2" width=75 height=21 back="L2UI_ch3.Btn1_normalOn" fore="L2UI_ch3.Btn1_normal"></td>
  324. +               </tr><tr><td></td></tr>
  325. +               <tr>
  326. +                   <td valign=top><img src=icon.skill1036 width=32 height=32 align=left></td>
  327. +                   <td><button value="Magic Barrier" action="bypass -h npc_%objectId%_buff 1036 2 1000 2" width=75 height=21 back="L2UI_ch3.Btn1_normalOn" fore="L2UI_ch3.Btn1_normal"></td>
  328. +                   <td valign=top><img src=icon.skill1078 width=32 height=32 align=left></td>
  329. +                   <td><button value="Concentration" action="bypass -h npc_%objectId%_buff 1078 6 1000 2" width=75 height=21 back="L2UI_ch3.Btn1_normalOn" fore="L2UI_ch3.Btn1_normal"></td>
  330. +               </tr><tr><td></td></tr>
  331. +               <tr>
  332. +                   <td valign=top><img src=icon.skill1062 width=32 height=32 align=left></td>
  333. +                   <td><button value="Berserker Spirit" action="bypass -h npc_%objectId%_buff 1062 2 1000 2" width=75 height=21 back="L2UI_ch3.Btn1_normalOn" fore="L2UI_ch3.Btn1_normal"></td>
  334. +                   <td valign=top><img src=icon.skill1268 width=32 height=32 align=left></td>
  335. +                   <td><button value="Vampiric Rage" action="bypass -h npc_%objectId%_buff 1268 4 1000 2" width=75 height=21 back="L2UI_ch3.Btn1_normalOn" fore="L2UI_ch3.Btn1_normal"></td>
  336. +               </tr><tr><td></td></tr>
  337. +               <tr>
  338. +                   <td valign=top><img src=icon.skill1085 width=32 height=32 align=left></td>
  339. +                   <td><button value="Acumen" action="bypass -h npc_%objectId%_buff 1085 3 1000 2" width=75 height=21 back="L2UI_ch3.Btn1_normalOn" fore="L2UI_ch3.Btn1_normal"></td>
  340. +                   <td valign=top><img src=icon.skill1059 width=32 height=32 align=left></td>
  341. +                   <td><button value="Empower" action="bypass -h npc_%objectId%_buff 1059 3 1000 2" width=75 height=21 back="L2UI_ch3.Btn1_normalOn" fore="L2UI_ch3.Btn1_normal"></td>
  342. +               </tr><tr><td></td></tr>
  343. +               <tr>
  344. +                   <td valign=top><img src=icon.skill1077 width=32 height=32 align=left></td>
  345. +                   <td><button value="Focus" action="bypass -h npc_%objectId%_buff 1077 3 1000 2" width=75 height=21 back="L2UI_ch3.Btn1_normalOn" fore="L2UI_ch3.Btn1_normal"></td>
  346. +                   <td valign=top><img src=icon.skill1242 width=32 height=32 align=left></td>
  347. +                   <td><button value="Death Whisper" action="bypass -h npc_%objectId%_buff 1242 3 1000 2" width=75 height=21 back="L2UI_ch3.Btn1_normalOn" fore="L2UI_ch3.Btn1_normal"></td>
  348. +               </tr><tr><td></td></tr>
  349. +               <tr>
  350. +                   <td valign=top><img src=icon.skill1086 width=32 height=32 align=left></td>
  351. +                   <td><button value="Haste" action="bypass -h npc_%objectId%_buff 1086 2 1000 2" width=75 height=21 back="L2UI_ch3.Btn1_normalOn" fore="L2UI_ch3.Btn1_normal"></td>
  352. +                   <td valign=top><img src=icon.skill1240 width=32 height=32 align=left></td>
  353. +                   <td><button value="Guidance" action="bypass -h npc_%objectId%_buff 1240 3 1000 2" width=75 height=21 back="L2UI_ch3.Btn1_normalOn" fore="L2UI_ch3.Btn1_normal"></td>
  354. +               </tr><tr><td></td></tr>
  355. +               <tr>
  356. +                   <td valign=top><img src=icon.skill1388 width=32 height=32 align=left></td>
  357. +                   <td><button value="Greater Might" action="bypass -h npc_%objectId%_buff 1388 3 1000 2" width=75 height=21 back="L2UI_ch3.Btn1_normalOn" fore="L2UI_ch3.Btn1_normal"></td><br>
  358. +                   <td valign=top><img src=icon.skill1389 width=32 height=32 align=left></td>
  359. +                   <td><button value="Greater Shield" action="bypass -h npc_%objectId%_buff 1389 3 1000 2" width=75 height=21 back="L2UI_ch3.Btn1_normalOn" fore="L2UI_ch3.Btn1_normal"></td><br>
  360. +               </tr><tr><td></td></tr>
  361. +               <tr>
  362. +                   <td valign=top><img src=icon.skill1087 width=32 height=32 align=left></td>
  363. +                   <td><button value="Agility" action="bypass -h npc_%objectId%_buff 1087 3 1000 2" width=75 height=21 back="L2UI_ch3.Btn1_normalOn" fore="L2UI_ch3.Btn1_normal"></td>
  364. +                   <td valign=top><img src=icon.skill1303 width=32 height=32 align=left></td>
  365. +                   <td><button value="Wild Magic" action="bypass -h npc_%objectId%_buff 1303 2 1000 2" width=75 height=21 back="L2UI_ch3.Btn1_normalOn" fore="L2UI_ch3.Btn1_normal"></td>
  366. +               </tr><tr><td></td></tr>
  367. +               <tr>
  368. +                   <td valign=top><img src=icon.skill1259 width=32 height=32 align=left></td>
  369. +                   <td><button value="Resist Shock" action="bypass -h npc_%objectId%_buff 1259 4 1000 2" width=75 height=21 back="L2UI_ch3.Btn1_normalOn" fore="L2UI_ch3.Btn1_normal"></td>
  370. +                   <td valign=top><img src=icon.skill1397 width=32 height=32 align=left></td>
  371. +                   <td><button value="Clarity" action="bypass -h npc_%objectId%_buff 1397 3 1000 2" width=75 height=21 back="L2UI_ch3.Btn1_normalOn" fore="L2UI_ch3.Btn1_normal"></td>
  372. +               </tr>
  373. +           </table>
  374. +           <br><br>
  375. +           <img src="L2UI_CH3.onscrmsg_pattern01_2" width=300 height=32 align=left align=left>
  376. +       </center>
  377. +   </body>
  378. +</html>
  379. \ No newline at end of file
  380. Index: data/html/buffer/40000-3.htm
  381. ===================================================================
  382. --- data/html/buffer/40000-3.htm    (revision 0)
  383. +++ data/html/buffer/40000-3.htm    (working copy)
  384. @@ -0,0 +1,51 @@
  385. +<html>
  386. +   <body>
  387. +       <center>
  388. +           <table width=260>
  389. +               <tr>
  390. +                   <td><button value="Buffs" action="bypass -h npc_%objectId%_chat 2" width=65 height=19 back="L2UI_ch3.smallbutton2_over" fore="L2UI_ch3.smallbutton2"></td>
  391. +                   <td><button value="Songs" action="bypass -h npc_%objectId%_chat 3" width=65 height=19 back="L2UI_ch3.smallbutton2_over" fore="L2UI_ch3.smallbutton2"></td>
  392. +                   <td><button value="Dances" action="bypass -h npc_%objectId%_chat 4" width=65 height=19 back="L2UI_ch3.smallbutton2_over" fore="L2UI_ch3.smallbutton2"></td>
  393. +                   <td><button value="Other" action="bypass -h npc_%objectId%_chat 5" width=65 height=19 back="L2UI_ch3.smallbutton2_over" fore="L2UI_ch3.smallbutton2"></td>
  394. +               </tr>
  395. +           </table>
  396. +           <img src=L2UI.SquareGray width=300 height=1><br>
  397. +           <img src=L2UI_CH3.herotower_deco width=256 height=32>
  398. +           <font color=LEVEL>Song Menu</font>
  399. +           <table width=170>
  400. +               <tr>
  401. +                   <td valign=top><img src=icon.skill0264 width=32 height=32 align=left></td>
  402. +                   <td><button value="Earth" action="bypass -h npc_%objectId%_buff 264 1 1000 3" width=75 height=21 back="L2UI_ch3.Btn1_normalOn" fore="L2UI_ch3.Btn1_normal"></td><br>
  403. +                   <td valign=top><img src=icon.skill0265 width=32 height=32 align=left></td>
  404. +                   <td><button value="Life" action="bypass -h npc_%objectId%_buff 265 1 1000 3" width=75 height=21 back="L2UI_ch3.Btn1_normalOn" fore="L2UI_ch3.Btn1_normal"></td><br>
  405. +               </tr><tr><td></td></tr>
  406. +               <tr>
  407. +                   <td valign=top><img src=icon.skill0266 width=32 height=32 align=left></td>
  408. +                   <td><button value="Water" action="bypass -h npc_%objectId%_buff 266 1 1000 3" width=75 height=21 back="L2UI_ch3.Btn1_normalOn" fore="L2UI_ch3.Btn1_normal"></td><br>
  409. +                   <td valign=top><img src=icon.skill0267 width=32 height=32 align=left></td>
  410. +                   <td><button value="Warding" action="bypass -h npc_%objectId%_buff 267 1 1000 3" width=75 height=21 back="L2UI_ch3.Btn1_normalOn" fore="L2UI_ch3.Btn1_normal"></td><br>
  411. +               </tr><tr><td></td></tr>
  412. +               <tr>
  413. +                   <td valign=top><img src=icon.skill0268 width=32 height=32 align=left></td>
  414. +                   <td><button value="Wind" action="bypass -h npc_%objectId%_buff 268 1 1000 3" width=75 height=21 back="L2UI_ch3.Btn1_normalOn" fore="L2UI_ch3.Btn1_normal"></td><br>
  415. +                   <td valign=top><img src=icon.skill0269 width=32 height=32 align=left></td>
  416. +                   <td><button value="Hunter" action="bypass -h npc_%objectId%_buff 269 1 1000 3" width=75 height=21 back="L2UI_ch3.Btn1_normalOn" fore="L2UI_ch3.Btn1_normal"></td><br>
  417. +               </tr><tr><td></td></tr>
  418. +               <tr>
  419. +                   <td valign=top><img src=icon.skill0304 width=32 height=32 align=left></td>
  420. +                   <td><button value="Vitality" action="bypass -h npc_%objectId%_buff 304 1 1000 3" width=75 height=21 back="L2UI_ch3.Btn1_normalOn" fore="L2UI_ch3.Btn1_normal"></td><br>
  421. +                   <td valign=top><img src=icon.skill0363 width=32 height=32 align=left></td>
  422. +                   <td><button value="Meditation" action="bypass -h npc_%objectId%_buff 363 1 1000 3" width=75 height=21 back="L2UI_ch3.Btn1_normalOn" fore="L2UI_ch3.Btn1_normal"></td><br>
  423. +               </tr><tr><td></td></tr>
  424. +               <tr>
  425. +                   <td valign=top><img src=icon.skill0349 width=32 height=32 align=left></td>
  426. +                   <td><button value="Renewal" action="bypass -h npc_%objectId%_buff 349 1 1000 3" width=75 height=21 back="L2UI_ch3.Btn1_normalOn" fore="L2UI_ch3.Btn1_normal"></td><br>
  427. +                   <td valign=top><img src=icon.skill0364 width=32 height=32 align=left></td>
  428. +                   <td><button value="Champion" action="bypass -h npc_%objectId%_buff 364 1 1000 3" width=75 height=21 back="L2UI_ch3.Btn1_normalOn" fore="L2UI_ch3.Btn1_normal"></td><br>
  429. +               </tr>
  430. +           </table>
  431. +           <br><br>
  432. +           <img src="L2UI_CH3.onscrmsg_pattern01_2" width=300 height=32 align=left align=left>
  433. +       </center>
  434. +   </body>
  435. +</html>
  436. \ No newline at end of file
  437. Index: data/html/buffer/40000.htm
  438. ===================================================================
  439. --- data/html/buffer/40000.htm  (revision 0)
  440. +++ data/html/buffer/40000.htm  (working copy)
  441. @@ -0,0 +1,32 @@
  442. +<html>
  443. +   <body>
  444. +       <center>
  445. +           <table width=260>
  446. +               <tr>
  447. +                   <td><button value="Buffs" action="bypass -h npc_%objectId%_chat 2" width=65 height=19 back="L2UI_ch3.smallbutton2_over" fore="L2UI_ch3.smallbutton2"></td>
  448. +                   <td><button value="Songs" action="bypass -h npc_%objectId%_chat 3" width=65 height=19 back="L2UI_ch3.smallbutton2_over" fore="L2UI_ch3.smallbutton2"></td>
  449. +                   <td><button value="Dances" action="bypass -h npc_%objectId%_chat 4" width=65 height=19 back="L2UI_ch3.smallbutton2_over" fore="L2UI_ch3.smallbutton2"></td>
  450. +                   <td><button value="Other" action="bypass -h npc_%objectId%_chat 5" width=65 height=19 back="L2UI_ch3.smallbutton2_over" fore="L2UI_ch3.smallbutton2"></td>
  451. +               </tr>
  452. +           </table>
  453. +           <img src=L2UI.SquareGray width=300 height=1><br>
  454. +           <img src=L2UI_CH3.herotower_deco width=256 height=32>
  455. +           <img src=L2Font-e.replay_logo-e width=258 height=60><br>
  456. +           <font color=0099FF>Npc Buffer</font>
  457. +           <img src=L2UI.SquareGray width=300 height=1><br>
  458. +           <table width=230>
  459. +               <tr>
  460. +                   <td align=center><img src=icon.skill0426 width=32 height=32 align=left></td>
  461. +                   <td align=center><img src=icon.skill0427 width=32 height=32 align=left></td>
  462. +               </tr><tr><td></td></tr>
  463. +               <tr>
  464. +                   <td align=center><button value="Fighter" action="bypass -h npc_%objectId%_fighter" width=75 height=21 back="L2UI_ch3.Btn1_normalOn" fore="L2UI_ch3.Btn1_normal"></td>
  465. +                   <td align=center><button value="Mage" action="bypass -h npc_%objectId%_mage" width=75 height=21 back="L2UI_ch3.Btn1_normalOn" fore="L2UI_ch3.Btn1_normal"></td>
  466. +               </tr><tr><td></td></tr>
  467. +           </table>
  468. +           <img src=L2UI.SquareGray width=300 height=1><br>
  469. +           <img src=L2UI_CH3.herotower_deco width=256 height=32><br>
  470. +           <font color=808080>L2jFanatic</font>
  471. +       </center>
  472. +   </body>
  473. +</html>
  474. Index: data/html/buffer/40000-5.htm
  475. ===================================================================
  476. --- data/html/buffer/40000-5.htm    (revision 0)
  477. +++ data/html/buffer/40000-5.htm    (working copy)
  478. @@ -0,0 +1,94 @@
  479. +<html>
  480. +   <body>
  481. +       <center>
  482. +           <table width=260>
  483. +               <tr>
  484. +                   <td><button value="Buffs" action="bypass -h npc_%objectId%_chat 2" width=65 height=19 back="L2UI_ch3.smallbutton2_over" fore="L2UI_ch3.smallbutton2"></td>
  485. +                   <td><button value="Songs" action="bypass -h npc_%objectId%_chat 3" width=65 height=19 back="L2UI_ch3.smallbutton2_over" fore="L2UI_ch3.smallbutton2"></td>
  486. +                   <td><button value="Dances" action="bypass -h npc_%objectId%_chat 4" width=65 height=19 back="L2UI_ch3.smallbutton2_over" fore="L2UI_ch3.smallbutton2"></td>
  487. +                   <td><button value="Other" action="bypass -h npc_%objectId%_chat 5" width=65 height=19 back="L2UI_ch3.smallbutton2_over" fore="L2UI_ch3.smallbutton2"></td>
  488. +               </tr>
  489. +           </table>
  490. +           <img src=L2UI.SquareGray width=300 height=1><br>
  491. +           <img src=L2UI_CH3.herotower_deco width=256 height=32>
  492. +           <font color=LEVEL>Pet Buffs</font>
  493. +           <table width=170>
  494. +               <tr>
  495. +                   <td valign=top><img src=icon.skill1331 width=32 height=32 align=left></td>
  496. +                   <td><button value="B. of Queen" action="bypass -h npc_%objectId%_buff 4699 3 1000 5" width=75 height=21 back="L2UI_ch3.Btn1_normalOn" fore="L2UI_ch3.Btn1_normal"></td><br>
  497. +                   <td valign=top><img src=icon.skill1331 width=32 height=32 align=left></td>
  498. +                   <td><button value="G. of Queen" action="bypass -h npc_%objectId%_buff 4700 3 1000 5" width=75 height=21 back="L2UI_ch3.Btn1_normalOn" fore="L2UI_ch3.Btn1_normal"></td><br>
  499. +               </tr>
  500. +               <tr>
  501. +                   <td valign=top><img src=icon.skill1332 width=32 height=32 align=left></td>
  502. +                   <td><button value="B. of Seraphim" action="bypass -h npc_%objectId%_buff 4702 3 1000 5" width=75 height=21 back="L2UI_ch3.Btn1_normalOn" fore="L2UI_ch3.Btn1_normal"></td><br>
  503. +                   <td valign=top><img src=icon.skill1332 width=32 height=32 align=left></td>
  504. +                   <td><button value="G. of Seraphim" action="bypass -h npc_%objectId%_buff 4703 3 1000 5" width=75 height=21 back="L2UI_ch3.Btn1_normalOn" fore="L2UI_ch3.Btn1_normal"></td><br>
  505. +               </tr>
  506. +           </table><br>
  507. +           <font color=LEVEL>Chants</font>
  508. +           <table width=170>
  509. +               <tr>    
  510. +                   <td valign=top><img src=icon.skill1390 width=32 height=32 align=left></td>
  511. +                   <td><button value="War Chant" action="bypass -h npc_%objectId%_buff 1390 3 1000 5" width=75 height=21 back="L2UI_ch3.Btn1_normalOn" fore="L2UI_ch3.Btn1_normal"></td><br>
  512. +                   <td valign=top><img src=icon.skill1391 width=32 height=32 align=left></td>
  513. +                   <td><button value="Earth Chant" action="bypass -h npc_%objectId%_buff 1391 3 1000 5" width=75 height=21 back="L2UI_ch3.Btn1_normalOn" fore="L2UI_ch3.Btn1_normal"></td><br>
  514. +               </tr>
  515. +               <tr>
  516. +                   <td valign=top><img src=icon.skill1363 width=32 height=32 align=left></td>
  517. +                   <td><button value="Victory" action="bypass -h npc_%objectId%_buff 1363 1 1000 5" width=75 height=21 back="L2UI_ch3.Btn1_normalOn" fore="L2UI_ch3.Btn1_normal"></td><br>
  518. +                   <td valign=top><img src=icon.skill1413 width=32 height=32 align=left></td>
  519. +                   <td><button value="Magnus" action="bypass -h npc_%objectId%_buff 1413 1 1000 5" width=75 height=21 back="L2UI_ch3.Btn1_normalOn" fore="L2UI_ch3.Btn1_normal"></td><br>
  520. +               </tr>
  521. +           </table><br>
  522. +           <font color=LEVEL>Phophecies</font>
  523. +           <table width=170>
  524. +               <tr>
  525. +                   <td align=center><img src=icon.skill1355 width=32 height=32 align=left></td>
  526. +                   <td align=center><img src=icon.skill1356 width=32 height=32 align=left></td>
  527. +                   <td align=center><img src=icon.skill1357 width=32 height=32 align=left></td>
  528. +               </tr><tr><td></td></tr>
  529. +               <tr>
  530. +                   <td><button value="P. of Water" action="bypass -h npc_%objectId%_buff 1355 1 1000 5" width=75 height=21 back="L2UI_ch3.Btn1_normalOn" fore="L2UI_ch3.Btn1_normal"></td><br>
  531. +                   <td><button value="P. of Fire" action="bypass -h npc_%objectId%_buff 1356 1 1000 5" width=75 height=21 back="L2UI_ch3.Btn1_normalOn" fore="L2UI_ch3.Btn1_normal"></td><br>
  532. +                   <td><button value="P. of Wind" action="bypass -h npc_%objectId%_buff 1357 1 1000 5" width=75 height=21 back="L2UI_ch3.Btn1_normalOn" fore="L2UI_ch3.Btn1_normal"></td>
  533. +               </tr>
  534. +           </table><br>
  535. +           <font color=LEVEL>VIP</font>
  536. +           <table width=170>
  537. +               <tr>
  538. +                   <td align=center><img src=icon.skill1374 width=32 height=32></td>
  539. +                   <td align=center><img src=icon.skill0395 width=32 height=32></td>
  540. +                   <td align=center><img src=icon.skill0396 width=32 height=32></td>
  541. +               </tr><tr><td></td></tr>
  542. +               <tr>
  543. +                   <td align=center><button value="H. Valor" action="bypass -h npc_%objectId%_vipbuff 1374 5" width=75 height=21 back="L2UI_ch3.Btn1_normalOn" fore="L2UI_ch3.Btn1_normal"></td>
  544. +                   <td align=center><button value="H. Miracle" action="bypass -h npc_%objectId%_vipbuff 395 5" width=75 height=21 back="L2UI_ch3.Btn1_normalOn" fore="L2UI_ch3.Btn1_normal"></td>
  545. +                   <td align=center><button value="H. Berserker" action="bypass -h npc_%objectId%_vipbuff 396 5" width=75 height=21 back="L2UI_ch3.Btn1_normalOn" fore="L2UI_ch3.Btn1_normal"></td>
  546. +               </tr>
  547. +               <tr>
  548. +                   <td align=center><img src=icon.skill1164 width=32 height=32></td>
  549. +                   <td align=center><img src=icon.skill1164 width=32 height=32></td>
  550. +                   <td align=center><img src=icon.skill1164 width=32 height=32></td>
  551. +               </tr><tr><td></td></tr>
  552. +               <tr>
  553. +                   <td align=center><button value="Reumatism" action="bypass -h npc_%objectId%_vipbuff 4551 4 5" width=75 height=21 back="L2UI_ch3.Btn1_normalOn" fore="L2UI_ch3.Btn1_normal"></td>
  554. +                   <td align=center><button value="Cholera" action="bypass -h npc_%objectId%_vipbuff 4552 4 5" width=75 height=21 back="L2UI_ch3.Btn1_normalOn" fore="L2UI_ch3.Btn1_normal"></td>
  555. +                   <td align=center><button value="Malaria" action="bypass -h npc_%objectId%_vipbuff 4554 4 5" width=75 height=21 back="L2UI_ch3.Btn1_normalOn" fore="L2UI_ch3.Btn1_normal"></td>
  556. +               </tr>
  557. +           </table>
  558. +           <font color=LEVEL>Other</font>
  559. +           <table width=170>
  560. +               <tr>
  561. +                   <td align=center><img src=icon.skill1218 width=32 height=32></td>
  562. +                   <td align=center><img src=icon.skill1056 width=32 height=32></td>
  563. +               </tr><tr><td></td></tr>
  564. +               <tr>
  565. +                   <td align=center><button value="Heal" action="bypass -h npc_%objectId%_restore 5" width=75 height=21 back="L2UI_ch3.Btn1_normalOn" fore="L2UI_ch3.Btn1_normal"></td>
  566. +                   <td align=center><button value="Cancelar Buffs" action="bypass -h npc_%objectId%_cancel 5" width=75 height=21 back="L2UI_ch3.Btn1_normalOn" fore="L2UI_ch3.Btn1_normal"></td>
  567. +               </tr>
  568. +           </table>
  569. +           <img src="L2UI_CH3.onscrmsg_pattern01_2" width=300 height=32 align=left>
  570. +       </center>
  571. +   </body>
  572. +</html>
  573. \ No newline at end of file
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement