MyMaple SH Files For LinuXSupport
Well here are the sh files I just made
World Server 0 SH FILE
Quote:
#!/bin/sh
export CLASSPATH=".:dist\MyMaple.jar:dist\mina-core.jar:dist\slf4j-api.jar:dist\slf4j-jdk14.jar:dist\mysql-connector-java-bin.jar:dist\jpcap.jar"
java -Dserver.recvops=recvops.properties \
-Dserver.sendops=sendops.properties \
-Dserver.wzpath=wz \
-Dserver.world=0 \
-Dserver.config=server.properties \
-Djavax.net.ssl.keyStore=channel.keystore \
-Djavax.net.ssl.keyStorePassword=passwd \
-Djavax.net.ssl.trustStore=channel.keystore \
-Djavax.net.ssl.trustStorePassword=passwd \
org.communication.ChannelServer
Login Server SH
Quote:
#!/bin/sh
export CLASSPATH=".:dist\MyMaple.jar:dist\mina-core.jar:dist\slf4j-api.jar:dist\slf4j-jdk14.jar:dist\mysql-connector-java-bin.jar:dist\jpcap.jar"
java -Dserver.recvops=recvops.properties \
-Dserver.sendops=sendops.properties \
-Dserver.wzpath=wz \
-Dserver.config=server.properties \
-Djavax.net.ssl.keyStore=login.keystore \
-Djavax.net.ssl.keyStorePassword=passwd \
-Djavax.net.ssl.trustStore=login.keystore \
-Djavax.net.ssl.trustStorePassword=passwd \ org.communication.LoginServer
Master Server SH
Quote:
#!/bin/sh
export CLASSPATH=".:dist\MyMaple.jar:dist\mina-core.jar:dist\slf4j-api.jar:dist\slf4j-jdk14.jar:dist\mysql-connector-java-bin.jar:dist\jpcap.jar"
java -Dserver.recvops=recvops.properties \
-Dserver.sendops=sendops.properties \
-Dserver.wzpath=wz \
-Djavax.net.ssl.keyStore=world.keystore \
-Djavax.net.ssl.keyStorePassword=passwd \
-Djavax.net.ssl.trustStore=world.keystore \
-Djavax.net.ssl.trustStorePassword=passwd \
org.communication.WorldServer
LINUX FTW. if you want -Xmx you must put it before the ORG.COMMUNICATION.*
Re: MyMaple Linux Support
Good job arberb :D:
but, just wondering, how many maple servers are hosted on a linux?
Re: MyMaple Linux Support
Quote:
Originally Posted by
Ehab
Good job arberb :D:
but, just wondering, how many maple servers are hosted on a linux?
Lets see mine + a couple other ppl who i helped . Linux is the best the jar is compiled to like 600kb in less than 2 seconds and its faster and more stable
Re: MyMaple Linux Support
This isn't fucking linux support? This is the equivalent of a .bat, and the ones bundled with odin do not work, but people have already released "Linux Support" before.
P.S
Linux is always supported, it's Java.
Re: MyMaple Linux Support
grats bro on changing a couple things to make it work
Re: MyMaple Linux Support
Quote:
Originally Posted by
Generic230
This isn't fucking linux support? This is the equivalent of a .bat, and the ones bundled with odin do not work, but people have already released "Linux Support" before.
P.S
Linux is always supported, it's Java.
lol theres no sh files that works in mymaple lol now it has 100% linux support. :P
Quote:
Originally Posted by
Traitor
grats bro on changing a couple things to make it work
lol :P
Re: MyMaple SH Files For LinuXSupport
I know linux is the best.
But 99% of the maple servers are hosted on a windows (whatever version) server
Re: MyMaple Linux Support
Quote:
Originally Posted by
arberb
lol theres no sh files that works in mymaple lol now it has 100% linux support. :P
lol :P
that's because the ones odin bundled are broken, and many people have release fixed .sh files before, yet no one has added them to their source.
Re: MyMaple SH Files For LinuXSupport
Quote:
Originally Posted by
Ehab
I know linux is the best.
But 99% of the maple servers are hosted on a windows (whatever version) server
Yeah windows uses base around 300mb and linux uses base around 200mb and that actually includes apache mysql and such
Re: MyMaple SH Files For LinuXSupport
I got this error.
:
Exception in thread "main" java.lang.NoClassDefFoundError: org.communication.WorldServer
at gnu.java.lang.MainThread.run(libgcj.so.7rh)
Caused by: java.lang.ClassNotFoundException: org.communication.WorldServer not found in gnu.gcj.runtime.SystemClassLoader{urls=[file:./], parent=gnu.gcj.runtime.ExtensionClassLoader{urls=[], parent=null}}
at java.net.URLClassLoader.findClass(libgcj.so.7rh)
at java.lang.ClassLoader.loadClass(libgcj.so.7rh)
at java.lang.ClassLoader.loadClass(libgcj.so.7rh)
at gnu.java.lang.MainThread.run(libgcj.so.7rh)
you can help me?
I use CentOS 5.2
Re: MyMaple SH Files For LinuXSupport
Quote:
Originally Posted by
ehdcksgnl
I got this error.
:
Exception in thread "main" java.lang.NoClassDefFoundError: org.communication.WorldServer
at gnu.java.lang.MainThread.run(libgcj.so.7rh)
Caused by: java.lang.ClassNotFoundException: org.communication.WorldServer not found in gnu.gcj.runtime.SystemClassLoader{urls=[file:./], parent=gnu.gcj.runtime.ExtensionClassLoader{urls=[], parent=null}}
at java.net.URLClassLoader.findClass(libgcj.so.7rh)
at java.lang.ClassLoader.loadClass(libgcj.so.7rh)
at java.lang.ClassLoader.loadClass(libgcj.so.7rh)
at gnu.java.lang.MainThread.run(libgcj.so.7rh)
you can help me?
I use CentOS 5.2
odinms doesnt work good with centos(i got a similar error when using centos). It works best with ubuntu.
Re: MyMaple SH Files For LinuXSupport
-------------------------------------------
Re: MyMaple SH Files For LinuXSupport
Quote:
Originally Posted by
arberb
odinms doesnt work good with centos(i got a similar error when using centos). It works best with ubuntu.
it runs perfect for me in CentOS 5.4
Re: MyMaple SH Files For LinuXSupport
how do you make it work on CentOS?