View difference between Paste ID: wYbfqVUT and zM6K5t0j
SHOW: | | - or go back to the newest paste.
1
### Eclipse Workspace Patch 1.0
2
#P aCis_datapack401
3
diff --git data/html/dressme/allskins.htm data/html/dressme/allskins.htm
4
new file mode 100644
5
index 0000000..f46a2bd
6
--- /dev/null
7
+++ data/html/dressme/allskins.htm
8
@@ -0,0 +1,20 @@
9
+<html>
10
+<body>
11
+<img src="L2UI.Squaregray" width="300" height="1">
12
+<table width=300 border=0 cellspacing=0 cellpadding=1 bgcolor=000000 height=15>
13
+<tr>
14
+<td width=36 align=center></td>
15
+<td width=120 align=left>Name</td>
16
+<td width=65 align=left>Actions</td>
17
+</tr>
18
+</table>
19
+<img src="L2UI.Squaregray" width="300" height="1">
20
+
21
+%showList%
22
+
23
+<center>
24
+<button value="Back" action="bypass -h custom_dressme_back" width=65 height=19 back="L2UI_ch3.smallbutton2_over" fore="L2UI_ch3.smallbutton2">
25
+</center>
26
+
27
+</body>
28
+</html>
29
\ No newline at end of file
30
diff --git data/html/dressme/index.htm data/html/dressme/index.htm
31
new file mode 100644
32
index 0000000..36f3b4a
33
--- /dev/null
34
+++ data/html/dressme/index.htm
35
@@ -0,0 +1,29 @@
36
+<html>
37
+<title>Skins Shop</title>
38
+<body>
39
+<br>
40
+<center>Skins:</center>
41
+
42
+<table width=300>
43
+<tr>
44
+<td align=center><button value="Armor buy/try" action="bypass -h dressme 1 skinlist armor" width=134 height=19 back="L2UI_ch3.BigButton3_over" fore="L2UI_ch3.BigButton3"></td>
45
+</tr>
46
+<tr>
47
+<td align=center><button value="Weapon buy/try" action="bypass -h dressme 1 skinlist weapon" width=134 height=19 back="L2UI_ch3.BigButton3_over" fore="L2UI_ch3.BigButton3"></td>
48
+</tr>
49
+<tr>
50
+<td align=center><button value="Hair buy/try" action="bypass -h dressme 1 skinlist hair" width=134 height=19 back="L2UI_ch3.BigButton3_over" fore="L2UI_ch3.BigButton3"></td>
51
+</tr>
52
+<tr>
53
+<td align=center><button value="Face buy/try" action="bypass -h dressme 1 skinlist face" width=134 height=19 back="L2UI_ch3.BigButton3_over" fore="L2UI_ch3.BigButton3"></td>
54
+</tr>
55
+<tr>
56
+<td align=center><button value="Shield buy/try" action="bypass -h dressme 1 skinlist shield" width=134 height=19 back="L2UI_ch3.BigButton3_over" fore="L2UI_ch3.BigButton3"></td>
57
+</tr>
58
+<tr>
59
+<td align=center><button value="My skins" action="bypass -h dressme 1 myskinlist" width=134 height=19 back="L2UI_ch3.BigButton3_over" fore="L2UI_ch3.BigButton3"></td>
60
+</tr>
61
+</table>
62
+
63
+</body>
64
+</html>
65
\ No newline at end of file
66
diff --git data/html/dressme/myskins.htm data/html/dressme/myskins.htm
67
new file mode 100644
68
index 0000000..381164c
69
--- /dev/null
70
+++ data/html/dressme/myskins.htm
71
@@ -0,0 +1,21 @@
72
+<html>
73
+<body>
74
+<img src="L2UI.Squaregray" width="300" height="1">
75
+<table border=0 cellspacing=0 cellpadding=2 bgcolor=000000 height=20>
76
+<tr>
77
+<td width=32 align=center></td>
78
+<td width=203 align=left>Name</td>
79
+<td width=65 align=left>Actions</td>
80
+</tr>
81
+</table>
82
+<img src="L2UI.Squaregray" width="300" height="1">
83
+
84
+%showList%
85
+
86
+<br>
87
+<br>
88
+<center>
89
+<button value="Back" action="bypass -h custom_dressme_back" width=65 height=19 back="L2UI_ch3.Btn1_normalOn" fore="L2UI_ch3.Btn1_normal">
90
+</center>
91
+</body>
92
+</html>
93
\ No newline at end of file
94
diff --git data/xml/dressme.xml data/xml/dressme.xml
95
new file mode 100644
96
index 0000000..7156269
97
--- /dev/null
98
+++ data/xml/dressme.xml
99
@@ -0,0 +1,22 @@
100
+<?xml version="1.0" encoding="UTF-8"?>
101
+<list>
102
+	<skin type="armor"> <!-- Armors -->
103
+		<type id="1" name="Draconic Armor" chestId="6379" legsId="0" glovesId="6380" feetId="6381" priceId="57" priceCount="100"/>
104
+		<type id="2" name="Blue Wolf Leather Armor" chestId="2391" legsId="0" glovesId="0" feetId="0" priceId="57" priceCount="100"/>
105
+	</skin>
106
+	<skin type="weapon"> <!-- Weapons -->
107
+		<type id="1" name="Draconic Bow" weaponId="7575" priceId="57" priceCount="100"/>
108
+		<type id="2" name="Arcana Mace" weaponId="6608"  priceId="57" priceCount="100"/>
109
+		<type id="3" name="Keshanberk*Keshanberk" weaponId="5704" priceId="57" priceCount="100"/>
110
+	</skin>
111
+	<skin type="hair"> <!-- Hairs -->
112
+		<type id="1" name="Cat Ear" hairId="6843" priceId="57" priceCount="100"/>
113
+	</skin>
114
+	<skin type="face"> <!-- Faces -->
115
+		<type id="1" name="Party Mask" faceId="5808" priceId="57" priceCount="100"/>
116
+	</skin>
117
+	<skin type="shield"> <!-- Shields -->
118
+		<type id="1" name="Shield of Night" shieldId="2498" priceId="57" priceCount="100"/>
119
+		<type id="2" name="Imperial Shield" shieldId="6377" priceId="57" priceCount="100"/>
120
+	</skin>
121
+</list>
122
\ No newline at end of file
123
diff --git sql/characters_dressme_data.sql sql/characters_dressme_data.sql
124
new file mode 100644
125
index 0000000..306a503
126
--- /dev/null
127
+++ sql/characters_dressme_data.sql
128
@@ -0,0 +1,35 @@
129
+/*
130
+Navicat MySQL Data Transfer
131
+
132
+Source Server         : localhost
133
+Source Server Version : 50740
134
+Source Host           : localhost:3306
135
+Source Database       : l2j
136
+
137
+Target Server Type    : MYSQL
138
+Target Server Version : 50740
139
+File Encoding         : 65001
140
+
141
+Date: 2023-04-15 19:23:24
142
+*/
143
+
144
+SET FOREIGN_KEY_CHECKS=0;
145
+
146
+-- ----------------------------
147
+-- Table structure for characters_dressme_data
148
+-- ----------------------------
149
+DROP TABLE IF EXISTS `characters_dressme_data`;
150
+CREATE TABLE `characters_dressme_data` (
151
+  `obj_Id` decimal(11,0) NOT NULL DEFAULT '0',
152
+  `armor_skins` varchar(255) DEFAULT NULL,
153
+  `armor_skin_option` int(10) DEFAULT '0',
154
+  `weapon_skins` varchar(255) DEFAULT NULL,
155
+  `weapon_skin_option` int(10) DEFAULT '0',
156
+  `hair_skins` varchar(255) DEFAULT NULL,
157
+  `hair_skin_option` int(10) DEFAULT '0',
158
+  `face_skins` varchar(255) DEFAULT NULL,
159
+  `face_skin_option` int(10) DEFAULT '0',
160
+  `shield_skins` varchar(255) DEFAULT NULL,
161
+  `shield_skin_option` int(10) DEFAULT '0',
162
+  PRIMARY KEY (`obj_Id`)
163
+) ENGINE=InnoDB DEFAULT CHARSET=utf8;