Welcome!

Join our community of MMO enthusiasts and game developers! By registering, you'll gain access to discussions on the latest developments in MMO server files and collaborate with like-minded individuals. Join us today and unlock the potential of MMO server development!

Join Today!

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

Status
Not open for further replies.
Newbie Spellweaver
Joined
May 24, 2012
Messages
9
Reaction score
0
Re: Setting up a server [+Client & Website][Any version] [Very Detailed][Dummies Edit

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


Why am I getting this error? I complied, made sure my DB properties were correct, and my SQL service is running. What did I do wrong.
 
Custom Title Activated
Loyal Member
Joined
Mar 6, 2012
Messages
1,503
Reaction score
213
Re: Setting up a server [+Client & Website][Any version] [Very Detailed][Dummies Edit

make sure you executed sql and db your db.properties correctly
 
Newbie Spellweaver
Joined
May 24, 2012
Messages
9
Reaction score
0
Re: Setting up a server [+Client & Website][Any version] [Very Detailed][Dummies Edit

There isn't db.properties o_O

EDIT: Still has that problem, I know everything is filled out, what the duck is going on?
 
Last edited:
Newbie Spellweaver
Joined
May 24, 2012
Messages
9
Reaction score
0
Re: Setting up a server [+Client & Website][Any version] [Very Detailed][Dummies Edit

Anyone wanna answer my question for me? I have literally tried everything, and still can't connect.
 
Custom Title Activated
Loyal Member
Joined
Mar 6, 2012
Messages
1,503
Reaction score
213
Re: Setting up a server [+Client & Website][Any version] [Very Detailed][Dummies Edit

check serverconstant
 
Newbie Spellweaver
Joined
May 24, 2012
Messages
9
Reaction score
0
Re: Setting up a server [+Client & Website][Any version] [Very Detailed][Dummies Edit

Code:
public class ServerConstants {
    public static short VERSION = 83;
    public static String[] WORLD_NAMES = {"Scania"};
    // Rate Configuration
    public static final byte QUEST_EXP_RATE = 4;
    public static final byte QUEST_MESO_RATE = 3;
    // Login Configuration
    public static final int CHANNEL_LOAD = 150;//Players per channel
    public static final long RANKING_INTERVAL = 3600000;
    public static final boolean ENABLE_PIC = true;
    //Event Configuration
    public static final boolean PERFECT_PITCH = false;
    public static final String EVENTS = "automsg KerningPQ Boats Subway AirPlane elevator";
    // IP Configuration
    public static final String HOST = "localhost";
    //Database Configuration
    public static final String DB_URL = "jdbc:mysql://localhost:3306/zincms?autoReconnect=true";
    public static final String DB_USER = "<username>";
    public static final String DB_PASS = "<password>";
}

Is there something wrong?
 
Newbie Spellweaver
Joined
May 25, 2012
Messages
5
Reaction score
0
Re: Setting up a server [+Client & Website][Any version] [Very Detailed][Dummies Edit

java.io.FileNotFoundException: channel.properties (The system cannot find the fi
le specified)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.<init>(Unknown Source)
at java.io.FileInputStream.<init>(Unknown Source)
at java.io.FileReader.<init>(Unknown Source)
at server.ServerProperties.loadProperties(ServerProperties.java:53)
at server.ServerProperties.<clinit>(ServerProperties.java:25)
at server.Start.run(Start.java:37)
at server.Start.main(Start.java:181)
ERRORcom.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientConnectionException: Could
not create connection to database server. Attempted reconnect 3 times. Giving u
p.
Exception in thread "main" java.lang.ExceptionInInitializerError
at server.Start.run(Start.java:37)
at server.Start.main(Start.java:181)
Caused by: java.lang.NullPointerException
at server.ServerProperties.<clinit>(ServerProperties.java:30)
... 2 more
Press any key to continue . . .


Guys this is my problem can anyone help me ????
thank you :)
 
Junior Spellweaver
Joined
May 19, 2012
Messages
119
Reaction score
0
Re: Setting up a server [+Client & Website][Any version] [Very Detailed][Dummies Edit

Download jre 6 and jdk 1.6 then COMPLETELY uninstall jre 7 and 1.7 if you have them (go into tthe folders and delete whats left when they are uninstalled. Download the matching ver 6 Cryptography files from the download archives (there WILL be 4 files). Then reinstall netbeans or find the default option in netbeans by right clicking your project and selecting properties and change the default java at the drop down menu on the botton of properties to 6 if it is not set allready.

DON'T PANIC it will make things worse. I installed this about 17 times before I got it all set up.

Also make sure your main SQL when you open it to create your db has something at the top that reads

CREATE DATABASE IF NOT EXISTS servername;
USE servername;

(in place of server name put the name of the main sql file you execute first) If you still have problems after your 10th install from the ground up... Relax and use rhythmic breathing. Don't obsess it will cause you to overlook simple things. Then try a different repack, Orpheus is win, moople is similar. After the 15th install you will either ragequit or find deep inner peace and realize this is a labor of love. "Enlightenment is to arrive at where you began and know the place for the first time."

Reflect deeply on each word of your tutorial.

This is the one I used http://forum.ragezone.com/f428/setting-server-client-website-version-691153/

Ignore the part where it tells you to use Flare with your server. It messed me up. If you already lost the file that was in the www folder in your wamp server then reinstall wamp.

If you uninstall MySQL for any reason it will lock the password and it is a witch to fix (its hidden) so do not uninstall MySQL if its broken then just re-run the installer and select "repair."

Read this for compiling, observe the part where you right click on library and select the four .jar files.
http://forum.ragezone.com/f428/tools-compiling-netbeans-odin-406097/

These are just some tips, hope they help.

Edit: LMAO I gave you the link to this thread, heh. Its 5am and I've been up for 36 hours, what do you expect? Fix your java like I said and try again. You should know, however, that I am a complete newb.

P.S. If you find my advice useful then tell me how to post a profile pic. I'm clueless.
 
Last edited:
Newbie Spellweaver
Joined
May 30, 2012
Messages
7
Reaction score
0
Re: Setting up a server [+Client & Website][Any version] [Very Detailed][Dummies Edit

Im using a MoopleDEV source, and whenever i open up the channel it says

Error occurred during initialization of VM
could not reserve enough space for object heap
Error: could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit
Press and key to continue . . .

I want to fix this so i can play any help??
 
Junior Spellweaver
Joined
May 19, 2012
Messages
119
Reaction score
0
Re: Setting up a server [+Client & Website][Any version] [Very Detailed][Dummies Edit

Im using a MoopleDEV source, and whenever i open up the channel it says

Error occurred during initialization of VM
could not reserve enough space for object heap
Error: could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit
Press and key to continue . . .

I want to fix this so i can play any help??

Does moopleDEV have a server setup batch you run? If it does, does it have a variable/value for java heap size? Orpheus does, at first I had it set to low and it caused issues. I have no clue if this is similar to your problem. If you find the setting change it to about 300 and try again.
 
Newbie Spellweaver
Joined
May 30, 2012
Messages
7
Reaction score
0
Re: Setting up a server [+Client & Website][Any version] [Very Detailed][Dummies Edit

The heap usually has to be 1000 to run nice and smooth
 
Initiate Mage
Joined
Jul 7, 2012
Messages
1
Reaction score
0
Re: Setting up a MapleStory server from scratch. [ Any version ] [Very Detailed]

Under

Database
Links : You don't need one.
Steps :

Firstly, open up MySQL Query Browser
Host : localhost
User : root
Password : The password you set up during the installation of MySQL
Default Schema : Just leave it blank
You should have something like this : Click Me
Press file > open script
Navigate to your server files folder. There should be a .sql file there, or inside a .sql folder. Open it and click execute.
If there is more than one .sql files, repeat step 8 until all are executed.
Now your database has been fully set up! You're 95% done!

The link you gave to MySQL only gave a download for Workshop, no Query Browser.

When I open it up this is what I see -

View attachment 105050


Any advice?

Same here, I'm new to this whole MS PServ thing and that part is where i hit the brick wall lol. Any chance you could lend a hand and give me a few tips on how you got past this little hurdle? Would be highly appreciated xD I've done a whole lot of coding for other things like Tibia etc. but that was a few years ago.. it seems mostly the same except for the use of unfamiliar programs like this one. I even tried using an installer that specifically says it's for Query Browser but it still installs the Workshop instead >_>
 
Newbie Spellweaver
Joined
Jul 8, 2011
Messages
21
Reaction score
0
Re: Setting up a server [+Client & Website][Any version] [Very Detailed][Dummies Edit

Had that problem now too! Now, Mysql dont wanna to log me in by cant connect to localhost :(


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


Why am I getting this error? I complied, made sure my DB properties were correct, and my SQL service is running. What did I do wrong.
 
Newbie Spellweaver
Joined
Nov 29, 2008
Messages
55
Reaction score
6
Re: Setting up a MapleStory server from scratch. [ Any version ] [Very Detailed]

excellent guide. JCE files are missing - well not really Oracle just moved them around.. here is where I found them
 
Newbie Spellweaver
Joined
Aug 14, 2012
Messages
7
Reaction score
0
Re: Setting up a MapleStory server from scratch. [ Any version ] [Very Detailed]

what is a dedicated server?? what does it??

i dont see a jce but only a jse i dont get it can someone help me with that
 
Initiate Mage
Joined
Sep 3, 2012
Messages
3
Reaction score
0
Re: Setting up a server [+Client & Website][Any version] [Very Detailed][Dummies Edit

Hey.. can you be a little bit more specific on which JCE to download? I think one of these are the correct files, but none of them have 4 files to copy and paste in jdk...?


also, I don't have a C:/Program Files(x86)/Java/Jre file. Only C:/Program Files(x86)/Java/jdk1.7.0
does it matter if it's in program files (v86), and that it's jdk1.7.0, and that i don't have jre file?
 
Subscriber and Mod!
Loyal Member
Joined
Jan 1, 2009
Messages
1,925
Reaction score
378
Re: Setting up a server [+Client & Website][Any version] [Very Detailed][Dummies Edit

You need to download JCE unlimited strength and JDK files...
 
Initiate Mage
Joined
Sep 3, 2012
Messages
3
Reaction score
0
Re: Setting up a server [+Client & Website][Any version] [Very Detailed][Dummies Edit

right.. found my problem. thanks
 
Newbie Spellweaver
Joined
Oct 7, 2012
Messages
12
Reaction score
0
Re: Setting up a server [+Client & Website][Any version] [Very Detailed][Dummies Edit

I keep getting this weird .bat error when I try to launch the .bats :

.bat help.PNG - Setting up a server [+Client & Website][Any version] [Very Detailed][Dummies Edition] - RaGEZONE Forums

It says world.server for launch_world and channel.server for launch_channel and etc. I really need help I've never seen this problem before
 

Attachments

You must be registered for see attachments list
Newbie Spellweaver
Joined
Oct 20, 2012
Messages
11
Reaction score
0
Re: Setting up a MapleStory server from scratch. [ Any version ] [Very Detailed]

FIXXEDDDDDDDDDD Thanks Piggy!

[strike]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>
[/strike]
 
Last edited:
Status
Not open for further replies.
Back
Top