From 4acc5675d6faf765c591ccb16d843c0457f446c1 Mon Sep 17 00:00:00 2001 From: Ponk <81079018+P0nk@users.noreply.github.com> Date: Mon, 29 Mar 2021 22:22:06 +0200 Subject: [PATCH] Set project name to "Cosmic" (#2) * Change name to Cosmic * Update database credentials --- README.md | 26 +++++++++---------- config.yaml | 6 ++--- docker-compose.yml | 2 +- docs/wzchanges_gist.txt | 2 +- scripts/npc/credits.js | 8 +++++- sql/db_database.sql | 6 ++--- sql/db_drops.sql | 2 +- sql/db_shopupdate.sql | 2 +- sql/readme.txt | 2 +- src/client/MapleCharacter.java | 8 +++--- .../command/commands/gm0/TimeCommand.java | 2 +- src/net/server/Server.java | 4 +-- .../src/tools/DatabaseConnection.java | 6 ++--- .../src/tools/DatabaseConnection.java | 6 ++--- .../MapleCashDropFetcher.java | 6 ++--- .../src/tools/DatabaseConnection.java | 6 ++--- .../MapleCodeCouponGenerator.java | 6 ++--- .../MapleCouponInstaller.java | 6 ++--- .../MapleGachaponItemidRetriever.java | 6 ++--- .../mapleidretriever/MapleIdRetriever.java | 6 ++--- .../MapleNoItemIdFetcher.java | 6 ++--- .../src/tools/DatabaseConnection.java | 6 ++--- .../src/tools/DatabaseConnection.java | 6 ++--- .../MapleMobBookIndexer.java | 6 ++--- .../MapleMobBookUpdate.java | 6 ++--- .../MapleQuestItemFetcher.java | 6 ++--- .../src/tools/DatabaseConnection.java | 6 ++--- .../MapleReactorDropFetcher.java | 6 ++--- .../MapleSkillMakerFetcher.java | 6 ++--- .../MapleSkillMakerReagentIndexer.java | 6 ++--- .../src/tools/DatabaseConnection.java | 6 ++--- 31 files changed, 94 insertions(+), 90 deletions(-) diff --git a/README.md b/README.md index 395a14ac30..93aede0e9e 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,5 @@ -HeavenMS logo - -# HeavenMS 2 -The continuation of HeavenMS, HeavenMS 2 (*name not finalized*) lead by `Ponk`, launched on March 21st 2021. +# Cosmic - MapleStory v83 +Cosmic launched as a continuation of HeavenMS on March 21st 2021. ## Words from previous head developer, Ronan C. P. Lana @@ -22,7 +20,7 @@ The main objective of this effort is to try as best as possible to recreate what --- ### Download items -Server files: https://github.com/P0nk/HeavenMS-2 +Server files: https://github.com/P0nk/Cosmic Client files & general tools: https://drive.google.com/drive/folders/1hgnb92MGL6xqEp9szEMBh0K9pSJcJ6IT?usp=sharing @@ -158,9 +156,9 @@ Hamachi is optional, though. You don't have to install Hamachi if you want to ma --- ### Installing the SERVER -By downloading through the Github download button, you may have obtained a ZIP file with a single "HeavenMS-2-master" folder on it. EXTRACT that folder. +By downloading through the Github download button, you may have obtained a ZIP file with a single "Cosmic-master" folder on it. EXTRACT that folder. -For expediency, "HeavenMS-2-master" folder on this guide will be referred just as "HeavenMS". Rename it for convenience. Then, set "HeavenMS" the folder on a place of your preference. It is recommended to use "C:\Nexon\HeavenMS". +For expediency, "Cosmic-master" folder on this guide will be referred just as "Cosmic". Rename it for convenience. Then, set "Cosmic" the folder on a place of your preference. It is recommended to use "C:\Nexon\Cosmic". Setting up the SQL: open MySQL Query Browser, then create a new session with the parameters below, then click OK. @@ -170,15 +168,15 @@ Setting up the SQL: open MySQL Query Browser, then create a new session with the Now it must be done CAREFULLY: -1. File -> Open Script... -> Browse for "C:\Nexon\HeavenMS\sql" -> db_database.sql, and execute it. +1. File -> Open Script... -> Browse for "C:\Nexon\Cosmic\sql" -> db_database.sql, and execute it. -2. File -> Open Script... -> Browse for "C:\Nexon\HeavenMS\sql" -> db_drops.sql, and execute it. +2. File -> Open Script... -> Browse for "C:\Nexon\Cosmic\sql" -> db_drops.sql, and execute it. Now it is OPTIONAL, you don't need to run it if you don't want, as it will simply change some NPC shops to set some new goods, not present in the original MapleStory, to sell: -3. File -> Open Script... -> Browse for "C:\Nexon\HeavenMS\sql" -> db_shopupdate.sql, and execute it. +3. File -> Open Script... -> Browse for "C:\Nexon\Cosmic\sql" -> db_shopupdate.sql, and execute it. -At the end of the execution of these SQLs, you should have installed a database schema named "heavenms". REGISTER YOUR FIRST ACCOUNT to be used in-game by **creating manually** an entry on the table "accounts" at that database with a login and a password. +At the end of the execution of these SQLs, you should have installed a database schema named "cosmic". REGISTER YOUR FIRST ACCOUNT to be used in-game by **creating manually** an entry on the table "accounts" at that database with a login and a password. Configure the IP you want to use for your MapleStory server in "configuration.ini" file, or set it as "localhost" if you want to run it only on your machine. Alternatively, you can use the IP given by Hamachi to use on a Hamachi network, or you can use a non-Hamachi method of port-forwarding. Neither will be approached here. @@ -249,7 +247,7 @@ After creating a character, experiment typing in all-chat "@commands". This will To change a character's GM level, make sure that character is not logged in, then: * Open MySQL Query Browser; -* Double-click "heavenms" schema; +* Double-click "cosmic" schema; * Double click "characters" table; * Execute the selected query; * Mark "Edit" flag on the MySQL Query Browser UI screen; @@ -282,7 +280,7 @@ To make it happen: * Paste it on the "dist" subfolder. * Inside "dist", open the command prompt by alt+right clicking there. * Execute "java -jar MobBookUpdate.jar". It will generate a "MonsterBook_updated.img.xml" file. -* At last, overwrite the "MonsterBook.img.xml" on "C:\Nexon\HeavenMS\wz\String.wz" with this file, renaming it back to "MonsterBook.img.xml". +* At last, overwrite the "MonsterBook.img.xml" on "C:\Nexon\Cosmic\wz\String.wz" with this file, renaming it back to "MonsterBook.img.xml". At this point, **just the server-side** Monster Book has been updated with the current state of the database's drop data. @@ -303,7 +301,7 @@ The default login/password also varies, so use the link http://www.routerpasswor Now you have logged in the router system, search for anything related to portforwarding. Should the system prompt you between portforwarding and portriggering, pick the first, it is what we will be using. -Now, it is needed to enable the right ports for the Internet. For HeavenMS, it is basically needed to open ports 7575 to 7575 + (number of channels) and port 8484. Create a new custom service which enables that range of ports for the server's channel and opt to use TCP/UDP protocols. Finally, create a custom service now for using port 8484. +Now, it is needed to enable the right ports for the Internet. For Cosmic, it is basically needed to open ports 7575 to 7575 + (number of channels) and port 8484. Create a new custom service which enables that range of ports for the server's channel and opt to use TCP/UDP protocols. Finally, create a custom service now for using port 8484. Optionally, if you want to host a webpage, portforward the port 80 (the HTTP port) as well. diff --git a/config.yaml b/config.yaml index 548322fe20..2fa1000331 100644 --- a/config.yaml +++ b/config.yaml @@ -162,9 +162,9 @@ server: USE_THREAD_TRACKER: false #[SEVERE] This deadlock auditing thing will bloat the memory as fast as the time frame one takes to lose track of a raindrop on a tempesting day. Only for debugging purposes. #Database Configuration - DB_URL: "jdbc:mysql://localhost:3306/heavenms" - DB_USER: "root" - DB_PASS: "" + DB_URL: "jdbc:mysql://localhost:3306/cosmic" + DB_USER: "snail" + DB_PASS: "shell" DB_CONNECTION_POOL: true #Installs a connection pool to hub DB connections. Set false to default. #Login Configuration diff --git a/docker-compose.yml b/docker-compose.yml index 6e514c1e42..eb87edac6b 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -13,7 +13,7 @@ services: image: mysql:5.6 environment: MYSQL_ALLOW_EMPTY_PASSWORD: "yes" - MYSQL_DATABASE: "heavenms" + MYSQL_DATABASE: "cosmic" MYSQL_USER: "root" MYSQL_PASSWORD: "" volumes: diff --git a/docs/wzchanges_gist.txt b/docs/wzchanges_gist.txt index 3bfcd15371..54118360f1 100644 --- a/docs/wzchanges_gist.txt +++ b/docs/wzchanges_gist.txt @@ -23,7 +23,7 @@ P.S.: Yeah, these explanations are pretty simplistic, I know. If one really wants to compare the original v83 WZ with the ones I provided, I recommend do the following: - - Open HaRepacker and, for each HeavenMS's WZ file, extract all the XMLs + - Open HaRepacker and, for each Cosmic's WZ file, extract all the XMLs for "Private Server". - Now, install MapleStory from "ManagerMsv83.exe" on an other folder and do the same procediment said above. diff --git a/scripts/npc/credits.js b/scripts/npc/credits.js index 6bd080459f..e9d1bff05c 100644 --- a/scripts/npc/credits.js +++ b/scripts/npc/credits.js @@ -13,7 +13,7 @@ var name_cursor, role_cursor; // new server names are to be appended at the start of the name stack, building up the chronology. // make sure the server names are lexicograffically equivalent to their correspondent function. -var servers = ["HeavenMS", "MapleSolaxia", "MoopleDEV", "BubblesDEV", "MetroMS", "OdinMS", "Contributors"]; +var servers = ["Cosmic", "HeavenMS", "MapleSolaxia", "MoopleDEV", "BubblesDEV", "MetroMS", "OdinMS", "Contributors"]; var servers_history = []; function addPerson(name, role) { @@ -33,6 +33,12 @@ function writeServerStaff_MapleNext() { } */ +function writeServerStaff_Cosmic() { + addPerson("Ponk", "Developer"); + + setHistory(2021, 2021); +} + function writeServerStaff_HeavenMS() { addPerson("Ronan", "Developer"); addPerson("Vcoc", "Freelance Developer"); diff --git a/sql/db_database.sql b/sql/db_database.sql index 344eb49dba..1431167768 100644 --- a/sql/db_database.sql +++ b/sql/db_database.sql @@ -8,9 +8,9 @@ SET time_zone = "+00:00"; /*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */; /*!40101 SET NAMES utf8 */; -DROP DATABASE IF EXISTS `heavenms`; -CREATE DATABASE `heavenms` DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci; -USE `heavenms`; +DROP DATABASE IF EXISTS `cosmic`; +CREATE DATABASE `cosmic` DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci; +USE `cosmic`; CREATE TABLE IF NOT EXISTS `accounts` ( `id` int(11) NOT NULL AUTO_INCREMENT, diff --git a/sql/db_drops.sql b/sql/db_drops.sql index a9eb80b99a..98e29c3f9f 100644 --- a/sql/db_drops.sql +++ b/sql/db_drops.sql @@ -1,7 +1,7 @@ #THIS SQL MUST BE USED AFTER 'db_database.sql' #NEXT SQL 'db_shopupdate.sql' IS OPTIONAL -USE `heavenms`; +USE `cosmic`; INSERT IGNORE INTO temp_data (`dropperid`, `itemid`, `minimum_quantity`, `maximum_quantity`, `questid`, `chance`) VALUES #-- copy+paste inside here as many drop data as possible from the spider (drop generator) files -- diff --git a/sql/db_shopupdate.sql b/sql/db_shopupdate.sql index 4766373811..57f37dda51 100644 --- a/sql/db_shopupdate.sql +++ b/sql/db_shopupdate.sql @@ -1,7 +1,7 @@ #THIS SQL IS OPTIONAL, TO BE USED AFTER 'db_drops.sql' #THIS REQUIRES PROVIDED WZ FILES -USE `heavenms`; +USE `cosmic`; # Scroll shop at Asia, chair shop at Kino Konoko, potion shop at T-1337 INSERT INTO `shops` (`shopid`,`npcid`) VALUES diff --git a/sql/readme.txt b/sql/readme.txt index 4134491a53..c47cb542f9 100644 --- a/sql/readme.txt +++ b/sql/readme.txt @@ -1,4 +1,4 @@ ----- HeavenMS MySQL Database ---- +---- Cosmic MySQL Database ---- These SQL files must be executed IN ORDER to set up the database: - db_database.sql diff --git a/src/client/MapleCharacter.java b/src/client/MapleCharacter.java index ccb050c21a..e26a8ac49a 100644 --- a/src/client/MapleCharacter.java +++ b/src/client/MapleCharacter.java @@ -6710,11 +6710,11 @@ public class MapleCharacter extends AbstractMapleCharacterObject { } else if (level == 80) { yellowMessage("You think you are powerful enough? Try facing horntail!"); } else if (level == 85) { - yellowMessage("Did you know? The majority of people who hit level 85 in HeavenMS don't live to be 85 years old?"); + yellowMessage("Did you know? The majority of people who hit level 85 in Cosmic don't live to be 85 years old?"); } else if (level == 90) { yellowMessage("Hey do you like the amusement park? I heard Spooky World is the best theme park around. I heard they sell cute teddy-bears."); } else if (level == 95) { - yellowMessage("100% of people who hit level 95 in HeavenMS don't live to be 95 years old."); + yellowMessage("100% of people who hit level 95 in Cosmic don't live to be 95 years old."); } else if (level == 100) { yellowMessage("Mid-journey so far... You just reached level 100! Now THAT's such a feat, however to manage the 200 you will need even more passion and determination than ever! Good hunting!"); } else if (level == 105) { @@ -8853,7 +8853,7 @@ public class MapleCharacter extends AbstractMapleCharacterObject { } public void sendPolice(int greason, String reason, int duration) { - announce(MaplePacketCreator.sendPolice(String.format("You have been blocked by the#b %s Police for %s.#k", "HeavenMS", reason))); + announce(MaplePacketCreator.sendPolice(String.format("You have been blocked by the#b %s Police for %s.#k", "Cosmic", reason))); this.isbanned = true; TimerManager.getInstance().schedule(new Runnable() { @Override @@ -10323,7 +10323,7 @@ public class MapleCharacter extends AbstractMapleCharacterObject { } this.ban(reason); - announce(MaplePacketCreator.sendPolice(String.format("You have been blocked by the#b %s Police for HACK reason.#k", "HeavenMS"))); + announce(MaplePacketCreator.sendPolice(String.format("You have been blocked by the#b %s Police for HACK reason.#k", "Cosmic"))); TimerManager.getInstance().schedule(new Runnable() { @Override public void run() { diff --git a/src/client/command/commands/gm0/TimeCommand.java b/src/client/command/commands/gm0/TimeCommand.java index 975d5b5717..0e0f474fcf 100644 --- a/src/client/command/commands/gm0/TimeCommand.java +++ b/src/client/command/commands/gm0/TimeCommand.java @@ -40,6 +40,6 @@ public class TimeCommand extends Command { public void execute(MapleClient client, String[] params) { DateFormat dateFormat = new SimpleDateFormat("HH:mm:ss"); dateFormat.setTimeZone(TimeZone.getDefault()); - client.getPlayer().yellowMessage("HeavenMS Server Time: " + dateFormat.format(new Date())); + client.getPlayer().yellowMessage("Cosmic Server Time: " + dateFormat.format(new Date())); } } diff --git a/src/net/server/Server.java b/src/net/server/Server.java index fa20c2bb19..f85be22624 100644 --- a/src/net/server/Server.java +++ b/src/net/server/Server.java @@ -864,7 +864,7 @@ public class Server { } public void init() { - System.out.println("HeavenMS v" + ServerConstants.VERSION + " starting up.\r\n"); + System.out.println("Cosmic v" + ServerConstants.VERSION + " starting up.\r\n"); if(YamlConfig.config.server.SHUTDOWNHOOK) Runtime.getRuntime().addShutdownHook(new Thread(shutdown(false))); @@ -954,7 +954,7 @@ public class Server { System.out.println("Listening on port 8484\r\n\r\n"); - System.out.println("HeavenMS is now online.\r\n"); + System.out.println("Cosmic is now online.\r\n"); online = true; MapleSkillbookInformationProvider.getInstance(); diff --git a/tools/MapleArrowFetcher/src/tools/DatabaseConnection.java b/tools/MapleArrowFetcher/src/tools/DatabaseConnection.java index 40147f87e5..0b882cb279 100644 --- a/tools/MapleArrowFetcher/src/tools/DatabaseConnection.java +++ b/tools/MapleArrowFetcher/src/tools/DatabaseConnection.java @@ -9,9 +9,9 @@ import java.sql.SQLException; * @author The Real Spookster - some modifications to this beautiful code */ public class DatabaseConnection { - private static String DB_URL = "jdbc:mysql://localhost:3306/heavenms"; - private static String DB_USER = "root"; - private static String DB_PASS = ""; + private static String DB_URL = "jdbc:mysql://localhost:3306/cosmic"; + private static String DB_USER = "snail"; + private static String DB_PASS = "shell"; public static final int RETURN_GENERATED_KEYS = 1; diff --git a/tools/MapleCashCosmeticsFetcher/src/tools/DatabaseConnection.java b/tools/MapleCashCosmeticsFetcher/src/tools/DatabaseConnection.java index 40147f87e5..0b882cb279 100644 --- a/tools/MapleCashCosmeticsFetcher/src/tools/DatabaseConnection.java +++ b/tools/MapleCashCosmeticsFetcher/src/tools/DatabaseConnection.java @@ -9,9 +9,9 @@ import java.sql.SQLException; * @author The Real Spookster - some modifications to this beautiful code */ public class DatabaseConnection { - private static String DB_URL = "jdbc:mysql://localhost:3306/heavenms"; - private static String DB_USER = "root"; - private static String DB_PASS = ""; + private static String DB_URL = "jdbc:mysql://localhost:3306/cosmic"; + private static String DB_USER = "snail"; + private static String DB_PASS = "shell"; public static final int RETURN_GENERATED_KEYS = 1; diff --git a/tools/MapleCashDropFetcher/src/maplecashdropfetcher/MapleCashDropFetcher.java b/tools/MapleCashDropFetcher/src/maplecashdropfetcher/MapleCashDropFetcher.java index d00d33516f..dadddcdc29 100644 --- a/tools/MapleCashDropFetcher/src/maplecashdropfetcher/MapleCashDropFetcher.java +++ b/tools/MapleCashDropFetcher/src/maplecashdropfetcher/MapleCashDropFetcher.java @@ -48,10 +48,10 @@ import tools.Pair; Estimated parse time: 2 minutes */ public class MapleCashDropFetcher { - static String host = "jdbc:mysql://localhost:3306/heavenms"; + static String host = "jdbc:mysql://localhost:3306/cosmic"; static String driver = "com.mysql.jdbc.Driver"; - static String username = "root"; - static String password = ""; + static String username = "snail"; + static String password = "shell"; static String wzPath = "../../wz"; diff --git a/tools/MapleCashDropFetcher/src/tools/DatabaseConnection.java b/tools/MapleCashDropFetcher/src/tools/DatabaseConnection.java index 40147f87e5..0b882cb279 100644 --- a/tools/MapleCashDropFetcher/src/tools/DatabaseConnection.java +++ b/tools/MapleCashDropFetcher/src/tools/DatabaseConnection.java @@ -9,9 +9,9 @@ import java.sql.SQLException; * @author The Real Spookster - some modifications to this beautiful code */ public class DatabaseConnection { - private static String DB_URL = "jdbc:mysql://localhost:3306/heavenms"; - private static String DB_USER = "root"; - private static String DB_PASS = ""; + private static String DB_URL = "jdbc:mysql://localhost:3306/cosmic"; + private static String DB_USER = "snail"; + private static String DB_PASS = "shell"; public static final int RETURN_GENERATED_KEYS = 1; diff --git a/tools/MapleCodeCouponGenerator/src/maplecodecoupongenerator/MapleCodeCouponGenerator.java b/tools/MapleCodeCouponGenerator/src/maplecodecoupongenerator/MapleCodeCouponGenerator.java index 19a1a1c08d..ac3a25d7cb 100644 --- a/tools/MapleCodeCouponGenerator/src/maplecodecoupongenerator/MapleCodeCouponGenerator.java +++ b/tools/MapleCodeCouponGenerator/src/maplecodecoupongenerator/MapleCodeCouponGenerator.java @@ -45,10 +45,10 @@ import java.sql.Statement; Estimated parse time: 2 minutes (for 100 code entries) */ public class MapleCodeCouponGenerator { - static String host = "jdbc:mysql://localhost:3306/heavenms"; + static String host = "jdbc:mysql://localhost:3306/cosmic"; static String driver = "com.mysql.jdbc.Driver"; - static String username = "root"; - static String password = ""; + static String username = "snail"; + static String password = "shell"; static Connection con = null; static InputStreamReader fileReader = null; diff --git a/tools/MapleCouponInstaller/src/maplecouponinstaller/MapleCouponInstaller.java b/tools/MapleCouponInstaller/src/maplecouponinstaller/MapleCouponInstaller.java index 9dcea095b9..81c466170f 100644 --- a/tools/MapleCouponInstaller/src/maplecouponinstaller/MapleCouponInstaller.java +++ b/tools/MapleCouponInstaller/src/maplecouponinstaller/MapleCouponInstaller.java @@ -35,10 +35,10 @@ import java.sql.SQLException; * */ public class MapleCouponInstaller { - static String host = "jdbc:mysql://localhost:3306/heavenms"; + static String host = "jdbc:mysql://localhost:3306/cosmic"; static String driver = "com.mysql.jdbc.Driver"; - static String username = "root"; - static String password = ""; + static String username = "snail"; + static String password = "shell"; static Connection con = null; static InputStreamReader fileReader = null; diff --git a/tools/MapleGachaponItemidRetriever/src/maplegachaponitemidretriever/MapleGachaponItemidRetriever.java b/tools/MapleGachaponItemidRetriever/src/maplegachaponitemidretriever/MapleGachaponItemidRetriever.java index f91a633a36..76438d274a 100644 --- a/tools/MapleGachaponItemidRetriever/src/maplegachaponitemidretriever/MapleGachaponItemidRetriever.java +++ b/tools/MapleGachaponItemidRetriever/src/maplegachaponitemidretriever/MapleGachaponItemidRetriever.java @@ -55,10 +55,10 @@ import java.util.regex.Pattern; */ public class MapleGachaponItemidRetriever { - static String host = "jdbc:mysql://localhost:3306/heavenms"; + static String host = "jdbc:mysql://localhost:3306/cosmic"; static String driver = "com.mysql.jdbc.Driver"; - static String username = "root"; - static String password = ""; + static String username = "snail"; + static String password = "shell"; static Connection con = null; static InputStreamReader fileReader = null; diff --git a/tools/MapleIdRetriever/src/mapleidretriever/MapleIdRetriever.java b/tools/MapleIdRetriever/src/mapleidretriever/MapleIdRetriever.java index c822147cc8..d9a7b66837 100644 --- a/tools/MapleIdRetriever/src/mapleidretriever/MapleIdRetriever.java +++ b/tools/MapleIdRetriever/src/mapleidretriever/MapleIdRetriever.java @@ -48,10 +48,10 @@ import java.util.ArrayList; public class MapleIdRetriever { private final static boolean INSTALL_SQLTABLE = true; - static String host = "jdbc:mysql://localhost:3306/heavenms"; + static String host = "jdbc:mysql://localhost:3306/cosmic"; static String driver = "com.mysql.jdbc.Driver"; - static String username = "root"; - static String password = ""; + static String username = "snail"; + static String password = "shell"; static Connection con = null; static InputStreamReader fileReader = null; diff --git a/tools/MapleInvalidItemIdFetcher/src/maplenoitemidfetcher/MapleNoItemIdFetcher.java b/tools/MapleInvalidItemIdFetcher/src/maplenoitemidfetcher/MapleNoItemIdFetcher.java index 9ebb49799a..985d9d7d79 100644 --- a/tools/MapleInvalidItemIdFetcher/src/maplenoitemidfetcher/MapleNoItemIdFetcher.java +++ b/tools/MapleInvalidItemIdFetcher/src/maplenoitemidfetcher/MapleNoItemIdFetcher.java @@ -48,10 +48,10 @@ import java.util.Set; * A file is generated listing all the inexistent ids. */ public class MapleNoItemIdFetcher { - static String host = "jdbc:mysql://localhost:3306/heavenms"; + static String host = "jdbc:mysql://localhost:3306/cosmic"; static String driver = "com.mysql.jdbc.Driver"; - static String username = "root"; - static String password = ""; + static String username = "snail"; + static String password = "shell"; static String wzPath = "../../wz"; static String newFile = "lib/result.txt"; diff --git a/tools/MapleInvalidItemWithNoNameFetcher/src/tools/DatabaseConnection.java b/tools/MapleInvalidItemWithNoNameFetcher/src/tools/DatabaseConnection.java index 40147f87e5..0b882cb279 100644 --- a/tools/MapleInvalidItemWithNoNameFetcher/src/tools/DatabaseConnection.java +++ b/tools/MapleInvalidItemWithNoNameFetcher/src/tools/DatabaseConnection.java @@ -9,9 +9,9 @@ import java.sql.SQLException; * @author The Real Spookster - some modifications to this beautiful code */ public class DatabaseConnection { - private static String DB_URL = "jdbc:mysql://localhost:3306/heavenms"; - private static String DB_USER = "root"; - private static String DB_PASS = ""; + private static String DB_URL = "jdbc:mysql://localhost:3306/cosmic"; + private static String DB_USER = "snail"; + private static String DB_PASS = "shell"; public static final int RETURN_GENERATED_KEYS = 1; diff --git a/tools/MapleMesoFetcher/src/tools/DatabaseConnection.java b/tools/MapleMesoFetcher/src/tools/DatabaseConnection.java index 40147f87e5..0b882cb279 100644 --- a/tools/MapleMesoFetcher/src/tools/DatabaseConnection.java +++ b/tools/MapleMesoFetcher/src/tools/DatabaseConnection.java @@ -9,9 +9,9 @@ import java.sql.SQLException; * @author The Real Spookster - some modifications to this beautiful code */ public class DatabaseConnection { - private static String DB_URL = "jdbc:mysql://localhost:3306/heavenms"; - private static String DB_USER = "root"; - private static String DB_PASS = ""; + private static String DB_URL = "jdbc:mysql://localhost:3306/cosmic"; + private static String DB_USER = "snail"; + private static String DB_PASS = "shell"; public static final int RETURN_GENERATED_KEYS = 1; diff --git a/tools/MapleMobBookIndexer/src/maplemobbookindexer/MapleMobBookIndexer.java b/tools/MapleMobBookIndexer/src/maplemobbookindexer/MapleMobBookIndexer.java index 0008f7c8ed..87a5a28288 100644 --- a/tools/MapleMobBookIndexer/src/maplemobbookindexer/MapleMobBookIndexer.java +++ b/tools/MapleMobBookIndexer/src/maplemobbookindexer/MapleMobBookIndexer.java @@ -36,10 +36,10 @@ import java.io.*; * */ public class MapleMobBookIndexer { - static String host = "jdbc:mysql://localhost:3306/heavenms"; + static String host = "jdbc:mysql://localhost:3306/cosmic"; static String driver = "com.mysql.jdbc.Driver"; - static String username = "root"; - static String password = ""; + static String username = "snail"; + static String password = "shell"; static String fileName = "lib/MonsterBook.img.xml"; diff --git a/tools/MapleMobBookUpdate/src/maplemobbookupdate/MapleMobBookUpdate.java b/tools/MapleMobBookUpdate/src/maplemobbookupdate/MapleMobBookUpdate.java index 48e59a4c8c..83db149e45 100644 --- a/tools/MapleMobBookUpdate/src/maplemobbookupdate/MapleMobBookUpdate.java +++ b/tools/MapleMobBookUpdate/src/maplemobbookupdate/MapleMobBookUpdate.java @@ -46,10 +46,10 @@ import java.io.*; * */ public class MapleMobBookUpdate { - static String host = "jdbc:mysql://localhost:3306/heavenms"; + static String host = "jdbc:mysql://localhost:3306/cosmic"; static String driver = "com.mysql.jdbc.Driver"; - static String username = "root"; - static String password = ""; + static String username = "snail"; + static String password = "shell"; static String fileName = "lib/MonsterBook.img.xml"; static String newFile = "lib/MonsterBook_updated.img.xml"; diff --git a/tools/MapleQuestItemFetcher/src/maplequestitemfetcher/MapleQuestItemFetcher.java b/tools/MapleQuestItemFetcher/src/maplequestitemfetcher/MapleQuestItemFetcher.java index c5af6497e9..5cb97996f0 100644 --- a/tools/MapleQuestItemFetcher/src/maplequestitemfetcher/MapleQuestItemFetcher.java +++ b/tools/MapleQuestItemFetcher/src/maplequestitemfetcher/MapleQuestItemFetcher.java @@ -65,10 +65,10 @@ import tools.Pair; public class MapleQuestItemFetcher { static MapleItemInformationProvider ii; - static String host = "jdbc:mysql://localhost:3306/heavenms"; + static String host = "jdbc:mysql://localhost:3306/cosmic"; static String driver = "com.mysql.jdbc.Driver"; - static String username = "root"; - static String password = ""; + static String username = "snail"; + static String password = "shell"; static String wzPath = "../../wz"; static String directoryName = "../.."; diff --git a/tools/MapleQuestItemFetcher/src/tools/DatabaseConnection.java b/tools/MapleQuestItemFetcher/src/tools/DatabaseConnection.java index 40147f87e5..0b882cb279 100644 --- a/tools/MapleQuestItemFetcher/src/tools/DatabaseConnection.java +++ b/tools/MapleQuestItemFetcher/src/tools/DatabaseConnection.java @@ -9,9 +9,9 @@ import java.sql.SQLException; * @author The Real Spookster - some modifications to this beautiful code */ public class DatabaseConnection { - private static String DB_URL = "jdbc:mysql://localhost:3306/heavenms"; - private static String DB_USER = "root"; - private static String DB_PASS = ""; + private static String DB_URL = "jdbc:mysql://localhost:3306/cosmic"; + private static String DB_USER = "snail"; + private static String DB_PASS = "shell"; public static final int RETURN_GENERATED_KEYS = 1; diff --git a/tools/MapleReactorDropFetcher/src/maplereactordropfetcher/MapleReactorDropFetcher.java b/tools/MapleReactorDropFetcher/src/maplereactordropfetcher/MapleReactorDropFetcher.java index 21abcc95ed..880c83c037 100644 --- a/tools/MapleReactorDropFetcher/src/maplereactordropfetcher/MapleReactorDropFetcher.java +++ b/tools/MapleReactorDropFetcher/src/maplereactordropfetcher/MapleReactorDropFetcher.java @@ -44,10 +44,10 @@ import java.io.File; */ public class MapleReactorDropFetcher { - static String host = "jdbc:mysql://localhost:3306/heavenms"; + static String host = "jdbc:mysql://localhost:3306/cosmic"; static String driver = "com.mysql.jdbc.Driver"; - static String username = "root"; - static String password = ""; + static String username = "snail"; + static String password = "shell"; static String reactorScriptPath = "../../scripts/reactor"; diff --git a/tools/MapleSkillMakerFetcher/src/mapleskillmakerfetcher/MapleSkillMakerFetcher.java b/tools/MapleSkillMakerFetcher/src/mapleskillmakerfetcher/MapleSkillMakerFetcher.java index 7fb67aaadc..75b3f70e36 100644 --- a/tools/MapleSkillMakerFetcher/src/mapleskillmakerfetcher/MapleSkillMakerFetcher.java +++ b/tools/MapleSkillMakerFetcher/src/mapleskillmakerfetcher/MapleSkillMakerFetcher.java @@ -36,10 +36,10 @@ import java.io.*; */ public class MapleSkillMakerFetcher { - static String host = "jdbc:mysql://localhost:3306/heavenms"; + static String host = "jdbc:mysql://localhost:3306/cosmic"; static String driver = "com.mysql.jdbc.Driver"; - static String username = "root"; - static String password = ""; + static String username = "snail"; + static String password = "shell"; static String fileName = "../../wz/Etc.wz/ItemMake.img.xml"; static String newFile = "lib/MakerData.sql"; diff --git a/tools/MapleSkillMakerReagentIndexer/src/mapleskillmakerreagentindexer/MapleSkillMakerReagentIndexer.java b/tools/MapleSkillMakerReagentIndexer/src/mapleskillmakerreagentindexer/MapleSkillMakerReagentIndexer.java index f8ec9fdf53..8cbffaff2a 100644 --- a/tools/MapleSkillMakerReagentIndexer/src/mapleskillmakerreagentindexer/MapleSkillMakerReagentIndexer.java +++ b/tools/MapleSkillMakerReagentIndexer/src/mapleskillmakerreagentindexer/MapleSkillMakerReagentIndexer.java @@ -40,10 +40,10 @@ import java.util.List; * */ public class MapleSkillMakerReagentIndexer { - static String host = "jdbc:mysql://localhost:3306/heavenms"; + static String host = "jdbc:mysql://localhost:3306/cosmic"; static String driver = "com.mysql.jdbc.Driver"; - static String username = "root"; - static String password = ""; + static String username = "snail"; + static String password = "shell"; static String fileName = "../../wz/Item.wz/Etc/0425.img.xml"; static String newFile = "lib/MakerReagentData.sql"; diff --git a/tools/MapleSkillbookChanceFetcher/src/tools/DatabaseConnection.java b/tools/MapleSkillbookChanceFetcher/src/tools/DatabaseConnection.java index 40147f87e5..0b882cb279 100644 --- a/tools/MapleSkillbookChanceFetcher/src/tools/DatabaseConnection.java +++ b/tools/MapleSkillbookChanceFetcher/src/tools/DatabaseConnection.java @@ -9,9 +9,9 @@ import java.sql.SQLException; * @author The Real Spookster - some modifications to this beautiful code */ public class DatabaseConnection { - private static String DB_URL = "jdbc:mysql://localhost:3306/heavenms"; - private static String DB_USER = "root"; - private static String DB_PASS = ""; + private static String DB_URL = "jdbc:mysql://localhost:3306/cosmic"; + private static String DB_USER = "snail"; + private static String DB_PASS = "shell"; public static final int RETURN_GENERATED_KEYS = 1;