Setting up a server [+Client & Website][Any version] [Very Detailed][Dummies Edition]

Status
Not open for further replies.
Re: Setting up a MapleStory server from scratch. [ Any version ] [Very Detailed]

So uhm... I am using MapleBlade as a source.
This is what I get when I try to launch it.
Exception in thread "main" java.lang.ExceptionInInitializerError
at javax.crypto.KeyAgreement.getInstance(KeyAgreement.java:173)
at sun.security.ssl.JsseJce.getKeyAgreement(JsseJce.java:285)
at sun.security.ssl.JsseJce.isEcAvailable(JsseJce.java:198)
at sun.security.ssl.CipherSuite$KeyExchange.isAvailable(CipherSuite.java
:372)
at sun.security.ssl.CipherSuite.isAvailable(CipherSuite.java:190)
at sun.security.ssl.SSLContextImpl.getApplicableCipherSuiteList(SSLConte
xtImpl.java:336)
at sun.security.ssl.SSLContextImpl.getDefaultCipherSuiteList(SSLContextI
mpl.java:295)
at sun.security.ssl.SSLSocketImpl.init(SSLSocketImpl.java:570)
at sun.security.ssl.SSLSocketImpl.<init>(SSLSocketImpl.java:397)
at sun.security.ssl.SSLSocketFactoryImpl.createSocket(SSLSocketFactoryIm
pl.java:88)
at javax.rmi.ssl.SslRMIClientSocketFactory.createSocket(SslRMIClientSock
etFactory.java:120)Exception in thread "main"
at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:613)
java.lang.ExceptionInInitializerError
at javax.crypto.KeyAgreement.getInstance(KeyAgreement.java:173)
at sun.security.ssl.JsseJce.getKeyAgreement(JsseJce.java:285)
at sun.security.ssl.JsseJce.isEcAvailable(JsseJce.java:198)
at sun.security.ssl.CipherSuite$KeyExchange.isAvailable(CipherSuite.java
:372)
at sun.security.ssl.CipherSuite.isAvailable(CipherSuite.java:190)
at sun.security.ssl.SSLContextImpl.getApplicableCipherSuiteList(SSLConte
xtImpl.java:336)
at sun.security.ssl.SSLContextImpl.getDefaultCipherSuiteList(SSLContextI
mpl.java:295)
at sun.security.ssl.SSLSocketImpl.init(SSLSocketImpl.java:570)
at sun.security.ssl.SSLSocketImpl.<init>(SSLSocketImpl.java:397)
at sun.security.ssl.SSLSocketFactoryImpl.createSocket(SSLSocketFactoryIm
pl.java:88)
at javax.rmi.ssl.SslRMIClientSocketFactory.createSocket(SslRMIClientSock
etFactory.java:120)
at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:613)
at sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel.java:216
)
at sun.rmi.transport.tcp.TCPChannel.newConnection(TCPChannel.java:202)
at sun.rmi.server.UnicastRef.newCall(UnicastRef.java:340)
at sun.rmi.registry.RegistryImpl_Stub.lookup(Unknown Source)
at net.channel.ChannelServer.main(ChannelServer.java:438)
Caused by: java.lang.SecurityException: Can not initialize cryptographic mechani
sm
at javax.crypto.JceSecurity.<clinit>(JceSecurity.java:86)
... 17 more
Caused by: java.lang.SecurityException: The jurisdiction policy files are not si
gned by a trusted signer!
at javax.crypto.JarVerifier.verifyPolicySigned(JarVerifier.java:289)
at javax.crypto.JceSecurity.loadPolicies(JceSecurity.java:316)
at javax.crypto.JceSecurity.setupJurisdictionPolicies(JceSecurity.java:2
61)
at javax.crypto.JceSecurity.access$000(JceSecurity.java:48)
at javax.crypto.JceSecurity$1.run(JceSecurity.java:78)
at java.security.AccessController.doPrivileged(Native Method)
at javax.crypto.JceSecurity.<clinit>(JceSecurity.java:76)
... 17 more
at sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel.java:216
)
at sun.rmi.transport.tcp.TCPChannel.newConnection(TCPChannel.java:202)
at sun.rmi.server.UnicastRef.newCall(UnicastRef.java:340)
at sun.rmi.registry.RegistryImpl_Stub.lookup(Unknown Source)
at net.login.LoginServer.run(LoginServer.java:84)
at net.login.LoginServer.main(LoginServer.java:137)
Caused by: java.lang.SecurityException: Can not initialize cryptographic mechani
sm
at javax.crypto.JceSecurity.<clinit>(JceSecurity.java:86)java.rmi.server
.ExportException: Port already in use: 1099; nested exception is:
java.net.BindException: Address already in use: JVM_Bind
... 18 more
Caused by: java.lang.SecurityException: The jurisdiction policy files are not si
gned by a trusted signer!
at javax.crypto.JarVerifier.verifyPolicySigned(JarVerifier.java:289)
at javax.crypto.JceSecurity.loadPolicies(JceSecurity.java:316)
at javax.crypto.JceSecurity.setupJurisdictionPolicies(JceSecurity.java:2
61)
at javax.crypto.JceSecurity.access$000(JceSecurity.java:48)
at javax.crypto.JceSecurity$1.run(JceSecurity.java:78)
at java.security.AccessController.doPrivileged(Native Method)
at javax.crypto.JceSecurity.<clinit>(JceSecurity.java:76)
... 18 more
Press any key to continue . . .
at sun.rmi.transport.tcp.TCPTransport.listen(TCPTransport.java:328)
at sun.rmi.transport.tcp.TCPTransport.exportObject(TCPTransport.java:236
)
at sun.rmi.transport.tcp.TCPEndpoint.exportObject(TCPEndpoint.java:411)
at sun.rmi.transport.LiveRef.exportObject(LiveRef.java:147)
at sun.rmi.server.UnicastServerRef.exportObject(UnicastServerRef.java:20
7)
at sun.rmi.registry.RegistryImpl.setup(RegistryImpl.java:122)
at sun.rmi.registry.RegistryImpl.<init>(RegistryImpl.java:98)
at java.rmi.registry.LocateRegistry.createRegistry(LocateRegistry.java:2
39)
at net.world.WorldServer.main(WorldServer.java:74)
Caused by: java.net.BindException: Address already in use: JVM_Bind
at java.net.DualStackPlainSocketImpl.bind0(Native Method)
at java.net.DualStackPlainSocketImpl.socketBind(DualStackPlainSocketImpl
.java:96)
at java.net.AbstractPlainSocketImpl.bind(AbstractPlainSocketImpl.java:37
6)
at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:175)
at java.net.ServerSocket.bind(ServerSocket.java:376)
at java.net.ServerSocket.<init>(ServerSocket.java:237)
at java.net.ServerSocket.<init>(ServerSocket.java:128)
at javax.rmi.ssl.SslRMIServerSocketFactory$1.<init>(SslRMIServerSocketFa
ctory.java:260)
at javax.rmi.ssl.SslRMIServerSocketFactory.createServerSocket(SslRMIServ
erSocketFactory.java:260)
at sun.rmi.transport.tcp.TCPEndpoint.newServerSocket(TCPEndpoint.java:66
7)
at sun.rmi.transport.tcp.TCPTransport.listen(TCPTransport.java:317)
... 8 more
Press any key to continue . . . Press any key to continue . . .

