Switch from manual sql scripts to automated scripts with Liquibase

This commit is contained in:
P0nk
2025-07-06 19:28:48 +02:00
parent 2365458b78
commit e2ac5e448b
48 changed files with 167 additions and 866 deletions

View File

@@ -1,12 +0,0 @@
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
/*!40101 SET NAMES utf8 */;
DROP DATABASE IF EXISTS `cosmic`;
CREATE DATABASE `cosmic` DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci;
USE `cosmic`;
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;

View File

@@ -1,26 +0,0 @@
#THIS SQL MUST BE USED AFTER 'db_database.sql'
#NEXT SQL 'db_shopupdate.sql' IS OPTIONAL
USE `cosmic`;
CREATE TABLE IF NOT EXISTS `drop_data` (
`id` bigint(20) NOT NULL AUTO_INCREMENT,
`dropperid` int(11) NOT NULL,
`itemid` int(11) NOT NULL DEFAULT '0',
`minimum_quantity` int(11) NOT NULL DEFAULT '1',
`maximum_quantity` int(11) NOT NULL DEFAULT '1',
`questid` int(11) NOT NULL DEFAULT '0',
`chance` int(11) NOT NULL DEFAULT '0',
PRIMARY KEY (`id`),
UNIQUE KEY (`dropperid`, `itemid`),
KEY `mobid` (`dropperid`),
INDEX (dropperid, itemid)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=1 ;
#pass (sorted) data from one table to another
INSERT INTO drop_data (dropperid, itemid, minimum_quantity, maximum_quantity, questid, chance)
(
SELECT dropperid, itemid, minimum_quantity, maximum_quantity, questid, chance
FROM temp_data
);
DROP TABLE temp_data;

View File

@@ -1,6 +0,0 @@
#THIS SQL IS OPTIONAL, TO BE USED AFTER 'db_drops.sql'
#THIS REQUIRES PROVIDED WZ FILES
USE `cosmic`;

View File

@@ -1,26 +0,0 @@
-- MySQL dump 10.13 Distrib 8.0.22, for Win64 (x86_64)
--
-- Host: 127.0.0.1 Database: cosmic
-- ------------------------------------------------------
-- Server version 8.0.19
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
/*!50503 SET NAMES utf8 */;
/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
USE `cosmic`;
/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;

View File

@@ -1,602 +0,0 @@
Oblivion Monk Trainee : Dark Katinas (Male)
Star Pixie : Star Pixie Starpiece
Star Pixie : Blue White-Line Boots
Spirit Viking : Scroll for Knuckler for Accuracy 10%
Spirit Viking : Spirit Viking Card
Spirit Viking : Dark Battle Lord
Spirit Viking : Heaven Justice
Iron Boar : Maroon Jangoon Boots
Iron Boar : Gold Tail
Iron Boar : Justice Katara
Voodoo : Steel Pow
Green Hobi : Pin Hov Charm
Green Hobi : Blue Stud
Zombie Lupin : Equip Enhancement Scroll
Zombie Lupin : Gold Mask
Reinforced Mithril Mutae : Reinforced Mithril Mutae Card
Yeti : Gold Tail
Blue Kentaurus : Kentaurus Marrow
Blue Kentaurus : Infinity Wrath
Iruvata : Iruvata Card
Iruvata : Heaven Justice
Snowman : Red-Bean Soup
White Fang : White Fang Tail
White Fang : Blue Jangoon Boots
Green Cornian : Cornian Marrow
Green Cornian : [Mastery Book] Venom
Green Cornian : Red Katte (Female)
Dodo : Whale Helmet
Dodo : Scroll for Overall Armor for STR 60%
Dodo : [Mastery Book] Slash Storm 20
Dodo : Dark Katte (Female)
Ultra Gray : Ultra Gray Card
Lorang : Lorang Claws
Lorang : Dark Piette Pants
Buffoon : Buffoon Grandpa Clock
Buffoon : Blue Battle Lord
Buffoon : Blue Stud
Buffoon : Infinity Wrath
Flaming Raccoon : Kinoko Ramen (Salt)
Red Kentaurus : Kentaurus Flame
Red Kentaurus : Scroll for Knuckler for Accuracy 60%
Red Kentaurus : Serpent Tongue
Red Kentaurus : Dragon Tail
Red Kentaurus : Heavenly Katara
Mighty Maple Eater : Fireman Axe
Tauromacis : Ascalon Katara
Tauromacis : Black Pirate Bandana
Krappy : Krappi Card
Roloduck : Blue Hunter Armor
Roloduck : Blue Hunter Pants
Crow : Fish Cake (Skewer)
Male Mannequin : Male Mannequin Fedora
Male Mannequin : Dark Scroll for Accessory for STR 70%
Male Mannequin : Male Mannequin Card
Male Mannequin : Majestic Katara
Leader B : Leader B Charm
Leader B : Kinoko Ramen (Roasted Pork)
Typhon : Dark Scroll for Cape for Weapon Def 70%
Leader A : Leader A Shades
Leader A : Dark Scroll for Cape for Magic Def 70%
Leader A : Serpent Tongue
Soul Teddy : Scroll for Pole Arm for Accuracy 10%
Soul Teddy : Steel Pow
Soul Teddy : Heavenly Katara
Beetle : Beetle Horn
Beetle : Equip Enhancement Scroll
Beetle : Ascalon Katara
Froscola : Blue Battle Lord
White Yeti and King Pepe : Scroll for Pole Arm for Accuracy 10%
White Yeti and King Pepe : King Pepe Scroll for One-handed BW Attacks 60%
White Yeti and King Pepe : King Pepe Scroll for Dagger Attacks 60%
White Yeti and King Pepe : King Pepe Scroll for Two-handed Sword Attacks 60%
White Yeti and King Pepe : King Pepe Scroll for Two-handed Axe Attacks 60%
White Yeti and King Pepe : King Pepe Scroll for Two-handed BW Attacks 60%
White Yeti and King Pepe : King Pepe Scroll for Spear Attacks 60%
White Yeti and King Pepe : King Pepe Scroll for Polearm Attacks 60%
White Yeti and King Pepe : King Pepe Scroll for Wand Magic Attacks 60%
White Yeti and King Pepe : King Pepe Scroll for Staff Magic Attacks 60%
White Yeti and King Pepe : King Pepe Scroll for Bow Attacks 60%
White Yeti and King Pepe : King Pepe Scroll for Crossbow Attacks 60%
White Yeti and King Pepe : King Pepe Scroll for Thief Attacks 60%
White Yeti and King Pepe : King Pepe Scroll for Knuckle Attacks 60%
Harp : Harp Tail Feather
Harp : Scroll for Knuckler for Accuracy 100%
Harp : Heavenly Katara
Harp : Infinity Wrath
Lucida : Green Pirate Bottom
Lucida : Brown Stud
Lucida : Brown Stud Pants
Jr. Grupin : Equip Enhancement Scroll
Iron Hog : Iron Hog Metal Hoof
Sophilia Doll : Fireman Axe
Sophilia Doll : Maroon Jangoon Boots
Tiru : Tiru Feather
Female Mannequin : Female Mannequin Wig
Female Mannequin : Dark Scroll for Accessory for STR 70%
Female Mannequin : Female Mannequin Card
Female Mannequin : Majestic Katara
Poison Golem Level 3 : Poison Golem Card
Malady : Malady Experimental Frog
Malady : Potential Scroll
Malady : Steel Pow
Vikerola : Dark Battle Lord
Wooden Target Dummy : Wooden Target Dummy Card
Wooden Target Dummy : Brown Stud
Wooden Target Dummy : Brown Stud Pants
Cynical Orange Mushroom : Basic Archer Glove
Extra A : Littleman A Badge
Extra A : Gold Snowboard
Extra B : Littleman B Name Plate
Extra B : Fairy Honey
Extra B : Brown Jangoon Boots
Hodori : Majestic Katara
Extra C : Littleman C Necklace
Extra D : Cat Eye
Extra D : Gold Snowboard
Extra D : Serpent Tongue
King Sage Cat : Scroll for Pole Arm for Accuracy 10%
King Sage Cat : Heaven Justice
King Sage Cat : Dragon Tail
King Sage Cat : Infinity Wrath
Homunscullo : Homunsculer Sand
Homunscullo : Homunsculer Blood
D. Roy : D. Roy Card
Nospeed : Arwen Glass Shoes
Ribbon Pig : Pig Ribbon
Ribbon Pig : Champion Katara
Grim Phantom Watch : [Storybook] Black Book
Grim Phantom Watch : Grim Phantom Watch Card
Qualm Guardian : Blue Katte (Female)
Qualm Guardian : Blue Katina Boots
Yeti Doll : Justice Katara
King Bloctopus : Green White-Line Boots
Bigfoot : Bigfoot Toe
Green King Goblin : Black Pirate Bandana
Dreamy Ghost : Kinoko Ramen (Roasted Pork)
MT-09 : MT-09 Fuel
Gryphon : Duck Tube [1]
Gryphon : Serpent Tongue
Risell Squid : Dark Pirate Bottom
Dark Axe Stump : Stump Teardrop
Blue Wyvern : Equip Enhancement Scroll
Nest Golem : Blue Katinas (Male)
Cheap Amplifier : Dark Scroll for Accessory for STR 70%
Cheap Amplifier : Cheap Amplifier Card
Manon : Manon Tail
Manon : Manon Cry
Saitie : Parwen Entry Pass
Saitie : Red Battle Lord
Drumming Bunny : Shoes Production Manual
Drumming Bunny : Scroll for Pole Arm for Accuracy 10%
Drumming Bunny : Gold Snowboard
Drumming Bunny : Lion Fang
Dyle : Scroll for Knuckler for Accuracy 60%
Crimson Tree : Crimson Wood
Crimson Tree : Crimson Wood
Blue Flower Serpent : Blue Flower Serpent Card
Blue Flower Serpent : Scroll for Pole Arm for Accuracy 100%
Blue Flower Serpent : Cat Eye
Spirit of Rock : Spirit of Rock Music Score
Spirit of Rock : Dark Scroll for Accessory for STR 70%
Spirit of Rock : Rock Spirit Card
Prototype Lord : Prototype Lord Card
Seruf : Lion Fang
Seruf : Serpent Tongue
Dark Wyvern : Blue Katina Boots
Mateon : Mateon Tentacle
Mateon : Equip Enhancement Scroll
Mateon : Dark Pennance
Mateon : Gold Pendant
Mr. Anchor : [Storybook] Black Book
Master Robo : Lion Fang
Master Robo : Brown Jangoon Boots
Master Robo : Gold Wings
Ginseng Jar : Ginseng Jar Card
Scuba Pepe : Equip Enhancement Scroll
Ghost Pirate : Blue Battle Lord
Ghost Pirate : Green Pirate Bottom
Ghost Pirate : Heavenly Katara
Leatty : Green White-Line Boots
Tiv : Tiv Feather
Gold Yeti and King Pepe : King Pepe Scroll for One-handed BW Attacks 60%
Gold Yeti and King Pepe : King Pepe Scroll for Dagger Attacks 60%
Gold Yeti and King Pepe : King Pepe Scroll for Two-handed Sword Attacks 60%
Gold Yeti and King Pepe : King Pepe Scroll for Two-handed Axe Attacks 60%
Gold Yeti and King Pepe : King Pepe Scroll for Two-handed BW Attacks 60%
Gold Yeti and King Pepe : King Pepe Scroll for Spear Attacks 60%
Gold Yeti and King Pepe : King Pepe Scroll for Polearm Attacks 60%
Gold Yeti and King Pepe : King Pepe Scroll for Wand Magic Attacks 60%
Gold Yeti and King Pepe : King Pepe Scroll for Staff Magic Attacks 60%
Gold Yeti and King Pepe : King Pepe Scroll for Bow Attacks 60%
Gold Yeti and King Pepe : King Pepe Scroll for Claw Attacks 60%
Gold Yeti and King Pepe : King Pepe Scroll for Crossbow Attacks 60%
Gold Yeti and King Pepe : King Pepe Scroll for Thief Attacks 60%
Gold Yeti and King Pepe : King Pepe Scroll for Knuckle Attacks 60%
Gold Yeti and King Pepe : Maroon Jangoon Boots
Slime : Champion Katara
Rodeo : Brown Stud
Rodeo : Brown Stud Pants
Octopus : Champion Katara
Luster Pixie : Luster Pixie Sunpiece
Luster Pixie : Luster Pixie Card
Nightshadow : Heaven Justice
Nightshadow : Infinity Wrath
Dual Beetle : Dual Beetle Horn
Skeleton Soldier : Skeleton Soldier Card
Master Death Teddy : Green Battle Lord
Master Death Teddy : Bloodsoaked Katara
Sakura Cellion : Maroon Jangoon Boots
Pig : Pig Head
Fire Boar : Fire Boar Tooth
Fire Boar : Arwen Glass Shoes
Fire Boar : Fire Boar Card
Panda Teddy : Maroon Jangoon Boots
Morphed Blin : Serpent Tongue
Morphed Blin : Steel Pow
Lunar Pixie : Lunar Pixie Moonpiece
Lunar Pixie : Gold Wings
Curse Eye : "Blackbull" deed to the land
Curse Eye : Gold Snowboard
Jr. Cellion : Cat Eye
Barnard Gray : Barnard Gray Card
Faust : Lupin Banana
Faust : Lion Fang
Faust : Serpent Tongue
Gatekeeper : Gate Keeper Card
Gatekeeper : Red Battle Lord
Griffey : [Mastery Book] Flame Wheel 20
Griffey : Meteor Katara
Shark : Heaven Justice
Deep Buffoon : Deep Buffoon Rock Piece
Deep Buffoon : Blue Stud
Deep Buffoon : Blazing Dragon Katara
Melon Bubble Tea : Melon Bubble Tea Card
Melon Bubble Tea : Maroon Jangoon Boots
Tino : Tino Feather
Bone Fish : Equip Enhancement Scroll
Bone Fish : Potential Scroll
I.AM.ROBOT : Lion Fang
I.AM.ROBOT : Serpent Tongue
Lilynouch : Knight Mask
Lilynouch : [Mastery Book] Dragon Breath
Dark Pepe : Serpent Coil
Dark Pepe : Serpent Coil
Toy Trojan : Toy Soldier Sword
Toy Trojan : Justice Katara
Sparker : Scroll for Knuckler for Accuracy 100%
Sparker : Justice Katara
Dark Drake : Dark Drake Horn
Electrophant : Serpent Tongue
Electrophant : Lion Fang
Tick-Tock : Tick-Tock Egg
Mecateon : Mecateon Laser Gun
Mecateon : Majestic Katara
Helmet Pepe : King Pepe Scroll for Polearm Attacks 60%
Helmet Pepe : King Pepe Scroll for Wand Magic Attacks 60%
Blue Mushroom : Thermal Fabric
Blue Mushroom : Purple Jewelry Shoes
Ratz : One-Handed Mace Forging Manual
Snow Witch : Ice Tears
Flyeye : Flyeye Wing
Flyeye : Flyeye Card
Headless Horseman : Devil Sunrise
Royal Guard : Royal Guard Card
Royal Guard : Scroll for Knuckler for Accuracy 10%
Royal Guard : Heaven Justice
Royal Guard : Dark Battle Lord
Triple Rumo : Blue Jangoon Boots
Triple Rumo : Brown Jangoon Boots
Pianus : Miniature Pianus
Pianus : Pianus Scream
Pianus : Scroll for Overall Armor for STR 60%
Pianus : [Mastery Book] Blaze 20
Pianus : Blue Katte (Female)
Pianus : Blue Katinas (Male)
Rombot : Rombot Memory Card
Rombot : Serpent Tongue
Roid : Potential Scroll
Roid : Equip Enhancement Scroll
Robby : Robby Electronic Induction Device
Robby : Robby Card
Robby : Blue Stud
Blue Snail : Grey/Brown Training Shirt
Blue Snail : Grey/Brown Training Pants
Afterlord : Afterlord Card
Afterlord : Scroll for Overall Armor for STR 60%
Afterlord : Heaven Gate
Afterlord : Bloodsoaked Katara
Block Golem : Block Golem Card
Lyka : Guardian Horn
Lyka : Dark Katinas (Male)
Jr. Wraith : Equip Enhancement Scroll
Jr. Wraith : Potential Scroll
Sentinel : Fireman Axe
Ice Drake : Blue Battle Lord
Ice Drake : Gold Mask
Overlord A : Overlord A Card
Overlord B : Overlord B Card
Latest Hits Compilation : Dark Scroll for Accessory for STR 70%
Latest Hits Compilation : Latest Hits Compilation Card
Water Goblin : Serpent Coil
Water Goblin : Serpent Coil
Retz : Retz Card
Retz : Cat Eye
Retz : Blue Jangoon Boots
Hoodoo : Steel Pow
Pink Bean : Pink Bean Card
Pink Bean : [Mastery Book] Maple Warrior 30
Paper Lantern Ghost : Fish Cake (Skewer)
Paper Lantern Ghost : Cat Eye
Cold Shark : Frozen Shark Fin
Cold Eye : Icicles
Croco : Potential Scroll
Croco : Gold Pendant
Croco : Majestic Katara
Bubble Fish : Bubble Fish Thoughts
Officer Skeleton : Serpent Coil
Officer Skeleton : Serpent Coil
Murumuru : Murumuru Furball
Zeno : Black Pirate Bandana
Panda : Ascalon Katara
Panda : Black Pirate Bandana
Iron Mutae : Iron Mutae Card
Snail : Red Mini Skirt
Hankie : Hankie Panfluit
Hankie : Heaven Justice
Silver Slime : Silver Slime Card
Silver Slime : Beige Elf Shoes
Zeta Gray : Zeta Gray Card
Zeta Gray : Dark Piette Pants
Zombie Mushroom : The Charm of the Undead
Zombie Mushroom : Hunter Bow
Zombie Mushroom : Guardian Katara
Pepe : Majestic Katara
Grupin : Icicles
Grupin : Equip Enhancement Scroll
Hobi : Hov Shorts
Yabber Doo : Beige Elf Shoes
Royal Cactus : Dark Hunter Armor
Royal Cactus : Dark Hunter Pants
Dual Ghost Pirate : Dual Pirate Propeller
Dual Ghost Pirate : Infinity Wrath
Memory Monk Trainee : [Mastery Book] Venom 30
Memory Monk Trainee : Devil Sunrise
Coolie Zombie : Zombie Lost Tooth
Coolie Zombie : [Storybook] Black Book
Coolie Zombie : Brown Stud
Coolie Zombie : Brown Stud Pants
Blood Harp : Blood Harp Crown
Blood Harp : Heavenly Katara
Black Kentaurus : Kentaurus Skull
Black Kentaurus : Gold Arund
Black Kentaurus : Blazing Dragon Katara
Rash : Rash Furball
Rash : Anasthetic Powder
Imperial Guard : Imperial Guard Card
The Book Ghost : The Book Ghost Sheet of Paper
The Book Ghost : Blue Jangoon Boots
Drake : Drake Meat
Drake : Drake Blood
Oblivion Guardian : [Mastery Book] Blessing of the Onyx 30
Zakum3 : [Skill Book] Advanced Combo
Zakum3 : [Mastery Book] Smoke Bomb
Zakum3 : [Mastery Book] Sanctuary
Zakum3 : [Mastery Book] Venom
Zakum3 : [Mastery Book] Crossbow Expert
Zakum3 : Zakum Helmet (1)
Zakum3 : Devil Sunrise
Zakum3 : Zakum Tree Branch
Jr. Newtie : Equip Enhancement Scroll
Jr. Newtie : Devil Sunrise
Jr. Newtie : Red Katte (Female)
Jr. Pepe : Jr. Pepe Fish
Miner Zombie : Zombie Lost Tooth
Miner Zombie : Zombie Lost Gold Tooth
Miner Zombie : Minor Zombie Card
Miner Zombie : Ascalon Katara
Aufheben : Aufheben Time Sand
Aufheben : Aufheben Card
Eye of Time : Scroll for Overall Armor for STR 60%
Eye of Time : Scroll for Knuckler for Accuracy 60%
Eye of Time : Heaven Gate
Psycho Jack : Fireman Axe
Psycho Jack : Red Hunter Armor
Psycho Jack : Red Hunter Pants
Psycho Jack : Red White-Line Boots
Death Teddy : Blazing Dragon Katara
Bain : Bain Spiky Collar
Bain : Gold Arund
Dark Nependeath : Equip Enhancement Scroll
Dark Nependeath : Dark Piette Pants
Timu : Timu Feather
Mano : Rainbow Colored Snail Shell
Dark Stone Golem : Dark Stone Golem Card
Scorpion : Cat Eye Stone
King Clang : Lorang Claws
King Clang : Clang Claws
Nependeath : Nependeath Honey
Phantom Watch : Dragon Tail
Phantom Watch : Dark Pirate Bottom
Reinforced Iron Mutae : Reinforced Iron Mutae Card
Master Chronos : Brown Jangoon Boots
Crimson Balrog the Kidnapper : [Skill Book] Dragon Breath
Lazy Buffy : Heavenly Katara
Red Slime : Kinoko Ramen (Salt)
Evil Eye : Cat Eye
Maverick Type D : Maverick Type D Card
Maverick Type D : Green Battle Lord
Maverick Type A : Maverick Type A Card
Maverick Type A : Infinity Wrath
Klock : Heavenly Katara
Tiguru : Tiguru Feather
Tortie : Lion Fang
Shade : Someone Hat
Dunas : Dunas Time Sand
Dunas : Dunas Card
Timer : Scroll for Knuckler for Accuracy 60%
Timer : Serpent Coil
Timer : Serpent Coil
Maverick Type S : Maverick Type S Card
Poison Poopa : Poison Poopa Poisonous Spikes
Poison Poopa : Blue White-Line Boots
Murupia : Murupia Furball
Chief Gray : Chief Gray Sign
Chief Gray : Chief Gray Card
Chief Gray : Dark Pennance
Skelosaurus : Meteor Katara
Oberon : Oberon Time Sand
Oberon : Oberon Card
Mr. Alli : Mr. Alli Leather
Mr. Alli : Lion Fang
Cellion : Maroon Jangoon Boots
Qualm Monk Trainee : [Mastery Book] Blessing of the Onyx 20
Chronos : Chronos Egg
Kiyo : Kiyo Beak
Cherry Bubble Tea : Cherry Bubble Tea Card
Cherry Bubble Tea : Maroon Jangoon Boots
Pink Teddy : Teddy Yellow Ribbon
Pink Teddy : White/Purple Gift Box
Rexton : [Mastery Book] Spirit Claw
Master of Disguise : The Lost Treasure [1]
Master of Disguise : The Lost Treasure [2]
Master of Disguise : The Lost Treasure [3]
Master of Disguise : The Lost Treasure [4]
Master of Disguise : The Lost Treasure [5]
Neo Huroid : Gold Mask
Jr. Pepe Doll : Guardian Katara
Dual Birk : Dual Birk Tiny Tail
Muru : Muru Furball
Grey Yeti and King Pepe : King Pepe Scroll for One-handed BW Attacks 60%
Grey Yeti and King Pepe : King Pepe Scroll for Dagger Attacks 60%
Grey Yeti and King Pepe : King Pepe Scroll for Two-handed Sword Attacks 60%
Grey Yeti and King Pepe : King Pepe Scroll for Two-handed Axe Attacks 60%
Grey Yeti and King Pepe : King Pepe Scroll for Two-handed BW Attacks 60%
Grey Yeti and King Pepe : King Pepe Scroll for Spear Attacks 60%
Grey Yeti and King Pepe : King Pepe Scroll for Polearm Attacks 60%
Grey Yeti and King Pepe : King Pepe Scroll for Bow Attacks 60%
Grey Yeti and King Pepe : King Pepe Scroll for Crossbow Attacks 60%
Grey Yeti and King Pepe : King Pepe Scroll for Wand Magic Attacks 60%
Grey Yeti and King Pepe : King Pepe Scroll for Staff Magic Attacks 60%
Grey Yeti and King Pepe : King Pepe Scroll for Thief Attacks 60%
Grey Yeti and King Pepe : King Pepe Scroll for Knuckle Attacks 60%
Wild Kargo : Gold Wings
Bubbling : Bubbling Large Bubble
Bubbling : Blue Jewelry Shoes
Bubbling : Champion Katara
Papulatus : [Mastery Book] High Mastery 30
Papulatus : Red Katte (Female)
Papulatus : Red Katinas (Male)
Plateon : Plateon Helmet
Plateon : Serpent Tongue
Nightghost : Ghost Headband
Nightghost : Serpent Coil
Nightghost : Serpent Coil
Mango Bubble Tea : Mango Bubble Tea Card
Mango Bubble Tea : Maroon Jangoon Boots
Homunculus : Homunculus Card
Homunculus : Green Pirate Bottom
Homunculus : Brown Stud
Homunculus : Brown Stud Pants
Orange Mushroom : Hunter Bow
Orange Mushroom : Basic Archer Glove
Scarf Plead : Worn-Out Muffler
Scarf Plead : Green Hunter Armor
Scarf Plead : Green Hunter Pants
Female Boss : Lady Boss Comb
Female Boss : Devil Sunrise
Hogul : Hogul Card
Memory Guardian : Meteor Katara
Poison Mushroom : King Pepe Scroll for Two-handed Sword Attacks 60%
Poison Mushroom : King Pepe Scroll for Two-handed Axe Attacks 60%
Poison Mushroom : Justice Katara
Homun : Gold Pendant
Homun : Ascalon Katara
Greatest Oldies : Dark Scroll for Accessory for STR 70%
Greatest Oldies : Greatest Oldies Card
Kid Mannequin : Kid Mannequin Bunny Suit
Kid Mannequin : Dark Scroll for Accessory for STR 70%
Kid Mannequin : Kid Mannequin Card
Kid Mannequin : Justice Katara
Dark Rash : Dark Rash Furball
Cerebes : Beige Elf Shoes
Grizzly : Equip Enhancement Scroll
Lioner : Gold Tail
Lioner : Majestic Katara
Red Wyvern : Equip Enhancement Scroll
Gigantic Spirit Viking : Gigantic Spirit Viking Card
Gigantic Spirit Viking : Heaven Gate
Gigantic Spirit Viking : Red Battle Lord
Gigantic Spirit Viking : Beige Elf Shoes
Hector : Blue Jangoon Boots
Hector : Serpent Coil
Hector : Serpent Coil
Crimson Balrog : [Storybook] Crimson Balrog Proposal
Memory Monk : [Mastery Book] High Mastery 30
Lupin : Lupin Banana
Tae Roon : Mind And Heart Medicine
Birk : Birk Chewed Grass
Birk : Dark Battle Lord
Birk : Blazing Dragon Katara
Clang : Clang Claws
Clang : Lion Fang
Straw Target Dummy : Straw Target Dummy Card
Royal Guard Pepe : King Pepe Scroll for Crossbow Attacks 60%
Royal Guard Pepe : King Pepe Scroll for Thief Attacks 60%
Royal Guard Pepe : King Pepe Scroll for Knuckle Attacks 60%
Blue King Goblin : Blue Stud
Nightmare : Blue Jangoon Boots
Renegade Spores : King Pepe Scroll for One-handed BW Attacks 60%
Renegade Spores : King Pepe Scroll for Dagger Attacks 60%
Renegade Spores : Potential Scroll
Prime Minister : King Pepe Scroll for One-handed BW Attacks 60%
Prime Minister : King Pepe Scroll for Dagger Attacks 60%
Prime Minister : King Pepe Scroll for Two-handed Sword Attacks 60%
Prime Minister : King Pepe Scroll for Two-handed Axe Attacks 60%
Prime Minister : King Pepe Scroll for Two-handed BW Attacks 60%
Prime Minister : King Pepe Scroll for Spear Attacks 60%
Prime Minister : King Pepe Scroll for Polearm Attacks 60%
Prime Minister : King Pepe Scroll for Wand Magic Attacks 60%
Prime Minister : King Pepe Scroll for Staff Magic Attacks 60%
Prime Minister : King Pepe Scroll for Bow Attacks 60%
Prime Minister : King Pepe Scroll for Crossbow Attacks 60%
Prime Minister : King Pepe Scroll for Thief Attacks 60%
Prime Minister : King Pepe Scroll for Knuckle Attacks 60%
Prime Minister : Lion Fang
Prime Minister : Serpent Tongue
Prime Minister : Justice Katara
Prime Minister : Guardian Katara
Ear Plug Plead : Ear Muffs
Oly Oly : Somebody Tire
Samiho : Samiho Card
Charmer : Charmer Flute
Murupa : Murupa Furball
Murukun : Murukun Furball
Bob : Bob Snail Shell
Horny Mushroom : Guardian Katara
Brown Teddy : Teddy Cotton
Brown Teddy : Equip Enhancement Scroll
Brown Teddy : Guardian Katara
Thanatos : Thanatos' Strap
Thanatos : [Storybook] Black Book
Thanatos : Dark Battle Lord
Mummydog : Mummydog Card
Dark Cornian : Devil Sunrise
Dark Cornian : Red Katinas (Male)
Intoxicated Pig : King Pepe Scroll for Two-handed BW Attacks 60%
Intoxicated Pig : King Pepe Scroll for Spear Attacks 60%
Red Flower Serpent : Red Flower Serpent Card
Red Flower Serpent : Gold Mask
Propelly : Lion Fang
Propelly : Fireman Axe
Propelly : Dark Pennance
Platoon Chronos : Equip Enhancement Scroll
Platoon Chronos : Serpent Tongue
Chirppy : Fireman Axe
Chirppy : Red Hunter Armor
Chirppy : Red White-Line Boots
Planey : Brown Jangoon Boots
Zombie Mushmom : Zombie Mushmom Card
Dark Leatty : Black Guise
Dark Leatty : Green White-Line Boots
Ligator : Equip Enhancement Scroll
Male Boss : Boss Pomade
Cloud Fox : Sushi (Salmon)
Cloud Fox : Fish Cake (Skewer)
Cloud Fox : Cat Eye
Bodyguard B : Bodyguard B Bullet Shell
Baby Typhon : Dark Scroll for Cape for Weapon Def 70%
Bodyguard A : Bodyguard A Tie Pin
Ergoth : Ergoth Jawbone
Annoyed Zombie Mushroom : The Charm of the Undead
Annoyed Zombie Mushroom : Hunter Bow
Cico : Seahorse Horn
Robo : Blue Jangoon Boots
Wraith : Cat Eye
Wraith : Gold Pendant
Red Drake : Dark Piette Pants
Killa Bee : Cat Eye
Skeledog : Skeledog Bone
Skeledog : Maroon Jangoon Boots
Windraider : Scroll for Gloves for DEX 15%
Tutorial Muru : Tutorial Muru Furball

View File

@@ -1,13 +0,0 @@
# Migrations
The files contained in this directory are intended to be run manually when transitioning from an earlier version of Cosmic to a more recent one.
Not every version comes with an associated migration script. Only those with breaking changes such as removal of custom assets that would otherwise crash the client.
This is a temporary solution until automatic database migrations are in place.
## How to
Each script is only intended to be run __once__.
When a new migration is available, simply run the SQL script in HeidiSQL (or other SQL client of choice).
If there are multiple new migrations that you haven't run, run them in order starting with the lowest version and ending with the highest version.

View File

@@ -1,6 +0,0 @@
/* Manually run this script in MySQL Workbench or some other database client
to migrate your old (pre Jan 19th 2022) monsterbook table to the new version */
ALTER TABLE cosmic.`monsterbook`
CHANGE COLUMN `charid` `charid` INT(11) NOT NULL,
ADD PRIMARY KEY (`charid`, `cardid`),
ADD CONSTRAINT `FK_monsterbook_1` FOREIGN KEY (`charid`) REFERENCES `characters` (`id`) ON UPDATE CASCADE ON DELETE CASCADE;

View File

@@ -1,2 +0,0 @@
DELETE FROM shopitems
WHERE itemid = 2030100; # Return Scroll - Banished Area (a custom item added in HeavenMS)

View File

@@ -1,7 +0,0 @@
---- Cosmic MySQL Database ----
These SQL files must be executed IN ORDER to set up the database:
- 1-db_database.sql (Tables and some data)
- 2-db_drops.sql (Remaining data: monster drops, reactor drops)
- 3-db_shopupdate.sql (Custom shops - optional, requires provided WZs)
- 4-db_admin (Basic admin account - optional)