Newbie Spellweaver
- Joined
- Aug 5, 2021
- Messages
- 36
- Reaction score
- 45
MapleStory v146 Localhost Setup Guide
1. Install the Server Environment Software
A. Download Software and Install
- JDK 7
-
To view the content, you need to sign in or register
-
To view the content, you need to sign in or register
-
- JCE 7 (Java Cryptography Extension)
-
To view the content, you need to sign in or register
-
- MySQL Server 5.5
-
To view the content, you need to sign in or register
-
- MySQL GUI Tools
-
To view the content, you need to sign in or register
-
- NetBeans IDE 7.4
-
To view the content, you need to sign in or register
-
B. Extract The JCE 7 Files And Move Them
After extracting the file UnlimitedJCEPolicyJDK7.zip, you will get two files:- local_policy.jar
- US_export_policy.jar
For 64-bit systems:
C:\Program Files\Java\jdk1.7\jre\libC:\Program Files\Java\jdk1.7\jre\lib\ext
C:\Program Files\Java\jdk1.7\jre\lib\security
C:\Program Files\Java\jre7\lib
C:\Program Files\Java\jre7\lib\ext
C:\Program Files\Java\jre7\lib\security
For 32-bit systems:
C:\Program Files (x86)\Java\jdk1.7\jre\libC:\Program Files (x86)\Java\jdk1.7\jre\lib\ext
C:\Program Files (x86)\Java\jdk1.7\jre\lib\security
C:\Program Files (x86)\Java\jre7\lib
C:\Program Files (x86)\Java\jre7\lib\ext
C:\Program Files (x86)\Java\jre7\lib\security
C. Video Tutorial – Environment Setup:
2. Set Up Server and Game Client (v146)
A1. Download the Game Client v146
-
To view the content, you need to sign in or register
-
To view the content, you need to sign in or register
-
To view the content, you need to sign in or register
-
To view the content, you need to sign in or register
-
To view the content, you need to sign in or register
A2. Install and Remove Unnecessary Files
After installing the game client, delete the following files/folders from the client directory:- BlackCipher ( Folder )
- HShield. ( Folder )
B1. Download the Server Source + Localhost v146
-
To view the content, you need to sign in or register
-
To view the content, you need to sign in or register
B2. Move Files Localhost
After downloading localhost, extract the Localhost v14x.rar file and copy the 4 files from the Localhost v14x folder into the game client.- BlackCipher ( Folder )
- HShield. ( Folder )
- Localhost.dll
- Localhost.exe
C. Video Tutorial – Server & Client Setup
3. Join the Community
Discord Invite Link:-
To view the content, you need to sign in or register
Fix some bugs
1. Fix for getting disconnected to the login screen after exiting the Cash Shop
Try looking for this piece of code:
( \src\main\java\handling\cashshop\handler\CashShopOperation.java )
Then delete this line:
After that, compile the code again and test if you still get disconnected when leaving the Cash Shop.
( \src\main\java\handling\cashshop\handler\CashShopOperation.java )
Java:
public class CashShopOperation {
public static void LeaveCS(final LittleEndianAccessor slea, final MapleClient c, final MapleCharacter chr) {
CashShopServer.getPlayerStorage().deregisterPlayer(chr);
c.updateLoginState(MapleClient.LOGIN_SERVER_TRANSITION, c.getSessionIPAddress());
try {
World.ChannelChange_Data(new CharacterTransfer(chr), chr.getId(), c.getChannel());
c.getSession().write(CField.getChannelChange(c, Integer.parseInt(ChannelServer.getInstance(c.getChannel()).getIP().split(":")[1])));
} finally {
final String s = c.getSessionIPAddress();
LoginServer.addIPAuth(s.substring(s.indexOf('/') + 1, s.length()));
chr.saveToDB(false, true);
c.setPlayer(null);
c.setReceiving(false);
c.getSession().close();
}
}
}
Java:
c.getSession().close();
2. Fix for Cash Shop showing nothing or displaying "All the goods are sold out."
Open MySQL Query Browser > File > New Script Tab
Then paste the following two lines:
Click Execute.
After that, restart your server console.
Then log into the game and check the Cash Shop again.
Then paste the following two lines:
SQL:
ALTER TABLE cashshop_menuitems ADD COLUMN mesoSell SMALLINT DEFAULT 0;
ALTER TABLE cashshop_items ADD COLUMN mesoSell SMALLINT DEFAULT 0;
After that, restart your server console.
Then log into the game and check the Cash Shop again.
Last edited:

