Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
143 commits
Select commit Hold shift + click to select a range
b5eb5dc
Liquibase POC
P0nk Jun 26, 2025
75d5aad
Use latest xsd
P0nk Jun 26, 2025
1e583e2
Add accounts changeset
P0nk Jun 26, 2025
d095179
Add characters changeset
P0nk Jun 26, 2025
38233b3
Add inventory changeset
P0nk Jun 27, 2025
37e6b16
Add skill changeset
P0nk Jun 27, 2025
be1ba72
Add pet changeset
P0nk Jun 27, 2025
203f4bf
Add quest changeset
P0nk Jun 27, 2025
fb0ae8b
Add guild changeset
P0nk Jun 27, 2025
630e566
Add keymap changeset
P0nk Jun 27, 2025
2559879
Add cooldowns to skill changeset
P0nk Jun 27, 2025
33e5ea5
Add drops changeset
P0nk Jun 27, 2025
ddfac91
Add storage changeset
P0nk Jun 27, 2025
ed01c6a
Add more tables to quest changeset
P0nk Jun 27, 2025
9275802
Add shops changeset
P0nk Jun 30, 2025
e6bfdbb
Add missing foreign key (skill -> chr)
P0nk Jun 30, 2025
307cb71
Add character state changeset
P0nk Jun 30, 2025
503c76e
Add cash shop changeset
P0nk Jun 30, 2025
e9f24b4
Add gift changeset
P0nk Jul 1, 2025
f8f67e6
Add marriage changeset
P0nk Jul 1, 2025
476ec0f
Add monsterbook changeset
P0nk Jul 1, 2025
7bc9469
Add family changeset
P0nk Jul 1, 2025
c28182c
Add transfer changeset
P0nk Jul 1, 2025
8f7068c
Add mts changeset
P0nk Jul 1, 2025
3367b58
Add maker changeset
P0nk Jul 1, 2025
11cbf2a
Add field objects changeset
P0nk Jul 1, 2025
92db701
Add ban changeset
P0nk Jul 1, 2025
66567fa
Add bosslog changeset
P0nk Jul 1, 2025
e51dd82
Rename changesets to singular form
P0nk Jul 1, 2025
371ed4e
Move duey to its own changeset
P0nk Jul 1, 2025
da17490
Add shop data changesets
P0nk Jul 1, 2025
b410832
Add maker create data changeset
P0nk Jul 1, 2025
c713795
Add maker recipe data changeset
P0nk Jul 1, 2025
8ca2720
Add maker reward data changeset
P0nk Jul 1, 2025
9e4ea4a
Add maker reagent data changeset
P0nk Jul 1, 2025
4f01826
Add monster card data changeset (not complete)
P0nk Jul 1, 2025
fc00758
Finalize monster card data
P0nk Jul 1, 2025
8b76a28
Add reactor drops data changeset
P0nk Jul 1, 2025
0921396
Integrate quest id adjustments to reactor drop data
P0nk Jul 1, 2025
84c5216
Add complementing reactor drop data
P0nk Jul 1, 2025
111c4f2
Apply subsequent removals of reactor drop data
P0nk Jul 1, 2025
193257c
Let db generate reactordropid's
P0nk Jul 1, 2025
b05e952
Let db generate monstercarddata id's
P0nk Jul 1, 2025
ad63aaa
Let db generate shopitemid's
P0nk Jul 1, 2025
2951447
Add specialcashitems data changeset
P0nk Jul 1, 2025
d4c65ed
Add nxcoupons data changeset
P0nk Jul 1, 2025
150754a
Add global drop data changeset
P0nk Jul 1, 2025
131379e
Clean up tables in old script
P0nk Jul 1, 2025
543cbaf
Fix table name
P0nk Jul 1, 2025
05ca945
Add drop data changeset
P0nk Jul 1, 2025
419f5d9
Allow duplicate drops for the same mob
P0nk Jul 1, 2025
099275c
Move "spider" drop data
P0nk Jul 1, 2025
469c70d
Apply kerning square drop removals
P0nk Jul 1, 2025
be98a7a
Apply kerning square drops
P0nk Jul 1, 2025
d6ad68d
Apply horntail drops
P0nk Jul 1, 2025
bfcadc0
Apply drops that "should have been present by now"
P0nk Jul 1, 2025
7f149d5
Remove inexistent drop "[Mastery Book] Wind Booster"
P0nk Jul 1, 2025
6e9ff7f
Remove drops from mobs that shouldn't have them
P0nk Jul 1, 2025
5da87f7
Add more skill/mastery books
P0nk Jul 1, 2025
0e7c535
Set minimum drop chance of skill/mastery books to 1/1000
P0nk Jul 1, 2025
e9598d4
Apply unusual accessory scroll drops
P0nk Jul 1, 2025
c08003a
Clean up Freezer drops
P0nk Jul 1, 2025
8533d52
Add Bob the snail drops
P0nk Jul 1, 2025
c384d31
Copy Pianus (R) drops to Pianus (L)
P0nk Jul 1, 2025
8c0350b
Remove drops from Pink Bean clones
P0nk Jul 1, 2025
a365d20
Re-add drops for real(?) Pink Bean
P0nk Jul 1, 2025
af1878c
Copy Reinforced Mithril Mutae drops to Obstacle Mutae
P0nk Jul 1, 2025
4747d88
Adjust zak and pb thematic drops
P0nk Jul 1, 2025
bfe174c
Fix Sparta (lv 100) being dropped by lower lv mobs
P0nk Jul 1, 2025
325f3b5
Fix Horned Mushroom 2 drop
P0nk Jul 1, 2025
d6d8560
Consistent Nependeath Seed drop chance
P0nk Jul 1, 2025
1504da6
Correct table for 2nd insert
P0nk Jul 1, 2025
7607e3d
Correct Flaming Feather drops
P0nk Jul 2, 2025
ab8ddc7
Correct Poisonous Mushroom drops
P0nk Jul 2, 2025
8ca9357
Apply Giant Cake drops
P0nk Jul 2, 2025
7c2833e
Correct CPQ drops
P0nk Jul 2, 2025
58644a1
Correct AriantPQ drops
P0nk Jul 2, 2025
c81c298
Correct monster cards & Blaze Capsule drop chance
P0nk Jul 2, 2025
f0be1ba
Correct Halloween Candies drop chance
P0nk Jul 2, 2025
fba0dbf
Correct Flaming Feather drop chance
P0nk Jul 2, 2025
636fb5f
Correct Dark Crystal drop chance
P0nk Jul 2, 2025
bdf1e52
Adjust monster card drop chance for all normal mobs
P0nk Jul 2, 2025
2ab7b11
Adjust monster card drop chance for all boss mobs
P0nk Jul 2, 2025
003efa9
Fix quest item drops
P0nk Jul 2, 2025
7e45cd6
Improve chance of rare Masteria drops
P0nk Jul 2, 2025
6ce9d42
Remove belt drops
P0nk Jul 2, 2025
49bc1c9
Remove Liar Tree Sap as drop
P0nk Jul 2, 2025
df83326
Remove drops from HPQ mobs
P0nk Jul 2, 2025
1f5a38d
Remove drops from pq summoned mobs
P0nk Jul 2, 2025
cd0efcf
Remove drops from pre-transformed Jr. Newtie
P0nk Jul 2, 2025
84f1989
Remove Key of Dimension drop from Alishar copies
P0nk Jul 2, 2025
5ff5221
Remove Sword Earrings as a drop
P0nk Jul 2, 2025
994612d
Remove non-card drops from Dojo mobs
P0nk Jul 2, 2025
58e54c8
Fix Dark Nependeath drops
P0nk Jul 2, 2025
c6823f5
Applying drops for Dojo & various other mobs
P0nk Jul 2, 2025
871a47a
Remove duplicate Orange Mushroom drops
P0nk Jul 2, 2025
f38fb34
Copy drops from Orange Mushroom to Target Orange Mushroom
P0nk Jul 2, 2025
97c2205
Remove unused content drops
P0nk Jul 2, 2025
10882a0
Remove duplicate Yeti drops
P0nk Jul 3, 2025
74aa5fc
Copy drops from Yeti to Yeti (transformed)
P0nk Jul 3, 2025
c52d82c
Copy drops from Yeti to Separated Yeti
P0nk Jul 3, 2025
dcd777f
Remove duplicate Dark Yeti drops
P0nk Jul 3, 2025
11ed85a
Copy Dark Yeti drops to Transformed Dark Yeti
P0nk Jul 3, 2025
5e24a09
Remove duplicate Pepe drops
P0nk Jul 3, 2025
20399f5
Copy Pepe drops to Separated Pepe
P0nk Jul 3, 2025
9f99aea
Remove duplicate drops from Dark Pepe
P0nk Jul 4, 2025
76d8a4b
Copy Dark Pepe drops to Separated Dark Pepe
P0nk Jul 4, 2025
a5a1de5
Copy Fairy 1 drops to Fairy 2, Fairy 3 & Fairy 4
P0nk Jul 4, 2025
1e4e284
Copy Jr. Boogie 1 drops to Jr. Boogie 2
P0nk Jul 4, 2025
c85ac4f
Add meso drops to mobs that are missing them
P0nk Jul 4, 2025
7ab52d0
Remove meso drop from mobs that shouldn't have them
P0nk Jul 4, 2025
cd12d2b
Remove Snowball quantity update
P0nk Jul 4, 2025
7e4bbef
Update diamond bow/xbow arrow drop quantities
P0nk Jul 4, 2025
2d7e82c
Update red/blue arrow drop quantities
P0nk Jul 4, 2025
9383608
Update steel bow arrow drop quantity
P0nk Jul 4, 2025
f94925d
Remove duplicate bronze bow/xbow arrow drops
P0nk Jul 4, 2025
72c1a24
Update bronze bow arrow drop quantities
P0nk Jul 4, 2025
669f214
Update bronze xbow arrow drop quantities
P0nk Jul 4, 2025
9bbcf8c
Clean up empty lines
P0nk Jul 5, 2025
3d39cce
Clean up comments making the drop changeset fail
P0nk Jul 5, 2025
c43e833
Remove duplicate bow arrow drops
P0nk Jul 5, 2025
81ab3e6
Remove duplicate crossbow arrow drops
P0nk Jul 5, 2025
a2d6b88
Update bow/crossbow arrow drop quantities
P0nk Jul 5, 2025
cad04a4
Update drop chance that are 1500 (1/6666) to 1287 (1/7777)
P0nk Jul 5, 2025
7227be3
Remove Final Blow mastery book drop from unknown mob
P0nk Jul 5, 2025
82e377f
Temp drop data table in separate changeset
P0nk Jul 5, 2025
02f4539
Remove duplicate mastery book drops
P0nk Jul 5, 2025
89dfc37
Refactor SkillbookChanceFetcher & add logs
P0nk Jul 6, 2025
e7d94ee
Update skill & mastery books drop chances and fix max quantities
P0nk Jul 6, 2025
d08e1c4
Remove drops from nonexistent mobs
P0nk Jul 6, 2025
f5c1776
Add RemoveDuplicateDrops tool
P0nk Jul 6, 2025
f240c7e
Remove duplicate drops
P0nk Jul 6, 2025
8ceb603
Add missing equips in Singapore shops
P0nk Jul 6, 2025
1dce65d
Add GM shop items
P0nk Jul 6, 2025
6d647e8
Add Rien shops' items
P0nk Jul 6, 2025
c807c1e
Remove custom shops
P0nk Jul 6, 2025
2365458
Add admin account
P0nk Jul 6, 2025
e2ac5e4
Switch from manual sql scripts to automated scripts with Liquibase
P0nk Jul 6, 2025
97ed3d2
Split into multiple changelogs
P0nk Jul 7, 2025
42bb664
Support running additional changelogs at the end
P0nk Jul 14, 2025
64b20aa
Remove test table
P0nk Jul 14, 2025
7054d37
Remove duplicate items from the GM shop
P0nk Jul 22, 2025
2aabeb3
Tune global drops
P0nk Jul 22, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 10 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,15 +57,20 @@ We will set up the following:
- Client - the client is the application used to _play the game_, i.e. MapleStory.exe.

