Crusader branch.
This commit is contained in:
		
							
								
								
									
										18
									
								
								L2J_Mobius_Essence_6.3_Crusader/dist/db_installer/Database_Installer_GS.vbs
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										18
									
								
								L2J_Mobius_Essence_6.3_Crusader/dist/db_installer/Database_Installer_GS.vbs
									
									
									
									
										vendored
									
									
										Normal file
									
								
							| @@ -0,0 +1,18 @@ | ||||
| 'Get Java path. | ||||
| Dim path | ||||
| Set shell = WScript.CreateObject("WScript.Shell") | ||||
| path = shell.Environment.Item("JAVA_HOME") | ||||
| If path = "" Then | ||||
| 	MsgBox "Could not find JAVA_HOME environment variable!", vbOKOnly, "Database Installer" | ||||
| Else | ||||
| 	If InStr(path, "\bin") = 0 Then | ||||
| 		path = path + "\bin\" | ||||
| 	Else | ||||
| 		path = path + "\" | ||||
| 	End If | ||||
| 	path = Replace(path, "\\", "\") | ||||
| 	path = Replace(path, "Program Files", "Progra~1") | ||||
| End If | ||||
|  | ||||
| 'Run the installer. | ||||
| shell.Run path & "java -jar Database_Installer_GS.jar", 0, False | ||||
							
								
								
									
										18
									
								
								L2J_Mobius_Essence_6.3_Crusader/dist/db_installer/Database_Installer_LS.vbs
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										18
									
								
								L2J_Mobius_Essence_6.3_Crusader/dist/db_installer/Database_Installer_LS.vbs
									
									
									
									
										vendored
									
									
										Normal file
									
								
							| @@ -0,0 +1,18 @@ | ||||
| 'Get Java path. | ||||
| Dim path | ||||
| Set shell = WScript.CreateObject("WScript.Shell") | ||||
| path = shell.Environment.Item("JAVA_HOME") | ||||
| If path = "" Then | ||||
| 	MsgBox "Could not find JAVA_HOME environment variable!", vbOKOnly, "Database Installer" | ||||
| Else | ||||
| 	If InStr(path, "\bin") = 0 Then | ||||
| 		path = path + "\bin\" | ||||
| 	Else | ||||
| 		path = path + "\" | ||||
| 	End If | ||||
| 	path = Replace(path, "\\", "\") | ||||
| 	path = Replace(path, "Program Files", "Progra~1") | ||||
| End If | ||||
|  | ||||
| 'Run the installer. | ||||
| shell.Run path & "java -jar Database_Installer_LS.jar", 0, False | ||||
							
								
								
									
										7
									
								
								L2J_Mobius_Essence_6.3_Crusader/dist/db_installer/sql/game/account_gsdata.sql
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										7
									
								
								L2J_Mobius_Essence_6.3_Crusader/dist/db_installer/sql/game/account_gsdata.sql
									
									
									
									
										vendored
									
									
										Normal file
									
								
							| @@ -0,0 +1,7 @@ | ||||
| DROP TABLE IF EXISTS `account_gsdata`; | ||||
| CREATE TABLE IF NOT EXISTS `account_gsdata` ( | ||||
|   `account_name` VARCHAR(45) NOT NULL DEFAULT '', | ||||
|   `var`  VARCHAR(255) NOT NULL DEFAULT '', | ||||
|   `value` text NOT NULL, | ||||
|   PRIMARY KEY (`account_name`,`var`) | ||||
| ) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; | ||||
							
								
								
									
										6
									
								
								L2J_Mobius_Essence_6.3_Crusader/dist/db_installer/sql/game/account_premium.sql
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										6
									
								
								L2J_Mobius_Essence_6.3_Crusader/dist/db_installer/sql/game/account_premium.sql
									
									
									
									
										vendored
									
									
										Normal file
									
								
							| @@ -0,0 +1,6 @@ | ||||
| DROP TABLE IF EXISTS `account_premium`; | ||||
| CREATE TABLE `account_premium` ( | ||||
|   `account_name` varchar(45) NOT NULL DEFAULT '', | ||||
|   `enddate` decimal(20,0) NOT NULL DEFAULT '0', | ||||
|   PRIMARY KEY (`account_name`) | ||||
| ) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; | ||||
							
								
								
									
										6
									
								
								L2J_Mobius_Essence_6.3_Crusader/dist/db_installer/sql/game/airships.sql
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										6
									
								
								L2J_Mobius_Essence_6.3_Crusader/dist/db_installer/sql/game/airships.sql
									
									
									
									
										vendored
									
									
										Normal file
									
								
							| @@ -0,0 +1,6 @@ | ||||
| DROP TABLE IF EXISTS `airships`; | ||||
| CREATE TABLE IF NOT EXISTS `airships` ( | ||||
|   `owner_id` INT, -- object id of the player or clan, owner of this airship | ||||
|   `fuel` decimal(5,0) NOT NULL DEFAULT 600, | ||||
|   PRIMARY KEY (`owner_id`) | ||||
| ) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_general_ci; | ||||
							
								
								
									
										15
									
								
								L2J_Mobius_Essence_6.3_Crusader/dist/db_installer/sql/game/announcements.sql
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										15
									
								
								L2J_Mobius_Essence_6.3_Crusader/dist/db_installer/sql/game/announcements.sql
									
									
									
									
										vendored
									
									
										Normal file
									
								
							| @@ -0,0 +1,15 @@ | ||||
| DROP TABLE IF EXISTS `announcements`; | ||||
| CREATE TABLE IF NOT EXISTS `announcements` ( | ||||
|   `id` int(11) unsigned NOT NULL AUTO_INCREMENT, | ||||
|   `type` int(11) NOT NULL, | ||||
|   `initial` bigint(20) NOT NULL DEFAULT 0, | ||||
|   `delay` bigint(20) NOT NULL DEFAULT 0, | ||||
|   `repeat` int(11) NOT NULL DEFAULT 0, | ||||
|   `author` text NOT NULL, | ||||
|   `content` text NOT NULL, | ||||
|   PRIMARY KEY (`id`) | ||||
| ) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; | ||||
|  | ||||
| INSERT INTO announcements (`type`, `author`, `content`) VALUES  | ||||
| (0, 'L2jMobius', 'Thanks for using L2jMobius!'), | ||||
| (0, 'L2jMobius', '[=http://www.l2jmobius.org/=]'); | ||||
							
								
								
									
										12
									
								
								L2J_Mobius_Essence_6.3_Crusader/dist/db_installer/sql/game/auction_bid.sql
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										12
									
								
								L2J_Mobius_Essence_6.3_Crusader/dist/db_installer/sql/game/auction_bid.sql
									
									
									
									
										vendored
									
									
										Normal file
									
								
							| @@ -0,0 +1,12 @@ | ||||
| DROP TABLE IF EXISTS `auction_bid`; | ||||
| CREATE TABLE IF NOT EXISTS `auction_bid` ( | ||||
|   `id` INT NOT NULL DEFAULT 0, | ||||
|   `auctionId` INT NOT NULL DEFAULT 0, | ||||
|   `bidderId` INT NOT NULL DEFAULT 0, | ||||
|   `bidderName` varchar(50) NOT NULL, | ||||
|   `clan_name` varchar(50) NOT NULL, | ||||
|   `maxBid` BIGINT UNSIGNED NOT NULL DEFAULT 0, | ||||
|   `time_bid` bigint(13) unsigned NOT NULL DEFAULT '0', | ||||
|   PRIMARY KEY  (`auctionId`,`bidderId`), | ||||
|   KEY `id` (`id`) | ||||
| ) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; | ||||
							
								
								
									
										10
									
								
								L2J_Mobius_Essence_6.3_Crusader/dist/db_installer/sql/game/bbs_favorites.sql
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										10
									
								
								L2J_Mobius_Essence_6.3_Crusader/dist/db_installer/sql/game/bbs_favorites.sql
									
									
									
									
										vendored
									
									
										Normal file
									
								
							| @@ -0,0 +1,10 @@ | ||||
| DROP TABLE IF EXISTS `bbs_favorites`; | ||||
| CREATE TABLE IF NOT EXISTS `bbs_favorites` ( | ||||
| 	`favId` INT UNSIGNED NOT NULL AUTO_INCREMENT, | ||||
| 	`playerId` INT UNSIGNED NOT NULL, | ||||
| 	`favTitle` VARCHAR(50) NOT NULL, | ||||
| 	`favBypass` VARCHAR(127) NOT NULL, | ||||
| 	`favAddDate` TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP, | ||||
| 	PRIMARY KEY (`favId`), | ||||
| 	UNIQUE INDEX `favId_playerId` (`favId`, `playerId`) | ||||
| ) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; | ||||
							
								
								
									
										7
									
								
								L2J_Mobius_Essence_6.3_Crusader/dist/db_installer/sql/game/bot_reported_char_data.sql
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										7
									
								
								L2J_Mobius_Essence_6.3_Crusader/dist/db_installer/sql/game/bot_reported_char_data.sql
									
									
									
									
										vendored
									
									
										Normal file
									
								
							| @@ -0,0 +1,7 @@ | ||||
| DROP TABLE IF EXISTS `bot_reported_char_data`; | ||||
| CREATE TABLE IF NOT EXISTS `bot_reported_char_data` ( | ||||
| 	`botId` INT UNSIGNED NOT NULL DEFAULT 0, | ||||
| 	`reporterId` INT UNSIGNED NOT NULL DEFAULT 0, | ||||
| 	`reportDate` BIGINT(13) unsigned NOT NULL DEFAULT '0', | ||||
| 	PRIMARY KEY (`botId`, `reporterId`) | ||||
| ) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_general_ci; | ||||
							
								
								
									
										6
									
								
								L2J_Mobius_Essence_6.3_Crusader/dist/db_installer/sql/game/buffer_schemes.sql
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										6
									
								
								L2J_Mobius_Essence_6.3_Crusader/dist/db_installer/sql/game/buffer_schemes.sql
									
									
									
									
										vendored
									
									
										Normal file
									
								
							| @@ -0,0 +1,6 @@ | ||||
| CREATE TABLE IF NOT EXISTS `buffer_schemes` ( | ||||
|   `object_id` INT UNSIGNED NOT NULL DEFAULT '0', | ||||
|   `scheme_name` VARCHAR(16) NOT NULL DEFAULT 'default', | ||||
|   `skills` VARCHAR(200) NOT NULL, | ||||
|     PRIMARY KEY (`object_id`,`scheme_name`) | ||||
| ) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; | ||||
							
								
								
									
										8
									
								
								L2J_Mobius_Essence_6.3_Crusader/dist/db_installer/sql/game/buylists.sql
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										8
									
								
								L2J_Mobius_Essence_6.3_Crusader/dist/db_installer/sql/game/buylists.sql
									
									
									
									
										vendored
									
									
										Normal file
									
								
							| @@ -0,0 +1,8 @@ | ||||
| DROP TABLE IF EXISTS `buylists`; | ||||
| CREATE TABLE IF NOT EXISTS `buylists` ( | ||||
| 	`buylist_id` INT UNSIGNED, | ||||
| 	`item_id` INT UNSIGNED, | ||||
| 	`count` BIGINT UNSIGNED NOT NULL DEFAULT 0, | ||||
| 	`next_restock_time` BIGINT UNSIGNED NOT NULL DEFAULT 0, | ||||
| 	PRIMARY KEY (`buylist_id`, `item_id`) | ||||
| ) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_general_ci; | ||||
							
								
								
									
										25
									
								
								L2J_Mobius_Essence_6.3_Crusader/dist/db_installer/sql/game/castle.sql
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										25
									
								
								L2J_Mobius_Essence_6.3_Crusader/dist/db_installer/sql/game/castle.sql
									
									
									
									
										vendored
									
									
										Normal file
									
								
							| @@ -0,0 +1,25 @@ | ||||
| DROP TABLE IF EXISTS `castle`; | ||||
| CREATE TABLE IF NOT EXISTS `castle` ( | ||||
|   `id` INT NOT NULL DEFAULT 0, | ||||
|   `name` varchar(25) NOT NULL, | ||||
|   `side` enum('NEUTRAL','LIGHT','DARK') DEFAULT 'NEUTRAL' NOT NULL, | ||||
|   `treasury` BIGINT NOT NULL DEFAULT 0, | ||||
|   `siegeDate` bigint(13) unsigned NOT NULL DEFAULT '0', | ||||
|   `regTimeOver` enum('true','false') DEFAULT 'true' NOT NULL, | ||||
|   `regTimeEnd` bigint(13) unsigned NOT NULL DEFAULT '0', | ||||
|   `showNpcCrest` enum('true','false') DEFAULT 'false' NOT NULL, | ||||
|   `ticketBuyCount` smallint(3) NOT NULL DEFAULT 0, | ||||
|   PRIMARY KEY (`name`), | ||||
|   KEY `id` (`id`) | ||||
| ) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; | ||||
|  | ||||
| INSERT IGNORE INTO `castle` VALUES | ||||
| -- (1,'Gludio','NEUTRAL',0,0,'true',0,'false',0), | ||||
| -- (2,'Dion','NEUTRAL',0,0,'true',0,'false',0), | ||||
|  (3,'Giran','NEUTRAL',0,0,'true',0,'false',0), | ||||
| -- (4,'Oren','NEUTRAL',0,0,'true',0,'false',0), | ||||
| -- (5,'Aden','NEUTRAL',0,0,'true',0,'false',0), | ||||
| -- (6,'Innadril','NEUTRAL',0,0,'true',0,'false',0), | ||||
| (7,'Goddard','NEUTRAL',0,0,'true',0,'false',0); | ||||
| -- (8,'Rune','NEUTRAL',0,0,'true',0,'false',0), | ||||
| -- (9,'Schuttgart','NEUTRAL',0,0,'true',0,'false',0); | ||||
							
								
								
									
										7
									
								
								L2J_Mobius_Essence_6.3_Crusader/dist/db_installer/sql/game/castle_doorupgrade.sql
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										7
									
								
								L2J_Mobius_Essence_6.3_Crusader/dist/db_installer/sql/game/castle_doorupgrade.sql
									
									
									
									
										vendored
									
									
										Normal file
									
								
							| @@ -0,0 +1,7 @@ | ||||
| DROP TABLE IF EXISTS `castle_doorupgrade`; | ||||
| CREATE TABLE IF NOT EXISTS `castle_doorupgrade` ( | ||||
|   `doorId` int(8) unsigned NOT NULL DEFAULT '0', | ||||
|   `ratio` tinyint(3) unsigned NOT NULL DEFAULT '0', | ||||
|   `castleId` tinyint(3) unsigned NOT NULL DEFAULT '0', | ||||
|   PRIMARY KEY (`doorId`) | ||||
| ) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_general_ci; | ||||
							
								
								
									
										10
									
								
								L2J_Mobius_Essence_6.3_Crusader/dist/db_installer/sql/game/castle_functions.sql
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										10
									
								
								L2J_Mobius_Essence_6.3_Crusader/dist/db_installer/sql/game/castle_functions.sql
									
									
									
									
										vendored
									
									
										Normal file
									
								
							| @@ -0,0 +1,10 @@ | ||||
| DROP TABLE IF EXISTS `castle_functions`; | ||||
| CREATE TABLE IF NOT EXISTS `castle_functions` ( | ||||
|   `castle_id` int(2) NOT NULL DEFAULT '0', | ||||
|   `type` int(1) NOT NULL DEFAULT '0', | ||||
|   `lvl` int(3) NOT NULL DEFAULT '0', | ||||
|   `lease` int(10) NOT NULL DEFAULT '0', | ||||
|   `rate` decimal(20,0) NOT NULL DEFAULT '0', | ||||
|   `endTime` bigint(13) unsigned NOT NULL DEFAULT '0', | ||||
|   PRIMARY KEY (`castle_id`,`type`) | ||||
| ) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_general_ci; | ||||
							
								
								
									
										11
									
								
								L2J_Mobius_Essence_6.3_Crusader/dist/db_installer/sql/game/castle_manor_procure.sql
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										11
									
								
								L2J_Mobius_Essence_6.3_Crusader/dist/db_installer/sql/game/castle_manor_procure.sql
									
									
									
									
										vendored
									
									
										Normal file
									
								
							| @@ -0,0 +1,11 @@ | ||||
| DROP TABLE IF EXISTS `castle_manor_procure`; | ||||
| CREATE TABLE IF NOT EXISTS `castle_manor_procure` ( | ||||
|  `castle_id` TINYINT(3) UNSIGNED NOT NULL DEFAULT '0', | ||||
|  `crop_id` INT(11) UNSIGNED NOT NULL DEFAULT '0', | ||||
|  `amount` INT(11) UNSIGNED NOT NULL DEFAULT '0', | ||||
|  `start_amount` INT(11) UNSIGNED NOT NULL DEFAULT '0', | ||||
|  `price` INT(11) UNSIGNED NOT NULL DEFAULT '0', | ||||
|  `reward_type` TINYINT(1) UNSIGNED NOT NULL DEFAULT '0', | ||||
|  `next_period` TINYINT(1) UNSIGNED NOT NULL DEFAULT '1', | ||||
|   PRIMARY KEY (`castle_id`,`crop_id`,`next_period`) | ||||
| ) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_general_ci; | ||||
							
								
								
									
										10
									
								
								L2J_Mobius_Essence_6.3_Crusader/dist/db_installer/sql/game/castle_manor_production.sql
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										10
									
								
								L2J_Mobius_Essence_6.3_Crusader/dist/db_installer/sql/game/castle_manor_production.sql
									
									
									
									
										vendored
									
									
										Normal file
									
								
							| @@ -0,0 +1,10 @@ | ||||
| DROP TABLE IF EXISTS `castle_manor_production`; | ||||
| CREATE TABLE IF NOT EXISTS `castle_manor_production` ( | ||||
|  `castle_id` TINYINT(3) UNSIGNED NOT NULL DEFAULT '0', | ||||
|  `seed_id` INT(11) UNSIGNED NOT NULL DEFAULT '0', | ||||
|  `amount` INT(11) UNSIGNED NOT NULL DEFAULT '0', | ||||
|  `start_amount` INT(11) UNSIGNED NOT NULL DEFAULT '0', | ||||
|  `price` INT(11) UNSIGNED NOT NULL DEFAULT '0', | ||||
|  `next_period` TINYINT(1) UNSIGNED NOT NULL DEFAULT '1', | ||||
|  PRIMARY KEY (`castle_id`, `seed_id`, `next_period`) | ||||
| ) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_general_ci; | ||||
							
								
								
									
										3731
									
								
								L2J_Mobius_Essence_6.3_Crusader/dist/db_installer/sql/game/castle_siege_guards.sql
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										3731
									
								
								L2J_Mobius_Essence_6.3_Crusader/dist/db_installer/sql/game/castle_siege_guards.sql
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
										
											
												File diff suppressed because it is too large
												Load Diff
											
										
									
								
							
							
								
								
									
										7
									
								
								L2J_Mobius_Essence_6.3_Crusader/dist/db_installer/sql/game/castle_trapupgrade.sql
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										7
									
								
								L2J_Mobius_Essence_6.3_Crusader/dist/db_installer/sql/game/castle_trapupgrade.sql
									
									
									
									
										vendored
									
									
										Normal file
									
								
							| @@ -0,0 +1,7 @@ | ||||
| DROP TABLE IF EXISTS `castle_trapupgrade`; | ||||
| CREATE TABLE IF NOT EXISTS `castle_trapupgrade` ( | ||||
|   `castleId` tinyint(3) unsigned NOT NULL DEFAULT '0', | ||||
|   `towerIndex` tinyint(3) unsigned NOT NULL DEFAULT '0', | ||||
|   `level` tinyint(3) unsigned NOT NULL DEFAULT '0', | ||||
|   PRIMARY KEY (`towerIndex`,`castleId`) | ||||
| ) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_general_ci; | ||||
							
								
								
									
										6
									
								
								L2J_Mobius_Essence_6.3_Crusader/dist/db_installer/sql/game/character_contacts.sql
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										6
									
								
								L2J_Mobius_Essence_6.3_Crusader/dist/db_installer/sql/game/character_contacts.sql
									
									
									
									
										vendored
									
									
										Normal file
									
								
							| @@ -0,0 +1,6 @@ | ||||
| DROP TABLE IF EXISTS `character_contacts`; | ||||
| CREATE TABLE IF NOT EXISTS `character_contacts` ( | ||||
|   charId INT UNSIGNED NOT NULL DEFAULT 0, | ||||
|   contactId INT UNSIGNED NOT NULL DEFAULT 0, | ||||
|   PRIMARY KEY (`charId`,`contactId`) | ||||
| ) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_general_ci; | ||||
							
								
								
									
										9
									
								
								L2J_Mobius_Essence_6.3_Crusader/dist/db_installer/sql/game/character_daily_rewards.sql
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										9
									
								
								L2J_Mobius_Essence_6.3_Crusader/dist/db_installer/sql/game/character_daily_rewards.sql
									
									
									
									
										vendored
									
									
										Normal file
									
								
							| @@ -0,0 +1,9 @@ | ||||
| DROP TABLE IF EXISTS `character_daily_rewards`; | ||||
| CREATE TABLE IF NOT EXISTS `character_daily_rewards` ( | ||||
|   `charId`  int(10) UNSIGNED NOT NULL , | ||||
|   `rewardId`  int(3) UNSIGNED NOT NULL , | ||||
|   `status`  tinyint(1) UNSIGNED NOT NULL DEFAULT 1 , | ||||
|   `progress`  int UNSIGNED NOT NULL DEFAULT 0 , | ||||
|   `lastCompleted`  bigint UNSIGNED NOT NULL , | ||||
|   PRIMARY KEY (`charId`, `rewardId`) | ||||
| ) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_general_ci; | ||||
							
								
								
									
										7
									
								
								L2J_Mobius_Essence_6.3_Crusader/dist/db_installer/sql/game/character_friends.sql
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										7
									
								
								L2J_Mobius_Essence_6.3_Crusader/dist/db_installer/sql/game/character_friends.sql
									
									
									
									
										vendored
									
									
										Normal file
									
								
							| @@ -0,0 +1,7 @@ | ||||
| DROP TABLE IF EXISTS `character_friends`; | ||||
| CREATE TABLE IF NOT EXISTS `character_friends` ( | ||||
|   `charId` INT UNSIGNED NOT NULL DEFAULT 0, | ||||
|   `friendId` INT UNSIGNED NOT NULL DEFAULT 0, | ||||
|   `relation` INT UNSIGNED NOT NULL DEFAULT 0, | ||||
|   PRIMARY KEY (`charId`,`friendId`) | ||||
| ) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_general_ci; | ||||
							
								
								
									
										8
									
								
								L2J_Mobius_Essence_6.3_Crusader/dist/db_installer/sql/game/character_hennas.sql
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										8
									
								
								L2J_Mobius_Essence_6.3_Crusader/dist/db_installer/sql/game/character_hennas.sql
									
									
									
									
										vendored
									
									
										Normal file
									
								
							| @@ -0,0 +1,8 @@ | ||||
| DROP TABLE IF EXISTS `character_hennas`; | ||||
| CREATE TABLE IF NOT EXISTS `character_hennas` ( | ||||
|   `charId` INT UNSIGNED NOT NULL DEFAULT 0, | ||||
|   `symbol_id` INT, | ||||
|   `slot` INT NOT NULL DEFAULT 0, | ||||
|   `class_index` INT(1) NOT NULL DEFAULT 0, | ||||
|   PRIMARY KEY (`charId`,`slot`,`class_index`) | ||||
| ) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_general_ci; | ||||
							
								
								
									
										7
									
								
								L2J_Mobius_Essence_6.3_Crusader/dist/db_installer/sql/game/character_instance_time.sql
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										7
									
								
								L2J_Mobius_Essence_6.3_Crusader/dist/db_installer/sql/game/character_instance_time.sql
									
									
									
									
										vendored
									
									
										Normal file
									
								
							| @@ -0,0 +1,7 @@ | ||||
| DROP TABLE IF EXISTS `character_instance_time`; | ||||
| CREATE TABLE IF NOT EXISTS `character_instance_time` ( | ||||
|   `charId` INT UNSIGNED NOT NULL DEFAULT '0', | ||||
|   `instanceId` int(3) NOT NULL DEFAULT '0', | ||||
|   `time` bigint(13) unsigned NOT NULL DEFAULT '0', | ||||
|   PRIMARY KEY (`charId`,`instanceId`) | ||||
| ) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_general_ci; | ||||
							
								
								
									
										9
									
								
								L2J_Mobius_Essence_6.3_Crusader/dist/db_installer/sql/game/character_item_reuse_save.sql
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										9
									
								
								L2J_Mobius_Essence_6.3_Crusader/dist/db_installer/sql/game/character_item_reuse_save.sql
									
									
									
									
										vendored
									
									
										Normal file
									
								
							| @@ -0,0 +1,9 @@ | ||||
| DROP TABLE IF EXISTS `character_item_reuse_save`; | ||||
| CREATE TABLE IF NOT EXISTS `character_item_reuse_save` ( | ||||
|   `charId` INT NOT NULL DEFAULT 0, | ||||
|   `itemId` INT NOT NULL DEFAULT 0, | ||||
|   `itemObjId` INT(3) NOT NULL DEFAULT 1, | ||||
|   `reuseDelay` INT(8) NOT NULL DEFAULT 0, | ||||
|   `systime` BIGINT UNSIGNED NOT NULL DEFAULT 0, | ||||
|   PRIMARY KEY (`charId`,`itemId`,`itemObjId`) | ||||
| ) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_general_ci; | ||||
							
								
								
									
										11
									
								
								L2J_Mobius_Essence_6.3_Crusader/dist/db_installer/sql/game/character_macroses.sql
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										11
									
								
								L2J_Mobius_Essence_6.3_Crusader/dist/db_installer/sql/game/character_macroses.sql
									
									
									
									
										vendored
									
									
										Normal file
									
								
							| @@ -0,0 +1,11 @@ | ||||
| DROP TABLE IF EXISTS `character_macroses`; | ||||
| CREATE TABLE IF NOT EXISTS `character_macroses` ( | ||||
|   `charId` INT UNSIGNED NOT NULL DEFAULT 0, | ||||
|   `id` INT NOT NULL DEFAULT 0, | ||||
|   `icon` INT, | ||||
|   `name` VARCHAR(40) , | ||||
|   `descr` VARCHAR(80) , | ||||
|   `acronym` VARCHAR(4) , | ||||
|   `commands` VARCHAR(500) , | ||||
|   PRIMARY KEY (`charId`,`id`) | ||||
| ) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; | ||||
							
								
								
									
										5
									
								
								L2J_Mobius_Essence_6.3_Crusader/dist/db_installer/sql/game/character_mentees.sql
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										5
									
								
								L2J_Mobius_Essence_6.3_Crusader/dist/db_installer/sql/game/character_mentees.sql
									
									
									
									
										vendored
									
									
										Normal file
									
								
							| @@ -0,0 +1,5 @@ | ||||
| DROP TABLE IF EXISTS `character_mentees`; | ||||
| CREATE TABLE IF NOT EXISTS `character_mentees` ( | ||||
|   `charId` int(10) unsigned NOT NULL DEFAULT '0', | ||||
|   `mentorId` int(10) unsigned NOT NULL DEFAULT '0' | ||||
| ) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_general_ci; | ||||
							
								
								
									
										8
									
								
								L2J_Mobius_Essence_6.3_Crusader/dist/db_installer/sql/game/character_offline_trade.sql
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										8
									
								
								L2J_Mobius_Essence_6.3_Crusader/dist/db_installer/sql/game/character_offline_trade.sql
									
									
									
									
										vendored
									
									
										Normal file
									
								
							| @@ -0,0 +1,8 @@ | ||||
| DROP TABLE IF EXISTS `character_offline_trade`; | ||||
| CREATE TABLE IF NOT EXISTS `character_offline_trade` ( | ||||
|   `charId` int(10) unsigned NOT NULL, | ||||
|   `time` bigint(13) unsigned NOT NULL DEFAULT '0', | ||||
|   `type` tinyint(4) NOT NULL DEFAULT '0', | ||||
|   `title` varchar(50) DEFAULT NULL, | ||||
|   PRIMARY KEY (`charId`) | ||||
| ) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; | ||||
							
								
								
									
										9
									
								
								L2J_Mobius_Essence_6.3_Crusader/dist/db_installer/sql/game/character_offline_trade_items.sql
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										9
									
								
								L2J_Mobius_Essence_6.3_Crusader/dist/db_installer/sql/game/character_offline_trade_items.sql
									
									
									
									
										vendored
									
									
										Normal file
									
								
							| @@ -0,0 +1,9 @@ | ||||
| DROP TABLE IF EXISTS `character_offline_trade_items`; | ||||
| CREATE TABLE IF NOT EXISTS `character_offline_trade_items` ( | ||||
|   `charId` int(10) unsigned NOT NULL, | ||||
|   `item` int(10) unsigned NOT NULL DEFAULT '0', -- itemId(for buy) & ObjectId(for sell) | ||||
|   `count` bigint(20) unsigned NOT NULL DEFAULT '0', | ||||
|   `price` bigint(20) unsigned NOT NULL DEFAULT '0', | ||||
|   KEY `charId` (`charId`), | ||||
|   KEY `item` (`item`) | ||||
| ) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_general_ci; | ||||
							
								
								
									
										10
									
								
								L2J_Mobius_Essence_6.3_Crusader/dist/db_installer/sql/game/character_pet_skills_save.sql
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										10
									
								
								L2J_Mobius_Essence_6.3_Crusader/dist/db_installer/sql/game/character_pet_skills_save.sql
									
									
									
									
										vendored
									
									
										Normal file
									
								
							| @@ -0,0 +1,10 @@ | ||||
| DROP TABLE IF EXISTS `character_pet_skills_save`; | ||||
| CREATE TABLE IF NOT EXISTS `character_pet_skills_save` ( | ||||
|   `petObjItemId` INT NOT NULL DEFAULT 0, | ||||
|   `skill_id` INT NOT NULL DEFAULT 0, | ||||
|   `skill_level` INT(3) NOT NULL DEFAULT 1, | ||||
|   `skill_sub_level` INT(4) NOT NULL DEFAULT '0', | ||||
|   `remaining_time` INT NOT NULL DEFAULT 0, | ||||
|   `buff_index` INT(2) NOT NULL DEFAULT 0, | ||||
|   PRIMARY KEY (`petObjItemId`,`skill_id`,`skill_level`) | ||||
| ) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; | ||||
							
								
								
									
										9
									
								
								L2J_Mobius_Essence_6.3_Crusader/dist/db_installer/sql/game/character_potens.sql
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										9
									
								
								L2J_Mobius_Essence_6.3_Crusader/dist/db_installer/sql/game/character_potens.sql
									
									
									
									
										vendored
									
									
										Normal file
									
								
							| @@ -0,0 +1,9 @@ | ||||
| DROP TABLE IF EXISTS `character_potens`; | ||||
| CREATE TABLE IF NOT EXISTS `character_potens` ( | ||||
|   `charId` INT UNSIGNED NOT NULL DEFAULT 0, | ||||
|   `slot_position` INT NOT NULL DEFAULT 0, | ||||
|   `poten_id` INT NOT NULL DEFAULT 0, | ||||
|   `enchant_level` INT NOT NULL DEFAULT 0, | ||||
|   `enchant_exp` INT NOT NULL DEFAULT 0, | ||||
|   PRIMARY KEY (`charId`,`slot_position`) | ||||
| ) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_general_ci; | ||||
							
								
								
									
										11
									
								
								L2J_Mobius_Essence_6.3_Crusader/dist/db_installer/sql/game/character_premium_items.sql
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										11
									
								
								L2J_Mobius_Essence_6.3_Crusader/dist/db_installer/sql/game/character_premium_items.sql
									
									
									
									
										vendored
									
									
										Normal file
									
								
							| @@ -0,0 +1,11 @@ | ||||
| DROP TABLE IF EXISTS `character_premium_items`; | ||||
| CREATE TABLE IF NOT EXISTS `character_premium_items` ( | ||||
|   `charId` int(11) NOT NULL, | ||||
|   `itemNum` int(11) NOT NULL, | ||||
|   `itemId` int(11) NOT NULL, | ||||
|   `itemCount` bigint(20) unsigned NOT NULL, | ||||
|   `itemSender` varchar(50) NOT NULL, | ||||
|   KEY `charId` (`charId`), | ||||
|   KEY `itemNum` (`itemNum`), | ||||
|   KEY `itemId` (`itemId`) | ||||
| ) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; | ||||
							
								
								
									
										9
									
								
								L2J_Mobius_Essence_6.3_Crusader/dist/db_installer/sql/game/character_purge.sql
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										9
									
								
								L2J_Mobius_Essence_6.3_Crusader/dist/db_installer/sql/game/character_purge.sql
									
									
									
									
										vendored
									
									
										Normal file
									
								
							| @@ -0,0 +1,9 @@ | ||||
| DROP TABLE IF EXISTS `character_purge`; | ||||
| CREATE TABLE IF NOT EXISTS `character_purge` ( | ||||
|   `charId` int(10) unsigned NOT NULL DEFAULT 0, | ||||
|   `category` int(3) UNSIGNED NOT NULL DEFAULT 0, | ||||
|   `points` int(10) UNSIGNED NOT NULL DEFAULT 0, | ||||
|   `keys` int(10) UNSIGNED NOT NULL DEFAULT 0, | ||||
|   `remainingKeys` int(10) UNSIGNED NOT NULL DEFAULT 0, | ||||
|   PRIMARY KEY (`charId`,`category`) | ||||
| ) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_general_ci; | ||||
							
								
								
									
										8
									
								
								L2J_Mobius_Essence_6.3_Crusader/dist/db_installer/sql/game/character_quests.sql
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										8
									
								
								L2J_Mobius_Essence_6.3_Crusader/dist/db_installer/sql/game/character_quests.sql
									
									
									
									
										vendored
									
									
										Normal file
									
								
							| @@ -0,0 +1,8 @@ | ||||
| DROP TABLE IF EXISTS `character_quests`; | ||||
| CREATE TABLE IF NOT EXISTS `character_quests` ( | ||||
|   `charId` INT UNSIGNED NOT NULL DEFAULT 0, | ||||
|   `name` VARCHAR(60) NOT NULL DEFAULT '', | ||||
|   `var`  VARCHAR(20) NOT NULL DEFAULT '', | ||||
|   `value` VARCHAR(255) , | ||||
|   PRIMARY KEY (`charId`,`name`,`var`) | ||||
| ) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; | ||||
							
								
								
									
										28
									
								
								L2J_Mobius_Essence_6.3_Crusader/dist/db_installer/sql/game/character_random_craft.sql
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										28
									
								
								L2J_Mobius_Essence_6.3_Crusader/dist/db_installer/sql/game/character_random_craft.sql
									
									
									
									
										vendored
									
									
										Normal file
									
								
							| @@ -0,0 +1,28 @@ | ||||
| DROP TABLE IF EXISTS `character_random_craft`; | ||||
| CREATE TABLE IF NOT EXISTS `character_random_craft` ( | ||||
|   `charId` INT UNSIGNED NOT NULL DEFAULT 0, | ||||
|   `random_craft_full_points` INT NOT NULL DEFAULT 0, | ||||
|   `random_craft_points` INT NOT NULL DEFAULT 0, | ||||
|   `sayha_roll` TINYINT NOT NULL DEFAULT 0, | ||||
|   `item_1_id` INT NOT NULL DEFAULT 0, | ||||
|   `item_1_count` BIGINT UNSIGNED NOT NULL DEFAULT 0, | ||||
|   `item_1_locked` TINYINT NOT NULL DEFAULT 0, | ||||
|   `item_1_lock_left` INT NOT NULL DEFAULT 0, | ||||
|   `item_2_id` INT NOT NULL DEFAULT 0, | ||||
|   `item_2_count` BIGINT UNSIGNED NOT NULL DEFAULT 0, | ||||
|   `item_2_locked` TINYINT NOT NULL DEFAULT 0, | ||||
|   `item_2_lock_left` INT NOT NULL DEFAULT 0, | ||||
|   `item_3_id` INT NOT NULL DEFAULT 0, | ||||
|   `item_3_count` BIGINT UNSIGNED NOT NULL DEFAULT 0, | ||||
|   `item_3_locked` TINYINT NOT NULL DEFAULT 0, | ||||
|   `item_3_lock_left` INT NOT NULL DEFAULT 0, | ||||
|   `item_4_id` INT NOT NULL DEFAULT 0, | ||||
|   `item_4_count` BIGINT UNSIGNED NOT NULL DEFAULT 0, | ||||
|   `item_4_locked` TINYINT NOT NULL DEFAULT 0, | ||||
|   `item_4_lock_left` INT NOT NULL DEFAULT 0, | ||||
|   `item_5_id` INT NOT NULL DEFAULT 0, | ||||
|   `item_5_count` BIGINT UNSIGNED NOT NULL DEFAULT 0, | ||||
|   `item_5_locked` TINYINT NOT NULL DEFAULT 0, | ||||
|   `item_5_lock_left` INT NOT NULL DEFAULT 0, | ||||
|   PRIMARY KEY (`charId`) | ||||
| ) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_general_ci; | ||||
							
								
								
									
										8
									
								
								L2J_Mobius_Essence_6.3_Crusader/dist/db_installer/sql/game/character_recipebook.sql
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										8
									
								
								L2J_Mobius_Essence_6.3_Crusader/dist/db_installer/sql/game/character_recipebook.sql
									
									
									
									
										vendored
									
									
										Normal file
									
								
							| @@ -0,0 +1,8 @@ | ||||
| DROP TABLE IF EXISTS `character_recipebook`; | ||||
| CREATE TABLE IF NOT EXISTS `character_recipebook` ( | ||||
|   `charId` INT UNSIGNED NOT NULL DEFAULT 0, | ||||
|   `id` decimal(11) NOT NULL DEFAULT 0, | ||||
|   `classIndex` TINYINT NOT NULL DEFAULT 0, | ||||
|   `type` INT NOT NULL DEFAULT 0, | ||||
|   PRIMARY KEY (`id`,`charId`,`classIndex`) | ||||
| ) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_general_ci; | ||||
							
								
								
									
										8
									
								
								L2J_Mobius_Essence_6.3_Crusader/dist/db_installer/sql/game/character_recipeshoplist.sql
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										8
									
								
								L2J_Mobius_Essence_6.3_Crusader/dist/db_installer/sql/game/character_recipeshoplist.sql
									
									
									
									
										vendored
									
									
										Normal file
									
								
							| @@ -0,0 +1,8 @@ | ||||
| DROP TABLE IF EXISTS `character_recipeshoplist`; | ||||
| CREATE TABLE IF NOT EXISTS `character_recipeshoplist` ( | ||||
|   `charId` int(10) unsigned NOT NULL DEFAULT 0, | ||||
|   `recipeId` int(11) UNSIGNED NOT NULL DEFAULT 0, | ||||
|   `price` bigint(20) UNSIGNED NOT NULL DEFAULT 0, | ||||
|   `index` tinyint(3) UNSIGNED NOT NULL DEFAULT 0, | ||||
|   PRIMARY KEY (`charId`,`recipeId`) | ||||
| ) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_general_ci; | ||||
							
								
								
									
										8
									
								
								L2J_Mobius_Essence_6.3_Crusader/dist/db_installer/sql/game/character_reco_bonus.sql
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										8
									
								
								L2J_Mobius_Essence_6.3_Crusader/dist/db_installer/sql/game/character_reco_bonus.sql
									
									
									
									
										vendored
									
									
										Normal file
									
								
							| @@ -0,0 +1,8 @@ | ||||
| DROP TABLE IF EXISTS `character_reco_bonus`; | ||||
| CREATE TABLE IF NOT EXISTS `character_reco_bonus` ( | ||||
|   `charId` int(10) unsigned NOT NULL, | ||||
|   `rec_have` tinyint(3) unsigned NOT NULL DEFAULT '0', | ||||
|   `rec_left` tinyint(3) unsigned NOT NULL DEFAULT '0', | ||||
|   `time_left` bigint(13) unsigned NOT NULL DEFAULT '0', | ||||
|   UNIQUE KEY `charId` (`charId`) | ||||
| ) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_general_ci; | ||||
							
								
								
									
										21
									
								
								L2J_Mobius_Essence_6.3_Crusader/dist/db_installer/sql/game/character_revenge_history.sql
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										21
									
								
								L2J_Mobius_Essence_6.3_Crusader/dist/db_installer/sql/game/character_revenge_history.sql
									
									
									
									
										vendored
									
									
										Normal file
									
								
							| @@ -0,0 +1,21 @@ | ||||
| DROP TABLE IF EXISTS `character_revenge_history`; | ||||
| CREATE TABLE IF NOT EXISTS `character_revenge_history` ( | ||||
|   `charId` int(10) UNSIGNED NOT NULL, | ||||
|   `type` int(10) NOT NULL, | ||||
|   `killer_name` VARCHAR(35), | ||||
|   `killer_clan` VARCHAR(45), | ||||
|   `killer_level` int UNSIGNED NOT NULL, | ||||
|   `killer_race` int NOT NULL DEFAULT 0, | ||||
|   `killer_class` int NOT NULL DEFAULT 0, | ||||
|   `victim_name` VARCHAR(35), | ||||
|   `victim_clan` VARCHAR(45), | ||||
|   `victim_level` int UNSIGNED NOT NULL, | ||||
|   `victim_race` int NOT NULL DEFAULT 0, | ||||
|   `victim_class` int NOT NULL DEFAULT 0, | ||||
|   `shared` TINYINT(1) NOT NULL DEFAULT 0, | ||||
|   `show_location_remaining` int NOT NULL DEFAULT 0, | ||||
|   `teleport_remaining` int NOT NULL DEFAULT 0, | ||||
|   `shared_teleport_remaining` int NOT NULL DEFAULT 0, | ||||
|   `kill_time` BIGINT(10) UNSIGNED NOT NULL, | ||||
|   `share_time` BIGINT(10) UNSIGNED NOT NULL | ||||
| ) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; | ||||
							
								
								
									
										13
									
								
								L2J_Mobius_Essence_6.3_Crusader/dist/db_installer/sql/game/character_shortcuts.sql
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										13
									
								
								L2J_Mobius_Essence_6.3_Crusader/dist/db_installer/sql/game/character_shortcuts.sql
									
									
									
									
										vendored
									
									
										Normal file
									
								
							| @@ -0,0 +1,13 @@ | ||||
| DROP TABLE IF EXISTS `character_shortcuts`; | ||||
| CREATE TABLE IF NOT EXISTS `character_shortcuts` ( | ||||
|   `charId` INT UNSIGNED NOT NULL DEFAULT 0, | ||||
|   `slot` decimal(3) NOT NULL DEFAULT 0, | ||||
|   `page` decimal(3) NOT NULL DEFAULT 0, | ||||
|   `type` decimal(3) , | ||||
|   `shortcut_id` decimal(16) , | ||||
|   `level` SMALLINT UNSIGNED , | ||||
|   `sub_level` INT(4) NOT NULL DEFAULT '0', | ||||
|   `class_index` int(1) NOT NULL DEFAULT '0', | ||||
|   PRIMARY KEY (`charId`,`slot`,`page`,`class_index`), | ||||
|   KEY `shortcut_id` (`shortcut_id`) | ||||
| ) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_general_ci; | ||||
							
								
								
									
										9
									
								
								L2J_Mobius_Essence_6.3_Crusader/dist/db_installer/sql/game/character_skills.sql
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										9
									
								
								L2J_Mobius_Essence_6.3_Crusader/dist/db_installer/sql/game/character_skills.sql
									
									
									
									
										vendored
									
									
										Normal file
									
								
							| @@ -0,0 +1,9 @@ | ||||
| DROP TABLE IF EXISTS `character_skills`; | ||||
| CREATE TABLE IF NOT EXISTS `character_skills` ( | ||||
|   `charId` INT UNSIGNED NOT NULL DEFAULT 0, | ||||
|   `skill_id` INT NOT NULL DEFAULT 0, | ||||
|   `skill_level` INT(4) NOT NULL DEFAULT 1, | ||||
|   `skill_sub_level` INT(4) NOT NULL DEFAULT '0', | ||||
|   `class_index` INT(1) NOT NULL DEFAULT 0, | ||||
|   PRIMARY KEY (`charId`,`skill_id`,`class_index`) | ||||
| ) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_general_ci; | ||||
							
								
								
									
										14
									
								
								L2J_Mobius_Essence_6.3_Crusader/dist/db_installer/sql/game/character_skills_save.sql
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										14
									
								
								L2J_Mobius_Essence_6.3_Crusader/dist/db_installer/sql/game/character_skills_save.sql
									
									
									
									
										vendored
									
									
										Normal file
									
								
							| @@ -0,0 +1,14 @@ | ||||
| DROP TABLE IF EXISTS `character_skills_save`; | ||||
| CREATE TABLE IF NOT EXISTS `character_skills_save` ( | ||||
|   `charId` INT NOT NULL DEFAULT 0, | ||||
|   `skill_id` INT NOT NULL DEFAULT 0, | ||||
|   `skill_level` INT(4) NOT NULL DEFAULT 1, | ||||
|   `skill_sub_level` INT(4) NOT NULL DEFAULT '0', | ||||
|   `remaining_time` INT NOT NULL DEFAULT 0, | ||||
|   `reuse_delay` INT(8) NOT NULL DEFAULT 0, | ||||
|   `systime` bigint(13) unsigned NOT NULL DEFAULT '0', | ||||
|   `restore_type` INT(1) NOT NULL DEFAULT 0, | ||||
|   `class_index` INT(1) NOT NULL DEFAULT 0, | ||||
|   `buff_index` INT(2) NOT NULL DEFAULT 0, | ||||
|   PRIMARY KEY (`charId`,`skill_id`,`skill_level`,`class_index`) | ||||
| ) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_general_ci; | ||||
							
								
								
									
										16
									
								
								L2J_Mobius_Essence_6.3_Crusader/dist/db_installer/sql/game/character_spirits.sql
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										16
									
								
								L2J_Mobius_Essence_6.3_Crusader/dist/db_installer/sql/game/character_spirits.sql
									
									
									
									
										vendored
									
									
										Normal file
									
								
							| @@ -0,0 +1,16 @@ | ||||
| DROP TABLE IF EXISTS `character_spirits`; | ||||
| CREATE TABLE `character_spirits` | ||||
| ( | ||||
|     `charId`             INT UNSIGNED NOT NULL, | ||||
|     `type`               TINYINT      NOT NULL, | ||||
|     `level`              TINYINT      NOT NULL DEFAULT 1, | ||||
|     `stage`              TINYINT      NOT NULL DEFAULT 0, | ||||
|     `experience`         BIGINT       NOT NULL DEFAULT 0, | ||||
|     `attack_points`      TINYINT      NOT NULL DEFAULT 0, | ||||
|     `defense_points`     TINYINT      NOT NULL DEFAULT 0, | ||||
|     `crit_rate_points`   TINYINT      NOT NULL DEFAULT 0, | ||||
|     `crit_damage_points` TINYINT      NOT NULL DEFAULT 0, | ||||
|     `in_use`             BOOLEAN      NOT NULL DEFAULT FALSE, | ||||
|     PRIMARY KEY (`charId`, `type`), | ||||
|     FOREIGN KEY FK_CHARACTER_SPIRITS (`charId`) REFERENCES characters (`charId`) ON DELETE CASCADE | ||||
| ) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_general_ci; | ||||
							
								
								
									
										12
									
								
								L2J_Mobius_Essence_6.3_Crusader/dist/db_installer/sql/game/character_subclasses.sql
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										12
									
								
								L2J_Mobius_Essence_6.3_Crusader/dist/db_installer/sql/game/character_subclasses.sql
									
									
									
									
										vendored
									
									
										Normal file
									
								
							| @@ -0,0 +1,12 @@ | ||||
| DROP TABLE IF EXISTS `character_subclasses`; | ||||
| CREATE TABLE IF NOT EXISTS `character_subclasses` ( | ||||
|   `charId` INT UNSIGNED NOT NULL DEFAULT 0, | ||||
|   `class_id` int(2) NOT NULL DEFAULT 0, | ||||
|   `exp` bigint(20) NOT NULL DEFAULT 0, | ||||
|   `sp` bigint(10) NOT NULL DEFAULT 0, | ||||
|   `level` int(2) NOT NULL DEFAULT 40, | ||||
|   `vitality_points` MEDIUMINT UNSIGNED NOT NULL DEFAULT 0, | ||||
|   `class_index` int(1) NOT NULL DEFAULT 0, | ||||
|   `dual_class` BOOLEAN NOT NULL DEFAULT FALSE, | ||||
|   PRIMARY KEY (`charId`,`class_id`) | ||||
| ) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_general_ci; | ||||
							
								
								
									
										12
									
								
								L2J_Mobius_Essence_6.3_Crusader/dist/db_installer/sql/game/character_summon_skills_save.sql
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										12
									
								
								L2J_Mobius_Essence_6.3_Crusader/dist/db_installer/sql/game/character_summon_skills_save.sql
									
									
									
									
										vendored
									
									
										Normal file
									
								
							| @@ -0,0 +1,12 @@ | ||||
| DROP TABLE IF EXISTS `character_summon_skills_save`; | ||||
| CREATE TABLE IF NOT EXISTS `character_summon_skills_save` ( | ||||
|   `ownerId` INT NOT NULL DEFAULT 0, | ||||
|   `ownerClassIndex` INT(1) NOT NULL DEFAULT 0, | ||||
|   `summonSkillId` INT NOT NULL DEFAULT 0, | ||||
|   `skill_id` INT NOT NULL DEFAULT 0, | ||||
|   `skill_level` INT(3) NOT NULL DEFAULT 1, | ||||
|   `skill_sub_level` INT(4) NOT NULL DEFAULT '0', | ||||
|   `remaining_time` INT NOT NULL DEFAULT 0, | ||||
|   `buff_index` INT(2) NOT NULL DEFAULT 0, | ||||
|   PRIMARY KEY (`ownerId`,`ownerClassIndex`,`summonSkillId`,`skill_id`,`skill_level`) | ||||
| ) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_general_ci; | ||||
							
								
								
									
										10
									
								
								L2J_Mobius_Essence_6.3_Crusader/dist/db_installer/sql/game/character_summons.sql
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										10
									
								
								L2J_Mobius_Essence_6.3_Crusader/dist/db_installer/sql/game/character_summons.sql
									
									
									
									
										vendored
									
									
										Normal file
									
								
							| @@ -0,0 +1,10 @@ | ||||
| DROP TABLE IF EXISTS `character_summons`; | ||||
| CREATE TABLE IF NOT EXISTS `character_summons` ( | ||||
|   `ownerId` int(10) unsigned NOT NULL, | ||||
|   `summonId` int(10) unsigned NOT NULL, | ||||
|   `summonSkillId` int(10) unsigned NOT NULL, | ||||
|   `curHp` int(9) unsigned DEFAULT '0', | ||||
|   `curMp` int(9) unsigned DEFAULT '0', | ||||
|   `time` int(10) unsigned NOT NULL DEFAULT '0', | ||||
|   PRIMARY KEY (`ownerId`,`summonId`,`summonSkillId`) | ||||
| ) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_general_ci; | ||||
							
								
								
									
										12
									
								
								L2J_Mobius_Essence_6.3_Crusader/dist/db_installer/sql/game/character_tpbookmark.sql
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										12
									
								
								L2J_Mobius_Essence_6.3_Crusader/dist/db_installer/sql/game/character_tpbookmark.sql
									
									
									
									
										vendored
									
									
										Normal file
									
								
							| @@ -0,0 +1,12 @@ | ||||
| DROP TABLE IF EXISTS `character_tpbookmark`; | ||||
| CREATE TABLE IF NOT EXISTS `character_tpbookmark` ( | ||||
|   `charId` int(20) NOT NULL, | ||||
|   `Id` int(20) NOT NULL, | ||||
|   `x` int(20) NOT NULL, | ||||
|   `y` int(20) NOT NULL, | ||||
|   `z` int(20) NOT NULL, | ||||
|   `icon` int(20) NOT NULL, | ||||
|   `tag` varchar(50) DEFAULT NULL, | ||||
|   `name` varchar(50) NOT NULL, | ||||
|   PRIMARY KEY (`charId`,`Id`) | ||||
| ) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; | ||||
							
								
								
									
										6
									
								
								L2J_Mobius_Essence_6.3_Crusader/dist/db_installer/sql/game/character_variables.sql
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										6
									
								
								L2J_Mobius_Essence_6.3_Crusader/dist/db_installer/sql/game/character_variables.sql
									
									
									
									
										vendored
									
									
										Normal file
									
								
							| @@ -0,0 +1,6 @@ | ||||
| DROP TABLE IF EXISTS `character_variables`; | ||||
| CREATE TABLE IF NOT EXISTS `character_variables` ( | ||||
|   `charId` int(10) UNSIGNED NOT NULL, | ||||
|   `var` varchar(255) NOT NULL, | ||||
|   `val` text NOT NULL | ||||
| ) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; | ||||
							
								
								
									
										65
									
								
								L2J_Mobius_Essence_6.3_Crusader/dist/db_installer/sql/game/characters.sql
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										65
									
								
								L2J_Mobius_Essence_6.3_Crusader/dist/db_installer/sql/game/characters.sql
									
									
									
									
										vendored
									
									
										Normal file
									
								
							| @@ -0,0 +1,65 @@ | ||||
| CREATE TABLE IF NOT EXISTS `characters` ( | ||||
|   `account_name` VARCHAR(45) DEFAULT NULL, | ||||
|   `charId` INT UNSIGNED NOT NULL DEFAULT 0, | ||||
|   `char_name` VARCHAR(35) NOT NULL, | ||||
|   `level` TINYINT UNSIGNED DEFAULT NULL, | ||||
|   `maxHp` MEDIUMINT UNSIGNED DEFAULT NULL, | ||||
|   `curHp` MEDIUMINT UNSIGNED DEFAULT NULL, | ||||
|   `maxCp` MEDIUMINT UNSIGNED DEFAULT NULL, | ||||
|   `curCp` MEDIUMINT UNSIGNED DEFAULT NULL, | ||||
|   `maxMp` MEDIUMINT UNSIGNED DEFAULT NULL, | ||||
|   `curMp` MEDIUMINT UNSIGNED DEFAULT NULL, | ||||
|   `face` TINYINT UNSIGNED DEFAULT NULL, | ||||
|   `hairStyle` TINYINT UNSIGNED DEFAULT NULL, | ||||
|   `hairColor` TINYINT UNSIGNED DEFAULT NULL, | ||||
|   `sex` TINYINT UNSIGNED DEFAULT NULL, | ||||
|   `heading` MEDIUMINT DEFAULT NULL, | ||||
|   `x` MEDIUMINT DEFAULT NULL, | ||||
|   `y` MEDIUMINT DEFAULT NULL, | ||||
|   `z` MEDIUMINT DEFAULT NULL, | ||||
|   `exp` BIGINT UNSIGNED DEFAULT 0, | ||||
|   `expBeforeDeath` BIGINT UNSIGNED DEFAULT 0, | ||||
|   `sp` BIGINT(10) UNSIGNED NOT NULL DEFAULT 0, | ||||
|   `reputation` INT DEFAULT NULL, | ||||
|   `fame` MEDIUMINT UNSIGNED NOT NULL DEFAULT 0, | ||||
|   `raidbossPoints` MEDIUMINT UNSIGNED NOT NULL DEFAULT 0, | ||||
|   `pvpkills` SMALLINT UNSIGNED DEFAULT NULL, | ||||
|   `pkkills` SMALLINT UNSIGNED DEFAULT NULL, | ||||
|   `clanid` INT UNSIGNED DEFAULT NULL, | ||||
|   `race` TINYINT UNSIGNED DEFAULT NULL, | ||||
|   `classid` TINYINT UNSIGNED DEFAULT NULL, | ||||
|   `base_class` TINYINT UNSIGNED NOT NULL DEFAULT 0, | ||||
|   `transform_id` SMALLINT UNSIGNED NOT NULL DEFAULT 0, | ||||
|   `deletetime` bigint(13) unsigned NOT NULL DEFAULT '0', | ||||
|   `cancraft` TINYINT UNSIGNED DEFAULT NULL, | ||||
|   `title` VARCHAR(21) DEFAULT NULL, | ||||
|   `title_color` MEDIUMINT UNSIGNED NOT NULL DEFAULT 0xECF9A2, | ||||
|   `accesslevel` MEDIUMINT DEFAULT 0, | ||||
|   `online` TINYINT UNSIGNED DEFAULT NULL, | ||||
|   `onlinetime` INT DEFAULT NULL, | ||||
|   `char_slot` TINYINT UNSIGNED DEFAULT NULL, | ||||
|   `lastAccess` bigint(13) unsigned NOT NULL DEFAULT '0', | ||||
|   `clan_privs` INT UNSIGNED DEFAULT 0, | ||||
|   `wantspeace` TINYINT UNSIGNED DEFAULT 0, | ||||
|   `power_grade` TINYINT UNSIGNED DEFAULT NULL, | ||||
|   `nobless` TINYINT UNSIGNED NOT NULL DEFAULT 0, | ||||
|   `subpledge` SMALLINT NOT NULL DEFAULT 0, | ||||
|   `lvl_joined_academy` TINYINT UNSIGNED NOT NULL DEFAULT 0, | ||||
|   `apprentice` INT UNSIGNED NOT NULL DEFAULT 0, | ||||
|   `sponsor` INT UNSIGNED NOT NULL DEFAULT 0, | ||||
|   `clan_join_expiry_time` bigint(13) unsigned NOT NULL DEFAULT '0', | ||||
|   `clan_create_expiry_time` bigint(13) unsigned NOT NULL DEFAULT '0', | ||||
|   `bookmarkslot` SMALLINT UNSIGNED NOT NULL DEFAULT 0, | ||||
|   `vitality_points` MEDIUMINT UNSIGNED NOT NULL DEFAULT 0, | ||||
|   `createDate` date NOT NULL DEFAULT '2015-01-01', | ||||
|   `language` VARCHAR(2) DEFAULT NULL, | ||||
|   `faction` TINYINT UNSIGNED NOT NULL DEFAULT '0', | ||||
|   `pccafe_points` int(6) NOT NULL DEFAULT '0', | ||||
|   `deaths` SMALLINT NOT NULL DEFAULT '0', | ||||
|   `kills` SMALLINT NOT NULL DEFAULT '0', | ||||
|   PRIMARY KEY (`charId`), | ||||
|   KEY `account_name` (`account_name`), | ||||
|   KEY `char_name` (`char_name`), | ||||
|   KEY `clanid` (`clanid`), | ||||
|   KEY `online` (`online`) | ||||
| ) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; | ||||
							
								
								
									
										27
									
								
								L2J_Mobius_Essence_6.3_Crusader/dist/db_installer/sql/game/clan_data.sql
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										27
									
								
								L2J_Mobius_Essence_6.3_Crusader/dist/db_installer/sql/game/clan_data.sql
									
									
									
									
										vendored
									
									
										Normal file
									
								
							| @@ -0,0 +1,27 @@ | ||||
| DROP TABLE IF EXISTS `clan_data`; | ||||
| CREATE TABLE IF NOT EXISTS `clan_data` ( | ||||
|   `clan_id` INT NOT NULL DEFAULT 0, | ||||
|   `clan_name` varchar(45) , | ||||
|   `clan_level` INT, | ||||
|   `reputation_score` INT NOT NULL DEFAULT 0, | ||||
|   `hasCastle` INT, | ||||
|   `blood_alliance_count` smallint(5) unsigned NOT NULL DEFAULT 0, | ||||
|   `blood_oath_count` smallint(5) unsigned NOT NULL DEFAULT 0, | ||||
|   `ally_id` INT, | ||||
|   `ally_name` varchar(45), | ||||
|   `leader_id` INT, | ||||
|   `crest_id` INT, | ||||
|   `crest_large_id` INT, | ||||
|   `ally_crest_id` INT, | ||||
|   `auction_bid_at` INT NOT NULL DEFAULT 0, | ||||
|   `ally_penalty_expiry_time` bigint(13) unsigned NOT NULL DEFAULT '0', | ||||
|   `ally_penalty_type` tinyint(1) NOT NULL DEFAULT 0, | ||||
|   `char_penalty_expiry_time` bigint(13) unsigned NOT NULL DEFAULT '0', | ||||
|   `dissolving_expiry_time` bigint(13) unsigned NOT NULL DEFAULT '0', | ||||
|   `new_leader_id` INT(10) unsigned NOT NULL DEFAULT '0', | ||||
|   `exp` INT, | ||||
|   PRIMARY KEY (`clan_id`), | ||||
|   KEY `ally_id` (`ally_id`), | ||||
|   KEY `leader_id` (`leader_id`), | ||||
|   KEY `auction_bid_at` (`auction_bid_at`) | ||||
| ) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; | ||||
							
								
								
									
										7
									
								
								L2J_Mobius_Essence_6.3_Crusader/dist/db_installer/sql/game/clan_notices.sql
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										7
									
								
								L2J_Mobius_Essence_6.3_Crusader/dist/db_installer/sql/game/clan_notices.sql
									
									
									
									
										vendored
									
									
										Normal file
									
								
							| @@ -0,0 +1,7 @@ | ||||
| DROP TABLE IF EXISTS `clan_notices`; | ||||
| CREATE TABLE IF NOT EXISTS `clan_notices` ( | ||||
|   `clan_id` INT NOT NULL DEFAULT 0, | ||||
|   `enabled` enum('true','false') DEFAULT 'false' NOT NULL, | ||||
|   `notice` TEXT NOT NULL, | ||||
|   PRIMARY KEY  (`clan_id`) | ||||
| ) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; | ||||
							
								
								
									
										8
									
								
								L2J_Mobius_Essence_6.3_Crusader/dist/db_installer/sql/game/clan_privs.sql
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										8
									
								
								L2J_Mobius_Essence_6.3_Crusader/dist/db_installer/sql/game/clan_privs.sql
									
									
									
									
										vendored
									
									
										Normal file
									
								
							| @@ -0,0 +1,8 @@ | ||||
| DROP TABLE IF EXISTS `clan_privs`; | ||||
| CREATE TABLE IF NOT EXISTS `clan_privs` ( | ||||
|   `clan_id` INT NOT NULL DEFAULT 0, | ||||
|   `rank` INT NOT NULL DEFAULT 0, | ||||
|   `party` INT NOT NULL DEFAULT 0, | ||||
|   `privs` INT NOT NULL DEFAULT 0, | ||||
|   PRIMARY KEY (`clan_id`,`rank`,`party`) | ||||
| ) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_general_ci; | ||||
							
								
								
									
										9
									
								
								L2J_Mobius_Essence_6.3_Crusader/dist/db_installer/sql/game/clan_skills.sql
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										9
									
								
								L2J_Mobius_Essence_6.3_Crusader/dist/db_installer/sql/game/clan_skills.sql
									
									
									
									
										vendored
									
									
										Normal file
									
								
							| @@ -0,0 +1,9 @@ | ||||
| DROP TABLE IF EXISTS `clan_skills`; | ||||
| CREATE TABLE IF NOT EXISTS `clan_skills` ( | ||||
|   `clan_id` int(11) NOT NULL DEFAULT 0, | ||||
|   `skill_id` int(11) NOT NULL DEFAULT 0, | ||||
|   `skill_level` int(5) NOT NULL DEFAULT 0, | ||||
|   `skill_name` varchar(26) DEFAULT NULL, | ||||
|   `sub_pledge_id` INT NOT NULL DEFAULT '-2', | ||||
|   PRIMARY KEY (`clan_id`,`skill_id`,`sub_pledge_id`) | ||||
| ) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; | ||||
							
								
								
									
										9
									
								
								L2J_Mobius_Essence_6.3_Crusader/dist/db_installer/sql/game/clan_subpledges.sql
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										9
									
								
								L2J_Mobius_Essence_6.3_Crusader/dist/db_installer/sql/game/clan_subpledges.sql
									
									
									
									
										vendored
									
									
										Normal file
									
								
							| @@ -0,0 +1,9 @@ | ||||
| DROP TABLE IF EXISTS `clan_subpledges`; | ||||
| CREATE TABLE IF NOT EXISTS `clan_subpledges` ( | ||||
|   `clan_id` INT NOT NULL DEFAULT '0', | ||||
|   `sub_pledge_id` INT NOT NULL DEFAULT '0', | ||||
|   `name` varchar(45), | ||||
|   `leader_id` INT NOT NULL DEFAULT '0', | ||||
|   PRIMARY KEY (`clan_id`,`sub_pledge_id`), | ||||
|   KEY `leader_id` (`leader_id`) | ||||
| ) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; | ||||
							
								
								
									
										7
									
								
								L2J_Mobius_Essence_6.3_Crusader/dist/db_installer/sql/game/clan_variables.sql
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										7
									
								
								L2J_Mobius_Essence_6.3_Crusader/dist/db_installer/sql/game/clan_variables.sql
									
									
									
									
										vendored
									
									
										Normal file
									
								
							| @@ -0,0 +1,7 @@ | ||||
| DROP TABLE IF EXISTS `clan_variables`; | ||||
| CREATE TABLE IF NOT EXISTS `clan_variables` ( | ||||
|   `clanId` int(10) UNSIGNED NOT NULL, | ||||
|   `var` varchar(255) NOT NULL, | ||||
|   `val` text NOT NULL, | ||||
|   KEY `clanId` (`clanId`) | ||||
| ) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; | ||||
							
								
								
									
										12
									
								
								L2J_Mobius_Essence_6.3_Crusader/dist/db_installer/sql/game/clan_wars.sql
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										12
									
								
								L2J_Mobius_Essence_6.3_Crusader/dist/db_installer/sql/game/clan_wars.sql
									
									
									
									
										vendored
									
									
										Normal file
									
								
							| @@ -0,0 +1,12 @@ | ||||
| DROP TABLE IF EXISTS `clan_wars`; | ||||
| CREATE TABLE IF NOT EXISTS `clan_wars` ( | ||||
|   `clan1` varchar(35) NOT NULL DEFAULT '', | ||||
|   `clan2` varchar(35) NOT NULL DEFAULT '', | ||||
|   `clan1Kill` int(11) NOT NULL DEFAULT 0, | ||||
|   `clan2Kill` int(11) NOT NULL DEFAULT 0, | ||||
|   `winnerClan` varchar(35) NOT NULL DEFAULT '0', | ||||
|   `startTime` bigint(13) NOT NULL DEFAULT 0, | ||||
|   `endTime` bigint(13) NOT NULL DEFAULT 0, | ||||
|   `state` tinyint(4) NOT NULL DEFAULT 0, | ||||
|   PRIMARY KEY (`clan1`,`clan2`) | ||||
| ) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; | ||||
							
								
								
									
										26
									
								
								L2J_Mobius_Essence_6.3_Crusader/dist/db_installer/sql/game/clanentry.sql
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										26
									
								
								L2J_Mobius_Essence_6.3_Crusader/dist/db_installer/sql/game/clanentry.sql
									
									
									
									
										vendored
									
									
										Normal file
									
								
							| @@ -0,0 +1,26 @@ | ||||
| DROP TABLE IF EXISTS `pledge_applicant`; | ||||
| CREATE TABLE IF NOT EXISTS `pledge_applicant` ( | ||||
|   `charId` int(10) NOT NULL, | ||||
|   `clanId` int(10) NOT NULL, | ||||
|   `karma` tinyint(1) NOT NULL, | ||||
|   `message` varchar(255) COLLATE utf8_unicode_ci NOT NULL, | ||||
|   PRIMARY KEY (`charId`,`clanId`) | ||||
| ) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; | ||||
|  | ||||
| DROP TABLE IF EXISTS `pledge_recruit`; | ||||
| CREATE TABLE IF NOT EXISTS `pledge_recruit` ( | ||||
|   `clan_id` int(10) NOT NULL, | ||||
|   `karma` tinyint(1) NOT NULL, | ||||
|   `information` varchar(50) COLLATE utf8_unicode_ci NOT NULL, | ||||
|   `detailed_information` varchar(255) COLLATE utf8_unicode_ci NOT NULL, | ||||
|   `application_type` tinyint(1) NOT NULL, | ||||
|   `recruit_type` tinyint(1) NOT NULL, | ||||
|   PRIMARY KEY (`clan_id`) | ||||
| ) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; | ||||
|  | ||||
| DROP TABLE IF EXISTS `pledge_waiting_list`; | ||||
| CREATE TABLE IF NOT EXISTS `pledge_waiting_list` ( | ||||
|   `char_id` int(10) NOT NULL, | ||||
|   `karma` tinyint(1) NOT NULL, | ||||
|   PRIMARY KEY (`char_id`) | ||||
| ) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; | ||||
							
								
								
									
										8
									
								
								L2J_Mobius_Essence_6.3_Crusader/dist/db_installer/sql/game/clanhall.sql
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										8
									
								
								L2J_Mobius_Essence_6.3_Crusader/dist/db_installer/sql/game/clanhall.sql
									
									
									
									
										vendored
									
									
										Normal file
									
								
							| @@ -0,0 +1,8 @@ | ||||
| DROP TABLE IF EXISTS `clanhall`; | ||||
| CREATE TABLE IF NOT EXISTS `clanhall` ( | ||||
|   `id` int(11) NOT NULL DEFAULT '0', | ||||
|   `ownerId` int(11) NOT NULL DEFAULT '0', | ||||
|   `paidUntil` bigint(13) unsigned NOT NULL DEFAULT '0', | ||||
|   PRIMARY KEY `id` (`id`), | ||||
|   KEY `ownerId` (`ownerId`) | ||||
| ) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_general_ci; | ||||
							
								
								
									
										8
									
								
								L2J_Mobius_Essence_6.3_Crusader/dist/db_installer/sql/game/clanhall_auctions_bidders.sql
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										8
									
								
								L2J_Mobius_Essence_6.3_Crusader/dist/db_installer/sql/game/clanhall_auctions_bidders.sql
									
									
									
									
										vendored
									
									
										Normal file
									
								
							| @@ -0,0 +1,8 @@ | ||||
| DROP TABLE IF EXISTS `clanhall_auctions_bidders`; | ||||
| CREATE TABLE IF NOT EXISTS `clanhall_auctions_bidders` ( | ||||
|   `clanHallId` INT UNSIGNED NOT NULL DEFAULT 0, | ||||
|   `clanId` INT UNSIGNED NOT NULL DEFAULT 0, | ||||
|   `bid` BIGINT UNSIGNED NOT NULL DEFAULT 0, | ||||
|   `bidTime` BIGINT(13) UNSIGNED NOT NULL DEFAULT 0, | ||||
|   PRIMARY KEY( `clanHallId`, `clanId`) | ||||
| ) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_general_ci; | ||||
							
								
								
									
										6
									
								
								L2J_Mobius_Essence_6.3_Crusader/dist/db_installer/sql/game/collection_favorites.sql
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										6
									
								
								L2J_Mobius_Essence_6.3_Crusader/dist/db_installer/sql/game/collection_favorites.sql
									
									
									
									
										vendored
									
									
										Normal file
									
								
							| @@ -0,0 +1,6 @@ | ||||
| DROP TABLE IF EXISTS `collection_favorites`; | ||||
| CREATE TABLE IF NOT EXISTS `collection_favorites` ( | ||||
|   `accountName` VARCHAR(45) NOT NULL DEFAULT '', | ||||
|   `collectionId` int(3) UNSIGNED NOT NULL DEFAULT 0, | ||||
|   PRIMARY KEY (`accountName`,`collectionId`) | ||||
| ) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; | ||||
							
								
								
									
										8
									
								
								L2J_Mobius_Essence_6.3_Crusader/dist/db_installer/sql/game/collections.sql
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										8
									
								
								L2J_Mobius_Essence_6.3_Crusader/dist/db_installer/sql/game/collections.sql
									
									
									
									
										vendored
									
									
										Normal file
									
								
							| @@ -0,0 +1,8 @@ | ||||
| DROP TABLE IF EXISTS `collections`; | ||||
| CREATE TABLE IF NOT EXISTS `collections` ( | ||||
|   `accountName` VARCHAR(45) NOT NULL DEFAULT '', | ||||
|   `itemId` int(11) UNSIGNED NOT NULL DEFAULT 0, | ||||
|   `collectionId` int(3) UNSIGNED NOT NULL DEFAULT 0, | ||||
|   `index` tinyint(3) UNSIGNED NOT NULL DEFAULT 0, | ||||
|   PRIMARY KEY (`accountName`,`collectionId`,`index`) | ||||
| ) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; | ||||
							
								
								
									
										10
									
								
								L2J_Mobius_Essence_6.3_Crusader/dist/db_installer/sql/game/commission_items.sql
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										10
									
								
								L2J_Mobius_Essence_6.3_Crusader/dist/db_installer/sql/game/commission_items.sql
									
									
									
									
										vendored
									
									
										Normal file
									
								
							| @@ -0,0 +1,10 @@ | ||||
| DROP TABLE IF EXISTS `commission_items`; | ||||
| CREATE TABLE IF NOT EXISTS `commission_items` ( | ||||
| 	`commission_id` BIGINT NOT NULL AUTO_INCREMENT, | ||||
| 	`item_object_id` INT NOT NULL, | ||||
| 	`price_per_unit` BIGINT NOT NULL, | ||||
| 	`start_time` TIMESTAMP NOT NULL, | ||||
| 	`duration_in_days` TINYINT NOT NULL, | ||||
| 	`discount_in_percentage` TINYINT NOT NULL, | ||||
| 	PRIMARY KEY (`commission_id`) | ||||
| ) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_general_ci; | ||||
							
								
								
									
										7
									
								
								L2J_Mobius_Essence_6.3_Crusader/dist/db_installer/sql/game/crests.sql
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										7
									
								
								L2J_Mobius_Essence_6.3_Crusader/dist/db_installer/sql/game/crests.sql
									
									
									
									
										vendored
									
									
										Normal file
									
								
							| @@ -0,0 +1,7 @@ | ||||
| DROP TABLE IF EXISTS `crests`; | ||||
| CREATE TABLE IF NOT EXISTS `crests` ( | ||||
| 	`crest_id` INT, | ||||
| 	`data` VARBINARY(2176) NOT NULL, | ||||
| 	`type` TINYINT NOT NULL, | ||||
| 	PRIMARY KEY(`crest_id`) | ||||
| ) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_general_ci; | ||||
							
								
								
									
										11
									
								
								L2J_Mobius_Essence_6.3_Crusader/dist/db_installer/sql/game/cursed_weapons.sql
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										11
									
								
								L2J_Mobius_Essence_6.3_Crusader/dist/db_installer/sql/game/cursed_weapons.sql
									
									
									
									
										vendored
									
									
										Normal file
									
								
							| @@ -0,0 +1,11 @@ | ||||
| DROP TABLE IF EXISTS `cursed_weapons`; | ||||
| CREATE TABLE IF NOT EXISTS `cursed_weapons` ( | ||||
|   `itemId` INT, | ||||
|   `charId` INT UNSIGNED NOT NULL DEFAULT 0, | ||||
|   `playerReputation` INT DEFAULT 0, | ||||
|   `playerPkKills` INT DEFAULT 0, | ||||
|   `nbKills` INT DEFAULT 0, | ||||
|   `endTime` bigint(13) unsigned NOT NULL DEFAULT '0', | ||||
|   PRIMARY KEY (`itemId`), | ||||
|   KEY `charId` (`charId`) | ||||
| ) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_general_ci; | ||||
							
								
								
									
										7
									
								
								L2J_Mobius_Essence_6.3_Crusader/dist/db_installer/sql/game/custom_mail.sql
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										7
									
								
								L2J_Mobius_Essence_6.3_Crusader/dist/db_installer/sql/game/custom_mail.sql
									
									
									
									
										vendored
									
									
										Normal file
									
								
							| @@ -0,0 +1,7 @@ | ||||
| CREATE TABLE IF NOT EXISTS `custom_mail` ( | ||||
|   `date` TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP, | ||||
|   `receiver` INT UNSIGNED NOT NULL DEFAULT 0, | ||||
|   `subject` TINYTEXT NOT NULL, | ||||
|   `message` TEXT NOT NULL, | ||||
|   `items` TEXT NOT NULL -- format: itemId1 count1;itemId2 count2;itemId3 count3... | ||||
| ) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; | ||||
							
								
								
									
										12
									
								
								L2J_Mobius_Essence_6.3_Crusader/dist/db_installer/sql/game/custom_teleport.sql
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										12
									
								
								L2J_Mobius_Essence_6.3_Crusader/dist/db_installer/sql/game/custom_teleport.sql
									
									
									
									
										vendored
									
									
										Normal file
									
								
							| @@ -0,0 +1,12 @@ | ||||
| DROP TABLE IF EXISTS `custom_teleport`; | ||||
| CREATE TABLE IF NOT EXISTS `custom_teleport` ( | ||||
|   `Description` varchar(75) DEFAULT NULL, | ||||
|   `id` mediumint(7) unsigned NOT NULL DEFAULT '0', | ||||
|   `loc_x` mediumint(6) DEFAULT NULL, | ||||
|   `loc_y` mediumint(6) DEFAULT NULL, | ||||
|   `loc_z` mediumint(6) DEFAULT NULL, | ||||
|   `price` int(10) unsigned DEFAULT NULL, | ||||
|   `fornoble` tinyint(1) NOT NULL DEFAULT '0', | ||||
|   `itemId` smallint(5) unsigned NOT NULL DEFAULT '57', | ||||
|   PRIMARY KEY (`id`) | ||||
| ) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; | ||||
							
								
								
									
										9
									
								
								L2J_Mobius_Essence_6.3_Crusader/dist/db_installer/sql/game/event_schedulers.sql
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										9
									
								
								L2J_Mobius_Essence_6.3_Crusader/dist/db_installer/sql/game/event_schedulers.sql
									
									
									
									
										vendored
									
									
										Normal file
									
								
							| @@ -0,0 +1,9 @@ | ||||
| DROP TABLE IF EXISTS `event_schedulers`; | ||||
| CREATE TABLE IF NOT EXISTS `event_schedulers` ( | ||||
|   `id` int(10) unsigned NOT NULL AUTO_INCREMENT, | ||||
|   `eventName` varchar(255) COLLATE utf8_unicode_ci NOT NULL, | ||||
|   `schedulerName` varchar(255) COLLATE utf8_unicode_ci NOT NULL, | ||||
|   `lastRun` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP, | ||||
|   PRIMARY KEY (`id`), | ||||
|   UNIQUE KEY `eventName_schedulerName` (`eventName`,`schedulerName`) USING BTREE | ||||
| ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; | ||||
							
								
								
									
										37
									
								
								L2J_Mobius_Essence_6.3_Crusader/dist/db_installer/sql/game/fort.sql
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										37
									
								
								L2J_Mobius_Essence_6.3_Crusader/dist/db_installer/sql/game/fort.sql
									
									
									
									
										vendored
									
									
										Normal file
									
								
							| @@ -0,0 +1,37 @@ | ||||
| DROP TABLE IF EXISTS `fort`; | ||||
| CREATE TABLE IF NOT EXISTS `fort` ( | ||||
|   `id` int(11) NOT NULL DEFAULT 0, | ||||
|   `name` varchar(25) NOT NULL, | ||||
|   `siegeDate` bigint(13) unsigned NOT NULL DEFAULT '0', | ||||
|   `lastOwnedTime` bigint(13) unsigned NOT NULL DEFAULT '0', | ||||
|   `owner` int(11) NOT NULL DEFAULT 0, | ||||
|   `fortType` int(1) NOT NULL DEFAULT 0, | ||||
|   `state` int(1) NOT NULL DEFAULT 0, | ||||
|   `castleId` int(1) NOT NULL DEFAULT 0, | ||||
|   `supplyLvL` int(2) NOT NULL DEFAULT 0, | ||||
|   PRIMARY KEY (`id`), | ||||
|   KEY `owner` (`owner`) | ||||
| ) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; | ||||
|  | ||||
| INSERT IGNORE INTO `fort` VALUES | ||||
| (101,'Shanty',0,0,0,0,0,0,0), | ||||
| (102,'Southern',0,0,0,1,0,0,0), | ||||
| (103,'Hive',0,0,0,0,0,0,0), | ||||
| (104,'Valley',0,0,0,1,0,0,0), | ||||
| (105,'Ivory',0,0,0,0,0,0,0), | ||||
| (106,'Narsell',0,0,0,0,0,0,0), | ||||
| (107,'Bayou',0,0,0,1,0,0,0), | ||||
| (108,'White Sands',0,0,0,0,0,0,0), | ||||
| (109,'Borderland',0,0,0,1,0,0,0), | ||||
| (110,'Swamp',0,0,0,1,0,0,0), | ||||
| (111,'Archaic',0,0,0,0,0,0,0), | ||||
| (112,'Floran',0,0,0,1,0,0,0), | ||||
| -- (113,'Cloud Mountain',0,0,0,1,0,0,0), | ||||
| (114,'Tanor',0,0,0,0,0,0,0), | ||||
| (115,'Dragonspine',0,0,0,0,0,0,0), | ||||
| (116,'Antharas',0,0,0,1,0,0,0), | ||||
| (117,'Western',0,0,0,1,0,0,0), | ||||
| (118,'Hunters',0,0,0,1,0,0,0), | ||||
| (119,'Aaru',0,0,0,0,0,0,0), | ||||
| (120,'Demon',0,0,0,0,0,0,0), | ||||
| (121,'Monastic',0,0,0,0,0,0,0); | ||||
							
								
								
									
										9
									
								
								L2J_Mobius_Essence_6.3_Crusader/dist/db_installer/sql/game/fort_doorupgrade.sql
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										9
									
								
								L2J_Mobius_Essence_6.3_Crusader/dist/db_installer/sql/game/fort_doorupgrade.sql
									
									
									
									
										vendored
									
									
										Normal file
									
								
							| @@ -0,0 +1,9 @@ | ||||
| DROP TABLE IF EXISTS `fort_doorupgrade`; | ||||
| CREATE TABLE IF NOT EXISTS `fort_doorupgrade` ( | ||||
|   `doorId` int(11) NOT NULL DEFAULT '0', | ||||
|   `fortId` int(11) NOT NULL, | ||||
|   `hp` int(11) NOT NULL DEFAULT '0', | ||||
|   `pDef` int(11) NOT NULL DEFAULT '0', | ||||
|   `mDef` int(11) NOT NULL DEFAULT '0', | ||||
|   PRIMARY KEY (`doorId`) | ||||
| ) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_general_ci; | ||||
							
								
								
									
										10
									
								
								L2J_Mobius_Essence_6.3_Crusader/dist/db_installer/sql/game/fort_functions.sql
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										10
									
								
								L2J_Mobius_Essence_6.3_Crusader/dist/db_installer/sql/game/fort_functions.sql
									
									
									
									
										vendored
									
									
										Normal file
									
								
							| @@ -0,0 +1,10 @@ | ||||
| DROP TABLE IF EXISTS `fort_functions`; | ||||
| CREATE TABLE IF NOT EXISTS `fort_functions` ( | ||||
|   `fort_id` int(2) NOT NULL DEFAULT '0', | ||||
|   `type` int(1) NOT NULL DEFAULT '0', | ||||
|   `lvl` int(3) NOT NULL DEFAULT '0', | ||||
|   `lease` int(10) NOT NULL DEFAULT '0', | ||||
|   `rate` decimal(20,0) NOT NULL DEFAULT '0', | ||||
|   `endTime` bigint(13) unsigned NOT NULL DEFAULT '0', | ||||
|   PRIMARY KEY (`fort_id`,`type`) | ||||
| ) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_general_ci; | ||||
							
								
								
									
										14
									
								
								L2J_Mobius_Essence_6.3_Crusader/dist/db_installer/sql/game/fort_siege_guards.sql
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										14
									
								
								L2J_Mobius_Essence_6.3_Crusader/dist/db_installer/sql/game/fort_siege_guards.sql
									
									
									
									
										vendored
									
									
										Normal file
									
								
							| @@ -0,0 +1,14 @@ | ||||
| DROP TABLE IF EXISTS `fort_siege_guards`; | ||||
| CREATE TABLE IF NOT EXISTS `fort_siege_guards` ( | ||||
|   `fortId` tinyint(3) unsigned NOT NULL DEFAULT '0', | ||||
|   `id` smallint(4) unsigned NOT NULL AUTO_INCREMENT, | ||||
|   `npcId` smallint(5) unsigned NOT NULL DEFAULT '0', | ||||
|   `x` mediumint(6) NOT NULL DEFAULT '0', | ||||
|   `y` mediumint(6) NOT NULL DEFAULT '0', | ||||
|   `z` mediumint(6) NOT NULL DEFAULT '0', | ||||
|   `heading` mediumint(6) NOT NULL DEFAULT '0', | ||||
|   `respawnDelay` mediumint(5) NOT NULL DEFAULT '0', | ||||
|   `isHired` tinyint(1) NOT NULL DEFAULT '1', | ||||
|   PRIMARY KEY (`id`), | ||||
|   KEY `id` (`fortId`) | ||||
| ) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_general_ci; | ||||
							
								
								
									
										14
									
								
								L2J_Mobius_Essence_6.3_Crusader/dist/db_installer/sql/game/fort_spawnlist.sql
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										14
									
								
								L2J_Mobius_Essence_6.3_Crusader/dist/db_installer/sql/game/fort_spawnlist.sql
									
									
									
									
										vendored
									
									
										Normal file
									
								
							| @@ -0,0 +1,14 @@ | ||||
| DROP TABLE IF EXISTS `fort_spawnlist`; | ||||
| CREATE TABLE `fort_spawnlist` ( | ||||
|   `fortId` tinyint(3) unsigned NOT NULL DEFAULT '0', | ||||
|   `id` smallint(4) unsigned NOT NULL AUTO_INCREMENT, | ||||
|   `npcId` smallint(5) unsigned NOT NULL DEFAULT '0', | ||||
|   `x` mediumint(6) NOT NULL DEFAULT '0', | ||||
|   `y` mediumint(6) NOT NULL DEFAULT '0', | ||||
|   `z` mediumint(6) NOT NULL DEFAULT '0', | ||||
|   `heading` mediumint(6) NOT NULL DEFAULT '0', | ||||
|   `spawnType` tinyint(1) unsigned NOT NULL DEFAULT '0', -- 0-always spawned, 1-despawned during siege, 2-despawned 10min before siege, 3-spawned after fort taken | ||||
|   `castleId` tinyint(1) unsigned NOT NULL DEFAULT '0',  -- Castle ID for Special Envoys | ||||
|   PRIMARY KEY (`id`), | ||||
|   KEY `id` (`fortId`) | ||||
| ) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_general_ci; | ||||
							
								
								
									
										6
									
								
								L2J_Mobius_Essence_6.3_Crusader/dist/db_installer/sql/game/fortsiege_clans.sql
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										6
									
								
								L2J_Mobius_Essence_6.3_Crusader/dist/db_installer/sql/game/fortsiege_clans.sql
									
									
									
									
										vendored
									
									
										Normal file
									
								
							| @@ -0,0 +1,6 @@ | ||||
| DROP TABLE IF EXISTS `fortsiege_clans`; | ||||
| CREATE TABLE IF NOT EXISTS `fortsiege_clans` ( | ||||
|   `fort_id` int(1) NOT NULL DEFAULT '0', | ||||
|   `clan_id` int(11) NOT NULL DEFAULT '0', | ||||
|   PRIMARY KEY (`clan_id`,`fort_id`) | ||||
| ) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_general_ci; | ||||
							
								
								
									
										18
									
								
								L2J_Mobius_Essence_6.3_Crusader/dist/db_installer/sql/game/forums.sql
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										18
									
								
								L2J_Mobius_Essence_6.3_Crusader/dist/db_installer/sql/game/forums.sql
									
									
									
									
										vendored
									
									
										Normal file
									
								
							| @@ -0,0 +1,18 @@ | ||||
| DROP TABLE IF EXISTS `forums`; | ||||
| CREATE TABLE IF NOT EXISTS `forums` ( | ||||
|   `forum_id` int(8) NOT NULL DEFAULT '0', | ||||
|   `forum_name` varchar(255) NOT NULL DEFAULT '', | ||||
|   `forum_parent` int(8) NOT NULL DEFAULT '0', | ||||
|   `forum_post` int(8) NOT NULL DEFAULT '0', | ||||
|   `forum_type` int(8) NOT NULL DEFAULT '0', | ||||
|   `forum_perm` int(8) NOT NULL DEFAULT '0', | ||||
|   `forum_owner_id` int(8) NOT NULL DEFAULT '0', | ||||
|   PRIMARY KEY (`forum_id`), | ||||
|   KEY `forum_owner_id` (`forum_owner_id`) | ||||
| ) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; | ||||
|  | ||||
| INSERT IGNORE INTO `forums` VALUES | ||||
| (1, 'NormalRoot', 0, 0, 0, 1, 0), | ||||
| (2, 'ClanRoot', 0, 0, 0, 0, 0), | ||||
| (3, 'MemoRoot', 0, 0, 0, 0, 0), | ||||
| (4, 'MailRoot', 0, 0, 0, 0, 0); | ||||
							
								
								
									
										11
									
								
								L2J_Mobius_Essence_6.3_Crusader/dist/db_installer/sql/game/global_tasks.sql
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										11
									
								
								L2J_Mobius_Essence_6.3_Crusader/dist/db_installer/sql/game/global_tasks.sql
									
									
									
									
										vendored
									
									
										Normal file
									
								
							| @@ -0,0 +1,11 @@ | ||||
| DROP TABLE IF EXISTS `global_tasks`; | ||||
| CREATE TABLE IF NOT EXISTS `global_tasks` ( | ||||
|   `id` int(11) NOT NULL auto_increment, | ||||
|   `task` varchar(50) NOT NULL DEFAULT '', | ||||
|   `type` varchar(50) NOT NULL DEFAULT '', | ||||
|   `last_activation` bigint(13) unsigned NOT NULL DEFAULT '0', | ||||
|   `param1` varchar(100) NOT NULL DEFAULT '', | ||||
|   `param2` varchar(100) NOT NULL DEFAULT '', | ||||
|   `param3` varchar(255) NOT NULL DEFAULT '', | ||||
|   PRIMARY KEY (`id`) | ||||
| ) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; | ||||
							
								
								
									
										6
									
								
								L2J_Mobius_Essence_6.3_Crusader/dist/db_installer/sql/game/global_variables.sql
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										6
									
								
								L2J_Mobius_Essence_6.3_Crusader/dist/db_installer/sql/game/global_variables.sql
									
									
									
									
										vendored
									
									
										Normal file
									
								
							| @@ -0,0 +1,6 @@ | ||||
| DROP TABLE IF EXISTS `global_variables`; | ||||
| CREATE TABLE IF NOT EXISTS `global_variables` ( | ||||
|   `var`  VARCHAR(255) NOT NULL DEFAULT '', | ||||
|   `value` VARCHAR(255) , | ||||
|   PRIMARY KEY (`var`) | ||||
| ) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; | ||||
							
								
								
									
										24
									
								
								L2J_Mobius_Essence_6.3_Crusader/dist/db_installer/sql/game/grandboss_data.sql
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										24
									
								
								L2J_Mobius_Essence_6.3_Crusader/dist/db_installer/sql/game/grandboss_data.sql
									
									
									
									
										vendored
									
									
										Normal file
									
								
							| @@ -0,0 +1,24 @@ | ||||
| DROP TABLE IF EXISTS `grandboss_data`; | ||||
| CREATE TABLE IF NOT EXISTS `grandboss_data` ( | ||||
|   `boss_id` smallint(5) unsigned NOT NULL, | ||||
|   `loc_x` mediumint(6) NOT NULL, | ||||
|   `loc_y` mediumint(6) NOT NULL, | ||||
|   `loc_z` mediumint(6) NOT NULL, | ||||
|   `heading` mediumint(6) NOT NULL DEFAULT '0', | ||||
|   `respawn_time` bigint(13) unsigned NOT NULL DEFAULT '0', | ||||
|   `currentHP` decimal(30,15) NOT NULL, | ||||
|   `currentMP` decimal(30,15) NOT NULL, | ||||
|   `status` tinyint(1) unsigned NOT NULL DEFAULT '0', | ||||
|   PRIMARY KEY (`boss_id`) | ||||
| ) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_general_ci; | ||||
|  | ||||
| INSERT IGNORE INTO `grandboss_data` (`boss_id`,`loc_x`,`loc_y`,`loc_z`,`heading`,`currentHP`,`currentMP`) VALUES | ||||
| (29001, 93069, 8925, -3904, 0, 229898.48, 667.776), -- Queen Ant | ||||
| (29006, 17726, 108915, -6480, 0, 622493.58388, 3793.536), -- Core | ||||
| (29014, 64418, 29467, -3792, 10126, 622493.58388, 3793.536), -- Orfen | ||||
| (29020, 116033, 17447, 10107, -25348, 4068372, 39960), -- Baium | ||||
| (29022, 52207, 217230, -3341, 0, 28531442, 12240), -- Zaken | ||||
| -- (29028, -105200, -253104, -15264, 0, 62041918, 2248572), -- Valakas | ||||
| (29068, 185708, 114298, -8221,32768, 62802301, 1998000); -- Antharas | ||||
| -- (25286, -6675, 18505, -5488, 16550, 556345880, 86847), -- Anakim | ||||
| -- (25283, 185059, -9610, -5488, 15640, 486021997, 79600), -- Lilith | ||||
							
								
								
									
										11
									
								
								L2J_Mobius_Essence_6.3_Crusader/dist/db_installer/sql/game/heroes.sql
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										11
									
								
								L2J_Mobius_Essence_6.3_Crusader/dist/db_installer/sql/game/heroes.sql
									
									
									
									
										vendored
									
									
										Normal file
									
								
							| @@ -0,0 +1,11 @@ | ||||
| DROP TABLE IF EXISTS `heroes`; | ||||
| CREATE TABLE IF NOT EXISTS `heroes` ( | ||||
|   `charId` INT UNSIGNED NOT NULL DEFAULT 0, | ||||
|   `class_id` decimal(3,0) NOT NULL DEFAULT 0, | ||||
|   `count` decimal(3,0) NOT NULL DEFAULT 0, | ||||
|   `legend_count` decimal(3,0) NOT NULL DEFAULT 0, | ||||
|   `played` decimal(1,0) NOT NULL DEFAULT 0, | ||||
|   `claimed` ENUM('true','false') NOT NULL DEFAULT 'false', | ||||
|   `message` varchar(300) NOT NULL DEFAULT '', | ||||
|   PRIMARY KEY (`charId`) | ||||
| ) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; | ||||
							
								
								
									
										8
									
								
								L2J_Mobius_Essence_6.3_Crusader/dist/db_installer/sql/game/heroes_diary.sql
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										8
									
								
								L2J_Mobius_Essence_6.3_Crusader/dist/db_installer/sql/game/heroes_diary.sql
									
									
									
									
										vendored
									
									
										Normal file
									
								
							| @@ -0,0 +1,8 @@ | ||||
| DROP TABLE IF EXISTS `heroes_diary`; | ||||
| CREATE TABLE IF NOT EXISTS `heroes_diary` ( | ||||
|   `charId` int(10) unsigned NOT NULL, | ||||
|   `time` bigint(13) unsigned NOT NULL DEFAULT '0', | ||||
|   `action` tinyint(2) unsigned NOT NULL DEFAULT '0', | ||||
|   `param` int(11) unsigned NOT NULL DEFAULT '0', | ||||
|   KEY `charId` (`charId`) | ||||
| ) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_general_ci; | ||||
							
								
								
									
										13
									
								
								L2J_Mobius_Essence_6.3_Crusader/dist/db_installer/sql/game/huntpass.sql
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										13
									
								
								L2J_Mobius_Essence_6.3_Crusader/dist/db_installer/sql/game/huntpass.sql
									
									
									
									
										vendored
									
									
										Normal file
									
								
							| @@ -0,0 +1,13 @@ | ||||
| DROP TABLE IF EXISTS `huntpass`;	 | ||||
| CREATE TABLE IF NOT EXISTS `huntpass` ( | ||||
|   `account_name` VARCHAR(45) NOT NULL DEFAULT '', | ||||
|   `current_step` INT NOT NULL DEFAULT 0, | ||||
|   `points` INT NOT NULL DEFAULT 0, | ||||
|   `reward_step` INT NOT NULL DEFAULT 0, | ||||
|   `is_paytowin` BOOLEAN NOT NULL DEFAULT FALSE, | ||||
|   `premium_reward_step` INT NOT NULL DEFAULT 0, | ||||
|   `sayha_points_available` INT NOT NULL DEFAULT 0, | ||||
|   `sayha_points_used` INT NOT NULL DEFAULT 0, | ||||
|   `unclaimed_reward` BOOLEAN NOT NULL DEFAULT FALSE, | ||||
|   PRIMARY KEY (`account_name`) | ||||
| ) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; | ||||
							
								
								
									
										10
									
								
								L2J_Mobius_Essence_6.3_Crusader/dist/db_installer/sql/game/item_auction.sql
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										10
									
								
								L2J_Mobius_Essence_6.3_Crusader/dist/db_installer/sql/game/item_auction.sql
									
									
									
									
										vendored
									
									
										Normal file
									
								
							| @@ -0,0 +1,10 @@ | ||||
| DROP TABLE IF EXISTS `item_auction`; | ||||
| CREATE TABLE IF NOT EXISTS `item_auction` ( | ||||
|   `auctionId` int(11) NOT NULL, | ||||
|   `instanceId` int(11) NOT NULL, | ||||
|   `auctionItemId` int(11) NOT NULL, | ||||
|   `startingTime` bigint(13) unsigned NOT NULL DEFAULT '0', | ||||
|   `endingTime` bigint(13) unsigned NOT NULL DEFAULT '0', | ||||
|   `auctionStateId` tinyint(1) NOT NULL, | ||||
|   PRIMARY KEY (`auctionId`) | ||||
| ) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_general_ci; | ||||
							
								
								
									
										7
									
								
								L2J_Mobius_Essence_6.3_Crusader/dist/db_installer/sql/game/item_auction_bid.sql
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										7
									
								
								L2J_Mobius_Essence_6.3_Crusader/dist/db_installer/sql/game/item_auction_bid.sql
									
									
									
									
										vendored
									
									
										Normal file
									
								
							| @@ -0,0 +1,7 @@ | ||||
| DROP TABLE IF EXISTS `item_auction_bid`; | ||||
| CREATE TABLE IF NOT EXISTS `item_auction_bid` ( | ||||
|   `auctionId` int(11) NOT NULL, | ||||
|   `playerObjId` int(11) NOT NULL, | ||||
|   `playerBid` bigint(20) NOT NULL, | ||||
|   PRIMARY KEY (`auctionId`,`playerObjId`) | ||||
| ) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_general_ci; | ||||
							
								
								
									
										7
									
								
								L2J_Mobius_Essence_6.3_Crusader/dist/db_installer/sql/game/item_elementals.sql
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										7
									
								
								L2J_Mobius_Essence_6.3_Crusader/dist/db_installer/sql/game/item_elementals.sql
									
									
									
									
										vendored
									
									
										Normal file
									
								
							| @@ -0,0 +1,7 @@ | ||||
| DROP TABLE IF EXISTS `item_elementals`; | ||||
| CREATE TABLE IF NOT EXISTS `item_elementals` ( | ||||
|   `itemId` int(11) NOT NULL DEFAULT 0, | ||||
|   `elemType` tinyint(1) NOT NULL DEFAULT -1, | ||||
|   `elemValue` int(11) NOT NULL DEFAULT -1, | ||||
|   PRIMARY KEY (`itemId`, `elemType`) | ||||
| ) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_general_ci; | ||||
							
								
								
									
										8
									
								
								L2J_Mobius_Essence_6.3_Crusader/dist/db_installer/sql/game/item_special_abilities.sql
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										8
									
								
								L2J_Mobius_Essence_6.3_Crusader/dist/db_installer/sql/game/item_special_abilities.sql
									
									
									
									
										vendored
									
									
										Normal file
									
								
							| @@ -0,0 +1,8 @@ | ||||
| DROP TABLE IF EXISTS `item_special_abilities`; | ||||
| CREATE TABLE IF NOT EXISTS `item_special_abilities` ( | ||||
|   `objectId` int(10) unsigned NOT NULL, | ||||
|   `type` tinyint(1) unsigned NOT NULL DEFAULT 1, | ||||
|   `optionId` int(10) unsigned NOT NULL, | ||||
|   `position` tinyint(1) unsigned NOT NULL DEFAULT 0, | ||||
|   PRIMARY KEY (`objectId`,`optionId`) | ||||
| ) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_general_ci; | ||||
							
								
								
									
										7
									
								
								L2J_Mobius_Essence_6.3_Crusader/dist/db_installer/sql/game/item_variables.sql
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										7
									
								
								L2J_Mobius_Essence_6.3_Crusader/dist/db_installer/sql/game/item_variables.sql
									
									
									
									
										vendored
									
									
										Normal file
									
								
							| @@ -0,0 +1,7 @@ | ||||
| DROP TABLE IF EXISTS `item_variables`; | ||||
| CREATE TABLE IF NOT EXISTS `item_variables` ( | ||||
|   `id` int(10) UNSIGNED NOT NULL, | ||||
|   `var` varchar(255) NOT NULL, | ||||
|   `val` text NOT NULL, | ||||
|   KEY `charId` (`id`) | ||||
| ) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; | ||||
							
								
								
									
										7
									
								
								L2J_Mobius_Essence_6.3_Crusader/dist/db_installer/sql/game/item_variations.sql
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										7
									
								
								L2J_Mobius_Essence_6.3_Crusader/dist/db_installer/sql/game/item_variations.sql
									
									
									
									
										vendored
									
									
										Normal file
									
								
							| @@ -0,0 +1,7 @@ | ||||
| CREATE TABLE IF NOT EXISTS `item_variations` ( | ||||
|   `itemId` INT(11) NOT NULL, | ||||
|   `mineralId` INT(11) NOT NULL DEFAULT 0, | ||||
|   `option1` INT(11) NOT NULL, | ||||
|   `option2` INT(11) NOT NULL, | ||||
|   PRIMARY KEY (`itemId`) | ||||
| ) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_general_ci; | ||||
							
								
								
									
										20
									
								
								L2J_Mobius_Essence_6.3_Crusader/dist/db_installer/sql/game/items.sql
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										20
									
								
								L2J_Mobius_Essence_6.3_Crusader/dist/db_installer/sql/game/items.sql
									
									
									
									
										vendored
									
									
										Normal file
									
								
							| @@ -0,0 +1,20 @@ | ||||
| DROP TABLE IF EXISTS `items`; | ||||
| CREATE TABLE IF NOT EXISTS `items` ( | ||||
|   `owner_id` INT, -- object id of the player or clan,owner of this item | ||||
|   `object_id` INT NOT NULL DEFAULT 0, -- object id of the item | ||||
|   `item_id` INT, | ||||
|   `count` BIGINT UNSIGNED NOT NULL DEFAULT 0, | ||||
|   `enchant_level` INT, | ||||
|   `loc` VARCHAR(10), -- inventory,paperdoll,npc,clan warehouse,pet,and so on | ||||
|   `loc_data` INT,    -- depending on location: equiped slot,npc id,pet id,etc | ||||
|   `time_of_use` INT, -- time of item use, for calculate of breackages | ||||
|   `custom_type1` INT DEFAULT 0, | ||||
|   `custom_type2` INT DEFAULT 0, | ||||
|   `mana_left` decimal(5,0) NOT NULL DEFAULT -1, | ||||
|   `time` decimal(13) NOT NULL DEFAULT 0, | ||||
|   PRIMARY KEY (`object_id`), | ||||
|   KEY `owner_id` (`owner_id`), | ||||
|   KEY `item_id` (`item_id`), | ||||
|   KEY `loc` (`loc`), | ||||
|   KEY `time_of_use` (`time_of_use`) | ||||
| ) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; | ||||
							
								
								
									
										13
									
								
								L2J_Mobius_Essence_6.3_Crusader/dist/db_installer/sql/game/itemsonground.sql
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										13
									
								
								L2J_Mobius_Essence_6.3_Crusader/dist/db_installer/sql/game/itemsonground.sql
									
									
									
									
										vendored
									
									
										Normal file
									
								
							| @@ -0,0 +1,13 @@ | ||||
| DROP TABLE IF EXISTS `itemsonground`; | ||||
| CREATE TABLE IF NOT EXISTS `itemsonground` ( | ||||
|   `object_id` int(11) NOT NULL DEFAULT '0', | ||||
|   `item_id` int(11) DEFAULT NULL, | ||||
|   `count` BIGINT UNSIGNED NOT NULL DEFAULT 0, | ||||
|   `enchant_level` int(11) DEFAULT NULL, | ||||
|   `x` int(11) DEFAULT NULL, | ||||
|   `y` int(11) DEFAULT NULL, | ||||
|   `z` int(11) DEFAULT NULL, | ||||
|   `drop_time` bigint(13) NOT NULL DEFAULT '0', | ||||
|   `equipable` int(1) DEFAULT '0', | ||||
|   PRIMARY KEY (`object_id`) | ||||
| ) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_general_ci; | ||||
							
								
								
									
										15
									
								
								L2J_Mobius_Essence_6.3_Crusader/dist/db_installer/sql/game/mdt_bets.sql
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										15
									
								
								L2J_Mobius_Essence_6.3_Crusader/dist/db_installer/sql/game/mdt_bets.sql
									
									
									
									
										vendored
									
									
										Normal file
									
								
							| @@ -0,0 +1,15 @@ | ||||
| CREATE TABLE IF NOT EXISTS `mdt_bets` ( | ||||
|   `lane_id` INT(1) DEFAULT 0, | ||||
|   `bet` INT DEFAULT 0, | ||||
|   PRIMARY KEY (`lane_id`) | ||||
| ) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_general_ci; | ||||
|  | ||||
| INSERT INTO `mdt_bets` VALUES | ||||
| ('1','0'), | ||||
| ('2','0'), | ||||
| ('3','0'), | ||||
| ('4','0'), | ||||
| ('5','0'), | ||||
| ('6','0'), | ||||
| ('7','0'), | ||||
| ('8','0'); | ||||
							
								
								
									
										7
									
								
								L2J_Mobius_Essence_6.3_Crusader/dist/db_installer/sql/game/mdt_history.sql
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										7
									
								
								L2J_Mobius_Essence_6.3_Crusader/dist/db_installer/sql/game/mdt_history.sql
									
									
									
									
										vendored
									
									
										Normal file
									
								
							| @@ -0,0 +1,7 @@ | ||||
| CREATE TABLE IF NOT EXISTS `mdt_history` ( | ||||
|   `race_id` MEDIUMINT DEFAULT 0, | ||||
|   `first` INT(1) DEFAULT 0, | ||||
|   `second` INT(1) DEFAULT 0, | ||||
|   `odd_rate` DOUBLE(10,2) DEFAULT 0, | ||||
|   PRIMARY KEY (`race_id`) | ||||
| ) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_general_ci; | ||||
							
								
								
									
										9
									
								
								L2J_Mobius_Essence_6.3_Crusader/dist/db_installer/sql/game/merchant_lease.sql
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										9
									
								
								L2J_Mobius_Essence_6.3_Crusader/dist/db_installer/sql/game/merchant_lease.sql
									
									
									
									
										vendored
									
									
										Normal file
									
								
							| @@ -0,0 +1,9 @@ | ||||
| DROP TABLE IF EXISTS `merchant_lease`; | ||||
| CREATE TABLE IF NOT EXISTS `merchant_lease` ( | ||||
|   `merchant_id` int(11) NOT NULL DEFAULT 0, | ||||
|   `player_id` int(11) NOT NULL DEFAULT 0, | ||||
|   `bid` int(11), | ||||
|   `type` int(11) NOT NULL DEFAULT 0, | ||||
|   `player_name` varchar(35), | ||||
|   PRIMARY KEY (`merchant_id`,`player_id`,`type`) | ||||
| ) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; | ||||
							
								
								
									
										21
									
								
								L2J_Mobius_Essence_6.3_Crusader/dist/db_installer/sql/game/messages.sql
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										21
									
								
								L2J_Mobius_Essence_6.3_Crusader/dist/db_installer/sql/game/messages.sql
									
									
									
									
										vendored
									
									
										Normal file
									
								
							| @@ -0,0 +1,21 @@ | ||||
| DROP TABLE IF EXISTS `messages`; | ||||
| CREATE TABLE IF NOT EXISTS `messages` ( | ||||
|   `messageId` INT NOT NULL DEFAULT 0, | ||||
|   `senderId` INT NOT NULL DEFAULT 0, | ||||
|   `receiverId` INT NOT NULL DEFAULT 0, | ||||
|   `subject` TINYTEXT, | ||||
|   `content` TEXT, | ||||
|   `expiration` bigint(13) unsigned NOT NULL DEFAULT '0', | ||||
|   `reqAdena` BIGINT NOT NULL DEFAULT 0, | ||||
|   `hasAttachments` enum('true','false') DEFAULT 'false' NOT NULL, | ||||
|   `isUnread` enum('true','false') DEFAULT 'true' NOT NULL, | ||||
|   `isDeletedBySender` enum('true','false') DEFAULT 'false' NOT NULL, | ||||
|   `isDeletedByReceiver` enum('true','false') DEFAULT 'false' NOT NULL, | ||||
|   `isLocked` enum('true','false') DEFAULT 'false' NOT NULL, | ||||
|   `sendBySystem` tinyint(1) NOT NULL DEFAULT 0, | ||||
|   `isReturned` enum('true','false') DEFAULT 'false' NOT NULL, | ||||
|   `itemId` INT(11) NOT NULL DEFAULT '0', | ||||
|   `enchantLvl` INT(3) NOT NULL DEFAULT '0', | ||||
|   `elementals` VARCHAR(25), | ||||
|   PRIMARY KEY (`messageId`) | ||||
| ) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; | ||||
							
								
								
									
										12
									
								
								L2J_Mobius_Essence_6.3_Crusader/dist/db_installer/sql/game/npc_respawns.sql
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										12
									
								
								L2J_Mobius_Essence_6.3_Crusader/dist/db_installer/sql/game/npc_respawns.sql
									
									
									
									
										vendored
									
									
										Normal file
									
								
							| @@ -0,0 +1,12 @@ | ||||
| DROP TABLE IF EXISTS `npc_respawns`; | ||||
| CREATE TABLE IF NOT EXISTS `npc_respawns` ( | ||||
|   `id` int(10) NOT NULL, | ||||
|   `x` int(10) NOT NULL, | ||||
|   `y` int(10) NOT NULL, | ||||
|   `z` int(10) NOT NULL, | ||||
|   `heading` int(10) NOT NULL, | ||||
|   `respawnTime` bigint(20) unsigned NOT NULL DEFAULT '0', | ||||
|   `currentHp` double unsigned NOT NULL, | ||||
|   `currentMp` double unsigned NOT NULL, | ||||
|   PRIMARY KEY (`id`) | ||||
| ) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_general_ci; | ||||
							
								
								
									
										10
									
								
								L2J_Mobius_Essence_6.3_Crusader/dist/db_installer/sql/game/olympiad_data.sql
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										10
									
								
								L2J_Mobius_Essence_6.3_Crusader/dist/db_installer/sql/game/olympiad_data.sql
									
									
									
									
										vendored
									
									
										Normal file
									
								
							| @@ -0,0 +1,10 @@ | ||||
| DROP TABLE IF EXISTS `olympiad_data`; | ||||
| CREATE TABLE IF NOT EXISTS `olympiad_data` ( | ||||
|   `id` TINYINT UNSIGNED NOT NULL DEFAULT 0, | ||||
|   `current_cycle` MEDIUMINT UNSIGNED NOT NULL DEFAULT 1, | ||||
|   `period` MEDIUMINT UNSIGNED NOT NULL DEFAULT 0, | ||||
|   `olympiad_end` bigint(13) unsigned NOT NULL DEFAULT '0', | ||||
|   `validation_end` bigint(13) unsigned NOT NULL DEFAULT '0', | ||||
|   `next_weekly_change` bigint(13) unsigned NOT NULL DEFAULT '0', | ||||
|   PRIMARY KEY (`id`) | ||||
| ) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_general_ci; | ||||
							
								
								
									
										13
									
								
								L2J_Mobius_Essence_6.3_Crusader/dist/db_installer/sql/game/olympiad_fights.sql
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										13
									
								
								L2J_Mobius_Essence_6.3_Crusader/dist/db_installer/sql/game/olympiad_fights.sql
									
									
									
									
										vendored
									
									
										Normal file
									
								
							| @@ -0,0 +1,13 @@ | ||||
| DROP TABLE IF EXISTS `olympiad_fights`; | ||||
| CREATE TABLE IF NOT EXISTS `olympiad_fights` ( | ||||
|   `charOneId` int(10) unsigned NOT NULL, | ||||
|   `charTwoId` int(10) unsigned NOT NULL, | ||||
|   `charOneClass` tinyint(3) unsigned NOT NULL DEFAULT '0', | ||||
|   `charTwoClass` tinyint(3) unsigned NOT NULL DEFAULT '0', | ||||
|   `winner` tinyint(1) unsigned NOT NULL DEFAULT '0', | ||||
|   `start` bigint(13) unsigned NOT NULL DEFAULT '0', | ||||
|   `time` bigint(13) unsigned NOT NULL DEFAULT '0', | ||||
|   `classed` tinyint(4) NOT NULL DEFAULT 0, | ||||
|   KEY `charOneId` (`charOneId`), | ||||
|   KEY `charTwoId` (`charTwoId`) | ||||
| ) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_general_ci; | ||||
							
								
								
									
										12
									
								
								L2J_Mobius_Essence_6.3_Crusader/dist/db_installer/sql/game/olympiad_nobles.sql
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										12
									
								
								L2J_Mobius_Essence_6.3_Crusader/dist/db_installer/sql/game/olympiad_nobles.sql
									
									
									
									
										vendored
									
									
										Normal file
									
								
							| @@ -0,0 +1,12 @@ | ||||
| DROP TABLE IF EXISTS `olympiad_nobles`; | ||||
| CREATE TABLE IF NOT EXISTS `olympiad_nobles` ( | ||||
|   `charId` int(10) unsigned NOT NULL DEFAULT 0, | ||||
|   `class_id` tinyint(3) unsigned NOT NULL DEFAULT 0, | ||||
|   `olympiad_points` int(10) unsigned NOT NULL DEFAULT 0, | ||||
|   `competitions_done` smallint(3) unsigned NOT NULL DEFAULT 0, | ||||
|   `competitions_won` smallint(3) unsigned NOT NULL DEFAULT 0, | ||||
|   `competitions_lost` smallint(3) unsigned NOT NULL DEFAULT 0, | ||||
|   `competitions_drawn` smallint(3) unsigned NOT NULL DEFAULT 0, | ||||
|   `competitions_done_week` tinyint(3) unsigned NOT NULL DEFAULT 0, | ||||
|   PRIMARY KEY (`charId`) | ||||
| ) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_general_ci; | ||||
							
								
								
									
										11
									
								
								L2J_Mobius_Essence_6.3_Crusader/dist/db_installer/sql/game/olympiad_nobles_eom.sql
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										11
									
								
								L2J_Mobius_Essence_6.3_Crusader/dist/db_installer/sql/game/olympiad_nobles_eom.sql
									
									
									
									
										vendored
									
									
										Normal file
									
								
							| @@ -0,0 +1,11 @@ | ||||
| DROP TABLE IF EXISTS `olympiad_nobles_eom`; | ||||
| CREATE TABLE IF NOT EXISTS `olympiad_nobles_eom` ( | ||||
|   `charId` int(10) unsigned NOT NULL DEFAULT 0, | ||||
|   `class_id` tinyint(3) unsigned NOT NULL DEFAULT 0, | ||||
|   `olympiad_points` int(10) unsigned NOT NULL DEFAULT 0, | ||||
|   `competitions_done` smallint(3) unsigned NOT NULL DEFAULT 0, | ||||
|   `competitions_won` smallint(3) unsigned NOT NULL DEFAULT 0, | ||||
|   `competitions_lost` smallint(3) unsigned NOT NULL DEFAULT 0, | ||||
|   `competitions_drawn` smallint(3) unsigned NOT NULL DEFAULT 0, | ||||
|   PRIMARY KEY (`charId`) | ||||
| ) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_general_ci; | ||||
							
								
								
									
										8
									
								
								L2J_Mobius_Essence_6.3_Crusader/dist/db_installer/sql/game/pet_evolves.sql
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										8
									
								
								L2J_Mobius_Essence_6.3_Crusader/dist/db_installer/sql/game/pet_evolves.sql
									
									
									
									
										vendored
									
									
										Normal file
									
								
							| @@ -0,0 +1,8 @@ | ||||
| DROP TABLE IF EXISTS `pet_evolves`; | ||||
| CREATE TABLE `pet_evolves` ( | ||||
| 	`itemObjId` bigint NOT NULL DEFAULT '0', | ||||
| 	`index` int NOT NULL DEFAULT '0', | ||||
| 	`level` int NOT NULL DEFAULT '0', | ||||
| 	PRIMARY KEY  (`itemObjId`, `index`, `level`), | ||||
|     UNIQUE KEY `pet_evolves` (`itemObjId`, `index`, `level`) | ||||
| ) ENGINE=MyISAM; | ||||
							
								
								
									
										7
									
								
								L2J_Mobius_Essence_6.3_Crusader/dist/db_installer/sql/game/pet_skills.sql
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										7
									
								
								L2J_Mobius_Essence_6.3_Crusader/dist/db_installer/sql/game/pet_skills.sql
									
									
									
									
										vendored
									
									
										Normal file
									
								
							| @@ -0,0 +1,7 @@ | ||||
| DROP TABLE IF EXISTS `pet_skills`; | ||||
| CREATE TABLE IF NOT EXISTS `pet_skills` ( | ||||
|   `petObjItemId` INT NOT NULL DEFAULT 0, | ||||
|   `skillId` INT NOT NULL DEFAULT 0, | ||||
|   `skillLevel` INT(3) NOT NULL DEFAULT 1, | ||||
|   PRIMARY KEY (`petObjItemId`,`skillId`,`skillLevel`) | ||||
| ) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_general_ci; | ||||
							
								
								
									
										8
									
								
								L2J_Mobius_Essence_6.3_Crusader/dist/db_installer/sql/game/petition_feedback.sql
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										8
									
								
								L2J_Mobius_Essence_6.3_Crusader/dist/db_installer/sql/game/petition_feedback.sql
									
									
									
									
										vendored
									
									
										Normal file
									
								
							| @@ -0,0 +1,8 @@ | ||||
| DROP TABLE IF EXISTS `petition_feedback`; | ||||
| CREATE TABLE IF NOT EXISTS `petition_feedback` ( | ||||
|   `charName` VARCHAR(35) NOT NULL, | ||||
|   `gmName`  VARCHAR(35) NOT NULL, | ||||
|   `rate` TINYINT(1) UNSIGNED NOT NULL DEFAULT 2, | ||||
|   `message` text NOT NULL, | ||||
|   `date` bigint(13) unsigned NOT NULL DEFAULT '0' | ||||
| ) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; | ||||
							
								
								
									
										15
									
								
								L2J_Mobius_Essence_6.3_Crusader/dist/db_installer/sql/game/pets.sql
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										15
									
								
								L2J_Mobius_Essence_6.3_Crusader/dist/db_installer/sql/game/pets.sql
									
									
									
									
										vendored
									
									
										Normal file
									
								
							| @@ -0,0 +1,15 @@ | ||||
| DROP TABLE IF EXISTS `pets`; | ||||
| CREATE TABLE IF NOT EXISTS `pets` ( | ||||
|   `item_obj_id` int(10) unsigned NOT NULL, | ||||
|   `name` varchar(36), | ||||
|   `level` smallint(2) unsigned NOT NULL, | ||||
|   `curHp` int(9) unsigned DEFAULT '0', | ||||
|   `curMp` int(9) unsigned DEFAULT '0', | ||||
|   `exp` bigint(20) unsigned DEFAULT '0', | ||||
|   `sp` bigint(10) unsigned DEFAULT '0', | ||||
|   `fed` int(10) unsigned DEFAULT '0', | ||||
|   `ownerId` int(10) NOT NULL DEFAULT '0', | ||||
|   `restore` enum('true','false') NOT NULL DEFAULT 'false', | ||||
|   PRIMARY KEY (`item_obj_id`), | ||||
|   KEY `ownerId` (`ownerId`) | ||||
| ) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; | ||||
Some files were not shown because too many files have changed in this diff Show More
		Reference in New Issue
	
	Block a user
	 MobiusDevelopment
					MobiusDevelopment