Database Installer.
This commit is contained in:
parent
ad4ce8677d
commit
51cb9651e3
@ -15,17 +15,8 @@ org.eclipse.jdt.core.compiler.annotation.nonnull=org.eclipse.jdt.annotation.NonN
|
||||
org.eclipse.jdt.core.compiler.annotation.nonnullbydefault=org.eclipse.jdt.annotation.NonNullByDefault
|
||||
org.eclipse.jdt.core.compiler.annotation.nullable=org.eclipse.jdt.annotation.Nullable
|
||||
org.eclipse.jdt.core.compiler.annotation.nullanalysis=disabled
|
||||
org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
|
||||
org.eclipse.jdt.core.compiler.codegen.methodParameters=do not generate
|
||||
org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.8
|
||||
org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve
|
||||
org.eclipse.jdt.core.compiler.compliance=1.8
|
||||
org.eclipse.jdt.core.compiler.debug.lineNumber=generate
|
||||
org.eclipse.jdt.core.compiler.debug.localVariable=generate
|
||||
org.eclipse.jdt.core.compiler.debug.sourceFile=generate
|
||||
org.eclipse.jdt.core.compiler.doc.comment.support=enabled
|
||||
org.eclipse.jdt.core.compiler.problem.annotationSuperInterface=warning
|
||||
org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
|
||||
org.eclipse.jdt.core.compiler.problem.autoboxing=ignore
|
||||
org.eclipse.jdt.core.compiler.problem.comparingIdentical=warning
|
||||
org.eclipse.jdt.core.compiler.problem.deadCode=warning
|
||||
@ -34,7 +25,6 @@ org.eclipse.jdt.core.compiler.problem.deprecationInDeprecatedCode=disabled
|
||||
org.eclipse.jdt.core.compiler.problem.deprecationWhenOverridingDeprecatedMethod=disabled
|
||||
org.eclipse.jdt.core.compiler.problem.discouragedReference=warning
|
||||
org.eclipse.jdt.core.compiler.problem.emptyStatement=warning
|
||||
org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
|
||||
org.eclipse.jdt.core.compiler.problem.explicitlyClosedAutoCloseable=ignore
|
||||
org.eclipse.jdt.core.compiler.problem.fallthroughCase=ignore
|
||||
org.eclipse.jdt.core.compiler.problem.fatalOptionalError=disabled
|
||||
@ -121,7 +111,6 @@ org.eclipse.jdt.core.compiler.problem.unusedPrivateMember=warning
|
||||
org.eclipse.jdt.core.compiler.problem.unusedTypeParameter=ignore
|
||||
org.eclipse.jdt.core.compiler.problem.unusedWarningToken=warning
|
||||
org.eclipse.jdt.core.compiler.problem.varargsArgumentNeedCast=warning
|
||||
org.eclipse.jdt.core.compiler.source=1.8
|
||||
org.eclipse.jdt.core.formatter.align_type_members_on_columns=false
|
||||
org.eclipse.jdt.core.formatter.alignment_for_arguments_in_allocation_expression=0
|
||||
org.eclipse.jdt.core.formatter.alignment_for_arguments_in_annotation=0
|
||||
|
@ -28,7 +28,7 @@
|
||||
<property name="build.dist.doc" location="${build.dist}/doc" />
|
||||
<property name="build.dist.game" location="${build.dist}/game" />
|
||||
<property name="build.dist.login" location="${build.dist}/login" />
|
||||
<property name="build.dist.tools" location="${build.dist}/tools" />
|
||||
<property name="build.dist.dbinstaller" location="${build.dist}/db_installer" />
|
||||
<property name="libs" location="dist/libs" />
|
||||
<property name="src" location="java" />
|
||||
|
||||
@ -110,6 +110,38 @@
|
||||
<attribute name="Main-Class" value="com.l2jserver.gameserver.GameServer" />
|
||||
</manifest>
|
||||
</jar>
|
||||
<jar destfile="${build.dist.dbinstaller}/Database_Installer_GS.jar" level="9">
|
||||
<fileset dir="${build.bin}">
|
||||
<include name="**/dbinstaller/**" />
|
||||
<include name="**/images/**" />
|
||||
<include name="**/util/**" />
|
||||
<include name="**/SQLFilter**" />
|
||||
<exclude name="**/LauncherLS*" />
|
||||
</fileset>
|
||||
<manifest>
|
||||
<attribute name="Built-By" value="${user.name}" />
|
||||
<attribute name="Built-Date" value="${time.stamp}" />
|
||||
<attribute name="Class-Path" value="${manifest.libs}" />
|
||||
<attribute name="Implementation-URL" value="http://www.l2jmobius.com/" />
|
||||
<attribute name="Main-Class" value="com.l2jserver.tools.dbinstaller.LauncherGS" />
|
||||
</manifest>
|
||||
</jar>
|
||||
<jar destfile="${build.dist.dbinstaller}/Database_Installer_LS.jar" level="9">
|
||||
<fileset dir="${build.bin}">
|
||||
<include name="**/dbinstaller/**" />
|
||||
<include name="**/images/**" />
|
||||
<include name="**/util/**" />
|
||||
<include name="**/SQLFilter**" />
|
||||
<exclude name="**/LauncherGS*" />
|
||||
</fileset>
|
||||
<manifest>
|
||||
<attribute name="Built-By" value="${user.name}" />
|
||||
<attribute name="Built-Date" value="${time.stamp}" />
|
||||
<attribute name="Class-Path" value="${manifest.libs}" />
|
||||
<attribute name="Implementation-URL" value="http://www.l2jmobius.com/" />
|
||||
<attribute name="Main-Class" value="com.l2jserver.tools.dbinstaller.LauncherLS" />
|
||||
</manifest>
|
||||
</jar>
|
||||
</target>
|
||||
|
||||
<target name="build" depends="jar" description="Create the Zip file.">
|
||||
|
BIN
trunk/dist/db_installer/images/help.png
vendored
Normal file
BIN
trunk/dist/db_installer/images/help.png
vendored
Normal file
Binary file not shown.
After Width: | Height: | Size: 786 B |
BIN
trunk/dist/db_installer/images/l2j.png
vendored
Normal file
BIN
trunk/dist/db_installer/images/l2j.png
vendored
Normal file
Binary file not shown.
After Width: | Height: | Size: 446 B |
@ -1,3 +1,4 @@
|
||||
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 '',
|
@ -1,3 +1,4 @@
|
||||
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,
|
@ -1,3 +1,4 @@
|
||||
DROP TABLE IF EXISTS `announcements`;
|
||||
CREATE TABLE IF NOT EXISTS `announcements` (
|
||||
`id` int(11) unsigned NOT NULL AUTO_INCREMENT,
|
||||
`type` int(11) NOT NULL,
|
@ -1,3 +1,4 @@
|
||||
DROP TABLE IF EXISTS `auction`;
|
||||
CREATE TABLE IF NOT EXISTS `auction` (
|
||||
`id` int(11) NOT NULL DEFAULT '0',
|
||||
`sellerId` int(11) NOT NULL DEFAULT '0',
|
@ -1,3 +1,4 @@
|
||||
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,
|
@ -1,3 +1,4 @@
|
||||
DROP TABLE IF EXISTS `auction_watch`;
|
||||
CREATE TABLE IF NOT EXISTS `auction_watch` (
|
||||
`charObjId` INT NOT NULL DEFAULT 0,
|
||||
`auctionId` INT NOT NULL DEFAULT 0,
|
@ -1,3 +1,4 @@
|
||||
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,
|
@ -1,3 +1,4 @@
|
||||
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,
|
@ -1,3 +1,4 @@
|
||||
DROP TABLE IF EXISTS `buylists`;
|
||||
CREATE TABLE IF NOT EXISTS `buylists` (
|
||||
`buylist_id` INT UNSIGNED,
|
||||
`item_id` INT UNSIGNED,
|
@ -1,3 +1,4 @@
|
||||
DROP TABLE IF EXISTS `castle`;
|
||||
CREATE TABLE IF NOT EXISTS `castle` (
|
||||
`id` INT NOT NULL DEFAULT 0,
|
||||
`name` varchar(25) NOT NULL,
|
@ -1,3 +1,4 @@
|
||||
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',
|
@ -1,3 +1,4 @@
|
||||
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',
|
@ -1,3 +1,4 @@
|
||||
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',
|
@ -1,3 +1,4 @@
|
||||
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',
|
@ -1,3 +1,4 @@
|
||||
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',
|
@ -1,3 +1,4 @@
|
||||
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,
|
@ -1,3 +1,4 @@
|
||||
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,
|
@ -1,3 +1,4 @@
|
||||
DROP TABLE IF EXISTS `character_hennas`;
|
||||
CREATE TABLE IF NOT EXISTS `character_hennas` (
|
||||
`charId` INT UNSIGNED NOT NULL DEFAULT 0,
|
||||
`symbol_id` INT,
|
@ -1,3 +1,4 @@
|
||||
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',
|
@ -1,3 +1,4 @@
|
||||
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,
|
@ -1,3 +1,4 @@
|
||||
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,
|
@ -1,3 +1,4 @@
|
||||
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'
|
@ -1,3 +1,4 @@
|
||||
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',
|
@ -1,3 +1,4 @@
|
||||
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)
|
@ -1,3 +1,4 @@
|
||||
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,
|
@ -1,3 +1,4 @@
|
||||
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,
|
@ -1,3 +1,4 @@
|
||||
DROP TABLE IF EXISTS `character_quest_global_data`;
|
||||
CREATE TABLE IF NOT EXISTS `character_quest_global_data` (
|
||||
`charId` INT UNSIGNED NOT NULL DEFAULT 0,
|
||||
`var` VARCHAR(20) NOT NULL DEFAULT '',
|
@ -1,3 +1,4 @@
|
||||
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 '',
|
@ -1,3 +1,4 @@
|
||||
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,
|
@ -1,3 +1,4 @@
|
||||
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,
|
@ -1,3 +1,4 @@
|
||||
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',
|
@ -1,3 +1,4 @@
|
||||
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,
|
@ -1,3 +1,4 @@
|
||||
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,
|
@ -1,3 +1,4 @@
|
||||
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,
|
@ -1,3 +1,4 @@
|
||||
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,
|
@ -1,3 +1,4 @@
|
||||
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,
|
@ -1,3 +1,4 @@
|
||||
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,
|
@ -1,3 +1,4 @@
|
||||
DROP TABLE IF EXISTS `character_tpbookmark`;
|
||||
CREATE TABLE IF NOT EXISTS `character_tpbookmark` (
|
||||
`charId` int(20) NOT NULL,
|
||||
`Id` int(20) NOT NULL,
|
@ -1,3 +1,4 @@
|
||||
DROP TABLE IF EXISTS `character_ui_actions`;
|
||||
CREATE TABLE IF NOT EXISTS `character_ui_actions` (
|
||||
`charId` int(10) unsigned NOT NULL DEFAULT '0',
|
||||
`cat` tinyint(4) NOT NULL,
|
@ -1,3 +1,4 @@
|
||||
DROP TABLE IF EXISTS `character_ui_categories`;
|
||||
CREATE TABLE IF NOT EXISTS `character_ui_categories` (
|
||||
`charId` int(10) unsigned NOT NULL DEFAULT '0',
|
||||
`catId` tinyint(4) NOT NULL,
|
@ -1,3 +1,4 @@
|
||||
DROP TABLE IF EXISTS `character_variables`;
|
||||
CREATE TABLE IF NOT EXISTS `character_variables` (
|
||||
`charId` int(10) UNSIGNED NOT NULL,
|
||||
`var` varchar(255) NOT NULL,
|
@ -1,3 +1,4 @@
|
||||
DROP TABLE IF EXISTS `characters`;
|
||||
CREATE TABLE IF NOT EXISTS `characters` (
|
||||
`account_name` VARCHAR(45) DEFAULT NULL,
|
||||
`charId` INT UNSIGNED NOT NULL DEFAULT 0,
|
@ -1,3 +1,4 @@
|
||||
DROP TABLE IF EXISTS `clan_data`;
|
||||
CREATE TABLE IF NOT EXISTS `clan_data` (
|
||||
`clan_id` INT NOT NULL DEFAULT 0,
|
||||
`clan_name` varchar(45) ,
|
@ -1,3 +1,4 @@
|
||||
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,
|
@ -1,3 +1,4 @@
|
||||
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,
|
@ -1,3 +1,4 @@
|
||||
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,
|
@ -1,3 +1,4 @@
|
||||
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',
|
@ -1,3 +1,4 @@
|
||||
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 '',
|
@ -1,3 +1,4 @@
|
||||
DROP TABLE IF EXISTS `pledge_applicant`;
|
||||
CREATE TABLE IF NOT EXISTS `pledge_applicant` (
|
||||
`charId` int(10) NOT NULL,
|
||||
`clanId` int(10) NOT NULL,
|
||||
@ -6,6 +7,7 @@ CREATE TABLE IF NOT EXISTS `pledge_applicant` (
|
||||
PRIMARY KEY (`charId`,`clanId`)
|
||||
) ENGINE=InnoDB 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,
|
||||
@ -14,6 +16,7 @@ CREATE TABLE IF NOT EXISTS `pledge_recruit` (
|
||||
PRIMARY KEY (`clan_id`)
|
||||
) ENGINE=InnoDB 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,
|
@ -1,3 +1,4 @@
|
||||
DROP TABLE IF EXISTS `clanhall`;
|
||||
CREATE TABLE IF NOT EXISTS `clanhall` (
|
||||
`id` int(11) NOT NULL DEFAULT '0',
|
||||
`name` varchar(40) NOT NULL DEFAULT '',
|
@ -1,3 +1,4 @@
|
||||
DROP TABLE IF EXISTS `clanhall_functions`;
|
||||
CREATE TABLE IF NOT EXISTS `clanhall_functions` (
|
||||
`hall_id` int(2) NOT NULL DEFAULT '0',
|
||||
`type` int(1) NOT NULL DEFAULT '0',
|
@ -1,3 +1,4 @@
|
||||
DROP TABLE IF EXISTS `clanhall_siege_attackers`;
|
||||
CREATE TABLE IF NOT EXISTS `clanhall_siege_attackers` (
|
||||
`clanhall_id` int(3) NOT NULL DEFAULT '0',
|
||||
`attacker_id` int(10) NOT NULL DEFAULT '0'
|
@ -1,3 +1,4 @@
|
||||
DROP TABLE IF EXISTS `auction`;
|
||||
CREATE TABLE IF NOT EXISTS `auction` (
|
||||
`id` int(11) NOT NULL DEFAULT '0',
|
||||
`sellerId` int(11) NOT NULL DEFAULT '0',
|
@ -1,3 +1,4 @@
|
||||
DROP TABLE IF EXISTS `castle`;
|
||||
CREATE TABLE IF NOT EXISTS `castle` (
|
||||
`id` INT NOT NULL DEFAULT 0,
|
||||
`name` varchar(25) NOT NULL,
|
@ -1,3 +1,4 @@
|
||||
DROP TABLE IF EXISTS `clanhall`;
|
||||
CREATE TABLE IF NOT EXISTS `clanhall` (
|
||||
`id` int(11) NOT NULL DEFAULT '0',
|
||||
`name` varchar(40) NOT NULL DEFAULT '',
|
@ -1,3 +1,4 @@
|
||||
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,
|
@ -1,3 +1,4 @@
|
||||
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,
|
@ -1,3 +1,4 @@
|
||||
DROP TABLE IF EXISTS `crests`;
|
||||
CREATE TABLE IF NOT EXISTS `crests` (
|
||||
`crest_id` INT,
|
||||
`data` VARBINARY(2176) NOT NULL,
|
@ -1,3 +1,4 @@
|
||||
DROP TABLE IF EXISTS `cursed_weapons`;
|
||||
CREATE TABLE IF NOT EXISTS `cursed_weapons` (
|
||||
`itemId` INT,
|
||||
`charId` INT UNSIGNED NOT NULL DEFAULT 0,
|
@ -1,3 +1,4 @@
|
||||
DROP TABLE IF EXISTS `custom_npc_buffer`;
|
||||
CREATE TABLE IF NOT EXISTS `custom_npc_buffer` (
|
||||
`npc_id` mediumint(7) NOT NULL,
|
||||
`skill_id` int(6) NOT NULL,
|
@ -1,3 +1,4 @@
|
||||
DROP TABLE IF EXISTS `custom_spawnlist`;
|
||||
CREATE TABLE IF NOT EXISTS `custom_spawnlist` (
|
||||
`location` varchar(40) NOT NULL DEFAULT '',
|
||||
`count` tinyint(1) unsigned NOT NULL DEFAULT '0',
|
@ -1,3 +1,4 @@
|
||||
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',
|
@ -1,3 +1,4 @@
|
||||
DROP TABLE IF EXISTS `fort`;
|
||||
CREATE TABLE IF NOT EXISTS `fort` (
|
||||
`id` int(11) NOT NULL DEFAULT 0,
|
||||
`name` varchar(25) NOT NULL,
|
@ -1,3 +1,4 @@
|
||||
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,
|
@ -1,3 +1,4 @@
|
||||
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',
|
@ -1,3 +1,4 @@
|
||||
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',
|
@ -1,3 +1,4 @@
|
||||
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 '',
|
@ -1,3 +1,4 @@
|
||||
DROP TABLE IF EXISTS `games`;
|
||||
CREATE TABLE IF NOT EXISTS `games` (
|
||||
`id` INT NOT NULL DEFAULT 0,
|
||||
`idnr` INT NOT NULL DEFAULT 0,
|
@ -1,3 +1,4 @@
|
||||
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 '',
|
@ -1,3 +1,4 @@
|
||||
DROP TABLE IF EXISTS `global_variables`;
|
||||
CREATE TABLE IF NOT EXISTS `global_variables` (
|
||||
`var` VARCHAR(20) NOT NULL DEFAULT '',
|
||||
`value` VARCHAR(255) ,
|
@ -1,3 +1,4 @@
|
||||
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,
|
@ -1,3 +1,4 @@
|
||||
DROP TABLE IF EXISTS `grandboss_list`;
|
||||
CREATE TABLE IF NOT EXISTS `grandboss_list` (
|
||||
`player_id` decimal(11,0) NOT NULL,
|
||||
`zone` decimal(11,0) NOT NULL,
|
@ -1,3 +1,4 @@
|
||||
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,
|
@ -1,3 +1,4 @@
|
||||
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',
|
@ -1,3 +1,4 @@
|
||||
DROP TABLE IF EXISTS `item_attributes`;
|
||||
CREATE TABLE IF NOT EXISTS `item_attributes` (
|
||||
`itemId` int(11) NOT NULL DEFAULT 0,
|
||||
`augAttributes` int(11) NOT NULL DEFAULT -1,
|
@ -1,3 +1,4 @@
|
||||
DROP TABLE IF EXISTS `item_auction`;
|
||||
CREATE TABLE IF NOT EXISTS `item_auction` (
|
||||
`auctionId` int(11) NOT NULL,
|
||||
`instanceId` int(11) NOT NULL,
|
@ -1,3 +1,4 @@
|
||||
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,
|
@ -1,3 +1,4 @@
|
||||
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,
|
@ -1,3 +1,4 @@
|
||||
DROP TABLE IF EXISTS `item_variables`;
|
||||
CREATE TABLE IF NOT EXISTS `item_variables` (
|
||||
`id` int(10) UNSIGNED NOT NULL,
|
||||
`var` varchar(255) NOT NULL,
|
@ -1,3 +1,4 @@
|
||||
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
|
@ -1,3 +1,4 @@
|
||||
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,
|
@ -1,3 +1,4 @@
|
||||
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,
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user