### 1 - Database
You will start by installing the database server and database client, and then run some scripts to prepare it for the server.
You will start by installing the database server and database client. Then you will connect to the server with the client to create a new database schema.

#### Steps

1. Download and install [MySQL Community Server 8+](https://dev.mysql.com/downloads/mysql/). You will have to set a root password, make sure you don't lose it because you will need it later.
1. Download and install [MySQL Community Server 8+](https://dev.mysql.com/downloads/mysql/). You will have to set a root password. Make sure you don't lose it because you will need it later.
2. Download and install [HeidiSQL](https://www.heidisql.com/download.php).
3. Open HeidiSQL and connect to the database ("New" -> "Session in root folder" -> fill in password -> "Open").
4. Run all four scripts located in database/sql in order. Starting with ``1-db_database.sql`` and ending with ``4-db-admin.sql``. In HeidiSQL: "File" -> "Run SQL File...".
5. The database is ready!
3. Connect to the database:
1. Open HeidiSQL
2. Create a new Session: "New" -> fill in your password -> "Save"
3. Connect to the database: click on your saved session -> "Open"
4. Create a new database schema:
1. In the opened session, right-click on the session name in the menu on the left
2. "Create new" -> "Database" -> database name should be "cosmic" -> "OK"
5. Done. The database is now ready. Once the Cosmic server starts, it will create tables and populate some of them with initial data.

### 2 - Server
You will start by cloning the repository, then configure the database properties and lastly start the server.
Expand All @@ -88,8 +93,6 @@ Support for Docker is also provided out of the box, as an alternative to running

Making changes becomes a bit more tedious though as you have to rebuild the server image via `docker compose up --build`.

On the first launch, the database container will run the scripts which may take so long that the server fails to start. In that case, just wait until the database is done running the scripts and then retry (Ctrl+C and re-run the command).

#### Jar
Another option is to start the server from a terminal by running a jar file. You first need to build the jar file from source which requires [Maven](https://maven.apache.org/). Fortunately, [Maven Wrapper](https://maven.apache.org/wrapper/) is provided so you don't have to install Maven separately.

Expand Down
Loading