C:\Users\WISSEH\Desktop\LionMS>
Use the same JRK files and JCE files
 
Re: Setting up a MapleStory server from scratch. [ Any version ] [Very Detailed]

Okay so... I got my server running for a while and it works. But once I messed around with some things.
I got stuck on the channel loading thing. "Connecting to server. Loading - - - - -" (In game)
 
Re: Setting up a server [+Client & Website][Any version] [Very Detailed][Dummies Edit

Hi need question. I'm getting confused to where I will put my local IP/LAN

according to ur guide its in the serverconstant.java so look at this image,

q1 - Setting up a server [+Client & Website][Any version] [Very Detailed][Dummies Edition] - RaGEZONE Forums


As you stated in your guide, I put my WAN IP in the IP configuration(red circle), so where do I put my Local IP for the login and channel???? help please.

thanks in advanced!
 
Re: Setting up a server [+Client & Website][Any version] [Very Detailed][Dummies Edit

Hi..I got a problem when I try run Localhost.exe

I got a message like this
Localhost_Error - Setting up a server [+Client & Website][Any version] [Very Detailed][Dummies Edition] - RaGEZONE Forums

Help me please..
 
Re: Setting up a server [+Client & Website][Any version] [Very Detailed][Dummies Edit

Hi,
Similar to the person above me i got this problem
Capture2 - Setting up a server [+Client & Website][Any version] [Very Detailed][Dummies Edition] - RaGEZONE Forums
Anyone know why?

Im using v83 localhost from moopledev thingoes thread

Sam.



Edit: NVM the search thread button reappeared and i searched this thread.... just needed to use the JCE7 files and tht fixed everything
 
Last edited:
Re: Setting up a server [+Client & Website][Any version] [Very Detailed][Dummies Edit

How do I make this work with the latest version of Maplestory? v125. I can't anywhere to download v111 or v116.
 
Re: Setting up a server [+Client & Website][Any version] [Very Detailed][Dummies Edit

I keep getting this error
0 17:52:12 -- ---------------------------- -- Table structure for `accounts` -- ---------------------------- DROP TABLE IF EXISTS `accounts` Error Code: 1046. No database selected Select the default DB to be used by double-clicking its name in the SCHEMAS list in the sidebar.
whenever i try to execute my SQL file, and I have no idea why... Could someone please help me?
 
Re: Setting up a MapleStory server from scratch. [ Any version ] [Very Detailed]

Why when I import the DB there is an error and it makes only two tables - comments and entries. And when I go to register in the site, whatever username I put it says: That username has been already taken. Help please!
 
Re: Setting up a MapleStory server from scratch. [ Any version ] [Very Detailed]

thanks for your guide.

I'm about to set up the .83 server, and try it out. :)
 
Re: Setting up a server [+Client & Website][Any version] [Very Detailed][Dummies Edit

Just me noticed nothing about Netbeans? (I saw like 1 sentence about it)

And this needs to be a little updated since the installers all changed and such :)

But good guide anyway!
 
Re: Setting up a server [+Client & Website][Any version] [Very Detailed][Dummies Edit

I have 2 questions...
QUESTION 1:
where/how do i put my Ip...
like this? Gateway_IP = 69.181.124.233;
or....?
heres a screen shot below.
question - Setting up a server [+Client & Website][Any version] [Very Detailed][Dummies Edition] - RaGEZONE Forums

QUESTION 2:
about mysql>
why do i get this error? and how can i fix it?
screen shot below...
error - Setting up a server [+Client & Website][Any version] [Very Detailed][Dummies Edition] - RaGEZONE Forums

thanks
 
Re: Setting up a server [+Client & Website][Any version] [Very Detailed][Dummies Edit

Wheres the DB.properties?

Usually in the root of ur server filez, with the launch.bat

I have 2 questions...
QUESTION 1:
where/how do i put my Ip...
like this? Gateway_IP = 69.181.124.233;
or....?
heres a screen shot below.
View attachment 129532


look for this part and add info

public static final String SQL_USER = "root", SQL_PASSWORD = "";

user = whatever username for mySQL usually "root" without quotes

pass = whatever pass u set up for mySQL

U also need to look for DatabaseConnection.java
should be under Constants

look for:
final Connection con = DriverManager.getConnection(
"jdbc:mysql://localhost:3306/fms?autoReconnect=true",
"root", "");

Mines a little diff. where mine says: fms?autoReconnect=true put database name in place of "fms" keep rest same, and once again no quotes. Also part that syas: "root", ""); put MySQL user name in place of "root" unless itz the same, then do nothing, and other "" put MySQL password. Also make sure to compile both, u probz know how to do that but right click file, and click compile.



QUESTION 2:
about mysql>
why do i get this error? and how can i fix it?
screen shot below...
View attachment 129533

thanks

Soundz like u might not be port forwarded properly. Check ur router settingz. Make sure u forward for 3306.

Hope that help :)

Lemme know if any part dozn't make sense
 
Last edited:
Re: Setting up a server [+Client & Website][Any version] [Very Detailed][Dummies Edit

Hello,

I made a server using Mapleblade source not using this tutorial, its fully functioning and there are no bugs.

I was brought to this tutorial because I wanted a website so I can start getting players, I followed the steps and changed the ip in the config to my Wan IP, I followed the tut and when I finished I went to click on the button that says "Click Me" to bring you to your website, It opened me the site with the former "127.0.0.1" that appears everywhere and it brought me to a window "The link is broken" , I tried putting my Wan IP but it brought the same answer.

Just to give some details, I am running a server which is non-hamachi and I know it works because a friend of mine which is like 2000km away can log in without hamachi.

Im wondering whats the problem and if any of you can help me :)?
 
Re: Setting up a server [+Client & Website][Any version] [Very Detailed][Dummies Edit

Hello, Everything runs smoothly up until joining a channel.
I can make, create accounts, characters and load up the game fine - but when i click my character to login, I instantly disconnect.
Any fix for this? :s
 
Re: Setting up a server [+Client & Website][Any version] [Very Detailed][Dummies Edit

When I try to open the website it says "Cannot select the Database", I did as you explained and loaded all of the SQL files.. Any thoughts?
 
Re: Setting up a server [+Client & Website][Any version] [Very Detailed][Dummies Edit

lovely guide, following test install now.
Will update progress later :laugh:..
 
Re: Setting up a server [+Client & Website][Any version] [Very Detailed][Dummies Edit

How do i fix this?

Cant create connection with database? :p
 
Last edited:
Status
Not open for further replies.
Back