Initial changes.

This commit is contained in:
MobiusDevelopment
2019-10-23 11:35:17 +00:00
parent 04872348c9
commit 5eca412756
2202 changed files with 51480 additions and 201568 deletions

View File

@@ -11,4 +11,4 @@ CREATE TABLE IF NOT EXISTS `announcements` (
INSERT INTO announcements (`type`, `author`, `content`) VALUES
(0, 'L2jMobius', 'Thanks for using L2jMobius!'),
(0, 'L2jMobius', '[=http://www.l2jmobius.org/=]');
(0, 'L2jMobius', 'http://www.l2jmobius.com');

View File

@@ -1,7 +0,0 @@
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;

View File

@@ -0,0 +1,5 @@
CREATE TABLE IF NOT EXISTS `character_recommends` (
`charId` INT UNSIGNED NOT NULL default 0,
`target_id` INT(11) NOT NULL DEFAULT 0,
PRIMARY KEY (`charId`,`target_id`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_general_ci;

View File

@@ -56,6 +56,9 @@ CREATE TABLE IF NOT EXISTS `characters` (
`createDate` date NOT NULL DEFAULT '2015-01-01',
`language` VARCHAR(2) DEFAULT NULL,
`faction` TINYINT UNSIGNED NOT NULL DEFAULT '0',
`last_recom_date` BIGINT UNSIGNED NOT NULL DEFAULT 0,
`rec_have` TINYINT UNSIGNED NOT NULL DEFAULT 0,
`rec_left` TINYINT UNSIGNED NOT NULL DEFAULT 0,
PRIMARY KEY (`charId`),
KEY `account_name` (`account_name`),
KEY `char_name` (`char_name`),

View File

@@ -1,14 +1,10 @@
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,
`competitions_done_week_classed` tinyint(3) unsigned NOT NULL DEFAULT 0,
`competitions_done_week_non_classed` tinyint(3) unsigned NOT NULL DEFAULT 0,
`competitions_done_week_team` tinyint(3) unsigned NOT NULL DEFAULT 0,
`charId` INT UNSIGNED NOT NULL default 0,
`class_id` decimal(3,0) NOT NULL default 0,
`olympiad_points` decimal(10,0) NOT NULL default 0,
`competitions_done` decimal(3,0) NOT NULL default 0,
`competitions_won` decimal(3,0) NOT NULL default 0,
`competitions_lost` decimal(3,0) NOT NULL default 0,
`competitions_drawn` decimal(3,0) NOT NULL default 0,
PRIMARY KEY (`charId`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_general_ci;

View File

@@ -1,10 +1,10 @@
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,
`charId` INT UNSIGNED NOT NULL default 0,
`class_id` decimal(3,0) NOT NULL default 0,
`olympiad_points` decimal(10,0) NOT NULL default 0,
`competitions_done` decimal(3,0) NOT NULL default 0,
`competitions_won` decimal(3,0) NOT NULL default 0,
`competitions_lost` decimal(3,0) NOT NULL default 0,
`competitions_drawn` decimal(3,0) NOT NULL default 0,
PRIMARY KEY (`charId`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_general_ci;

View File

@@ -0,0 +1,17 @@
-- taken from l2j epilogue
DELETE FROM teleport WHERE id in(
69,1060,1076,9041,9042,9043,9044,9045,9941,9942,9943,9944,9945);
INSERT INTO `teleport` VALUES
('Giran -> Dragon Valley',69,73024,118485,-3688,1800,0,57),
('Giran -> Antharas Lair',1060,131557,114509,-3712,7000,0,57),
('Oren -> Skyshadow Meadow',1076,89914,46276,-3616,780,0,57),
('Antharas Lair 1 - 1000 adena',9041,147071,120156,-4520,1000,1,57),
('Antharas Lair 2 - 1000 adena',9042,151689,112615,-5520,1000,1,57),
('Antharas Lair,Magic Force Field Bridge - 1000 adena',9043,146494,109285,-3448,1000,1,57),
('Antharas Lair,Heart of Warding - 1000 adena',9044,154396,121235,-3808,1000,1,57),
('Dragon Valley,Traders Post - 1000 adena',9045,122824,110836,-3720,1000,1,57),
('Antharas Lair 1 - 1 Noble Gate Pass',9941,147071,120156,-4520,1,1,13722),
('Antharas Lair 2 - 1 Noble Gate Pass',9942,151689,112615,-5520,1,1,13722),
('Antharas Lair, Magic Force Field Bridge - 1 Noble Gate Pass',9943,146494,109285,-3448,1,1,13722),
('Antharas Lair,Heart of Warding - 1 Noble Gate Pass',9944,154396,121235,-3808,1,1,13722),
('Dragon Valley,Traders Post - 1 Noble Gate Pass',9945,122824,110836,-3720,1,1,13722);

View File

@@ -0,0 +1,13 @@
-- Raidbosses that where removed in Hi5
-- taken from l2j Epilogue branch and client comparison
DELETE FROM raidboss_spawnlist WHERE boss_id in(25073,25109,25176,25217,25234,25407,25412,25696,25697,25698,25725,25726,25727);
INSERT INTO `raidboss_spawnlist` (`boss_id`,`loc_x`,`loc_y`,`loc_z`,`heading`,`respawn_delay`,`respawn_random`,`currentHp`,`currentMp`) VALUES
(25073,143265,110044,-3944,0,129600,86400,875948,2917), -- Bloody Priest Rudelto (69)
(25109,152660,110387,-5520,0,129600,86400,935092,3274), -- Antharas Priest Cloe (74)
(25176,92544,115232,-3200,0,129600,86400,451391,1975), -- Black Lily (55)
(25217,89904,105712,-3292,0,129600,86400,369009,1660), -- Cursed Clara (50)
(25234,120080,111248,-3047,0,129600,86400,1052436,2301), -- Ancient Weird Drake (60)
(25407,115072,112272,-3018,0,129600,86400,526218,2301), -- Lord Ishka (60)
(25412,81920,113136,-3056,0,129600,86400,319791,2301); -- Necrosentinel Royal Guard (47)

View File

@@ -0,0 +1,5 @@
-- Anais
DELETE FROM raidboss_spawnlist WHERE boss_id in(25701,29096);
INSERT INTO `raidboss_spawnlist` (`boss_id`,`loc_x`,`loc_y`,`loc_z`,`heading`,`respawn_delay`,`respawn_random`,`currentHp`,`currentMp`) VALUES
(29096,112798,-76800,-10,-15544,129600,86400,2231403,48422);

View File

@@ -0,0 +1 @@
REPLACE INTO grandboss_data VALUES(29045, 0, 0, 0, 0, 0, 1216600, 11100, 0);

View File

@@ -0,0 +1,5 @@
-- Andreas Van Halter
DELETE FROM raidboss_spawnlist WHERE boss_id in (29062);
INSERT INTO `raidboss_spawnlist` (`boss_id`,`loc_x`,`loc_y`,`loc_z`,`heading`,`respawn_delay`,`respawn_random`,`currentHp`,`currentMp`) VALUES
(29062,-16373,-53562,-10447,0,129600,86400,275385,9999);