Advertisement
Reanimation06

l2jfrozen dressme skin items

May 11th, 2023
150
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 82.21 KB | Gaming | 0 0
  1. diff --git a/config/CustomMods/Skin.ini b/config/CustomMods/Skin.ini
  2. new file mode 100644
  3. index 0000000..f26c954
  4. --- /dev/null
  5. +++ b/config/CustomMods/Skin.ini
  6. @@ -0,0 +1,207 @@
  7. +#===============================================================
  8. +#                    Skin Item
  9. +#===============================================================
  10. +#Enable Skin
  11. +AllowDressMeSystem = True
  12. +
  13. +#Effect Time All Skins
  14. +# 4000 = 4 Segunds
  15. +SkillEffectsTime = 4000
  16. +
  17. +#Skill ID Skin 1
  18. +SkillIDSkin1 = 1036
  19. +
  20. +#Skill ID Skin 2
  21. +SkillIDSkin2 = 0
  22. +
  23. +#Skill ID Skin 3
  24. +SkillIDSkin3 = 0
  25. +
  26. +#Skill ID Skin 4
  27. +SkillIDSkin4 = 0
  28. +
  29. +#Skill ID Skin 5
  30. +SkillIDSkin5 = 0
  31. +
  32. +#Skill ID Skin 6
  33. +SkillIDSkin6 = 0
  34. +
  35. +#Skill ID Skin 7
  36. +SkillIDSkin7 = 0
  37. +
  38. +#Skill ID Skin 8
  39. +SkillIDSkin8 = 0
  40. +
  41. +#Skill ID Skin 9
  42. +SkillIDSkin9 = 0
  43. +
  44. +#Skill ID Skin 10
  45. +SkillIDSkin10 = 0
  46. +
  47. +#Skill ID Skin 11
  48. +SkillIDSkin11 = 0
  49. +
  50. +#Skill ID Skin 12
  51. +SkillIDSkin12 = 0
  52. +
  53. +#Skill ID Skin 13
  54. +SkillIDSkin13 = 0
  55. +
  56. +#Skill ID Skin 14
  57. +SkillIDSkin14 = 0
  58. +
  59. +#Skill ID Skin 15
  60. +SkillIDSkin15 = 0
  61. +
  62. +#None Quando equipar Item
  63. +NameArmor1 = Draconic Light
  64. +NameArmor2 = Titanium Armor Wizzard
  65. +NameArmor3 = Titanium Armor Heavy
  66. +NameArmor4 = Dark Knight Heavy
  67. +NameArmor5 = Dark Knight Light
  68. +NameArmor6 = Dark Knight Wizzard
  69. +NameArmor7 = Dynasty Armor Heavy
  70. +NameArmor8 = Dynasty Armor Light
  71. +NameArmor9 = Dynasty Armor Wizzard
  72. +NameArmor10 = Vesper Black Armor Heavy
  73. +NameArmor11 = Vesper Black Armor Light
  74. +NameArmor12 = Vesper Black Armor Wizzard
  75. +NameArmor13 = Moirai Armor Heavy
  76. +NameArmor14 = Moirai Armor Light
  77. +NameArmor15 = Moirai Armor Wizzard
  78. +
  79. +# DressMe values.
  80. +#Aqui não pode ultilizar Espaco!
  81. +# Skin name (Example: "Draconic")
  82. +SkinName1 = Draconic_light
  83. +SkinName2 = Titanium_Robe
  84. +SkinName3 = Titanium_Heavy
  85. +SkinName4 = Dark_Kinight_Heavy
  86. +SkinName5 = Dark_Kinight_Light
  87. +SkinName6 = Dark_Kinight_Robe
  88. +SkinName7 = Dynasty_Heavy
  89. +SkinName8 = Dynasty_Light
  90. +SkinName9 = Dynasty_Robe
  91. +SkinName10 = VesperBlack_Heavy
  92. +SkinName11 = VesperBlack_Light
  93. +SkinName12 = VesperBlack_Robe
  94. +SkinName13 = Moirai_H
  95. +SkinName14 = Moirai_L
  96. +SkinName15 = Moirai_R
  97. +
  98. +# Skin item id (Example: "6673")
  99. +SkinItem1 = 0
  100. +SkinItem2 = 0
  101. +SkinItem3 = 0
  102. +SkinItem4 = 0
  103. +SkinItem5 = 0
  104. +SkinItem6 = 0
  105. +SkinItem7 = 0
  106. +SkinItem8 = 0
  107. +SkinItem9 = 0
  108. +SkinItem10 = 0
  109. +SkinItem11 = 0
  110. +SkinItem12 = 0
  111. +SkinItem13 = 0
  112. +SkinItem14 = 0
  113. +SkinItem15 = 0
  114. +
  115. +
  116. +# Note: It works like name,id;name,id
  117. +# WARNING: No spaces on names, use _ instead of space.
  118. +#Hair Accesories
  119. +DressMeHair = Draconic_light,6842;\
  120. +Titanium_Robe,21002;\
  121. +Titanium_Heavy,21002;\
  122. +Dark_Kinight_Heavy,21003;\
  123. +Dark_Kinight_Light,21004;\
  124. +Dark_Kinight_Robe,21005;\
  125. +Dynasty_Heavy,21006;\
  126. +Dynasty_Light,21011;\
  127. +Dynasty_Robe,21010;\
  128. +VesperBlack_Heavy,21009;\
  129. +VesperBlack_Light,21008;\
  130. +VesperBlack_Robe,21007;\
  131. +Moirai_H,21001;\
  132. +Moirai_L,21000;\
  133. +Moirai_R,20097;\
  134. +Tauti_H,20089;\
  135. +Tauti_L,20090;\
  136. +Tauti_R,20091
  137. +
  138. +#Armor Chests
  139. +DressMeChests = Draconic_light,6379;\
  140. +Titanium_Robe,20071;\
  141. +Titanium_Heavy,20067;\
  142. +Dark_Kinight_Heavy,21023;\
  143. +Dark_Kinight_Light,21028;\
  144. +Dark_Kinight_Robe,21033;\
  145. +Dynasty_Heavy,21038;\
  146. +Dynasty_Light,21043;\
  147. +Dynasty_Robe,21048;\
  148. +VesperBlack_Heavy,21053;\
  149. +VesperBlack_Light,21058;\
  150. +VesperBlack_Robe,21063;\
  151. +Moirai_H,21068;\
  152. +Moirai_L,21073;\
  153. +Moirai_R,21078;\
  154. +Tauti_H,21083;\
  155. +Tauti_L,21088;\
  156. +Tauti_R,21093
  157. +
  158. +# Armor Legs
  159. +DressMeLegs = Dark_Kinight_Heavy,21024;\
  160. +Dark_Kinight_Light,21029;\
  161. +Dark_Kinight_Robe,21034;\
  162. +Dynasty_Heavy,21039;\
  163. +Dynasty_Light,21044;\
  164. +Dynasty_Robe,21049;\
  165. +VesperBlack_Heavy,21054;\
  166. +VesperBlack_Light,21059;\
  167. +VesperBlack_Robe,21064;\
  168. +Moirai_H,21069;\
  169. +Moirai_L,21074;\
  170. +Moirai_R,21079;\
  171. +Tauti_H,21084;\
  172. +Tauti_L,21089;\
  173. +Tauti_R,21094
  174. +
  175. +# Armor Gloves
  176. +DressMeGloves = Draconic_light,6380;\
  177. +Titanium_Robe,20072;\
  178. +Titanium_Heavy,20068;\
  179. +Dark_Kinight_Heavy,21025;\
  180. +Dark_Kinight_Light,21030;\
  181. +Dark_Kinight_Robe,21035;\
  182. +Dynasty_Heavy,21040;\
  183. +Dynasty_Light,21045;\
  184. +Dynasty_Robe,21050;\
  185. +VesperBlack_Heavy,21055;\
  186. +VesperBlack_Light,21060;\
  187. +VesperBlack_Robe,21065;\
  188. +Moirai_H,21070;\
  189. +Moirai_L,21075;\
  190. +Moirai_R,21080;\
  191. +Tauti_H,21085;\
  192. +Tauti_L,21090;\
  193. +Tauti_R,21095
  194. +
  195. +#Armor Boots
  196. +DressMeBoots = Draconic_light,6381;\
  197. +Titanium_Robe,20073;\
  198. +Titanium_Heavy,20069;\
  199. +Dark_Kinight_Heavy,21026;\
  200. +Dark_Kinight_Light,21031;\
  201. +Dark_Kinight_Robe,21036;\
  202. +Dynasty_Heavy,21041;\
  203. +Dynasty_Light,21046;\
  204. +Dynasty_Robe,21051;\
  205. +VesperBlack_Heavy,21056;\
  206. +VesperBlack_Light,21061;\
  207. +VesperBlack_Robe,21066;\
  208. +Moirai_H,21071;\
  209. +Moirai_L,21076;\
  210. +Moirai_R,21081;\
  211. +Tauti_H,21086;\
  212. +Tauti_L,21091;\
  213. +Tauti_R,21096
  214. diff --git a/head-src/com/l2jfrozen/Config.java b/head-src/com/l2jfrozen/Config.java
  215. index 7f8d0ef..38d378e 100644
  216. --- a/head-src/com/l2jfrozen/Config.java
  217. +++ b/head-src/com/l2jfrozen/Config.java
  218. @@ -56,6 +56,202 @@
  219.     private static final Logger LOGGER = Logger.getLogger(Config.class);
  220.    
  221.     // ============================================================
  222. +   public static int SEGUNDS_SKILL_ANIMATION;
  223. +   public static int SKILL_ID_SKIN1;
  224. +   public static int SKILL_ID_SKIN2;
  225. +   public static int SKILL_ID_SKIN3;
  226. +   public static int SKILL_ID_SKIN4;
  227. +   public static int SKILL_ID_SKIN5;
  228. +   public static int SKILL_ID_SKIN6;
  229. +   public static int SKILL_ID_SKIN7;
  230. +   public static int SKILL_ID_SKIN8;
  231. +   public static int SKILL_ID_SKIN9;
  232. +   public static int SKILL_ID_SKIN10;
  233. +   public static int SKILL_ID_SKIN11;
  234. +   public static int SKILL_ID_SKIN12;
  235. +   public static int SKILL_ID_SKIN13;
  236. +   public static int SKILL_ID_SKIN14;
  237. +   public static int SKILL_ID_SKIN15;
  238. +   /** Skins Dressme  */
  239. +   public static boolean ALLOW_DRESS_ME_SYSTEM;
  240. +   public static Map<String, Integer> DRESS_ME_HELMET = new HashMap<>();
  241. +   public static Map<String, Integer> DRESS_ME_CHESTS = new HashMap<>();
  242. +   public static Map<String, Integer> DRESS_ME_LEGS = new HashMap<>();
  243. +   public static Map<String, Integer> DRESS_ME_BOOTS = new HashMap<>();
  244. +   public static Map<String, Integer> DRESS_ME_GLOVES = new HashMap<>();
  245. +   public static String SKIN_NAME1;
  246. +   public static String SKIN_NAME2;
  247. +   public static String SKIN_NAME3;
  248. +   public static String SKIN_NAME4;
  249. +   public static String SKIN_NAME5;
  250. +   public static String SKIN_NAME6;
  251. +   public static String SKIN_NAME7;
  252. +   public static String SKIN_NAME8;
  253. +   public static String SKIN_NAME9;
  254. +   public static String SKIN_NAME10;
  255. +   public static String SKIN_NAME11;
  256. +   public static String SKIN_NAME12;
  257. +   public static String SKIN_NAME13;
  258. +   public static String SKIN_NAME14;
  259. +   public static String SKIN_NAME15;
  260. +  
  261. +   public static int SKIN_ITEM_1;
  262. +   public static int SKIN_ITEM_2;
  263. +   public static int SKIN_ITEM_3;
  264. +   public static int SKIN_ITEM_4;
  265. +   public static int SKIN_ITEM_5;
  266. +   public static int SKIN_ITEM_6;
  267. +   public static int SKIN_ITEM_7;
  268. +   public static int SKIN_ITEM_8;
  269. +   public static int SKIN_ITEM_9;
  270. +   public static int SKIN_ITEM_10;
  271. +   public static int SKIN_ITEM_11;
  272. +   public static int SKIN_ITEM_12;
  273. +   public static int SKIN_ITEM_13;
  274. +   public static int SKIN_ITEM_14;
  275. +   public static int SKIN_ITEM_15;
  276. +  
  277. +   public static String NAME1;
  278. +   public static String NAME2;
  279. +   public static String NAME3;
  280. +   public static String NAME4;
  281. +   public static String NAME5;
  282. +   public static String NAME6;
  283. +   public static String NAME7;
  284. +   public static String NAME8;
  285. +   public static String NAME9;
  286. +   public static String NAME10;
  287. +   public static String NAME11;
  288. +   public static String NAME12;
  289. +   public static String NAME13;
  290. +   public static String NAME14;
  291. +   public static String NAME15;
  292. +   // ============================================================
  293. +   public static void loadSkin()
  294. +   {
  295. +       final String SKIN = FService.SKIN;
  296. +      
  297. +       try
  298. +       {
  299. +           final Properties Skins = new Properties();
  300. +           final InputStream is = new FileInputStream(new File(SKIN));
  301. +           Skins.load(is);
  302. +           is.close();
  303. +           SEGUNDS_SKILL_ANIMATION = Integer.parseInt(Skins.getProperty("SkillEffectsTime", "0"));
  304. +           SKILL_ID_SKIN1 = Integer.parseInt(Skins.getProperty("SkillIDSkin1", "0"));
  305. +           SKILL_ID_SKIN2 = Integer.parseInt(Skins.getProperty("SkillIDSkin2", "0"));
  306. +           SKILL_ID_SKIN3 = Integer.parseInt(Skins.getProperty("SkillIDSkin3", "0"));
  307. +           SKILL_ID_SKIN4 = Integer.parseInt(Skins.getProperty("SkillIDSkin4", "0"));
  308. +           SKILL_ID_SKIN5 = Integer.parseInt(Skins.getProperty("SkillIDSkin5", "0"));
  309. +           SKILL_ID_SKIN6 = Integer.parseInt(Skins.getProperty("SkillIDSkin6", "0"));
  310. +           SKILL_ID_SKIN7 = Integer.parseInt(Skins.getProperty("SkillIDSkin7", "0"));
  311. +           SKILL_ID_SKIN8 = Integer.parseInt(Skins.getProperty("SkillIDSkin8", "0"));
  312. +           SKILL_ID_SKIN9 = Integer.parseInt(Skins.getProperty("SkillIDSkin9", "0"));
  313. +           SKILL_ID_SKIN10 = Integer.parseInt(Skins.getProperty("SkillIDSkin10", "0"));
  314. +           SKILL_ID_SKIN11 = Integer.parseInt(Skins.getProperty("SkillIDSkin11", "0"));
  315. +           SKILL_ID_SKIN12 = Integer.parseInt(Skins.getProperty("SkillIDSkin12", "0"));
  316. +           SKILL_ID_SKIN13 = Integer.parseInt(Skins.getProperty("SkillIDSkin13", "0"));
  317. +           SKILL_ID_SKIN14 = Integer.parseInt(Skins.getProperty("SkillIDSkin14", "0"));
  318. +           SKILL_ID_SKIN15 = Integer.parseInt(Skins.getProperty("SkillIDSkin15", "0"));
  319. +           ALLOW_DRESS_ME_SYSTEM = Boolean.parseBoolean(Skins.getProperty("AllowDressMeSystem", "false"));
  320. +           SKIN_NAME1 = String.valueOf(Skins.getProperty("SkinName1", "SkinName"));
  321. +           SKIN_NAME2 = String.valueOf(Skins.getProperty("SkinName2", "SkinName"));
  322. +           SKIN_NAME3 = String.valueOf(Skins.getProperty("SkinName3", "SkinName"));
  323. +           SKIN_NAME4 = String.valueOf(Skins.getProperty("SkinName4", "SkinName"));
  324. +           SKIN_NAME5 = String.valueOf(Skins.getProperty("SkinName5", "SkinName"));
  325. +           SKIN_NAME6 = String.valueOf(Skins.getProperty("SkinName6", "SkinName"));
  326. +           SKIN_NAME7 = String.valueOf(Skins.getProperty("SkinName7", "SkinName"));
  327. +           SKIN_NAME8 = String.valueOf(Skins.getProperty("SkinName8", "SkinName"));
  328. +           SKIN_NAME9 = String.valueOf(Skins.getProperty("SkinName9", "SkinName"));
  329. +           SKIN_NAME10 = String.valueOf(Skins.getProperty("SkinName10", "SkinName"));
  330. +           SKIN_NAME11 = String.valueOf(Skins.getProperty("SkinName11", "SkinName"));
  331. +           SKIN_NAME12 = String.valueOf(Skins.getProperty("SkinName12", "SkinName"));
  332. +           SKIN_NAME13 = String.valueOf(Skins.getProperty("SkinName13", "SkinName"));
  333. +           SKIN_NAME14 = String.valueOf(Skins.getProperty("SkinName14", "SkinName"));
  334. +           SKIN_NAME15 = String.valueOf(Skins.getProperty("SkinName15", "SkinName"));
  335. +          
  336. +          
  337. +           SKIN_ITEM_1 = Integer.parseInt(Skins.getProperty("SkinItem1", "0"));
  338. +           SKIN_ITEM_2 = Integer.parseInt(Skins.getProperty("SkinItem2", "0"));
  339. +           SKIN_ITEM_3 = Integer.parseInt(Skins.getProperty("SkinItem3", "0"));
  340. +           SKIN_ITEM_4 = Integer.parseInt(Skins.getProperty("SkinItem4", "0"));
  341. +           SKIN_ITEM_5 = Integer.parseInt(Skins.getProperty("SkinItem5", "0"));
  342. +           SKIN_ITEM_6 = Integer.parseInt(Skins.getProperty("SkinItem6", "0"));
  343. +           SKIN_ITEM_7 = Integer.parseInt(Skins.getProperty("SkinItem7", "0"));
  344. +           SKIN_ITEM_8 = Integer.parseInt(Skins.getProperty("SkinItem8", "0"));
  345. +           SKIN_ITEM_9 = Integer.parseInt(Skins.getProperty("SkinItem9", "0"));
  346. +           SKIN_ITEM_10 = Integer.parseInt(Skins.getProperty("SkinItem10", "0"));
  347. +           SKIN_ITEM_11 = Integer.parseInt(Skins.getProperty("SkinItem11", "0"));
  348. +           SKIN_ITEM_12 = Integer.parseInt(Skins.getProperty("SkinItem12", "0"));
  349. +           SKIN_ITEM_13 = Integer.parseInt(Skins.getProperty("SkinItem13", "0"));
  350. +           SKIN_ITEM_14 = Integer.parseInt(Skins.getProperty("SkinItem14", "0"));
  351. +           SKIN_ITEM_15 = Integer.parseInt(Skins.getProperty("SkinItem15", "0"));
  352. +          
  353. +           String temp = Skins.getProperty("DressMeChests", "");
  354. +           String[] temp2 = temp.split(";");
  355. +           for (String s : temp2)
  356. +           {
  357. +               String[] t = s.split(",");
  358. +               DRESS_ME_CHESTS.put(t[0], Integer.parseInt(t[1]));
  359. +           }
  360. +          
  361. +           temp = Skins.getProperty("DressMeHair", "");
  362. +           temp2 = temp.split(";");
  363. +           for (String s : temp2)
  364. +           {
  365. +               String[] t = s.split(",");
  366. +               DRESS_ME_HELMET.put(t[0], Integer.parseInt(t[1]));
  367. +           }
  368. +          
  369. +          
  370. +           temp = Skins.getProperty("DressMeLegs", "");
  371. +           temp2 = temp.split(";");
  372. +           for (String s : temp2)
  373. +           {
  374. +               String[] t = s.split(",");
  375. +               DRESS_ME_LEGS.put(t[0], Integer.parseInt(t[1]));
  376. +           }
  377. +           temp = Skins.getProperty("DressMeBoots", "");
  378. +           temp2 = temp.split(";");
  379. +           for (String s : temp2)
  380. +           {
  381. +               String[] t = s.split(",");
  382. +               DRESS_ME_BOOTS.put(t[0], Integer.parseInt(t[1]));
  383. +           }
  384. +           temp = Skins.getProperty("DressMeGloves", "");
  385. +           temp2 = temp.split(";");
  386. +           for (String s : temp2)
  387. +           {
  388. +               String[] t = s.split(",");
  389. +               DRESS_ME_GLOVES.put(t[0], Integer.parseInt(t[1]));
  390. +           }
  391. +          
  392. +           NAME1 = Skins.getProperty("NameArmor1", " Skins Dressme");
  393. +           NAME2 = Skins.getProperty("NameArmor2", " Skins Dressme");
  394. +           NAME3 = Skins.getProperty("NameArmor3", " Skins Dressme");
  395. +           NAME4 = Skins.getProperty("NameArmor4", " Skins Dressme");
  396. +           NAME5 = Skins.getProperty("NameArmor5", " Skins Dressme");
  397. +           NAME6 = Skins.getProperty("NameArmor6", " Skins Dressme");
  398. +           NAME7 = Skins.getProperty("NameArmor7", " Skins Dressme");
  399. +           NAME8 = Skins.getProperty("NameArmor8", " Skins Dressme");
  400. +           NAME9 = Skins.getProperty("NameArmor9", " Skins Dressme");
  401. +           NAME10 = Skins.getProperty("NameArmor10", " Skins Dressme");
  402. +           NAME11 = Skins.getProperty("NameArmor11", " Skins Dressme");
  403. +           NAME12 = Skins.getProperty("NameArmor12", " Skins Dressme");
  404. +           NAME13 = Skins.getProperty("NameArmor13", " Skins Dressme");
  405. +           NAME14 = Skins.getProperty("NameArmor14", " Skins Dressme");
  406. +           NAME15 = Skins.getProperty("NameArmor15", " Skins Dressme");
  407. +          
  408. +       }
  409. +       catch (final Exception e)
  410. +       {
  411. +           e.printStackTrace();
  412. +           throw new Error("Failed to Load " + SKIN + " File.");
  413. +       }
  414. +   }
  415. +  
  416. +  
  417. +   // ============================================================
  418.     public static boolean EVERYBODY_HAS_ADMIN_RIGHTS;
  419.     public static boolean SHOW_GM_LOGIN;
  420.     public static boolean GM_STARTUP_INVISIBLE;
  421. @@ -4534,6 +4730,7 @@
  422.             loadAccessConfig();
  423.             loadPvpConfig();
  424.             loadCraftConfig();
  425. +           loadSkin();
  426.            
  427.             // Frozen config
  428.             loadCTFConfig();
  429. diff --git a/head-src/com/l2jfrozen/FService.java b/head-src/com/l2jfrozen/FService.java
  430. index f8afb7c..f4bf4d3 100644
  431. --- a/head-src/com/l2jfrozen/FService.java
  432. +++ b/head-src/com/l2jfrozen/FService.java
  433. @@ -34,7 +34,7 @@
  434.     public static final String QUESTION_FILE = "./config/questionwords.txt";
  435.     public static final String HEXID_FILE = "./config/hexid.txt";
  436.     public static final String TELNET_FILE = "./config/telnet.properties";
  437. -  
  438. +   public static final String SKIN = "./config/CustomMods/Skin.ini";
  439.     // head
  440.     public static final String ALT_SETTINGS_FILE = "./config/head/altsettings.properties";
  441.     public static final String CLANHALL_CONFIG_FILE = "./config/head/clanhall.properties";
  442. diff --git a/head-src/com/l2jfrozen/gameserver/handler/ItemHandler.java b/head-src/com/l2jfrozen/gameserver/handler/ItemHandler.java
  443. index 8dad568..8b8cb8d 100644
  444. --- a/head-src/com/l2jfrozen/gameserver/handler/ItemHandler.java
  445. +++ b/head-src/com/l2jfrozen/gameserver/handler/ItemHandler.java
  446. @@ -63,6 +63,21 @@
  447.  import com.l2jfrozen.gameserver.handler.itemhandlers.Scrolls;
  448.  import com.l2jfrozen.gameserver.handler.itemhandlers.Seed;
  449.  import com.l2jfrozen.gameserver.handler.itemhandlers.SevenSignsRecord;
  450. +import com.l2jfrozen.gameserver.handler.itemhandlers.Skin1;
  451. +import com.l2jfrozen.gameserver.handler.itemhandlers.Skin10;
  452. +import com.l2jfrozen.gameserver.handler.itemhandlers.Skin11;
  453. +import com.l2jfrozen.gameserver.handler.itemhandlers.Skin12;
  454. +import com.l2jfrozen.gameserver.handler.itemhandlers.Skin13;
  455. +import com.l2jfrozen.gameserver.handler.itemhandlers.Skin14;
  456. +import com.l2jfrozen.gameserver.handler.itemhandlers.Skin15;
  457. +import com.l2jfrozen.gameserver.handler.itemhandlers.Skin2;
  458. +import com.l2jfrozen.gameserver.handler.itemhandlers.Skin3;
  459. +import com.l2jfrozen.gameserver.handler.itemhandlers.Skin4;
  460. +import com.l2jfrozen.gameserver.handler.itemhandlers.Skin5;
  461. +import com.l2jfrozen.gameserver.handler.itemhandlers.Skin6;
  462. +import com.l2jfrozen.gameserver.handler.itemhandlers.Skin7;
  463. +import com.l2jfrozen.gameserver.handler.itemhandlers.Skin8;
  464. +import com.l2jfrozen.gameserver.handler.itemhandlers.Skin9;
  465.  import com.l2jfrozen.gameserver.handler.itemhandlers.SoulCrystals;
  466.  import com.l2jfrozen.gameserver.handler.itemhandlers.SoulShots;
  467.  import com.l2jfrozen.gameserver.handler.itemhandlers.SpecialXMas;
  468. @@ -110,6 +125,21 @@
  469.     private ItemHandler()
  470.     {
  471.         _datatable = new TreeMap<>();
  472. +       registerItemHandler(new Skin1());
  473. +       registerItemHandler(new Skin2());
  474. +       registerItemHandler(new Skin3());
  475. +       registerItemHandler(new Skin4());
  476. +       registerItemHandler(new Skin5());
  477. +       registerItemHandler(new Skin6());
  478. +       registerItemHandler(new Skin7());
  479. +       registerItemHandler(new Skin8());
  480. +       registerItemHandler(new Skin9());
  481. +       registerItemHandler(new Skin10());
  482. +       registerItemHandler(new Skin11());
  483. +       registerItemHandler(new Skin12());
  484. +       registerItemHandler(new Skin13());
  485. +       registerItemHandler(new Skin14());
  486. +       registerItemHandler(new Skin15());
  487.         registerItemHandler(new ScrollOfEscape());
  488.         registerItemHandler(new ScrollOfResurrection());
  489.         registerItemHandler(new SoulShots());
  490. diff --git a/head-src/com/l2jfrozen/gameserver/handler/itemhandlers/Skin1.java b/head-src/com/l2jfrozen/gameserver/handler/itemhandlers/Skin1.java
  491. new file mode 100644
  492. index 0000000..26c70a0
  493. --- /dev/null
  494. +++ b/head-src/com/l2jfrozen/gameserver/handler/itemhandlers/Skin1.java
  495. @@ -0,0 +1,76 @@
  496. +package com.l2jfrozen.gameserver.handler.itemhandlers;
  497. +
  498. +import com.l2jfrozen.Config;
  499. +import com.l2jfrozen.gameserver.handler.IItemHandler;
  500. +import com.l2jfrozen.gameserver.model.L2Object;
  501. +import com.l2jfrozen.gameserver.model.actor.instance.L2ItemInstance;
  502. +import com.l2jfrozen.gameserver.model.actor.instance.L2PcInstance;
  503. +import com.l2jfrozen.gameserver.model.actor.instance.L2PlayableInstance;
  504. +import com.l2jfrozen.gameserver.network.clientpackets.RequestBypassToServer;
  505. +import com.l2jfrozen.gameserver.network.serverpackets.MagicSkillUser;
  506. +import com.l2jfrozen.gameserver.network.serverpackets.SetupGauge;
  507. +import com.l2jfrozen.gameserver.thread.ThreadPoolManager;
  508. +import com.l2jfrozen.gameserver.util.Broadcast;
  509. +
  510. +public class Skin1 implements IItemHandler
  511. +
  512. +{
  513. +   @Override
  514. +   public void useItem(final L2PlayableInstance playable, final L2ItemInstance item)
  515. +   {
  516. +       ThreadPoolManager.getInstance().scheduleGeneral(new Runnable()
  517. +       {
  518. +           @Override
  519. +           public void run()
  520. +           {
  521. +               playable.setIsImmobileUntilAttacked(false);
  522. +           }
  523. +       }, Config.SEGUNDS_SKILL_ANIMATION);
  524. +       final L2Object oldTarget = playable.getTarget();
  525. +       playable.setTarget(playable);      
  526. +       Broadcast.toSelfAndKnownPlayers(playable, new MagicSkillUser(playable, Config.SKILL_ID_SKIN1, 1, Config.SEGUNDS_SKILL_ANIMATION, 0));
  527. +       playable.setTarget(oldTarget);
  528. +       playable.sendPacket(new SetupGauge(0, Config.SEGUNDS_SKILL_ANIMATION));
  529. +       playable.setIsImmobileUntilAttacked(true);
  530. +       if(Config.ALLOW_DRESS_ME_SYSTEM)
  531. +       {
  532. +           if(!(playable instanceof L2PcInstance))
  533. +               return;
  534. +          
  535. +           L2PcInstance activeChar = (L2PcInstance)playable;
  536. +          
  537. +           RequestBypassToServer.setPart(activeChar, "helmet", Config.SKIN_NAME1);
  538. +           RequestBypassToServer.setPart(activeChar, "chest", Config.SKIN_NAME1);
  539. +           RequestBypassToServer.setPart(activeChar, "legs", Config.SKIN_NAME1);
  540. +           RequestBypassToServer.setPart(activeChar, "gloves", Config.SKIN_NAME1);
  541. +           RequestBypassToServer.setPart(activeChar, "boots", Config.SKIN_NAME1);
  542. +          
  543. +           if (activeChar.isDressMeEnabled())
  544. +           {
  545. +               activeChar.setDressMeEnabled(false);
  546. +               activeChar.broadcastUserInfo();
  547. +               activeChar.sendMessage("You have disabled skin.");
  548. +              
  549. +           }
  550. +           else
  551. +           {
  552. +               activeChar.setDressMeEnabled(true);
  553. +               activeChar.broadcastUserInfo();
  554. +               activeChar.sendMessage("You have activated " + Config.NAME1 + " skin.");
  555. +              
  556. +           }
  557. +       }
  558. +       else
  559. +           playable.sendMessage("Sorry, admin has disabled skins.");
  560. +   }
  561. +  
  562. +   @Override
  563. +   public int[] getItemIds()
  564. +   {
  565. +       return ITEM_IDS;
  566. +   }
  567. +  
  568. +   private static final int ITEM_IDS[] = {
  569. +       Config.SKIN_ITEM_1
  570. +   };
  571. +}
  572. \ No newline at end of file
  573. diff --git a/head-src/com/l2jfrozen/gameserver/handler/itemhandlers/Skin10.java b/head-src/com/l2jfrozen/gameserver/handler/itemhandlers/Skin10.java
  574. new file mode 100644
  575. index 0000000..5201a2e
  576. --- /dev/null
  577. +++ b/head-src/com/l2jfrozen/gameserver/handler/itemhandlers/Skin10.java
  578. @@ -0,0 +1,71 @@
  579. +package com.l2jfrozen.gameserver.handler.itemhandlers;
  580. +
  581. +import com.l2jfrozen.Config;
  582. +import com.l2jfrozen.gameserver.handler.IItemHandler;
  583. +import com.l2jfrozen.gameserver.model.L2Object;
  584. +import com.l2jfrozen.gameserver.model.actor.instance.L2ItemInstance;
  585. +import com.l2jfrozen.gameserver.model.actor.instance.L2PcInstance;
  586. +import com.l2jfrozen.gameserver.model.actor.instance.L2PlayableInstance;
  587. +import com.l2jfrozen.gameserver.network.clientpackets.RequestBypassToServer;
  588. +import com.l2jfrozen.gameserver.network.serverpackets.MagicSkillUser;
  589. +import com.l2jfrozen.gameserver.network.serverpackets.SetupGauge;
  590. +import com.l2jfrozen.gameserver.thread.ThreadPoolManager;
  591. +import com.l2jfrozen.gameserver.util.Broadcast;
  592. +
  593. +public class Skin10 implements IItemHandler
  594. +{
  595. +   @Override
  596. +   public void useItem(final L2PlayableInstance playable, final L2ItemInstance item)
  597. +   {
  598. +       ThreadPoolManager.getInstance().scheduleGeneral(new Runnable()
  599. +       {
  600. +           @Override
  601. +           public void run()
  602. +           {
  603. +               playable.setIsImmobileUntilAttacked(false);
  604. +           }
  605. +       }, Config.SEGUNDS_SKILL_ANIMATION);
  606. +       final L2Object oldTarget = playable.getTarget();
  607. +       playable.setTarget(playable);      
  608. +       Broadcast.toSelfAndKnownPlayers(playable, new MagicSkillUser(playable, Config.SKILL_ID_SKIN10, 1, Config.SEGUNDS_SKILL_ANIMATION, 0));
  609. +       playable.setTarget(oldTarget);
  610. +       playable.sendPacket(new SetupGauge(0, Config.SEGUNDS_SKILL_ANIMATION));
  611. +       playable.setIsImmobileUntilAttacked(true);
  612. +       if(Config.ALLOW_DRESS_ME_SYSTEM)
  613. +       {
  614. +           if(!(playable instanceof L2PcInstance))
  615. +               return;
  616. +           L2PcInstance activeChar = (L2PcInstance)playable;
  617. +           RequestBypassToServer.setPart(activeChar, "helmet", Config.SKIN_NAME10);
  618. +           RequestBypassToServer.setPart(activeChar, "chest", Config.SKIN_NAME10);
  619. +           RequestBypassToServer.setPart(activeChar, "legs", Config.SKIN_NAME10);
  620. +           RequestBypassToServer.setPart(activeChar, "gloves", Config.SKIN_NAME10);
  621. +           RequestBypassToServer.setPart(activeChar, "boots", Config.SKIN_NAME10);
  622. +          
  623. +           if (activeChar.isDressMeEnabled())
  624. +           {
  625. +               activeChar.setDressMeEnabled(false);
  626. +               activeChar.broadcastUserInfo();
  627. +               activeChar.sendMessage("You have disabled skin.");
  628. +           }
  629. +           else
  630. +           {
  631. +               activeChar.setDressMeEnabled(true);
  632. +               activeChar.broadcastUserInfo();
  633. +               activeChar.sendMessage("You have activated " + Config.NAME10 + " skin.");
  634. +           }
  635. +       }
  636. +       else
  637. +           playable.sendMessage("Sorry, admin has disabled skins.");
  638. +   }
  639. +  
  640. +   @Override
  641. +   public int[] getItemIds()
  642. +   {
  643. +       return ITEM_IDS;
  644. +   }
  645. +  
  646. +   private static final int ITEM_IDS[] = {
  647. +       Config.SKIN_ITEM_10
  648. +   };
  649. +}
  650. \ No newline at end of file
  651. diff --git a/head-src/com/l2jfrozen/gameserver/handler/itemhandlers/Skin11.java b/head-src/com/l2jfrozen/gameserver/handler/itemhandlers/Skin11.java
  652. new file mode 100644
  653. index 0000000..0b94f81
  654. --- /dev/null
  655. +++ b/head-src/com/l2jfrozen/gameserver/handler/itemhandlers/Skin11.java
  656. @@ -0,0 +1,72 @@
  657. +package com.l2jfrozen.gameserver.handler.itemhandlers;
  658. +
  659. +import com.l2jfrozen.Config;
  660. +import com.l2jfrozen.gameserver.handler.IItemHandler;
  661. +import com.l2jfrozen.gameserver.model.L2Object;
  662. +import com.l2jfrozen.gameserver.model.actor.instance.L2ItemInstance;
  663. +import com.l2jfrozen.gameserver.model.actor.instance.L2PcInstance;
  664. +import com.l2jfrozen.gameserver.model.actor.instance.L2PlayableInstance;
  665. +import com.l2jfrozen.gameserver.network.clientpackets.RequestBypassToServer;
  666. +import com.l2jfrozen.gameserver.network.serverpackets.MagicSkillUser;
  667. +import com.l2jfrozen.gameserver.network.serverpackets.SetupGauge;
  668. +import com.l2jfrozen.gameserver.thread.ThreadPoolManager;
  669. +import com.l2jfrozen.gameserver.util.Broadcast;
  670. +
  671. +public class Skin11 implements IItemHandler
  672. +{
  673. +   @Override
  674. +   public void useItem(final L2PlayableInstance playable, final L2ItemInstance item)
  675. +   {
  676. +       ThreadPoolManager.getInstance().scheduleGeneral(new Runnable()
  677. +       {
  678. +           @Override
  679. +           public void run()
  680. +           {
  681. +               playable.setIsImmobileUntilAttacked(false);
  682. +           }
  683. +       }, Config.SEGUNDS_SKILL_ANIMATION);
  684. +       final L2Object oldTarget = playable.getTarget();
  685. +       playable.setTarget(playable);      
  686. +       Broadcast.toSelfAndKnownPlayers(playable, new MagicSkillUser(playable, Config.SKILL_ID_SKIN11, 1, Config.SEGUNDS_SKILL_ANIMATION, 0));
  687. +       playable.setTarget(oldTarget);
  688. +       playable.sendPacket(new SetupGauge(0, Config.SEGUNDS_SKILL_ANIMATION));
  689. +       playable.setIsImmobileUntilAttacked(true);
  690. +       if(Config.ALLOW_DRESS_ME_SYSTEM)
  691. +       {
  692. +           if(!(playable instanceof L2PcInstance))
  693. +               return;
  694. +           L2PcInstance activeChar = (L2PcInstance)playable;
  695. +           RequestBypassToServer.setPart(activeChar, "helmet", Config.SKIN_NAME11);
  696. +           RequestBypassToServer.setPart(activeChar, "chest", Config.SKIN_NAME11);
  697. +           RequestBypassToServer.setPart(activeChar, "legs", Config.SKIN_NAME11);
  698. +           RequestBypassToServer.setPart(activeChar, "gloves", Config.SKIN_NAME11);
  699. +           RequestBypassToServer.setPart(activeChar, "boots", Config.SKIN_NAME11);
  700. +          
  701. +           if (activeChar.isDressMeEnabled())
  702. +           {
  703. +               activeChar.setDressMeEnabled(false);
  704. +               activeChar.broadcastUserInfo();
  705. +               activeChar.sendMessage("You have disabled skin.");
  706. +           }
  707. +           else
  708. +           {
  709. +               activeChar.setDressMeEnabled(true);
  710. +               activeChar.broadcastUserInfo();
  711. +               activeChar.sendMessage("You have activated " + Config.NAME11 + " skin.");
  712. +              
  713. +           }
  714. +       }
  715. +       else
  716. +           playable.sendMessage("Sorry, admin has disabled skins.");
  717. +   }
  718. +  
  719. +   @Override
  720. +   public int[] getItemIds()
  721. +   {
  722. +       return ITEM_IDS;
  723. +   }
  724. +  
  725. +   private static final int ITEM_IDS[] = {
  726. +       Config.SKIN_ITEM_11
  727. +   };
  728. +}
  729. \ No newline at end of file
  730. diff --git a/head-src/com/l2jfrozen/gameserver/handler/itemhandlers/Skin12.java b/head-src/com/l2jfrozen/gameserver/handler/itemhandlers/Skin12.java
  731. new file mode 100644
  732. index 0000000..619008b
  733. --- /dev/null
  734. +++ b/head-src/com/l2jfrozen/gameserver/handler/itemhandlers/Skin12.java
  735. @@ -0,0 +1,72 @@
  736. +package com.l2jfrozen.gameserver.handler.itemhandlers;
  737. +
  738. +import com.l2jfrozen.Config;
  739. +import com.l2jfrozen.gameserver.handler.IItemHandler;
  740. +import com.l2jfrozen.gameserver.model.L2Object;
  741. +import com.l2jfrozen.gameserver.model.actor.instance.L2ItemInstance;
  742. +import com.l2jfrozen.gameserver.model.actor.instance.L2PcInstance;
  743. +import com.l2jfrozen.gameserver.model.actor.instance.L2PlayableInstance;
  744. +import com.l2jfrozen.gameserver.network.clientpackets.RequestBypassToServer;
  745. +import com.l2jfrozen.gameserver.network.serverpackets.MagicSkillUser;
  746. +import com.l2jfrozen.gameserver.network.serverpackets.SetupGauge;
  747. +import com.l2jfrozen.gameserver.thread.ThreadPoolManager;
  748. +import com.l2jfrozen.gameserver.util.Broadcast;
  749. +
  750. +public class Skin12 implements IItemHandler
  751. +{
  752. +   @Override
  753. +   public void useItem(final L2PlayableInstance playable, final L2ItemInstance item)
  754. +   {
  755. +       ThreadPoolManager.getInstance().scheduleGeneral(new Runnable()
  756. +       {
  757. +           @Override
  758. +           public void run()
  759. +           {
  760. +               playable.setIsImmobileUntilAttacked(false);
  761. +           }
  762. +       }, Config.SEGUNDS_SKILL_ANIMATION);
  763. +       final L2Object oldTarget = playable.getTarget();
  764. +       playable.setTarget(playable);      
  765. +       Broadcast.toSelfAndKnownPlayers(playable, new MagicSkillUser(playable, Config.SKILL_ID_SKIN12, 1, Config.SEGUNDS_SKILL_ANIMATION, 0));
  766. +       playable.setTarget(oldTarget);
  767. +       playable.sendPacket(new SetupGauge(0, Config.SEGUNDS_SKILL_ANIMATION));
  768. +       playable.setIsImmobileUntilAttacked(true);
  769. +       if(Config.ALLOW_DRESS_ME_SYSTEM)
  770. +       {
  771. +           if(!(playable instanceof L2PcInstance))
  772. +               return;
  773. +           L2PcInstance activeChar = (L2PcInstance)playable;
  774. +           RequestBypassToServer.setPart(activeChar, "helmet", Config.SKIN_NAME12);
  775. +           RequestBypassToServer.setPart(activeChar, "chest", Config.SKIN_NAME12);
  776. +           RequestBypassToServer.setPart(activeChar, "legs", Config.SKIN_NAME12);
  777. +           RequestBypassToServer.setPart(activeChar, "gloves", Config.SKIN_NAME12);
  778. +           RequestBypassToServer.setPart(activeChar, "boots", Config.SKIN_NAME12);
  779. +          
  780. +           if (activeChar.isDressMeEnabled())
  781. +           {
  782. +               activeChar.setDressMeEnabled(false);
  783. +               activeChar.broadcastUserInfo();
  784. +               activeChar.sendMessage("You have disabled skin.");
  785. +           }
  786. +           else
  787. +           {
  788. +               activeChar.setDressMeEnabled(true);
  789. +               activeChar.broadcastUserInfo();
  790. +               activeChar.sendMessage("You have activated " + Config.NAME12 + " skin.");
  791. +              
  792. +           }
  793. +       }
  794. +       else
  795. +           playable.sendMessage("Sorry, admin has disabled skins.");
  796. +   }
  797. +  
  798. +   @Override
  799. +   public int[] getItemIds()
  800. +   {
  801. +       return ITEM_IDS;
  802. +   }
  803. +  
  804. +   private static final int ITEM_IDS[] = {
  805. +       Config.SKIN_ITEM_12
  806. +   };
  807. +}
  808. \ No newline at end of file
  809. diff --git a/head-src/com/l2jfrozen/gameserver/handler/itemhandlers/Skin13.java b/head-src/com/l2jfrozen/gameserver/handler/itemhandlers/Skin13.java
  810. new file mode 100644
  811. index 0000000..8ccca10
  812. --- /dev/null
  813. +++ b/head-src/com/l2jfrozen/gameserver/handler/itemhandlers/Skin13.java
  814. @@ -0,0 +1,71 @@
  815. +package com.l2jfrozen.gameserver.handler.itemhandlers;
  816. +
  817. +import com.l2jfrozen.Config;
  818. +import com.l2jfrozen.gameserver.handler.IItemHandler;
  819. +import com.l2jfrozen.gameserver.model.L2Object;
  820. +import com.l2jfrozen.gameserver.model.actor.instance.L2ItemInstance;
  821. +import com.l2jfrozen.gameserver.model.actor.instance.L2PcInstance;
  822. +import com.l2jfrozen.gameserver.model.actor.instance.L2PlayableInstance;
  823. +import com.l2jfrozen.gameserver.network.clientpackets.RequestBypassToServer;
  824. +import com.l2jfrozen.gameserver.network.serverpackets.MagicSkillUser;
  825. +import com.l2jfrozen.gameserver.network.serverpackets.SetupGauge;
  826. +import com.l2jfrozen.gameserver.thread.ThreadPoolManager;
  827. +import com.l2jfrozen.gameserver.util.Broadcast;
  828. +
  829. +public class Skin13 implements IItemHandler
  830. +{
  831. +   @Override
  832. +   public void useItem(final L2PlayableInstance playable, final L2ItemInstance item)
  833. +   {
  834. +       ThreadPoolManager.getInstance().scheduleGeneral(new Runnable()
  835. +       {
  836. +           @Override
  837. +           public void run()
  838. +           {
  839. +               playable.setIsImmobileUntilAttacked(false);
  840. +           }
  841. +       }, Config.SEGUNDS_SKILL_ANIMATION);
  842. +       final L2Object oldTarget = playable.getTarget();
  843. +       playable.setTarget(playable);      
  844. +       Broadcast.toSelfAndKnownPlayers(playable, new MagicSkillUser(playable, Config.SKILL_ID_SKIN13, 1, Config.SEGUNDS_SKILL_ANIMATION, 0));
  845. +       playable.setTarget(oldTarget);
  846. +       playable.sendPacket(new SetupGauge(0, Config.SEGUNDS_SKILL_ANIMATION));
  847. +       playable.setIsImmobileUntilAttacked(true);
  848. +       if(Config.ALLOW_DRESS_ME_SYSTEM)
  849. +       {
  850. +           if(!(playable instanceof L2PcInstance))
  851. +               return;
  852. +           L2PcInstance activeChar = (L2PcInstance)playable;
  853. +           RequestBypassToServer.setPart(activeChar, "helmet", Config.SKIN_NAME13);
  854. +           RequestBypassToServer.setPart(activeChar, "chest", Config.SKIN_NAME13);
  855. +           RequestBypassToServer.setPart(activeChar, "legs", Config.SKIN_NAME13);
  856. +           RequestBypassToServer.setPart(activeChar, "gloves", Config.SKIN_NAME13);
  857. +           RequestBypassToServer.setPart(activeChar, "boots", Config.SKIN_NAME13);
  858. +          
  859. +           if (activeChar.isDressMeEnabled())
  860. +           {
  861. +               activeChar.setDressMeEnabled(false);
  862. +               activeChar.broadcastUserInfo();
  863. +               activeChar.sendMessage("You have disabled skin.");
  864. +           }
  865. +           else
  866. +           {
  867. +               activeChar.setDressMeEnabled(true);
  868. +               activeChar.broadcastUserInfo();
  869. +               activeChar.sendMessage("You have activated " + Config.NAME13 + " skin.");
  870. +           }
  871. +       }
  872. +       else
  873. +           playable.sendMessage("Sorry, admin has disabled skins.");
  874. +   }
  875. +  
  876. +   @Override
  877. +   public int[] getItemIds()
  878. +   {
  879. +       return ITEM_IDS;
  880. +   }
  881. +  
  882. +   private static final int ITEM_IDS[] = {
  883. +       Config.SKIN_ITEM_13
  884. +   };
  885. +}
  886. \ No newline at end of file
  887. diff --git a/head-src/com/l2jfrozen/gameserver/handler/itemhandlers/Skin14.java b/head-src/com/l2jfrozen/gameserver/handler/itemhandlers/Skin14.java
  888. new file mode 100644
  889. index 0000000..414dd05
  890. --- /dev/null
  891. +++ b/head-src/com/l2jfrozen/gameserver/handler/itemhandlers/Skin14.java
  892. @@ -0,0 +1,71 @@
  893. +package com.l2jfrozen.gameserver.handler.itemhandlers;
  894. +
  895. +import com.l2jfrozen.Config;
  896. +import com.l2jfrozen.gameserver.handler.IItemHandler;
  897. +import com.l2jfrozen.gameserver.model.L2Object;
  898. +import com.l2jfrozen.gameserver.model.actor.instance.L2ItemInstance;
  899. +import com.l2jfrozen.gameserver.model.actor.instance.L2PcInstance;
  900. +import com.l2jfrozen.gameserver.model.actor.instance.L2PlayableInstance;
  901. +import com.l2jfrozen.gameserver.network.clientpackets.RequestBypassToServer;
  902. +import com.l2jfrozen.gameserver.network.serverpackets.MagicSkillUser;
  903. +import com.l2jfrozen.gameserver.network.serverpackets.SetupGauge;
  904. +import com.l2jfrozen.gameserver.thread.ThreadPoolManager;
  905. +import com.l2jfrozen.gameserver.util.Broadcast;
  906. +
  907. +public class Skin14 implements IItemHandler
  908. +{
  909. +   @Override
  910. +   public void useItem(final L2PlayableInstance playable, final L2ItemInstance item)
  911. +   {
  912. +       ThreadPoolManager.getInstance().scheduleGeneral(new Runnable()
  913. +       {
  914. +           @Override
  915. +           public void run()
  916. +           {
  917. +               playable.setIsImmobileUntilAttacked(false);
  918. +           }
  919. +       }, Config.SEGUNDS_SKILL_ANIMATION);
  920. +       final L2Object oldTarget = playable.getTarget();
  921. +       playable.setTarget(playable);      
  922. +       Broadcast.toSelfAndKnownPlayers(playable, new MagicSkillUser(playable, Config.SKILL_ID_SKIN14, 1, Config.SEGUNDS_SKILL_ANIMATION, 0));
  923. +       playable.setTarget(oldTarget);
  924. +       playable.sendPacket(new SetupGauge(0, Config.SEGUNDS_SKILL_ANIMATION));
  925. +       playable.setIsImmobileUntilAttacked(true);
  926. +       if(Config.ALLOW_DRESS_ME_SYSTEM)
  927. +       {
  928. +           if(!(playable instanceof L2PcInstance))
  929. +               return;
  930. +           L2PcInstance activeChar = (L2PcInstance)playable;
  931. +           RequestBypassToServer.setPart(activeChar, "helmet", Config.SKIN_NAME14);
  932. +           RequestBypassToServer.setPart(activeChar, "chest", Config.SKIN_NAME14);
  933. +           RequestBypassToServer.setPart(activeChar, "legs", Config.SKIN_NAME14);
  934. +           RequestBypassToServer.setPart(activeChar, "gloves", Config.SKIN_NAME14);
  935. +           RequestBypassToServer.setPart(activeChar, "boots", Config.SKIN_NAME14);
  936. +          
  937. +           if (activeChar.isDressMeEnabled())
  938. +           {
  939. +               activeChar.setDressMeEnabled(false);
  940. +               activeChar.broadcastUserInfo();
  941. +               activeChar.sendMessage("You have disabled skin.");
  942. +           }
  943. +           else
  944. +           {
  945. +               activeChar.setDressMeEnabled(true);
  946. +               activeChar.broadcastUserInfo();
  947. +               activeChar.sendMessage("You have activated " + Config.NAME14 + " skin.");
  948. +           }
  949. +       }
  950. +       else
  951. +           playable.sendMessage("Sorry, admin has disabled skins.");
  952. +   }
  953. +  
  954. +   @Override
  955. +   public int[] getItemIds()
  956. +   {
  957. +       return ITEM_IDS;
  958. +   }
  959. +  
  960. +   private static final int ITEM_IDS[] = {
  961. +       Config.SKIN_ITEM_14
  962. +   };
  963. +}
  964. \ No newline at end of file
  965. diff --git a/head-src/com/l2jfrozen/gameserver/handler/itemhandlers/Skin15.java b/head-src/com/l2jfrozen/gameserver/handler/itemhandlers/Skin15.java
  966. new file mode 100644
  967. index 0000000..1bfe6ce
  968. --- /dev/null
  969. +++ b/head-src/com/l2jfrozen/gameserver/handler/itemhandlers/Skin15.java
  970. @@ -0,0 +1,75 @@
  971. +package com.l2jfrozen.gameserver.handler.itemhandlers;
  972. +
  973. +import com.l2jfrozen.Config;
  974. +import com.l2jfrozen.gameserver.handler.IItemHandler;
  975. +import com.l2jfrozen.gameserver.model.L2Object;
  976. +import com.l2jfrozen.gameserver.model.actor.instance.L2ItemInstance;
  977. +import com.l2jfrozen.gameserver.model.actor.instance.L2PcInstance;
  978. +import com.l2jfrozen.gameserver.model.actor.instance.L2PlayableInstance;
  979. +import com.l2jfrozen.gameserver.network.clientpackets.RequestBypassToServer;
  980. +import com.l2jfrozen.gameserver.network.serverpackets.MagicSkillUser;
  981. +import com.l2jfrozen.gameserver.network.serverpackets.SetupGauge;
  982. +import com.l2jfrozen.gameserver.thread.ThreadPoolManager;
  983. +import com.l2jfrozen.gameserver.util.Broadcast;
  984. +
  985. +public class Skin15 implements IItemHandler
  986. +{
  987. +   @Override
  988. +   public void useItem(final L2PlayableInstance playable, final L2ItemInstance item)
  989. +   {
  990. +       ThreadPoolManager.getInstance().scheduleGeneral(new Runnable()
  991. +       {
  992. +           @Override
  993. +           public void run()
  994. +           {
  995. +               playable.setIsImmobileUntilAttacked(false);
  996. +           }
  997. +       }, Config.SEGUNDS_SKILL_ANIMATION);
  998. +       final L2Object oldTarget = playable.getTarget();
  999. +       playable.setTarget(playable);      
  1000. +       Broadcast.toSelfAndKnownPlayers(playable, new MagicSkillUser(playable, Config.SKILL_ID_SKIN15, 1, Config.SEGUNDS_SKILL_ANIMATION, 0));
  1001. +       playable.setTarget(oldTarget);
  1002. +       playable.sendPacket(new SetupGauge(0, Config.SEGUNDS_SKILL_ANIMATION));
  1003. +       playable.setIsImmobileUntilAttacked(true);
  1004. +       if(Config.ALLOW_DRESS_ME_SYSTEM)
  1005. +       {
  1006. +           if(!(playable instanceof L2PcInstance))
  1007. +               return;
  1008. +          
  1009. +           L2PcInstance activeChar = (L2PcInstance)playable;
  1010. +          
  1011. +           RequestBypassToServer.setPart(activeChar, "helmet", Config.SKIN_NAME15);
  1012. +           RequestBypassToServer.setPart(activeChar, "chest", Config.SKIN_NAME15);
  1013. +           RequestBypassToServer.setPart(activeChar, "legs", Config.SKIN_NAME15);
  1014. +           RequestBypassToServer.setPart(activeChar, "gloves", Config.SKIN_NAME15);
  1015. +           RequestBypassToServer.setPart(activeChar, "boots", Config.SKIN_NAME15);
  1016. +          
  1017. +           if (activeChar.isDressMeEnabled())
  1018. +           {
  1019. +              
  1020. +               activeChar.setDressMeEnabled(false);
  1021. +               activeChar.broadcastUserInfo();
  1022. +               activeChar.sendMessage("You have disabled skin.");
  1023. +           }
  1024. +           else
  1025. +           {
  1026. +              
  1027. +               activeChar.setDressMeEnabled(true);
  1028. +               activeChar.broadcastUserInfo();
  1029. +               activeChar.sendMessage("You have activated " + Config.NAME15 + " skin.");
  1030. +           }
  1031. +       }
  1032. +       else
  1033. +           playable.sendMessage("Sorry, admin has disabled skins.");
  1034. +   }
  1035. +  
  1036. +   @Override
  1037. +   public int[] getItemIds()
  1038. +   {
  1039. +       return ITEM_IDS;
  1040. +   }
  1041. +  
  1042. +   private static final int ITEM_IDS[] = {
  1043. +       Config.SKIN_ITEM_15
  1044. +   };
  1045. +}
  1046. \ No newline at end of file
  1047. diff --git a/head-src/com/l2jfrozen/gameserver/handler/itemhandlers/Skin2.java b/head-src/com/l2jfrozen/gameserver/handler/itemhandlers/Skin2.java
  1048. new file mode 100644
  1049. index 0000000..93d653a
  1050. --- /dev/null
  1051. +++ b/head-src/com/l2jfrozen/gameserver/handler/itemhandlers/Skin2.java
  1052. @@ -0,0 +1,72 @@
  1053. +package com.l2jfrozen.gameserver.handler.itemhandlers;
  1054. +
  1055. +import com.l2jfrozen.Config;
  1056. +import com.l2jfrozen.gameserver.handler.IItemHandler;
  1057. +import com.l2jfrozen.gameserver.model.L2Object;
  1058. +import com.l2jfrozen.gameserver.model.actor.instance.L2ItemInstance;
  1059. +import com.l2jfrozen.gameserver.model.actor.instance.L2PcInstance;
  1060. +import com.l2jfrozen.gameserver.model.actor.instance.L2PlayableInstance;
  1061. +import com.l2jfrozen.gameserver.network.clientpackets.RequestBypassToServer;
  1062. +import com.l2jfrozen.gameserver.network.serverpackets.MagicSkillUser;
  1063. +import com.l2jfrozen.gameserver.network.serverpackets.SetupGauge;
  1064. +import com.l2jfrozen.gameserver.thread.ThreadPoolManager;
  1065. +import com.l2jfrozen.gameserver.util.Broadcast;
  1066. +
  1067. +public class Skin2 implements IItemHandler
  1068. +{
  1069. +   @Override
  1070. +   public void useItem(final L2PlayableInstance playable, final L2ItemInstance item)
  1071. +   {
  1072. +       ThreadPoolManager.getInstance().scheduleGeneral(new Runnable()
  1073. +       {
  1074. +           @Override
  1075. +           public void run()
  1076. +           {
  1077. +               playable.setIsImmobileUntilAttacked(false);
  1078. +           }
  1079. +       }, Config.SEGUNDS_SKILL_ANIMATION);
  1080. +       final L2Object oldTarget = playable.getTarget();
  1081. +       playable.setTarget(playable);      
  1082. +       Broadcast.toSelfAndKnownPlayers(playable, new MagicSkillUser(playable, Config.SKILL_ID_SKIN2, 1, Config.SEGUNDS_SKILL_ANIMATION, 0));
  1083. +       playable.setTarget(oldTarget);
  1084. +       playable.sendPacket(new SetupGauge(0, Config.SEGUNDS_SKILL_ANIMATION));
  1085. +       playable.setIsImmobileUntilAttacked(true);
  1086. +       if(Config.ALLOW_DRESS_ME_SYSTEM)
  1087. +       {
  1088. +           if(!(playable instanceof L2PcInstance))
  1089. +               return;
  1090. +           L2PcInstance activeChar = (L2PcInstance)playable;
  1091. +           RequestBypassToServer.setPart(activeChar, "helmet", Config.SKIN_NAME2);
  1092. +           RequestBypassToServer.setPart(activeChar, "chest", Config.SKIN_NAME2);
  1093. +           RequestBypassToServer.setPart(activeChar, "legs", Config.SKIN_NAME2);
  1094. +           RequestBypassToServer.setPart(activeChar, "gloves", Config.SKIN_NAME2);
  1095. +           RequestBypassToServer.setPart(activeChar, "boots", Config.SKIN_NAME2);
  1096. +          
  1097. +           if (activeChar.isDressMeEnabled())
  1098. +           {
  1099. +               activeChar.setDressMeEnabled(false);
  1100. +               activeChar.broadcastUserInfo();
  1101. +               activeChar.sendMessage("You have disabled skin.");
  1102. +              
  1103. +           }
  1104. +           else
  1105. +           {
  1106. +               activeChar.setDressMeEnabled(true);
  1107. +               activeChar.broadcastUserInfo();
  1108. +               activeChar.sendMessage("You have activated " + Config.NAME2 + " skin.");
  1109. +           }
  1110. +       }
  1111. +       else
  1112. +           playable.sendMessage("Sorry, admin has disabled skins.");
  1113. +   }
  1114. +  
  1115. +   @Override
  1116. +   public int[] getItemIds()
  1117. +   {
  1118. +       return ITEM_IDS;
  1119. +   }
  1120. +  
  1121. +   private static final int ITEM_IDS[] = {
  1122. +       Config.SKIN_ITEM_2
  1123. +   };
  1124. +}
  1125. \ No newline at end of file
  1126. diff --git a/head-src/com/l2jfrozen/gameserver/handler/itemhandlers/Skin3.java b/head-src/com/l2jfrozen/gameserver/handler/itemhandlers/Skin3.java
  1127. new file mode 100644
  1128. index 0000000..1ac31ab
  1129. --- /dev/null
  1130. +++ b/head-src/com/l2jfrozen/gameserver/handler/itemhandlers/Skin3.java
  1131. @@ -0,0 +1,72 @@
  1132. +package com.l2jfrozen.gameserver.handler.itemhandlers;
  1133. +
  1134. +import com.l2jfrozen.Config;
  1135. +import com.l2jfrozen.gameserver.handler.IItemHandler;
  1136. +import com.l2jfrozen.gameserver.model.L2Object;
  1137. +import com.l2jfrozen.gameserver.model.actor.instance.L2ItemInstance;
  1138. +import com.l2jfrozen.gameserver.model.actor.instance.L2PcInstance;
  1139. +import com.l2jfrozen.gameserver.model.actor.instance.L2PlayableInstance;
  1140. +import com.l2jfrozen.gameserver.network.clientpackets.RequestBypassToServer;
  1141. +import com.l2jfrozen.gameserver.network.serverpackets.MagicSkillUser;
  1142. +import com.l2jfrozen.gameserver.network.serverpackets.SetupGauge;
  1143. +import com.l2jfrozen.gameserver.thread.ThreadPoolManager;
  1144. +import com.l2jfrozen.gameserver.util.Broadcast;
  1145. +
  1146. +public class Skin3 implements IItemHandler
  1147. +{
  1148. +   @Override
  1149. +   public void useItem(final L2PlayableInstance playable, final L2ItemInstance item)
  1150. +   {
  1151. +       ThreadPoolManager.getInstance().scheduleGeneral(new Runnable()
  1152. +       {
  1153. +           @Override
  1154. +           public void run()
  1155. +           {
  1156. +               playable.setIsImmobileUntilAttacked(false);
  1157. +           }
  1158. +       }, Config.SEGUNDS_SKILL_ANIMATION);
  1159. +       final L2Object oldTarget = playable.getTarget();
  1160. +       playable.setTarget(playable);      
  1161. +       Broadcast.toSelfAndKnownPlayers(playable, new MagicSkillUser(playable, Config.SKILL_ID_SKIN3, 1, Config.SEGUNDS_SKILL_ANIMATION, 0));
  1162. +       playable.setTarget(oldTarget);
  1163. +       playable.sendPacket(new SetupGauge(0, Config.SEGUNDS_SKILL_ANIMATION));
  1164. +       playable.setIsImmobileUntilAttacked(true);
  1165. +       if(Config.ALLOW_DRESS_ME_SYSTEM)
  1166. +       {
  1167. +           if(!(playable instanceof L2PcInstance))
  1168. +               return;
  1169. +           L2PcInstance activeChar = (L2PcInstance)playable;
  1170. +           RequestBypassToServer.setPart(activeChar, "helmet", Config.SKIN_NAME3);
  1171. +           RequestBypassToServer.setPart(activeChar, "chest", Config.SKIN_NAME3);
  1172. +           RequestBypassToServer.setPart(activeChar, "legs", Config.SKIN_NAME3);
  1173. +           RequestBypassToServer.setPart(activeChar, "gloves", Config.SKIN_NAME3);
  1174. +           RequestBypassToServer.setPart(activeChar, "boots", Config.SKIN_NAME3);
  1175. +          
  1176. +           if (activeChar.isDressMeEnabled())
  1177. +           {
  1178. +               activeChar.setDressMeEnabled(false);
  1179. +               activeChar.broadcastUserInfo();
  1180. +               activeChar.sendMessage("You have disabled skin.");
  1181. +              
  1182. +           }
  1183. +           else
  1184. +           {
  1185. +               activeChar.setDressMeEnabled(true);
  1186. +               activeChar.broadcastUserInfo();
  1187. +               activeChar.sendMessage("You have activated " + Config.NAME3 + " skin.");
  1188. +           }
  1189. +       }
  1190. +       else
  1191. +           playable.sendMessage("Sorry, admin has disabled skins.");
  1192. +   }
  1193. +  
  1194. +   @Override
  1195. +   public int[] getItemIds()
  1196. +   {
  1197. +       return ITEM_IDS;
  1198. +   }
  1199. +  
  1200. +   private static final int ITEM_IDS[] = {
  1201. +       Config.SKIN_ITEM_3
  1202. +   };
  1203. +}
  1204. \ No newline at end of file
  1205. diff --git a/head-src/com/l2jfrozen/gameserver/handler/itemhandlers/Skin4.java b/head-src/com/l2jfrozen/gameserver/handler/itemhandlers/Skin4.java
  1206. new file mode 100644
  1207. index 0000000..4b43152
  1208. --- /dev/null
  1209. +++ b/head-src/com/l2jfrozen/gameserver/handler/itemhandlers/Skin4.java
  1210. @@ -0,0 +1,72 @@
  1211. +package com.l2jfrozen.gameserver.handler.itemhandlers;
  1212. +
  1213. +import com.l2jfrozen.Config;
  1214. +import com.l2jfrozen.gameserver.handler.IItemHandler;
  1215. +import com.l2jfrozen.gameserver.model.L2Object;
  1216. +import com.l2jfrozen.gameserver.model.actor.instance.L2ItemInstance;
  1217. +import com.l2jfrozen.gameserver.model.actor.instance.L2PcInstance;
  1218. +import com.l2jfrozen.gameserver.model.actor.instance.L2PlayableInstance;
  1219. +import com.l2jfrozen.gameserver.network.clientpackets.RequestBypassToServer;
  1220. +import com.l2jfrozen.gameserver.network.serverpackets.MagicSkillUser;
  1221. +import com.l2jfrozen.gameserver.network.serverpackets.SetupGauge;
  1222. +import com.l2jfrozen.gameserver.thread.ThreadPoolManager;
  1223. +import com.l2jfrozen.gameserver.util.Broadcast;
  1224. +
  1225. +public class Skin4 implements IItemHandler
  1226. +{
  1227. +   @Override
  1228. +   public void useItem(final L2PlayableInstance playable, final L2ItemInstance item)
  1229. +   {
  1230. +       ThreadPoolManager.getInstance().scheduleGeneral(new Runnable()
  1231. +       {
  1232. +           @Override
  1233. +           public void run()
  1234. +           {
  1235. +               playable.setIsImmobileUntilAttacked(false);
  1236. +           }
  1237. +       }, Config.SEGUNDS_SKILL_ANIMATION);
  1238. +       final L2Object oldTarget = playable.getTarget();
  1239. +       playable.setTarget(playable);      
  1240. +       Broadcast.toSelfAndKnownPlayers(playable, new MagicSkillUser(playable, Config.SKILL_ID_SKIN4, 1, Config.SEGUNDS_SKILL_ANIMATION, 0));
  1241. +       playable.setTarget(oldTarget);
  1242. +       playable.sendPacket(new SetupGauge(0, Config.SEGUNDS_SKILL_ANIMATION));
  1243. +       playable.setIsImmobileUntilAttacked(true);
  1244. +       if(Config.ALLOW_DRESS_ME_SYSTEM)
  1245. +       {
  1246. +           if(!(playable instanceof L2PcInstance))
  1247. +               return;
  1248. +           L2PcInstance activeChar = (L2PcInstance)playable;
  1249. +           RequestBypassToServer.setPart(activeChar, "helmet", Config.SKIN_NAME4);
  1250. +           RequestBypassToServer.setPart(activeChar, "chest", Config.SKIN_NAME4);
  1251. +           RequestBypassToServer.setPart(activeChar, "legs", Config.SKIN_NAME4);
  1252. +           RequestBypassToServer.setPart(activeChar, "gloves", Config.SKIN_NAME4);
  1253. +           RequestBypassToServer.setPart(activeChar, "boots", Config.SKIN_NAME4);
  1254. +          
  1255. +           if (activeChar.isDressMeEnabled())
  1256. +           {
  1257. +               activeChar.setDressMeEnabled(false);
  1258. +               activeChar.broadcastUserInfo();
  1259. +               activeChar.sendMessage("You have disabled skin.");
  1260. +              
  1261. +           }
  1262. +           else
  1263. +           {
  1264. +               activeChar.setDressMeEnabled(true);
  1265. +               activeChar.broadcastUserInfo();
  1266. +               activeChar.sendMessage("You have activated " + Config.NAME4 + " skin.");
  1267. +           }
  1268. +       }
  1269. +       else
  1270. +           playable.sendMessage("Sorry, admin has disabled skins.");
  1271. +   }
  1272. +  
  1273. +   @Override
  1274. +   public int[] getItemIds()
  1275. +   {
  1276. +       return ITEM_IDS;
  1277. +   }
  1278. +  
  1279. +   private static final int ITEM_IDS[] = {
  1280. +       Config.SKIN_ITEM_4
  1281. +   };
  1282. +}
  1283. \ No newline at end of file
  1284. diff --git a/head-src/com/l2jfrozen/gameserver/handler/itemhandlers/Skin5.java b/head-src/com/l2jfrozen/gameserver/handler/itemhandlers/Skin5.java
  1285. new file mode 100644
  1286. index 0000000..896d73d
  1287. --- /dev/null
  1288. +++ b/head-src/com/l2jfrozen/gameserver/handler/itemhandlers/Skin5.java
  1289. @@ -0,0 +1,72 @@
  1290. +package com.l2jfrozen.gameserver.handler.itemhandlers;
  1291. +
  1292. +import com.l2jfrozen.Config;
  1293. +import com.l2jfrozen.gameserver.handler.IItemHandler;
  1294. +import com.l2jfrozen.gameserver.model.L2Object;
  1295. +import com.l2jfrozen.gameserver.model.actor.instance.L2ItemInstance;
  1296. +import com.l2jfrozen.gameserver.model.actor.instance.L2PcInstance;
  1297. +import com.l2jfrozen.gameserver.model.actor.instance.L2PlayableInstance;
  1298. +import com.l2jfrozen.gameserver.network.clientpackets.RequestBypassToServer;
  1299. +import com.l2jfrozen.gameserver.network.serverpackets.MagicSkillUser;
  1300. +import com.l2jfrozen.gameserver.network.serverpackets.SetupGauge;
  1301. +import com.l2jfrozen.gameserver.thread.ThreadPoolManager;
  1302. +import com.l2jfrozen.gameserver.util.Broadcast;
  1303. +
  1304. +public class Skin5 implements IItemHandler
  1305. +{
  1306. +   @Override
  1307. +   public void useItem(final L2PlayableInstance playable, final L2ItemInstance item)
  1308. +   {
  1309. +       ThreadPoolManager.getInstance().scheduleGeneral(new Runnable()
  1310. +       {
  1311. +           @Override
  1312. +           public void run()
  1313. +           {
  1314. +               playable.setIsImmobileUntilAttacked(false);
  1315. +           }
  1316. +       }, Config.SEGUNDS_SKILL_ANIMATION);
  1317. +       final L2Object oldTarget = playable.getTarget();
  1318. +       playable.setTarget(playable);      
  1319. +       Broadcast.toSelfAndKnownPlayers(playable, new MagicSkillUser(playable, Config.SKILL_ID_SKIN5, 1, Config.SEGUNDS_SKILL_ANIMATION, 0));
  1320. +       playable.setTarget(oldTarget);
  1321. +       playable.sendPacket(new SetupGauge(0, Config.SEGUNDS_SKILL_ANIMATION));
  1322. +       playable.setIsImmobileUntilAttacked(true);
  1323. +       if(Config.ALLOW_DRESS_ME_SYSTEM)
  1324. +       {
  1325. +           if(!(playable instanceof L2PcInstance))
  1326. +               return;
  1327. +           L2PcInstance activeChar = (L2PcInstance)playable;
  1328. +           RequestBypassToServer.setPart(activeChar, "helmet", Config.SKIN_NAME5);
  1329. +           RequestBypassToServer.setPart(activeChar, "chest", Config.SKIN_NAME5);
  1330. +           RequestBypassToServer.setPart(activeChar, "legs", Config.SKIN_NAME5);
  1331. +           RequestBypassToServer.setPart(activeChar, "gloves", Config.SKIN_NAME5);
  1332. +           RequestBypassToServer.setPart(activeChar, "boots", Config.SKIN_NAME5);
  1333. +          
  1334. +           if (activeChar.isDressMeEnabled())
  1335. +           {
  1336. +               activeChar.setDressMeEnabled(false);
  1337. +               activeChar.broadcastUserInfo();
  1338. +               activeChar.sendMessage("You have disabled skin.");
  1339. +              
  1340. +           }
  1341. +           else
  1342. +           {
  1343. +               activeChar.setDressMeEnabled(true);
  1344. +               activeChar.broadcastUserInfo();
  1345. +               activeChar.sendMessage("You have activated " + Config.NAME5 + " skin.");
  1346. +           }
  1347. +       }
  1348. +       else
  1349. +           playable.sendMessage("Sorry, admin has disabled skins.");
  1350. +   }
  1351. +  
  1352. +   @Override
  1353. +   public int[] getItemIds()
  1354. +   {
  1355. +       return ITEM_IDS;
  1356. +   }
  1357. +  
  1358. +   private static final int ITEM_IDS[] = {
  1359. +       Config.SKIN_ITEM_5
  1360. +   };
  1361. +}
  1362. \ No newline at end of file
  1363. diff --git a/head-src/com/l2jfrozen/gameserver/handler/itemhandlers/Skin6.java b/head-src/com/l2jfrozen/gameserver/handler/itemhandlers/Skin6.java
  1364. new file mode 100644
  1365. index 0000000..4ed33eb
  1366. --- /dev/null
  1367. +++ b/head-src/com/l2jfrozen/gameserver/handler/itemhandlers/Skin6.java
  1368. @@ -0,0 +1,71 @@
  1369. +package com.l2jfrozen.gameserver.handler.itemhandlers;
  1370. +
  1371. +import com.l2jfrozen.Config;
  1372. +import com.l2jfrozen.gameserver.handler.IItemHandler;
  1373. +import com.l2jfrozen.gameserver.model.L2Object;
  1374. +import com.l2jfrozen.gameserver.model.actor.instance.L2ItemInstance;
  1375. +import com.l2jfrozen.gameserver.model.actor.instance.L2PcInstance;
  1376. +import com.l2jfrozen.gameserver.model.actor.instance.L2PlayableInstance;
  1377. +import com.l2jfrozen.gameserver.network.clientpackets.RequestBypassToServer;
  1378. +import com.l2jfrozen.gameserver.network.serverpackets.MagicSkillUser;
  1379. +import com.l2jfrozen.gameserver.network.serverpackets.SetupGauge;
  1380. +import com.l2jfrozen.gameserver.thread.ThreadPoolManager;
  1381. +import com.l2jfrozen.gameserver.util.Broadcast;
  1382. +
  1383. +public class Skin6 implements IItemHandler
  1384. +{
  1385. +   @Override
  1386. +   public void useItem(final L2PlayableInstance playable, final L2ItemInstance item)
  1387. +   {
  1388. +       ThreadPoolManager.getInstance().scheduleGeneral(new Runnable()
  1389. +       {
  1390. +           @Override
  1391. +           public void run()
  1392. +           {
  1393. +               playable.setIsImmobileUntilAttacked(false);
  1394. +           }
  1395. +       }, Config.SEGUNDS_SKILL_ANIMATION);
  1396. +       final L2Object oldTarget = playable.getTarget();
  1397. +       playable.setTarget(playable);      
  1398. +       Broadcast.toSelfAndKnownPlayers(playable, new MagicSkillUser(playable, Config.SKILL_ID_SKIN6, 1, Config.SEGUNDS_SKILL_ANIMATION, 0));
  1399. +       playable.setTarget(oldTarget);
  1400. +       playable.sendPacket(new SetupGauge(0, Config.SEGUNDS_SKILL_ANIMATION));
  1401. +       playable.setIsImmobileUntilAttacked(true);
  1402. +       if(Config.ALLOW_DRESS_ME_SYSTEM)
  1403. +       {
  1404. +           if(!(playable instanceof L2PcInstance))
  1405. +               return;
  1406. +           L2PcInstance activeChar = (L2PcInstance)playable;
  1407. +           RequestBypassToServer.setPart(activeChar, "helmet", Config.SKIN_NAME6);
  1408. +           RequestBypassToServer.setPart(activeChar, "chest", Config.SKIN_NAME6);
  1409. +           RequestBypassToServer.setPart(activeChar, "legs", Config.SKIN_NAME6);
  1410. +           RequestBypassToServer.setPart(activeChar, "gloves", Config.SKIN_NAME6);
  1411. +           RequestBypassToServer.setPart(activeChar, "boots", Config.SKIN_NAME6);
  1412. +          
  1413. +           if (activeChar.isDressMeEnabled())
  1414. +           {
  1415. +               activeChar.setDressMeEnabled(false);
  1416. +               activeChar.broadcastUserInfo();
  1417. +               activeChar.sendMessage("You have disabled skin.");
  1418. +           }
  1419. +           else
  1420. +           {
  1421. +               activeChar.setDressMeEnabled(true);
  1422. +               activeChar.broadcastUserInfo();
  1423. +               activeChar.sendMessage("You have activated " + Config.NAME6 + " skin.");
  1424. +           }
  1425. +       }
  1426. +       else
  1427. +           playable.sendMessage("Sorry, admin has disabled skins.");
  1428. +   }
  1429. +  
  1430. +   @Override
  1431. +   public int[] getItemIds()
  1432. +   {
  1433. +       return ITEM_IDS;
  1434. +   }
  1435. +  
  1436. +   private static final int ITEM_IDS[] = {
  1437. +       Config.SKIN_ITEM_6
  1438. +   };
  1439. +}
  1440. \ No newline at end of file
  1441. diff --git a/head-src/com/l2jfrozen/gameserver/handler/itemhandlers/Skin7.java b/head-src/com/l2jfrozen/gameserver/handler/itemhandlers/Skin7.java
  1442. new file mode 100644
  1443. index 0000000..9d40c21
  1444. --- /dev/null
  1445. +++ b/head-src/com/l2jfrozen/gameserver/handler/itemhandlers/Skin7.java
  1446. @@ -0,0 +1,71 @@
  1447. +package com.l2jfrozen.gameserver.handler.itemhandlers;
  1448. +
  1449. +import com.l2jfrozen.Config;
  1450. +import com.l2jfrozen.gameserver.handler.IItemHandler;
  1451. +import com.l2jfrozen.gameserver.model.L2Object;
  1452. +import com.l2jfrozen.gameserver.model.actor.instance.L2ItemInstance;
  1453. +import com.l2jfrozen.gameserver.model.actor.instance.L2PcInstance;
  1454. +import com.l2jfrozen.gameserver.model.actor.instance.L2PlayableInstance;
  1455. +import com.l2jfrozen.gameserver.network.clientpackets.RequestBypassToServer;
  1456. +import com.l2jfrozen.gameserver.network.serverpackets.MagicSkillUser;
  1457. +import com.l2jfrozen.gameserver.network.serverpackets.SetupGauge;
  1458. +import com.l2jfrozen.gameserver.thread.ThreadPoolManager;
  1459. +import com.l2jfrozen.gameserver.util.Broadcast;
  1460. +
  1461. +public class Skin7 implements IItemHandler
  1462. +{
  1463. +   @Override
  1464. +   public void useItem(final L2PlayableInstance playable, final L2ItemInstance item)
  1465. +   {
  1466. +       ThreadPoolManager.getInstance().scheduleGeneral(new Runnable()
  1467. +       {
  1468. +           @Override
  1469. +           public void run()
  1470. +           {
  1471. +               playable.setIsImmobileUntilAttacked(false);
  1472. +           }
  1473. +       }, Config.SEGUNDS_SKILL_ANIMATION);
  1474. +       final L2Object oldTarget = playable.getTarget();
  1475. +       playable.setTarget(playable);      
  1476. +       Broadcast.toSelfAndKnownPlayers(playable, new MagicSkillUser(playable, Config.SKILL_ID_SKIN7, 1, Config.SEGUNDS_SKILL_ANIMATION, 0));
  1477. +       playable.setTarget(oldTarget);
  1478. +       playable.sendPacket(new SetupGauge(0, Config.SEGUNDS_SKILL_ANIMATION));
  1479. +       playable.setIsImmobileUntilAttacked(true);
  1480. +       if(Config.ALLOW_DRESS_ME_SYSTEM)
  1481. +       {
  1482. +           if(!(playable instanceof L2PcInstance))
  1483. +               return;
  1484. +           L2PcInstance activeChar = (L2PcInstance)playable;
  1485. +           RequestBypassToServer.setPart(activeChar, "helmet", Config.SKIN_NAME7);
  1486. +           RequestBypassToServer.setPart(activeChar, "chest", Config.SKIN_NAME7);
  1487. +           RequestBypassToServer.setPart(activeChar, "legs", Config.SKIN_NAME7);
  1488. +           RequestBypassToServer.setPart(activeChar, "gloves", Config.SKIN_NAME7);
  1489. +           RequestBypassToServer.setPart(activeChar, "boots", Config.SKIN_NAME7);
  1490. +          
  1491. +           if (activeChar.isDressMeEnabled())
  1492. +           {
  1493. +               activeChar.setDressMeEnabled(false);
  1494. +               activeChar.broadcastUserInfo();
  1495. +               activeChar.sendMessage("You have disabled skin.");
  1496. +           }
  1497. +           else
  1498. +           {
  1499. +               activeChar.setDressMeEnabled(true);
  1500. +               activeChar.broadcastUserInfo();
  1501. +               activeChar.sendMessage("You have activated " + Config.NAME7 + " skin.");
  1502. +           }
  1503. +       }
  1504. +       else
  1505. +           playable.sendMessage("Sorry, admin has disabled skins.");
  1506. +   }
  1507. +  
  1508. +   @Override
  1509. +   public int[] getItemIds()
  1510. +   {
  1511. +       return ITEM_IDS;
  1512. +   }
  1513. +  
  1514. +   private static final int ITEM_IDS[] = {
  1515. +       Config.SKIN_ITEM_7
  1516. +   };
  1517. +}
  1518. \ No newline at end of file
  1519. diff --git a/head-src/com/l2jfrozen/gameserver/handler/itemhandlers/Skin8.java b/head-src/com/l2jfrozen/gameserver/handler/itemhandlers/Skin8.java
  1520. new file mode 100644
  1521. index 0000000..d85c549
  1522. --- /dev/null
  1523. +++ b/head-src/com/l2jfrozen/gameserver/handler/itemhandlers/Skin8.java
  1524. @@ -0,0 +1,72 @@
  1525. +package com.l2jfrozen.gameserver.handler.itemhandlers;
  1526. +
  1527. +import com.l2jfrozen.Config;
  1528. +import com.l2jfrozen.gameserver.handler.IItemHandler;
  1529. +import com.l2jfrozen.gameserver.model.L2Object;
  1530. +import com.l2jfrozen.gameserver.model.actor.instance.L2ItemInstance;
  1531. +import com.l2jfrozen.gameserver.model.actor.instance.L2PcInstance;
  1532. +import com.l2jfrozen.gameserver.model.actor.instance.L2PlayableInstance;
  1533. +import com.l2jfrozen.gameserver.network.clientpackets.RequestBypassToServer;
  1534. +import com.l2jfrozen.gameserver.network.serverpackets.MagicSkillUser;
  1535. +import com.l2jfrozen.gameserver.network.serverpackets.SetupGauge;
  1536. +import com.l2jfrozen.gameserver.thread.ThreadPoolManager;
  1537. +import com.l2jfrozen.gameserver.util.Broadcast;
  1538. +
  1539. +public class Skin8 implements IItemHandler
  1540. +{
  1541. +   @Override
  1542. +   public void useItem(final L2PlayableInstance playable, final L2ItemInstance item)
  1543. +   {
  1544. +       ThreadPoolManager.getInstance().scheduleGeneral(new Runnable()
  1545. +       {
  1546. +           @Override
  1547. +           public void run()
  1548. +           {
  1549. +               playable.setIsImmobileUntilAttacked(false);
  1550. +           }
  1551. +       }, Config.SEGUNDS_SKILL_ANIMATION);
  1552. +       final L2Object oldTarget = playable.getTarget();
  1553. +       playable.setTarget(playable);
  1554. +       Broadcast.toSelfAndKnownPlayers(playable, new MagicSkillUser(playable, Config.SKILL_ID_SKIN8, 1, Config.SEGUNDS_SKILL_ANIMATION, 0));
  1555. +       playable.setTarget(oldTarget);
  1556. +       playable.sendPacket(new SetupGauge(0, Config.SEGUNDS_SKILL_ANIMATION));
  1557. +       playable.setIsImmobileUntilAttacked(true);
  1558. +       if (Config.ALLOW_DRESS_ME_SYSTEM)
  1559. +       {
  1560. +           if (!(playable instanceof L2PcInstance))
  1561. +               return;
  1562. +           L2PcInstance activeChar = (L2PcInstance) playable;
  1563. +           RequestBypassToServer.setPart(activeChar, "helmet", Config.SKIN_NAME8);
  1564. +           RequestBypassToServer.setPart(activeChar, "chest", Config.SKIN_NAME8);
  1565. +           RequestBypassToServer.setPart(activeChar, "legs", Config.SKIN_NAME8);
  1566. +           RequestBypassToServer.setPart(activeChar, "gloves", Config.SKIN_NAME8);
  1567. +           RequestBypassToServer.setPart(activeChar, "boots", Config.SKIN_NAME8);
  1568. +          
  1569. +           if (activeChar.isDressMeEnabled())
  1570. +           {
  1571. +               activeChar.setDressMeEnabled(false);
  1572. +               activeChar.broadcastUserInfo();
  1573. +               activeChar.sendMessage("You have disabled skin.");
  1574. +           }
  1575. +           else
  1576. +           {
  1577. +               activeChar.setDressMeEnabled(true);
  1578. +               activeChar.broadcastUserInfo();
  1579. +               activeChar.sendMessage("You have activated " + Config.NAME8 + " skin.");
  1580. +           }
  1581. +       }
  1582. +       else
  1583. +           playable.sendMessage("Sorry, admin has disabled skins.");
  1584. +   }
  1585. +  
  1586. +   @Override
  1587. +   public int[] getItemIds()
  1588. +   {
  1589. +       return ITEM_IDS;
  1590. +   }
  1591. +  
  1592. +   private static final int ITEM_IDS[] =
  1593. +   {
  1594. +       Config.SKIN_ITEM_8
  1595. +   };
  1596. +}
  1597. \ No newline at end of file
  1598. diff --git a/head-src/com/l2jfrozen/gameserver/handler/itemhandlers/Skin9.java b/head-src/com/l2jfrozen/gameserver/handler/itemhandlers/Skin9.java
  1599. new file mode 100644
  1600. index 0000000..3bd6819
  1601. --- /dev/null
  1602. +++ b/head-src/com/l2jfrozen/gameserver/handler/itemhandlers/Skin9.java
  1603. @@ -0,0 +1,71 @@
  1604. +package com.l2jfrozen.gameserver.handler.itemhandlers;
  1605. +
  1606. +import com.l2jfrozen.Config;
  1607. +import com.l2jfrozen.gameserver.handler.IItemHandler;
  1608. +import com.l2jfrozen.gameserver.model.L2Object;
  1609. +import com.l2jfrozen.gameserver.model.actor.instance.L2ItemInstance;
  1610. +import com.l2jfrozen.gameserver.model.actor.instance.L2PcInstance;
  1611. +import com.l2jfrozen.gameserver.model.actor.instance.L2PlayableInstance;
  1612. +import com.l2jfrozen.gameserver.network.clientpackets.RequestBypassToServer;
  1613. +import com.l2jfrozen.gameserver.network.serverpackets.MagicSkillUser;
  1614. +import com.l2jfrozen.gameserver.network.serverpackets.SetupGauge;
  1615. +import com.l2jfrozen.gameserver.thread.ThreadPoolManager;
  1616. +import com.l2jfrozen.gameserver.util.Broadcast;
  1617. +
  1618. +public class Skin9 implements IItemHandler
  1619. +{
  1620. +   @Override
  1621. +   public void useItem(final L2PlayableInstance playable, final L2ItemInstance item)
  1622. +   {
  1623. +       ThreadPoolManager.getInstance().scheduleGeneral(new Runnable()
  1624. +       {
  1625. +           @Override
  1626. +           public void run()
  1627. +           {
  1628. +               playable.setIsImmobileUntilAttacked(false);
  1629. +           }
  1630. +       }, Config.SEGUNDS_SKILL_ANIMATION);
  1631. +       final L2Object oldTarget = playable.getTarget();
  1632. +       playable.setTarget(playable);      
  1633. +       Broadcast.toSelfAndKnownPlayers(playable, new MagicSkillUser(playable, Config.SKILL_ID_SKIN9, 1, Config.SEGUNDS_SKILL_ANIMATION, 0));
  1634. +       playable.setTarget(oldTarget);
  1635. +       playable.sendPacket(new SetupGauge(0, Config.SEGUNDS_SKILL_ANIMATION));
  1636. +       playable.setIsImmobileUntilAttacked(true);
  1637. +       if(Config.ALLOW_DRESS_ME_SYSTEM)
  1638. +       {
  1639. +           if(!(playable instanceof L2PcInstance))
  1640. +               return;
  1641. +           L2PcInstance activeChar = (L2PcInstance)playable;
  1642. +           RequestBypassToServer.setPart(activeChar, "helmet", Config.SKIN_NAME9);
  1643. +           RequestBypassToServer.setPart(activeChar, "chest", Config.SKIN_NAME9);
  1644. +           RequestBypassToServer.setPart(activeChar, "legs", Config.SKIN_NAME9);
  1645. +           RequestBypassToServer.setPart(activeChar, "gloves", Config.SKIN_NAME9);
  1646. +           RequestBypassToServer.setPart(activeChar, "boots", Config.SKIN_NAME9);
  1647. +          
  1648. +           if (activeChar.isDressMeEnabled())
  1649. +           {
  1650. +               activeChar.setDressMeEnabled(false);
  1651. +               activeChar.broadcastUserInfo();
  1652. +               activeChar.sendMessage("You have disabled skin.");
  1653. +           }
  1654. +           else
  1655. +           {
  1656. +               activeChar.setDressMeEnabled(true);
  1657. +               activeChar.broadcastUserInfo();
  1658. +               activeChar.sendMessage("You have activated " + Config.NAME9 + " skin.");
  1659. +           }
  1660. +       }
  1661. +       else
  1662. +           playable.sendMessage("Sorry, admin has disabled skins.");
  1663. +   }
  1664. +  
  1665. +   @Override
  1666. +   public int[] getItemIds()
  1667. +   {
  1668. +       return ITEM_IDS;
  1669. +   }
  1670. +  
  1671. +   private static final int ITEM_IDS[] = {
  1672. +       Config.SKIN_ITEM_9
  1673. +   };
  1674. +}
  1675. \ No newline at end of file
  1676. diff --git a/head-src/com/l2jfrozen/gameserver/managers/DressMeData.java b/head-src/com/l2jfrozen/gameserver/managers/DressMeData.java
  1677. new file mode 100644
  1678. index 0000000..04e6dce
  1679. --- /dev/null
  1680. +++ b/head-src/com/l2jfrozen/gameserver/managers/DressMeData.java
  1681. @@ -0,0 +1,81 @@
  1682. +package com.l2jfrozen.gameserver.managers;
  1683. +
  1684. +public class DressMeData
  1685. +{
  1686. +   private int chestId,
  1687. +   helmetId,
  1688. +   legsId,
  1689. +   glovesId,
  1690. +   feetId,
  1691. +   weapId;
  1692. +  
  1693. +   public DressMeData()
  1694. +   {
  1695. +       helmetId = 0;
  1696. +       chestId = 0;
  1697. +       legsId = 0;
  1698. +       glovesId = 0;
  1699. +       feetId = 0;
  1700. +       weapId = 0;
  1701. +   }
  1702. +  
  1703. +   public int getHelmetId()
  1704. +   {
  1705. +       return helmetId;
  1706. +   }
  1707. +  
  1708. +   public int getChestId()
  1709. +   {
  1710. +       return chestId;
  1711. +   }
  1712. +  
  1713. +   public int getLegsId()
  1714. +   {
  1715. +       return legsId;
  1716. +   }
  1717. +  
  1718. +   public int getGlovesId()
  1719. +   {
  1720. +       return glovesId;
  1721. +   }
  1722. +  
  1723. +   public int getBootsId()
  1724. +   {
  1725. +       return feetId;
  1726. +   }
  1727. +  
  1728. +   public int getWeapId()
  1729. +   {
  1730. +       return weapId;
  1731. +   }
  1732. +  
  1733. +   public void setHelmetId(int val)
  1734. +   {
  1735. +       helmetId = val;
  1736. +   }
  1737. +  
  1738. +   public void setChestId(int val)
  1739. +   {
  1740. +       chestId = val;
  1741. +   }
  1742. +  
  1743. +   public void setLegsId(int val)
  1744. +   {
  1745. +       legsId = val;
  1746. +   }
  1747. +  
  1748. +   public void setGlovesId(int val)
  1749. +   {
  1750. +       glovesId = val;
  1751. +   }
  1752. +  
  1753. +   public void setBootsId(int val)
  1754. +   {
  1755. +       feetId = val;
  1756. +   }
  1757. +  
  1758. +   public void setWeapId(int val)
  1759. +   {
  1760. +       weapId = val;
  1761. +   }
  1762. +}
  1763. \ No newline at end of file
  1764. diff --git a/head-src/com/l2jfrozen/gameserver/model/L2Character.java b/head-src/com/l2jfrozen/gameserver/model/L2Character.java
  1765. index fc1cf18..19ffb4b 100644
  1766. --- a/head-src/com/l2jfrozen/gameserver/model/L2Character.java
  1767. +++ b/head-src/com/l2jfrozen/gameserver/model/L2Character.java
  1768. @@ -10956,7 +10956,17 @@
  1769.     {
  1770.         _isAttackDisabled = value;
  1771.     }
  1772. -  
  1773. +   /**
  1774. +    * <B><U> Overridden in </U> :</B><BR>
  1775. +    * <BR>
  1776. +    * <li>Player</li><BR>
  1777. +    * <BR>
  1778. +    * @param text The string to send.
  1779. +    */
  1780. +   public void sendMessage(String text)
  1781. +   {
  1782. +       // default implementation
  1783. +   }
  1784.     /*
  1785.      * AI not. Task
  1786.      */
  1787. diff --git a/head-src/com/l2jfrozen/gameserver/model/actor/instance/L2PcInstance.java b/head-src/com/l2jfrozen/gameserver/model/actor/instance/L2PcInstance.java
  1788. index 223b046..b318417 100644
  1789. --- a/head-src/com/l2jfrozen/gameserver/model/actor/instance/L2PcInstance.java
  1790. +++ b/head-src/com/l2jfrozen/gameserver/model/actor/instance/L2PcInstance.java
  1791. @@ -88,6 +88,7 @@
  1792.  import com.l2jfrozen.gameserver.managers.CoupleManager;
  1793.  import com.l2jfrozen.gameserver.managers.CursedWeaponsManager;
  1794.  import com.l2jfrozen.gameserver.managers.DimensionalRiftManager;
  1795. +import com.l2jfrozen.gameserver.managers.DressMeData;
  1796.  import com.l2jfrozen.gameserver.managers.DuelManager;
  1797.  import com.l2jfrozen.gameserver.managers.FortSiegeManager;
  1798.  import com.l2jfrozen.gameserver.managers.ItemsOnGroundManager;
  1799. @@ -19485,7 +19486,27 @@
  1800.         sendMessage("========================");
  1801.        
  1802.     }
  1803. +   private DressMeData _dressmedata = null;
  1804. +   private boolean _dressed = false;
  1805. +   public DressMeData getDressMeData()
  1806. +   {
  1807. +       return _dressmedata;
  1808. +   }
  1809.    
  1810. +   public void setDressMeData(DressMeData val)
  1811. +   {
  1812. +       _dressmedata = val;
  1813. +   }
  1814. +  
  1815. +   public boolean isDressMeEnabled()
  1816. +   {
  1817. +       return _dressed;
  1818. +   }
  1819. +  
  1820. +   public void setDressMeEnabled(boolean val)
  1821. +   {
  1822. +       _dressed = val;
  1823. +   }
  1824.     public long getLastAttackPacket()
  1825.     {
  1826.         return _lastAttackPacket;
  1827. diff --git a/head-src/com/l2jfrozen/gameserver/network/clientpackets/RequestBypassToServer.java b/head-src/com/l2jfrozen/gameserver/network/clientpackets/RequestBypassToServer.java
  1828. index 921c087..0ca34f7 100644
  1829. --- a/head-src/com/l2jfrozen/gameserver/network/clientpackets/RequestBypassToServer.java
  1830. +++ b/head-src/com/l2jfrozen/gameserver/network/clientpackets/RequestBypassToServer.java
  1831. @@ -29,6 +29,8 @@
  1832.  import com.l2jfrozen.gameserver.handler.AdminCommandHandler;
  1833.  import com.l2jfrozen.gameserver.handler.IAdminCommandHandler;
  1834.  import com.l2jfrozen.gameserver.handler.custom.CustomBypassHandler;
  1835. +import com.l2jfrozen.gameserver.managers.DressMeData;
  1836. +import com.l2jfrozen.gameserver.model.Inventory;
  1837.  import com.l2jfrozen.gameserver.model.L2Object;
  1838.  import com.l2jfrozen.gameserver.model.L2World;
  1839.  import com.l2jfrozen.gameserver.model.actor.instance.L2ClassMasterInstance;
  1840. @@ -331,7 +333,201 @@
  1841.         // activeChar.clearBypass();
  1842.         // }
  1843.     }
  1844. -  
  1845. +   public static void setPart(L2PcInstance p, String part, String type)
  1846. +   {
  1847. +       if (p.getDressMeData() == null)
  1848. +       {
  1849. +           DressMeData dmd = new DressMeData();
  1850. +           p.setDressMeData(dmd);
  1851. +       }
  1852. +      
  1853. +       switch (part)
  1854. +       {
  1855. +          
  1856. +           case "helmet":
  1857. +           {
  1858. +               if (Config.DRESS_ME_HELMET.keySet().contains(type))
  1859. +               {
  1860. +                   p.getDressMeData().setHelmetId(Config.DRESS_ME_HELMET.get(type));
  1861. +               }
  1862. +              
  1863. +               break;
  1864. +           }
  1865. +          
  1866. +          
  1867. +           case "chest":
  1868. +           {
  1869. +               if (Config.DRESS_ME_CHESTS.keySet().contains(type))
  1870. +               {
  1871. +                   p.getDressMeData().setChestId(Config.DRESS_ME_CHESTS.get(type));
  1872. +               }
  1873. +              
  1874. +               break;
  1875. +           }
  1876. +           case "legs":
  1877. +           {
  1878. +               if (Config.DRESS_ME_LEGS.keySet().contains(type))
  1879. +               {
  1880. +                   p.getDressMeData().setLegsId(Config.DRESS_ME_LEGS.get(type));
  1881. +               }
  1882. +              
  1883. +               break;
  1884. +           }
  1885. +           case "gloves":
  1886. +           {
  1887. +               if (Config.DRESS_ME_GLOVES.keySet().contains(type))
  1888. +               {
  1889. +                   p.getDressMeData().setGlovesId(Config.DRESS_ME_GLOVES.get(type));
  1890. +               }
  1891. +              
  1892. +               break;
  1893. +           }
  1894. +           case "boots":
  1895. +           {
  1896. +               if (Config.DRESS_ME_BOOTS.keySet().contains(type))
  1897. +               {
  1898. +                   p.getDressMeData().setBootsId(Config.DRESS_ME_BOOTS.get(type));
  1899. +               }
  1900. +              
  1901. +               break;
  1902. +           }
  1903. +          
  1904. +       }
  1905. +      
  1906. +       p.broadcastUserInfo();
  1907. +       //      sendEditWindow(p, part);
  1908. +   }
  1909. +   public static void stealTarget(L2PcInstance p, String part)
  1910. +   {
  1911. +       if (p.getTarget() == null || !(p.getTarget() instanceof L2PcInstance))
  1912. +       {
  1913. +           p.sendMessage("Invalid target.");
  1914. +           return;
  1915. +       }
  1916. +      
  1917. +       L2PcInstance t = (L2PcInstance)p.getTarget();
  1918. +      
  1919. +       if (p.getDressMeData() == null)
  1920. +       {
  1921. +           DressMeData dmd = new DressMeData();
  1922. +           p.setDressMeData(dmd);
  1923. +       }
  1924. +      
  1925. +      
  1926. +       switch (part)
  1927. +       {
  1928. +           case "helmet":
  1929. +           {
  1930. +               if (t.getInventory().getPaperdollItem(Inventory.PAPERDOLL_FACE) == null)
  1931. +               {
  1932. +                   p.getDressMeData().setHelmetId(0);
  1933. +               }
  1934. +               else
  1935. +               {
  1936. +                   p.getDressMeData().setHelmetId(t.getInventory().getPaperdollItem(Inventory.PAPERDOLL_FACE).getItemId());
  1937. +               }
  1938. +               break;
  1939. +           }
  1940. +          
  1941. +           case "chest":
  1942. +           {
  1943. +               if (t.getInventory().getPaperdollItem(Inventory.PAPERDOLL_CHEST) == null)
  1944. +               {
  1945. +                   p.getDressMeData().setChestId(0);
  1946. +               }
  1947. +               else
  1948. +               {
  1949. +                   p.getDressMeData().setChestId(t.getInventory().getPaperdollItem(Inventory.PAPERDOLL_CHEST).getItemId());
  1950. +               }
  1951. +               break;
  1952. +           }
  1953. +           case "legs":
  1954. +           {
  1955. +               if (t.getInventory().getPaperdollItem(Inventory.PAPERDOLL_LEGS) == null)
  1956. +               {
  1957. +                   p.getDressMeData().setLegsId(0);
  1958. +               }
  1959. +               else
  1960. +               {
  1961. +                   p.getDressMeData().setLegsId(t.getInventory().getPaperdollItem(Inventory.PAPERDOLL_LEGS).getItemId());
  1962. +               }
  1963. +               break;
  1964. +           }
  1965. +           case "gloves":
  1966. +           {
  1967. +               if (t.getInventory().getPaperdollItem(Inventory.PAPERDOLL_GLOVES) == null)
  1968. +               {
  1969. +                   p.getDressMeData().setGlovesId(0);
  1970. +               }
  1971. +               else
  1972. +               {
  1973. +                   p.getDressMeData().setGlovesId(t.getInventory().getPaperdollItem(Inventory.PAPERDOLL_GLOVES).getItemId());
  1974. +               }
  1975. +               break;
  1976. +           }
  1977. +           case "boots":
  1978. +           {
  1979. +               if (t.getInventory().getPaperdollItem(Inventory.PAPERDOLL_FEET) == null)
  1980. +               {
  1981. +                   p.getDressMeData().setBootsId(0);
  1982. +               }
  1983. +               else
  1984. +               {
  1985. +                   p.getDressMeData().setBootsId(t.getInventory().getPaperdollItem(Inventory.PAPERDOLL_FEET).getItemId());
  1986. +               }
  1987. +               break;
  1988. +           }
  1989. +           case "all":
  1990. +           {
  1991. +              
  1992. +               if (t.getInventory().getPaperdollItem(Inventory.PAPERDOLL_FACE) == null)
  1993. +               {
  1994. +                   p.getDressMeData().setHelmetId(0);
  1995. +               }
  1996. +               else
  1997. +               {
  1998. +                   p.getDressMeData().setHelmetId(t.getInventory().getPaperdollItem(Inventory.PAPERDOLL_FACE).getItemId());
  1999. +               }
  2000. +              
  2001. +               if (t.getInventory().getPaperdollItem(Inventory.PAPERDOLL_CHEST) == null)
  2002. +               {
  2003. +                   p.getDressMeData().setChestId(0);
  2004. +               }
  2005. +               else
  2006. +               {
  2007. +                   p.getDressMeData().setChestId(t.getInventory().getPaperdollItem(Inventory.PAPERDOLL_CHEST).getItemId());
  2008. +               }
  2009. +               if (t.getInventory().getPaperdollItem(Inventory.PAPERDOLL_LEGS) == null)
  2010. +               {
  2011. +                   p.getDressMeData().setLegsId(0);
  2012. +               }
  2013. +               else
  2014. +               {
  2015. +                   p.getDressMeData().setLegsId(t.getInventory().getPaperdollItem(Inventory.PAPERDOLL_LEGS).getItemId());
  2016. +               }
  2017. +               if (t.getInventory().getPaperdollItem(Inventory.PAPERDOLL_GLOVES) == null)
  2018. +               {
  2019. +                   p.getDressMeData().setGlovesId(0);
  2020. +               }
  2021. +               else
  2022. +               {
  2023. +                   p.getDressMeData().setGlovesId(t.getInventory().getPaperdollItem(Inventory.PAPERDOLL_GLOVES).getItemId());
  2024. +               }
  2025. +               if (t.getInventory().getPaperdollItem(Inventory.PAPERDOLL_FEET) == null)
  2026. +               {
  2027. +                   p.getDressMeData().setBootsId(0);
  2028. +               }
  2029. +               else
  2030. +               {
  2031. +                   p.getDressMeData().setBootsId(t.getInventory().getPaperdollItem(Inventory.PAPERDOLL_FEET).getItemId());
  2032. +               }
  2033. +              
  2034. +               break;
  2035. +           }
  2036. +       }
  2037. +      
  2038. +       p.broadcastUserInfo();
  2039. +   }
  2040.     /**
  2041.      * @param activeChar
  2042.      */
  2043. diff --git a/head-src/com/l2jfrozen/gameserver/network/serverpackets/CharInfo.java b/head-src/com/l2jfrozen/gameserver/network/serverpackets/CharInfo.java
  2044. index 840eff9..1550b8f 100644
  2045. --- a/head-src/com/l2jfrozen/gameserver/network/serverpackets/CharInfo.java
  2046. +++ b/head-src/com/l2jfrozen/gameserver/network/serverpackets/CharInfo.java
  2047. @@ -230,18 +230,37 @@
  2048.                 writeD(_activeChar.getBaseClass());
  2049.             }
  2050.            
  2051. -           writeD(_inv.getPaperdollItemId(Inventory.PAPERDOLL_DHAIR));
  2052. -           writeD(_inv.getPaperdollItemId(Inventory.PAPERDOLL_HEAD));
  2053. -           writeD(_inv.getPaperdollItemId(Inventory.PAPERDOLL_RHAND));
  2054. -           writeD(_inv.getPaperdollItemId(Inventory.PAPERDOLL_LHAND));
  2055. -           writeD(_inv.getPaperdollItemId(Inventory.PAPERDOLL_GLOVES));
  2056. -           writeD(_inv.getPaperdollItemId(Inventory.PAPERDOLL_CHEST));
  2057. -           writeD(_inv.getPaperdollItemId(Inventory.PAPERDOLL_LEGS));
  2058. -           writeD(_inv.getPaperdollItemId(Inventory.PAPERDOLL_FEET));
  2059. -           writeD(_inv.getPaperdollItemId(Inventory.PAPERDOLL_BACK));
  2060. -           writeD(_inv.getPaperdollItemId(Inventory.PAPERDOLL_LRHAND));
  2061. -           writeD(_inv.getPaperdollItemId(Inventory.PAPERDOLL_HAIR));
  2062. -           writeD(_inv.getPaperdollItemId(Inventory.PAPERDOLL_FACE));
  2063. +           if (!_activeChar.isDressMeEnabled())
  2064. +           {
  2065. +               writeD(_inv.getPaperdollItemId(Inventory.PAPERDOLL_DHAIR));
  2066. +               writeD(_inv.getPaperdollItemId(Inventory.PAPERDOLL_HEAD));
  2067. +               writeD(_inv.getPaperdollItemId(Inventory.PAPERDOLL_RHAND));
  2068. +               writeD(_inv.getPaperdollItemId(Inventory.PAPERDOLL_LHAND));
  2069. +               writeD(_inv.getPaperdollItemId(Inventory.PAPERDOLL_GLOVES));
  2070. +               writeD(_inv.getPaperdollItemId(Inventory.PAPERDOLL_CHEST));
  2071. +               writeD(_inv.getPaperdollItemId(Inventory.PAPERDOLL_LEGS));
  2072. +               writeD(_inv.getPaperdollItemId(Inventory.PAPERDOLL_FEET));
  2073. +               writeD(_inv.getPaperdollItemId(Inventory.PAPERDOLL_BACK));
  2074. +               writeD(_inv.getPaperdollItemId(Inventory.PAPERDOLL_LRHAND));
  2075. +               writeD(_inv.getPaperdollItemId(Inventory.PAPERDOLL_HAIR));
  2076. +               writeD(_inv.getPaperdollItemId(Inventory.PAPERDOLL_FACE));
  2077. +           }
  2078. +           else
  2079. +           {
  2080. +              
  2081. +               writeD(_inv.getPaperdollObjectId(Inventory.PAPERDOLL_DHAIR));
  2082. +               writeD(_inv.getPaperdollItemId(Inventory.PAPERDOLL_HEAD));
  2083. +               writeD(_inv.getPaperdollItemId(Inventory.PAPERDOLL_RHAND));
  2084. +               writeD(_inv.getPaperdollItemId(Inventory.PAPERDOLL_LHAND));
  2085. +               writeD(_activeChar.getDressMeData() == null ? _activeChar.getInventory().getPaperdollItemId(Inventory.PAPERDOLL_GLOVES) : (_activeChar.getDressMeData().getGlovesId() == 0 ? _activeChar.getInventory().getPaperdollItemId(Inventory.PAPERDOLL_GLOVES) : _activeChar.getDressMeData().getGlovesId()));
  2086. +               writeD(_activeChar.getDressMeData() == null ? _activeChar.getInventory().getPaperdollItemId(Inventory.PAPERDOLL_CHEST) : (_activeChar.getDressMeData().getChestId() == 0 ? _activeChar.getInventory().getPaperdollItemId(Inventory.PAPERDOLL_CHEST) : _activeChar.getDressMeData().getChestId()));
  2087. +               writeD(_activeChar.getDressMeData() == null ? _activeChar.getInventory().getPaperdollItemId(Inventory.PAPERDOLL_LEGS) : (_activeChar.getDressMeData().getLegsId() == 0 ? _activeChar.getInventory().getPaperdollItemId(Inventory.PAPERDOLL_LEGS) : _activeChar.getDressMeData().getLegsId()));
  2088. +               writeD(_activeChar.getDressMeData() == null ? _activeChar.getInventory().getPaperdollItemId(Inventory.PAPERDOLL_FEET) : (_activeChar.getDressMeData().getBootsId() == 0 ? _activeChar.getInventory().getPaperdollItemId(Inventory.PAPERDOLL_FEET) : _activeChar.getDressMeData().getBootsId()));
  2089. +               writeD(_inv.getPaperdollItemId(Inventory.PAPERDOLL_BACK));
  2090. +               writeD(_inv.getPaperdollItemId(Inventory.PAPERDOLL_RHAND));
  2091. +               writeD(_activeChar.getDressMeData() == null ? _activeChar.getInventory().getPaperdollItemId(Inventory.PAPERDOLL_FACE) : (_activeChar.getDressMeData().getHelmetId() == 0 ? _activeChar.getInventory().getPaperdollItemId(Inventory.PAPERDOLL_FACE) : _activeChar.getDressMeData().getHelmetId()));
  2092. +               writeD(_inv.getPaperdollObjectId(Inventory.PAPERDOLL_HAIR));
  2093. +           }
  2094.            
  2095.             // c6 new h's
  2096.             writeH(0x00);
  2097. diff --git a/head-src/com/l2jfrozen/gameserver/network/serverpackets/UserInfo.java b/head-src/com/l2jfrozen/gameserver/network/serverpackets/UserInfo.java
  2098. index ed24e1f..0fcbabb 100644
  2099. --- a/head-src/com/l2jfrozen/gameserver/network/serverpackets/UserInfo.java
  2100. +++ b/head-src/com/l2jfrozen/gameserver/network/serverpackets/UserInfo.java
  2101. @@ -139,6 +139,8 @@
  2102.        
  2103.         writeD(_activeChar.getActiveWeaponItem() != null ? 40 : 20); // 20 no weapon, 40 weapon equippe
  2104.        
  2105. +       if (!_activeChar.isDressMeEnabled())
  2106. +       {
  2107.         writeD(_activeChar.getInventory().getPaperdollObjectId(Inventory.PAPERDOLL_DHAIR));
  2108.         writeD(_activeChar.getInventory().getPaperdollObjectId(Inventory.PAPERDOLL_REAR));
  2109.         writeD(_activeChar.getInventory().getPaperdollObjectId(Inventory.PAPERDOLL_LEAR));
  2110. @@ -156,7 +158,7 @@
  2111.         writeD(_activeChar.getInventory().getPaperdollObjectId(Inventory.PAPERDOLL_LRHAND));
  2112.         writeD(_activeChar.getInventory().getPaperdollObjectId(Inventory.PAPERDOLL_HAIR));
  2113.         writeD(_activeChar.getInventory().getPaperdollObjectId(Inventory.PAPERDOLL_FACE));
  2114. -      
  2115. +          
  2116.         writeD(_activeChar.getInventory().getPaperdollItemId(Inventory.PAPERDOLL_DHAIR));
  2117.         writeD(_activeChar.getInventory().getPaperdollItemId(Inventory.PAPERDOLL_REAR));
  2118.         writeD(_activeChar.getInventory().getPaperdollItemId(Inventory.PAPERDOLL_LEAR));
  2119. @@ -174,6 +176,47 @@
  2120.         writeD(_activeChar.getInventory().getPaperdollItemId(Inventory.PAPERDOLL_LRHAND));
  2121.         writeD(_activeChar.getInventory().getPaperdollItemId(Inventory.PAPERDOLL_HAIR));
  2122.         writeD(_activeChar.getInventory().getPaperdollItemId(Inventory.PAPERDOLL_FACE));
  2123. +       }
  2124. +       else
  2125. +       {
  2126. +           writeD(_activeChar.getDressMeData() == null ? _activeChar.getInventory().getPaperdollItemId(Inventory.PAPERDOLL_DHAIR) : (_activeChar.getDressMeData().getHelmetId() == 0 ? _activeChar.getInventory().getPaperdollItemId(Inventory.PAPERDOLL_DHAIR) : _activeChar.getDressMeData().getHelmetId()));
  2127. +          
  2128. +           writeD(_activeChar.getInventory().getPaperdollObjectId(Inventory.PAPERDOLL_REAR));
  2129. +           writeD(_activeChar.getInventory().getPaperdollObjectId(Inventory.PAPERDOLL_LEAR));
  2130. +           writeD(_activeChar.getInventory().getPaperdollObjectId(Inventory.PAPERDOLL_NECK));
  2131. +           writeD(_activeChar.getInventory().getPaperdollObjectId(Inventory.PAPERDOLL_RFINGER));
  2132. +           writeD(_activeChar.getInventory().getPaperdollObjectId(Inventory.PAPERDOLL_LFINGER));
  2133. +           writeD(_activeChar.getInventory().getPaperdollObjectId(Inventory.PAPERDOLL_HEAD));
  2134. +           writeD(_activeChar.getDressMeData() == null ? _activeChar.getInventory().getPaperdollObjectId(Inventory.PAPERDOLL_RHAND) : (_activeChar.getDressMeData().getWeapId() == 0 ? _activeChar.getInventory().getPaperdollObjectId(Inventory.PAPERDOLL_RHAND) : _activeChar.getDressMeData().getWeapId()));
  2135. +           writeD(_activeChar.getInventory().getPaperdollObjectId(Inventory.PAPERDOLL_LHAND));
  2136. +           writeD(_activeChar.getDressMeData() == null ? _activeChar.getInventory().getPaperdollObjectId(Inventory.PAPERDOLL_GLOVES) : (_activeChar.getDressMeData().getGlovesId() == 0 ? _activeChar.getInventory().getPaperdollObjectId(Inventory.PAPERDOLL_GLOVES) : _activeChar.getDressMeData().getGlovesId()));
  2137. +           writeD(_activeChar.getDressMeData() == null ? _activeChar.getInventory().getPaperdollObjectId(Inventory.PAPERDOLL_CHEST) : (_activeChar.getDressMeData().getChestId() == 0 ? _activeChar.getInventory().getPaperdollObjectId(Inventory.PAPERDOLL_CHEST) : _activeChar.getDressMeData().getChestId()));
  2138. +           writeD(_activeChar.getDressMeData() == null ? _activeChar.getInventory().getPaperdollObjectId(Inventory.PAPERDOLL_LEGS) : (_activeChar.getDressMeData().getLegsId() == 0 ? _activeChar.getInventory().getPaperdollObjectId(Inventory.PAPERDOLL_LEGS) : _activeChar.getDressMeData().getLegsId()));
  2139. +           writeD(_activeChar.getDressMeData() == null ? _activeChar.getInventory().getPaperdollObjectId(Inventory.PAPERDOLL_FEET) : (_activeChar.getDressMeData().getBootsId() == 0 ? _activeChar.getInventory().getPaperdollObjectId(Inventory.PAPERDOLL_FEET) : _activeChar.getDressMeData().getBootsId()));
  2140. +           writeD(_activeChar.getInventory().getPaperdollObjectId(Inventory.PAPERDOLL_BACK));
  2141. +           writeD(_activeChar.getDressMeData() == null ? _activeChar.getInventory().getPaperdollObjectId(Inventory.PAPERDOLL_RHAND) : (_activeChar.getDressMeData().getWeapId() == 0 ? _activeChar.getInventory().getPaperdollObjectId(Inventory.PAPERDOLL_RHAND) : _activeChar.getDressMeData().getWeapId()));
  2142. +           writeD(_activeChar.getDressMeData() == null ? _activeChar.getInventory().getPaperdollItemId(Inventory.PAPERDOLL_HAIR) : (_activeChar.getDressMeData().getHelmetId() == 0 ? _activeChar.getInventory().getPaperdollItemId(Inventory.PAPERDOLL_HAIR) : _activeChar.getDressMeData().getHelmetId()));
  2143. +           writeD(_activeChar.getDressMeData() == null ? _activeChar.getInventory().getPaperdollItemId(Inventory.PAPERDOLL_FACE) : (_activeChar.getDressMeData().getHelmetId() == 0 ? _activeChar.getInventory().getPaperdollItemId(Inventory.PAPERDOLL_FACE) : _activeChar.getDressMeData().getHelmetId()));
  2144. +          
  2145. +           writeD(_activeChar.getDressMeData() == null ? _activeChar.getInventory().getPaperdollItemId(Inventory.PAPERDOLL_DHAIR) : (_activeChar.getDressMeData().getHelmetId() == 0 ? _activeChar.getInventory().getPaperdollItemId(Inventory.PAPERDOLL_DHAIR) : _activeChar.getDressMeData().getHelmetId()));
  2146. +           writeD(_activeChar.getInventory().getPaperdollItemId(Inventory.PAPERDOLL_REAR));
  2147. +           writeD(_activeChar.getInventory().getPaperdollItemId(Inventory.PAPERDOLL_LEAR));
  2148. +           writeD(_activeChar.getInventory().getPaperdollItemId(Inventory.PAPERDOLL_NECK));
  2149. +           writeD(_activeChar.getInventory().getPaperdollItemId(Inventory.PAPERDOLL_RFINGER));
  2150. +           writeD(_activeChar.getInventory().getPaperdollItemId(Inventory.PAPERDOLL_LFINGER));
  2151. +           writeD(_activeChar.getInventory().getPaperdollItemId(Inventory.PAPERDOLL_HEAD));
  2152. +           writeD(_activeChar.getDressMeData() == null ? _activeChar.getInventory().getPaperdollItemId(Inventory.PAPERDOLL_RHAND) : (_activeChar.getDressMeData().getWeapId() == 0 ? _activeChar.getInventory().getPaperdollItemId(Inventory.PAPERDOLL_RHAND) : _activeChar.getDressMeData().getWeapId()));
  2153. +           writeD(_activeChar.getInventory().getPaperdollItemId(Inventory.PAPERDOLL_LHAND));
  2154. +           writeD(_activeChar.getDressMeData() == null ? _activeChar.getInventory().getPaperdollItemId(Inventory.PAPERDOLL_GLOVES) : (_activeChar.getDressMeData().getGlovesId() == 0 ? _activeChar.getInventory().getPaperdollItemId(Inventory.PAPERDOLL_GLOVES) : _activeChar.getDressMeData().getGlovesId()));
  2155. +           writeD(_activeChar.getDressMeData() == null ? _activeChar.getInventory().getPaperdollItemId(Inventory.PAPERDOLL_CHEST) : (_activeChar.getDressMeData().getChestId() == 0 ? _activeChar.getInventory().getPaperdollItemId(Inventory.PAPERDOLL_CHEST) : _activeChar.getDressMeData().getChestId()));
  2156. +           writeD(_activeChar.getDressMeData() == null ? _activeChar.getInventory().getPaperdollItemId(Inventory.PAPERDOLL_LEGS) : (_activeChar.getDressMeData().getLegsId() == 0 ? _activeChar.getInventory().getPaperdollItemId(Inventory.PAPERDOLL_LEGS) : _activeChar.getDressMeData().getLegsId()));
  2157. +           writeD(_activeChar.getDressMeData() == null ? _activeChar.getInventory().getPaperdollItemId(Inventory.PAPERDOLL_FEET) : (_activeChar.getDressMeData().getBootsId() == 0 ? _activeChar.getInventory().getPaperdollItemId(Inventory.PAPERDOLL_FEET) : _activeChar.getDressMeData().getBootsId()));
  2158. +           writeD(_activeChar.getInventory().getPaperdollItemId(Inventory.PAPERDOLL_BACK));
  2159. +           writeD(_activeChar.getDressMeData() == null ? _activeChar.getInventory().getPaperdollItemId(Inventory.PAPERDOLL_RHAND) : (_activeChar.getDressMeData().getWeapId() == 0 ? _activeChar.getInventory().getPaperdollItemId(Inventory.PAPERDOLL_RHAND) : _activeChar.getDressMeData().getWeapId()));
  2160. +           writeD(_activeChar.getDressMeData() == null ? _activeChar.getInventory().getPaperdollItemId(Inventory.PAPERDOLL_HAIR) : (_activeChar.getDressMeData().getHelmetId() == 0 ? _activeChar.getInventory().getPaperdollItemId(Inventory.PAPERDOLL_HAIR) : _activeChar.getDressMeData().getHelmetId()));
  2161. +           writeD(_activeChar.getDressMeData() == null ? _activeChar.getInventory().getPaperdollItemId(Inventory.PAPERDOLL_FACE) : (_activeChar.getDressMeData().getHelmetId() == 0 ? _activeChar.getInventory().getPaperdollItemId(Inventory.PAPERDOLL_FACE) : _activeChar.getDressMeData().getHelmetId()));
  2162. +          
  2163. +       }
  2164.        
  2165.         writeH(0x00);
  2166.         writeH(0x00);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement