Set project name to "Cosmic" (#2)
* Change name to Cosmic * Update database credentials
This commit is contained in:
@@ -1,7 +1,5 @@
|
|||||||
<img src="https://heavenmssurveyhome.files.wordpress.com/2018/12/heavenmslogo.png" width="370" height="auto" alt="HeavenMS logo">
|
# Cosmic - MapleStory v83
|
||||||
|
Cosmic launched as a continuation of HeavenMS on March 21st 2021.
|
||||||
# HeavenMS 2
|
|
||||||
The continuation of HeavenMS, HeavenMS 2 (*name not finalized*) lead by `Ponk`, launched on March 21st 2021.
|
|
||||||
|
|
||||||
## Words from previous head developer, Ronan C. P. Lana
|
## 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
|
### 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
|
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
|
### 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.
|
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:
|
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:
|
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.
|
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:
|
To change a character's GM level, make sure that character is not logged in, then:
|
||||||
|
|
||||||
* Open MySQL Query Browser;
|
* Open MySQL Query Browser;
|
||||||
* Double-click "heavenms" schema;
|
* Double-click "cosmic" schema;
|
||||||
* Double click "characters" table;
|
* Double click "characters" table;
|
||||||
* Execute the selected query;
|
* Execute the selected query;
|
||||||
* Mark "Edit" flag on the MySQL Query Browser UI screen;
|
* Mark "Edit" flag on the MySQL Query Browser UI screen;
|
||||||
@@ -282,7 +280,7 @@ To make it happen:
|
|||||||
* Paste it on the "dist" subfolder.
|
* Paste it on the "dist" subfolder.
|
||||||
* Inside "dist", open the command prompt by alt+right clicking there.
|
* 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.
|
* 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.
|
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 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.
|
Optionally, if you want to host a webpage, portforward the port 80 (the HTTP port) as well.
|
||||||
|
|
||||||
|
|||||||
+3
-3
@@ -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.
|
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
|
#Database Configuration
|
||||||
DB_URL: "jdbc:mysql://localhost:3306/heavenms"
|
DB_URL: "jdbc:mysql://localhost:3306/cosmic"
|
||||||
DB_USER: "root"
|
DB_USER: "snail"
|
||||||
DB_PASS: ""
|
DB_PASS: "shell"
|
||||||
DB_CONNECTION_POOL: true #Installs a connection pool to hub DB connections. Set false to default.
|
DB_CONNECTION_POOL: true #Installs a connection pool to hub DB connections. Set false to default.
|
||||||
|
|
||||||
#Login Configuration
|
#Login Configuration
|
||||||
|
|||||||
+1
-1
@@ -13,7 +13,7 @@ services:
|
|||||||
image: mysql:5.6
|
image: mysql:5.6
|
||||||
environment:
|
environment:
|
||||||
MYSQL_ALLOW_EMPTY_PASSWORD: "yes"
|
MYSQL_ALLOW_EMPTY_PASSWORD: "yes"
|
||||||
MYSQL_DATABASE: "heavenms"
|
MYSQL_DATABASE: "cosmic"
|
||||||
MYSQL_USER: "root"
|
MYSQL_USER: "root"
|
||||||
MYSQL_PASSWORD: ""
|
MYSQL_PASSWORD: ""
|
||||||
volumes:
|
volumes:
|
||||||
|
|||||||
@@ -23,7 +23,7 @@ P.S.:
|
|||||||
|
|
||||||
Yeah, these explanations are pretty simplistic, I know. If one really wants to
|
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:
|
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".
|
for "Private Server".
|
||||||
- Now, install MapleStory from "ManagerMsv83.exe" on an other folder and do the
|
- Now, install MapleStory from "ManagerMsv83.exe" on an other folder and do the
|
||||||
same procediment said above.
|
same procediment said above.
|
||||||
|
|||||||
@@ -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.
|
// 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.
|
// 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 = [];
|
var servers_history = [];
|
||||||
|
|
||||||
function addPerson(name, role) {
|
function addPerson(name, role) {
|
||||||
@@ -33,6 +33,12 @@ function writeServerStaff_MapleNext() {
|
|||||||
}
|
}
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
function writeServerStaff_Cosmic() {
|
||||||
|
addPerson("Ponk", "Developer");
|
||||||
|
|
||||||
|
setHistory(2021, 2021);
|
||||||
|
}
|
||||||
|
|
||||||
function writeServerStaff_HeavenMS() {
|
function writeServerStaff_HeavenMS() {
|
||||||
addPerson("Ronan", "Developer");
|
addPerson("Ronan", "Developer");
|
||||||
addPerson("Vcoc", "Freelance Developer");
|
addPerson("Vcoc", "Freelance Developer");
|
||||||
|
|||||||
+3
-3
@@ -8,9 +8,9 @@ SET time_zone = "+00:00";
|
|||||||
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
|
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
|
||||||
/*!40101 SET NAMES utf8 */;
|
/*!40101 SET NAMES utf8 */;
|
||||||
|
|
||||||
DROP DATABASE IF EXISTS `heavenms`;
|
DROP DATABASE IF EXISTS `cosmic`;
|
||||||
CREATE DATABASE `heavenms` DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci;
|
CREATE DATABASE `cosmic` DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci;
|
||||||
USE `heavenms`;
|
USE `cosmic`;
|
||||||
|
|
||||||
CREATE TABLE IF NOT EXISTS `accounts` (
|
CREATE TABLE IF NOT EXISTS `accounts` (
|
||||||
`id` int(11) NOT NULL AUTO_INCREMENT,
|
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||||||
|
|||||||
+1
-1
@@ -1,7 +1,7 @@
|
|||||||
#THIS SQL MUST BE USED AFTER 'db_database.sql'
|
#THIS SQL MUST BE USED AFTER 'db_database.sql'
|
||||||
#NEXT SQL 'db_shopupdate.sql' IS OPTIONAL
|
#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
|
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 --
|
#-- copy+paste inside here as many drop data as possible from the spider (drop generator) files --
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
#THIS SQL IS OPTIONAL, TO BE USED AFTER 'db_drops.sql'
|
#THIS SQL IS OPTIONAL, TO BE USED AFTER 'db_drops.sql'
|
||||||
#THIS REQUIRES PROVIDED WZ FILES
|
#THIS REQUIRES PROVIDED WZ FILES
|
||||||
|
|
||||||
USE `heavenms`;
|
USE `cosmic`;
|
||||||
|
|
||||||
# Scroll shop at Asia, chair shop at Kino Konoko, potion shop at T-1337
|
# Scroll shop at Asia, chair shop at Kino Konoko, potion shop at T-1337
|
||||||
INSERT INTO `shops` (`shopid`,`npcid`) VALUES
|
INSERT INTO `shops` (`shopid`,`npcid`) VALUES
|
||||||
|
|||||||
+1
-1
@@ -1,4 +1,4 @@
|
|||||||
---- HeavenMS MySQL Database ----
|
---- Cosmic MySQL Database ----
|
||||||
|
|
||||||
These SQL files must be executed IN ORDER to set up the database:
|
These SQL files must be executed IN ORDER to set up the database:
|
||||||
- db_database.sql
|
- db_database.sql
|
||||||
|
|||||||
@@ -6710,11 +6710,11 @@ public class MapleCharacter extends AbstractMapleCharacterObject {
|
|||||||
} else if (level == 80) {
|
} else if (level == 80) {
|
||||||
yellowMessage("You think you are powerful enough? Try facing horntail!");
|
yellowMessage("You think you are powerful enough? Try facing horntail!");
|
||||||
} else if (level == 85) {
|
} 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) {
|
} 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.");
|
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) {
|
} 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) {
|
} 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!");
|
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) {
|
} else if (level == 105) {
|
||||||
@@ -8853,7 +8853,7 @@ public class MapleCharacter extends AbstractMapleCharacterObject {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public void sendPolice(int greason, String reason, int duration) {
|
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;
|
this.isbanned = true;
|
||||||
TimerManager.getInstance().schedule(new Runnable() {
|
TimerManager.getInstance().schedule(new Runnable() {
|
||||||
@Override
|
@Override
|
||||||
@@ -10323,7 +10323,7 @@ public class MapleCharacter extends AbstractMapleCharacterObject {
|
|||||||
}
|
}
|
||||||
|
|
||||||
this.ban(reason);
|
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() {
|
TimerManager.getInstance().schedule(new Runnable() {
|
||||||
@Override
|
@Override
|
||||||
public void run() {
|
public void run() {
|
||||||
|
|||||||
@@ -40,6 +40,6 @@ public class TimeCommand extends Command {
|
|||||||
public void execute(MapleClient client, String[] params) {
|
public void execute(MapleClient client, String[] params) {
|
||||||
DateFormat dateFormat = new SimpleDateFormat("HH:mm:ss");
|
DateFormat dateFormat = new SimpleDateFormat("HH:mm:ss");
|
||||||
dateFormat.setTimeZone(TimeZone.getDefault());
|
dateFormat.setTimeZone(TimeZone.getDefault());
|
||||||
client.getPlayer().yellowMessage("HeavenMS Server Time: " + dateFormat.format(new Date()));
|
client.getPlayer().yellowMessage("Cosmic Server Time: " + dateFormat.format(new Date()));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -864,7 +864,7 @@ public class Server {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public void init() {
|
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)
|
if(YamlConfig.config.server.SHUTDOWNHOOK)
|
||||||
Runtime.getRuntime().addShutdownHook(new Thread(shutdown(false)));
|
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("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;
|
online = true;
|
||||||
|
|
||||||
MapleSkillbookInformationProvider.getInstance();
|
MapleSkillbookInformationProvider.getInstance();
|
||||||
|
|||||||
@@ -9,9 +9,9 @@ import java.sql.SQLException;
|
|||||||
* @author The Real Spookster - some modifications to this beautiful code
|
* @author The Real Spookster - some modifications to this beautiful code
|
||||||
*/
|
*/
|
||||||
public class DatabaseConnection {
|
public class DatabaseConnection {
|
||||||
private static String DB_URL = "jdbc:mysql://localhost:3306/heavenms";
|
private static String DB_URL = "jdbc:mysql://localhost:3306/cosmic";
|
||||||
private static String DB_USER = "root";
|
private static String DB_USER = "snail";
|
||||||
private static String DB_PASS = "";
|
private static String DB_PASS = "shell";
|
||||||
|
|
||||||
public static final int RETURN_GENERATED_KEYS = 1;
|
public static final int RETURN_GENERATED_KEYS = 1;
|
||||||
|
|
||||||
|
|||||||
@@ -9,9 +9,9 @@ import java.sql.SQLException;
|
|||||||
* @author The Real Spookster - some modifications to this beautiful code
|
* @author The Real Spookster - some modifications to this beautiful code
|
||||||
*/
|
*/
|
||||||
public class DatabaseConnection {
|
public class DatabaseConnection {
|
||||||
private static String DB_URL = "jdbc:mysql://localhost:3306/heavenms";
|
private static String DB_URL = "jdbc:mysql://localhost:3306/cosmic";
|
||||||
private static String DB_USER = "root";
|
private static String DB_USER = "snail";
|
||||||
private static String DB_PASS = "";
|
private static String DB_PASS = "shell";
|
||||||
|
|
||||||
public static final int RETURN_GENERATED_KEYS = 1;
|
public static final int RETURN_GENERATED_KEYS = 1;
|
||||||
|
|
||||||
|
|||||||
@@ -48,10 +48,10 @@ import tools.Pair;
|
|||||||
Estimated parse time: 2 minutes
|
Estimated parse time: 2 minutes
|
||||||
*/
|
*/
|
||||||
public class MapleCashDropFetcher {
|
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 driver = "com.mysql.jdbc.Driver";
|
||||||
static String username = "root";
|
static String username = "snail";
|
||||||
static String password = "";
|
static String password = "shell";
|
||||||
|
|
||||||
static String wzPath = "../../wz";
|
static String wzPath = "../../wz";
|
||||||
|
|
||||||
|
|||||||
@@ -9,9 +9,9 @@ import java.sql.SQLException;
|
|||||||
* @author The Real Spookster - some modifications to this beautiful code
|
* @author The Real Spookster - some modifications to this beautiful code
|
||||||
*/
|
*/
|
||||||
public class DatabaseConnection {
|
public class DatabaseConnection {
|
||||||
private static String DB_URL = "jdbc:mysql://localhost:3306/heavenms";
|
private static String DB_URL = "jdbc:mysql://localhost:3306/cosmic";
|
||||||
private static String DB_USER = "root";
|
private static String DB_USER = "snail";
|
||||||
private static String DB_PASS = "";
|
private static String DB_PASS = "shell";
|
||||||
|
|
||||||
public static final int RETURN_GENERATED_KEYS = 1;
|
public static final int RETURN_GENERATED_KEYS = 1;
|
||||||
|
|
||||||
|
|||||||
+3
-3
@@ -45,10 +45,10 @@ import java.sql.Statement;
|
|||||||
Estimated parse time: 2 minutes (for 100 code entries)
|
Estimated parse time: 2 minutes (for 100 code entries)
|
||||||
*/
|
*/
|
||||||
public class MapleCodeCouponGenerator {
|
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 driver = "com.mysql.jdbc.Driver";
|
||||||
static String username = "root";
|
static String username = "snail";
|
||||||
static String password = "";
|
static String password = "shell";
|
||||||
|
|
||||||
static Connection con = null;
|
static Connection con = null;
|
||||||
static InputStreamReader fileReader = null;
|
static InputStreamReader fileReader = null;
|
||||||
|
|||||||
@@ -35,10 +35,10 @@ import java.sql.SQLException;
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
public class MapleCouponInstaller {
|
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 driver = "com.mysql.jdbc.Driver";
|
||||||
static String username = "root";
|
static String username = "snail";
|
||||||
static String password = "";
|
static String password = "shell";
|
||||||
|
|
||||||
static Connection con = null;
|
static Connection con = null;
|
||||||
static InputStreamReader fileReader = null;
|
static InputStreamReader fileReader = null;
|
||||||
|
|||||||
+3
-3
@@ -55,10 +55,10 @@ import java.util.regex.Pattern;
|
|||||||
*/
|
*/
|
||||||
public class MapleGachaponItemidRetriever {
|
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 driver = "com.mysql.jdbc.Driver";
|
||||||
static String username = "root";
|
static String username = "snail";
|
||||||
static String password = "";
|
static String password = "shell";
|
||||||
|
|
||||||
static Connection con = null;
|
static Connection con = null;
|
||||||
static InputStreamReader fileReader = null;
|
static InputStreamReader fileReader = null;
|
||||||
|
|||||||
@@ -48,10 +48,10 @@ import java.util.ArrayList;
|
|||||||
public class MapleIdRetriever {
|
public class MapleIdRetriever {
|
||||||
private final static boolean INSTALL_SQLTABLE = true;
|
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 driver = "com.mysql.jdbc.Driver";
|
||||||
static String username = "root";
|
static String username = "snail";
|
||||||
static String password = "";
|
static String password = "shell";
|
||||||
|
|
||||||
static Connection con = null;
|
static Connection con = null;
|
||||||
static InputStreamReader fileReader = null;
|
static InputStreamReader fileReader = null;
|
||||||
|
|||||||
@@ -48,10 +48,10 @@ import java.util.Set;
|
|||||||
* A file is generated listing all the inexistent ids.
|
* A file is generated listing all the inexistent ids.
|
||||||
*/
|
*/
|
||||||
public class MapleNoItemIdFetcher {
|
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 driver = "com.mysql.jdbc.Driver";
|
||||||
static String username = "root";
|
static String username = "snail";
|
||||||
static String password = "";
|
static String password = "shell";
|
||||||
|
|
||||||
static String wzPath = "../../wz";
|
static String wzPath = "../../wz";
|
||||||
static String newFile = "lib/result.txt";
|
static String newFile = "lib/result.txt";
|
||||||
|
|||||||
@@ -9,9 +9,9 @@ import java.sql.SQLException;
|
|||||||
* @author The Real Spookster - some modifications to this beautiful code
|
* @author The Real Spookster - some modifications to this beautiful code
|
||||||
*/
|
*/
|
||||||
public class DatabaseConnection {
|
public class DatabaseConnection {
|
||||||
private static String DB_URL = "jdbc:mysql://localhost:3306/heavenms";
|
private static String DB_URL = "jdbc:mysql://localhost:3306/cosmic";
|
||||||
private static String DB_USER = "root";
|
private static String DB_USER = "snail";
|
||||||
private static String DB_PASS = "";
|
private static String DB_PASS = "shell";
|
||||||
|
|
||||||
public static final int RETURN_GENERATED_KEYS = 1;
|
public static final int RETURN_GENERATED_KEYS = 1;
|
||||||
|
|
||||||
|
|||||||
@@ -9,9 +9,9 @@ import java.sql.SQLException;
|
|||||||
* @author The Real Spookster - some modifications to this beautiful code
|
* @author The Real Spookster - some modifications to this beautiful code
|
||||||
*/
|
*/
|
||||||
public class DatabaseConnection {
|
public class DatabaseConnection {
|
||||||
private static String DB_URL = "jdbc:mysql://localhost:3306/heavenms";
|
private static String DB_URL = "jdbc:mysql://localhost:3306/cosmic";
|
||||||
private static String DB_USER = "root";
|
private static String DB_USER = "snail";
|
||||||
private static String DB_PASS = "";
|
private static String DB_PASS = "shell";
|
||||||
|
|
||||||
public static final int RETURN_GENERATED_KEYS = 1;
|
public static final int RETURN_GENERATED_KEYS = 1;
|
||||||
|
|
||||||
|
|||||||
@@ -36,10 +36,10 @@ import java.io.*;
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
public class MapleMobBookIndexer {
|
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 driver = "com.mysql.jdbc.Driver";
|
||||||
static String username = "root";
|
static String username = "snail";
|
||||||
static String password = "";
|
static String password = "shell";
|
||||||
|
|
||||||
static String fileName = "lib/MonsterBook.img.xml";
|
static String fileName = "lib/MonsterBook.img.xml";
|
||||||
|
|
||||||
|
|||||||
@@ -46,10 +46,10 @@ import java.io.*;
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
public class MapleMobBookUpdate {
|
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 driver = "com.mysql.jdbc.Driver";
|
||||||
static String username = "root";
|
static String username = "snail";
|
||||||
static String password = "";
|
static String password = "shell";
|
||||||
|
|
||||||
static String fileName = "lib/MonsterBook.img.xml";
|
static String fileName = "lib/MonsterBook.img.xml";
|
||||||
static String newFile = "lib/MonsterBook_updated.img.xml";
|
static String newFile = "lib/MonsterBook_updated.img.xml";
|
||||||
|
|||||||
@@ -65,10 +65,10 @@ import tools.Pair;
|
|||||||
public class MapleQuestItemFetcher {
|
public class MapleQuestItemFetcher {
|
||||||
static MapleItemInformationProvider ii;
|
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 driver = "com.mysql.jdbc.Driver";
|
||||||
static String username = "root";
|
static String username = "snail";
|
||||||
static String password = "";
|
static String password = "shell";
|
||||||
|
|
||||||
static String wzPath = "../../wz";
|
static String wzPath = "../../wz";
|
||||||
static String directoryName = "../..";
|
static String directoryName = "../..";
|
||||||
|
|||||||
@@ -9,9 +9,9 @@ import java.sql.SQLException;
|
|||||||
* @author The Real Spookster - some modifications to this beautiful code
|
* @author The Real Spookster - some modifications to this beautiful code
|
||||||
*/
|
*/
|
||||||
public class DatabaseConnection {
|
public class DatabaseConnection {
|
||||||
private static String DB_URL = "jdbc:mysql://localhost:3306/heavenms";
|
private static String DB_URL = "jdbc:mysql://localhost:3306/cosmic";
|
||||||
private static String DB_USER = "root";
|
private static String DB_USER = "snail";
|
||||||
private static String DB_PASS = "";
|
private static String DB_PASS = "shell";
|
||||||
|
|
||||||
public static final int RETURN_GENERATED_KEYS = 1;
|
public static final int RETURN_GENERATED_KEYS = 1;
|
||||||
|
|
||||||
|
|||||||
+3
-3
@@ -44,10 +44,10 @@ import java.io.File;
|
|||||||
|
|
||||||
*/
|
*/
|
||||||
public class MapleReactorDropFetcher {
|
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 driver = "com.mysql.jdbc.Driver";
|
||||||
static String username = "root";
|
static String username = "snail";
|
||||||
static String password = "";
|
static String password = "shell";
|
||||||
|
|
||||||
static String reactorScriptPath = "../../scripts/reactor";
|
static String reactorScriptPath = "../../scripts/reactor";
|
||||||
|
|
||||||
|
|||||||
@@ -36,10 +36,10 @@ import java.io.*;
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
public class MapleSkillMakerFetcher {
|
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 driver = "com.mysql.jdbc.Driver";
|
||||||
static String username = "root";
|
static String username = "snail";
|
||||||
static String password = "";
|
static String password = "shell";
|
||||||
|
|
||||||
static String fileName = "../../wz/Etc.wz/ItemMake.img.xml";
|
static String fileName = "../../wz/Etc.wz/ItemMake.img.xml";
|
||||||
static String newFile = "lib/MakerData.sql";
|
static String newFile = "lib/MakerData.sql";
|
||||||
|
|||||||
+3
-3
@@ -40,10 +40,10 @@ import java.util.List;
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
public class MapleSkillMakerReagentIndexer {
|
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 driver = "com.mysql.jdbc.Driver";
|
||||||
static String username = "root";
|
static String username = "snail";
|
||||||
static String password = "";
|
static String password = "shell";
|
||||||
|
|
||||||
static String fileName = "../../wz/Item.wz/Etc/0425.img.xml";
|
static String fileName = "../../wz/Item.wz/Etc/0425.img.xml";
|
||||||
static String newFile = "lib/MakerReagentData.sql";
|
static String newFile = "lib/MakerReagentData.sql";
|
||||||
|
|||||||
@@ -9,9 +9,9 @@ import java.sql.SQLException;
|
|||||||
* @author The Real Spookster - some modifications to this beautiful code
|
* @author The Real Spookster - some modifications to this beautiful code
|
||||||
*/
|
*/
|
||||||
public class DatabaseConnection {
|
public class DatabaseConnection {
|
||||||
private static String DB_URL = "jdbc:mysql://localhost:3306/heavenms";
|
private static String DB_URL = "jdbc:mysql://localhost:3306/cosmic";
|
||||||
private static String DB_USER = "root";
|
private static String DB_USER = "snail";
|
||||||
private static String DB_PASS = "";
|
private static String DB_PASS = "shell";
|
||||||
|
|
||||||
public static final int RETURN_GENERATED_KEYS = 1;
|
public static final int RETURN_GENERATED_KEYS = 1;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user