summaryrefslogtreecommitdiff
path: root/sql-files/logs.sql
blob: 3cd854dd83ebcff6daf78eb12f9b53bbdddc382b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
#Database: log
#Table: branchlog
CREATE TABLE `branchlog` (
  `branch_id` mediumint(9) unsigned NOT NULL auto_increment,
  `branch_date` datetime NOT NULL default '0000-00-00 00:00:00',
  `account_id` int(11) NOT NULL default '0',
  `char_id` int(11) NOT NULL default '0',
  `char_name` varchar(30) NOT NULL default '',
  `map` varchar(20) NOT NULL default '',
  PRIMARY KEY  (`branch_id`)
) TYPE=MyISAM AUTO_INCREMENT=1 ;

#Database: log
#Table: droplog
CREATE TABLE `droplog` (
  `drop_id` mediumint(9) unsigned NOT NULL auto_increment,
  `drop_date` datetime NOT NULL default '0000-00-00 00:00:00',
  `kill_char_id` int(11) NOT NULL default '0',
  `monster_id` smallint(6) NOT NULL default '0',
  `item1` int(11) NOT NULL default '0',
  `item2` int(11) NOT NULL default '0',
  `item3` int(11) NOT NULL default '0',
  `item4` int(11) NOT NULL default '0',
  `item5` int(11) NOT NULL default '0',
  `item6` int(11) NOT NULL default '0',
  `item7` int(11) NOT NULL default '0',
  `item8` int(11) NOT NULL default '0',
  `map` varchar(20) NOT NULL default '',
  PRIMARY KEY  (`drop_id`)
) TYPE=MyISAM AUTO_INCREMENT=1 ;

#Database: log
#Table: mvplog
CREATE TABLE `mvplog` (
  `mvp_id` mediumint(9) unsigned NOT NULL auto_increment,
  `mvp_date` datetime NOT NULL default '0000-00-00 00:00:00',
  `kill_char_id` int(11) NOT NULL default '0',
  `monster_id` smallint(6) NOT NULL default '0',
  `prize` int(11) NOT NULL default '0',
  `mvpexp` mediumint(9) NOT NULL default '0',
  `map` varchar(20) NOT NULL default '',
  PRIMARY KEY  (`mvp_id`)
) TYPE=MyISAM AUTO_INCREMENT=1 ;


#Database: log
#Table: presentlog
CREATE TABLE `presentlog` (
  `present_id` mediumint(9) unsigned NOT NULL auto_increment,
  `present_date` datetime NOT NULL default '0000-00-00 00:00:00',
  `src_id` tinyint(1) NOT NULL default '0',
  `account_id` int(11) NOT NULL default '0',
  `char_id` int(11) NOT NULL default '0',
  `char_name` varchar(30) NOT NULL default '',
  `nameid` int(11) NOT NULL default '0',
  `map` varchar(20) NOT NULL default '',
  PRIMARY KEY  (`present_id`)
) TYPE=MyISAM AUTO_INCREMENT=1 ;

#Database: log
#Table: producelog
CREATE TABLE `producelog` (
  `produce_id` mediumint(9) unsigned NOT NULL auto_increment,
  `produce_date` datetime NOT NULL default '0000-00-00 00:00:00',
  `account_id` int(11) NOT NULL default '0',
  `char_id` int(11) NOT NULL default '0',
  `char_name` varchar(30) NOT NULL default '',
  `nameid` int(11) NOT NULL default '0',
  `slot1` int(11) NOT NULL default '0',
  `slot2` int(11) NOT NULL default '0',
  `slot3` int(11) NOT NULL default '0',
  `map` varchar(20) NOT NULL default '',
  `success` tinyint(1) NOT NULL default '0',
  PRIMARY KEY  (`produce_id`)
) TYPE=MyISAM AUTO_INCREMENT=1 ;

#Database: log
#Table: refinelog
CREATE TABLE `refinelog` (
  `refine_id` mediumint(9) unsigned NOT NULL auto_increment,
  `refine_date` datetime NOT NULL default '0000-00-00 00:00:00',
  `account_id` int(11) NOT NULL default '0',
  `char_id` int(11) NOT NULL default '0',
  `char_name` varchar(30) NOT NULL default '',
  `nameid` int(11) NOT NULL default '0',
  `refine` tinyint(2) NOT NULL default '0',
  `card0` int(11) NOT NULL default '0',
  `card1` int(11) NOT NULL default '0',
  `card2` int(11) NOT NULL default '0',
  `card3` int(11) NOT NULL default '0',
  `map` varchar(20) NOT NULL default '',
  `success` tinyint(1) NOT NULL default '0',
  `item_level` tinyint(2) NOT NULL default '0',
  PRIMARY KEY  (`refine_id`)
) TYPE=MyISAM AUTO_INCREMENT=1 ;

#Database: log
#Table: tradelog
CREATE TABLE `tradelog` (
  `trade_id` mediumint(9) unsigned NOT NULL auto_increment,
  `trade_date` datetime NOT NULL default '0000-00-00 00:00:00',
  `src_account_id` int(11) NOT NULL default '0',
  `src_char_id` int(11) NOT NULL default '0',
  `src_char_name` varchar(30) NOT NULL default '',
  `des_account_id` int(11) NOT NULL default '0',
  `des_char_id` int(11) NOT NULL default '0',
  `des_char_name` varchar(30) NOT NULL default '',
  `nameid` int(11) NOT NULL default '0',
  `amount` int(11) NOT NULL default '0',
  `refine` tinyint(4) NOT NULL default '0',
  `card0` int(11) NOT NULL default '0',
  `card1` int(11) NOT NULL default '0',
  `card2` int(11) NOT NULL default '0',
  `card3` int(11) NOT NULL default '0',
  `map` varchar(20) NOT NULL default '',
  `zeny` int(11) NOT NULL default '0',
  PRIMARY KEY  (`trade_id`)
) TYPE=MyISAM AUTO_INCREMENT=1 ;

#Database: log
#Table: vendlog
CREATE TABLE `vendlog` (
  `vend_id` mediumint(9) unsigned NOT NULL auto_increment,
  `vend_date` datetime NOT NULL default '0000-00-00 00:00:00',
  `vend_account_id` int(11) NOT NULL default '0',
  `vend_char_id` int(11) NOT NULL default '0',
  `vend_char_name` varchar(30) NOT NULL default '',
  `buy_account_id` int(11) NOT NULL default '0',
  `buy_char_id` int(11) NOT NULL default '0',
  `buy_char_name` varchar(30) NOT NULL default '',
  `nameid` int(11) NOT NULL default '0',
  `amount` int(11) NOT NULL default '0',
  `refine` tinyint(4) NOT NULL default '0',
  `card0` int(11) NOT NULL default '0',
  `card1` int(11) NOT NULL default '0',
  `card2` int(11) NOT NULL default '0',
  `card3` int(11) NOT NULL default '0',
  `map` varchar(20) NOT NULL default '',
  `zeny` int(11) NOT NULL default '0',
  KEY `vend_id` (`vend_id`)
) TYPE=MyISAM AUTO_INCREMENT=1 ;