Hello & Welcome to our community. Is this your first visit? Register

Results 1 to 6 of 6
  1. #1
    Head Of Sexual Relations

    Rank
    True Member
    Join Date
    Feb 2008
    Posts
    347
    Likes (Received)
    4

    Running maplestory private server on linux

    Ok so I have used google, ragezone search and everything and have not found a good guide for running maple on linux has anyone pheraps succedded with installing it on linux? If so please post a guide.

  2. #2
    Omega

    Rank
    The Omega
    Join Date
    Apr 2008
    Location
    Jersey
    Posts
    5,688
    Likes (Received)
    246

    Re: Running maplestory private server on linux

    I don't think so.
    If you have a linux, and can't get a windows computer, I suggest you get a dedicated with windows, or a vps.
    [CENTER]

    Quote Originally Posted by Akaruz View Post
    RZ is a community , it isnt a group of friends who gather around and make chauvinist or sexist remarks toward other members gender or "ways of life"
    Quote Originally Posted by ihatehaxor View Post

  3. #3
    Member

    Rank
    Member
    Join Date
    Sep 2009
    Posts
    42
    Likes (Received)
    1

    Re: Running maplestory private server on linux

    Yeah, host it on a dedi or vps if you can't host it yourself. Even if you did get one to actually work, you'd have very little community support.

  4. #4
    Head Of Sexual Relations

    Rank
    True Member
    Join Date
    Feb 2008
    Posts
    347
    Likes (Received)
    4

    Re: Running maplestory private server on linux

    People linux VPS's are 20$ cheaper >_< and plus it would be less buggy and laggy.

  5. #5
    Omega

    Rank
    The Omega
    Join Date
    Apr 2008
    Location
    Jersey
    Posts
    5,688
    Likes (Received)
    246

    Re: Running maplestory private server on linux

    It's cheaper but the thing is,
    Hosting a private server will work a lot better on windows computer rather than a linux computer.
    [CENTER]

    Quote Originally Posted by Akaruz View Post
    RZ is a community , it isnt a group of friends who gather around and make chauvinist or sexist remarks toward other members gender or "ways of life"
    Quote Originally Posted by ihatehaxor View Post

  6. #6
    Banned SpottedCow's Avatar

    Rank
    Banned
    Join Date
    Nov 2009
    Location
    wtfddddd
    Posts
    211
    Likes (Received)
    82

    Re: Running maplestory private server on linux

    From arberb's thing.

    Code:
    ArberMS2 Setup on Ubuntu Linux
    ============================================
    Author:  EnragedMage aka mythrilore, 2009 EDITED: BY ARBERB
    
    Support: I may provide LIGHT support to help you get your Linux box
    running, but please don't expect or demand it.  This document is very
    long, but if you follow it closely, it'll work. There are no pictures,
    but if you need pictures, you may not want to try setting up a Linux
    server.
    
    Let me know of any errors or omissions in this doc.
    
    Introduction
    =============
    This guide shows you how to setup a Ubuntu Linux machine to run ArberMS2, and configure 
    your Windows client to connect and play.
    
    Note this is a FRESH install, from scratch. I do not know how to preserve your
    existing data.
    
    To avoid a REALLY long document, for anything not ArberMS2 related I'll just list the task 
    but not go into detail about how to achieve it (for example, installing packages 
    on Linux). I have to assume you know how to do that, because you need Linux 
    experience and I can't teach that here.  I'll try to put actual commands as much
    as possible though.
    
    Why I Use Linux
    ==============
    These are my personal reasons for using Linux instead of Windows. Pick the ones you like.
    
    * Linux is free.
    * Linux can run on an old PC I have laying around.
    * At work, I'm a UNIX systems administrator. It just makes sense to me.
    * It's easier to compile the server (no need to be a NetBeans GUI expert).
    * It's faster to compile - on my system it takes 6 seconds, versus 47 
      seconds (tested by dual-booting Linux and Windows on the same system).
    * The Linux OdinTeh.jar is less than half the size of the Windows OdinTeh.jar.
    * Performance is more stable (not necessarily FASTER, just more stable, resulting in a
      better user experience). This allows more worlds, channels, players on one server.
    
    Setting up ArberMS2 Linux server
    =====================================
    You can use any distribution of Linux, but I use Ubuntu. If you are undecided 
    on which Linux distro, then just use Ubuntu so this guide works for you. 
    Otherwise, you'll have to translate my Ubuntu directions to your specific distro.
    
    And please, no comments/discussions about "teh best distro" - you keep your million
    reasons and I'll keep mine.
    
    Install Ubuntu
    --------------------------------
    Go to ubuntu.com and download the desktop cd image and burn it.
    Boot your computer with the cd in the drive, and install Ubuntu.
    
    Install required components
    -----------------------------
    Install the following, using Synaptic Package Manager (GUI) or apt-get (command line)
    (for example, sudo apt-get install package-name)
      java jdk 6 - to compile and run ArberMS2
    	(Ubuntu package sun-java6-jdk)
      svn - to download ArberMS2 source from its repository
    	(Ubuntu package subversion)
      ant - java source code auto-builder
    	(Ubuntu package ant)
      mysql client - so you can use mysql command line
    	(Ubuntu package mysql-client)
      mysql server - to store the ArberMS2 database
    	(Ubuntu package mysql-server)
    
    OPTIONAL PACKAGES
      dos2unix - to convert the source files from Windows to UNIX format
    	(Ubuntu package tofrodos)
      mysql Navigator, to help familiarize yourself with the database's structure
    	(Ubuntu package mysql-navigator)
      apache - for the regpage
    	(Ubuntu package apache2)
      php apache module - for the regpage
    	(Ubuntu package libapache2-mod-php5)
      php mysql module - for the regpage
    	(Ubuntu package php5-mysql)
      rar - to extract rar archives
    	(Ubuntu package rar)
    
    Download required Java libraries
    ---------------------------------
    EMMS2 requires the following libraries
    
    The JCE Unlimited Strength Files
    http://java.sun.com/javase/downloads/index.jsp
    Go to the bottom, the link is under "Other Downloads"
    
    Extract JCE and copy local_policy.jar and US_export_policy.jar to your java 
    installation's security directory. For my Ubuntu system, it's in 
    /usr/lib/jvm/java-6-sun/jre/lib/security
      sudo cp local_policy.jar US_export_policy.jar /usr/lib/jvm/java-6-sun/jre/lib/security
    
    Apache MINA 1.1
    NOTE: ArberMS2 already provides this jar file in the dist directory
    http://mina.apache.org/downloads.html
    
    Extract mina, and make note of the file mina-core-1.1.7.jar
    
    MySQL Connector/J
    NOTE: ArberMS2 already provides this jar file in the dist directory
    http://dev.mysql.com/downloads/connector/j/
    
    Extract the JDBC connector and note the file mysql-connector-java-3.1.14-bin.jar
    
    slf4j 1.5
    NOTE: ArberMS2 already provides this jar file in the dist directory
    http://www.slf4j.org/download.html
    
    Extract slf4j and note the files slf4j-api-1.5.0.jar and slf4j-jdk14-1.5.0.jar
    
    Extract the above libraries. Find, copy and rename libraries
      mina-core-1.1.7.jar to mina-core.jar
      slf4j-api-1.5.0.jar to slf4j-api.jar
      slf4j-jdk14-1.5.0.jar to slf4j-jdk14.jar
      mysql-connector-java-3.1.14-bin.jar to mysql-connector-java-bin.jar
    
    Setup source
    -------------
    First, determine where you want to store your server. I keep mine in
    /root/ArberMS2. When you pull ArberMS2 from svn, it will create the ArberMS2 directory,
    so you just need to make an /ArberMS2 directory
      mkdir /ArberMS2
    
    Change into that directory
      cd /ArberMS2
    
    Pull ArberMS2 from source
      svn co http://my-svn.assembla.com/svn/emms2 
    
    Now there should be a ArberMS2 directory in /ArberMS2. Inside that are some directories
    and several informational text files.
    
    Go into the main ArberMS2 directory
      cd ArberMS2
    
    [OPTIONAL] Convert files to UNIX/Linux format
    Some of the source files may have a bunch of "^M" characters.
    This isn't harmful, you don't need to remove them, but they can be 
    annoying. You can remove all "^M" like so:
      dos2unix *
      find . -name '*.java' -exec dos2unix {} \;
      find . -name '*.js' -exec dos2unix {} \;
    
    Don't worry about the following read/write errors, it's just because those 
    are directories, not files.
    dos2unix: File read/write error while converting build.
    dos2unix: File read/write error while converting dist.
    dos2unix: File read/write error while converting EMMS3rdParty.
    dos2unix: File read/write error while converting scripts.
    dos2unix: File read/write error while converting src.
    
    [OPTIONAL] Add a blank line at the end of files
    Some of the text files don't leave a blank line at the end, so when 
    you edit them, they'll complain about an incomplete last line.  It's 
    not harmful, just annoying, but we can fix this by doing the following:
    
    find . -name '*.java' -exec echo "^M" >> {} \;
    find . -name '*.js' -exec echo "^M" >> {} \;
    
    The ^M above is entered by typing "Ctrl-V Ctrl-M", and not by typing ^M.
    
    [OPTIONAL] compile OdinTeh.jar
    ----------------------------------
    EMMS2 comes with a precompiled OdinTeh.jar, ready to use. If you're anxious to get
    going, then skip this section. Come back here when you need to re-compile.
    
    I like to compile the source fresh from svn, to make sure it compiles correctly
    before I start making edits.
    
    First, make sure you're in the main folder (in this document's case, that's in
    /root/ArberMS2)
      cd /root/ArberMS2
    
    Compile it
      ant
    
    Backup the original distributed OdinTeh.jar that's in the dist folder
      cd dist
      mv OdinTeh.jar OdinTeh.jar.orig
    
    Copy the file "build/OdinTeh.jar" into the "dist" directory.
      cp ../build/OdinTeh.jar .
      cd ..
    
    Setup MySQL
    ------------
    On Ubuntu, installing the mysql server also sets it up and starts it
    with the default databases. During the install, it will ask for a root
    password; this is for the root mysql user - we will need this.
    
    EMMS2 comes with a default SQL script called ArberMS2.sql. We
    need to run this against our database.
    
      cd /root/ArberMS
    
    First, create the database
      mysqladmin -u root -p create ArberMS2
      
    Then import the sql file
      mysql -u root -p ArberMS2 < ArberMS2.sql
    
    NOTE that if you already had an ArberMS2 database, it will be overwritten 
    when you run the ArberMS2.sql file.
    
    To avoid this, or to use your own database name, you'll need to create
    your db with a different name
      mysqladmin -u root -p create dbname
      mysql -u root -p dbname < ArberMS2.sql
    
    Configure ArberMS2 server
    ------------------------
    EMMS2 provides the java store and trust keys in filename.keystore, with a
    password of "passw0rd". 
    
    If you don't like this, or if you want to do it the way OdinMS used to 
    do it (which was in separate key and trust store files), then you'll 
    need to generate your own store keys like below.  Otherwise, skip 
    this part.
    
    Create the store keys. Enter info that it asks for.
      keytool -genkeypair -keyalg RSA -keysize 1024 -validity 365 -keystore key.keystore
    
    	Enter keystore password:
    	Re-enter new password:
    	What is your first and last name?
      	[Unknown]:  First Last
    	What is the name of your organizational unit?
      	[Unknown]:  NA
    	What is the name of your organization?
      	[Unknown]:  NA
    	What is the name of your City or Locality?
      	[Unknown]:  NA
    	What is the name of your State or Province?
      	[Unknown]:  NA
    	What is the two-letter country code for this unit?
      	[Unknown]:  US
    	Is CN=First Last, OU=NA, O=NA, L=NA, ST=NA, C=US correct?
      	[no]:  yes
    
    	Enter key password for <mykey>
            (RETURN if same as keystore password):
    
    Copy the key.keystore file for world, login and channel servers
      for each in world login channel
      do
        cp key.keystore $each.keystore
        cp key.keystore $each.truststore
      done
    
    Edit the launch files
    ------------------------
    The launch_XXXXX.sh files are your launch files.
    
    EMMS2 has already configured the launch files, but you should look at 
    them to make sure they look OK.
    
    If needed, make the *.sh files executable (should already be done)
      chmod a+x *.sh
    
    Edit the properties files
    --------------------------
      world.properties - change the following lines
    	net.sf.odinms.channel.net.interface=YOUR_IP_HERE <== change to your IP
    
      channel.properties - change your host to your actual IP address
    	net.sf.odinms.world.host=YOUR_IP_HERE
    
      login.properties - change the host to your actual IP address
    	net.sf.odinms.world.host=YOUR_IP_HERE
    
      db.properties - change the following lines
    	url=jdbc:mysql://localhost:3306/emms2  <== replace with your db name
    	user = root  <== mysql user that owns the database (probably root)
    	password = mypassword  <== mysql user's password
    
    Put in WZ files
    --------------
    You must use the XML files provided by ArberMS2, for the correct version of the server.
    I have tried other people's but many NPCs and objects were in the wrong places, or I'd
    disconnect when going to most maps.
    
    The XML should be available at the forums where I posted ArberMS2 release.
    	
    Unzip the file, then move the wz directory into the /root/ArberMS2/emms2 directory.
    
    Starting the ArberMS2 server
    ---------------------------
    Run the shell scripts in this order
    	launch_world.sh
    	launch_login.sh
    	launch_channel.sh
    
    You should first test these scripts in 3 separate terminal windows, so you can 
    see any error messages.  After they work fine, then you can use the
    startall.sh script to launch all servers.
    
    Stopping the ArberMS2 server
    ---------------------------
    NOTE: Make sure everyone is logged off before you shutdown or else they'll be 
    rolled-back, meaning they lose a lot of things like exp, mesos, and items.
    
    Open a terminal and type "pkill java"
    
    OR
    
    While in-game with a GM character, type "!shutdown now"
    
    Setup MS Client
    ===============================
    Obviously your ArberMS2 server is a different machine than your Windows PC,
    since afaik you can't play MS on Linux (I hope you didn't come this far thinking
    you were going to play MS on the same Linux box as your server!).
    
    So you will need one piece of information before moving to your Windows machine:
    the IP address of your Linux box. Find it by typing "ifconfig" in a terminal.
    
    Now on your Windows box:
    Since the server is version 0.75, you will need a v0.75 MS client for everything
    to work. Dig around, there are v0.75 MSSetup.exe links floating around.
    
    Open up Windows Explorer, navigate to where MS is installed (probably c:\nexon).
    
    Copy the MapleStory folder, then rename the copied folder (probably called 
    "Copy of MapleStory") to ArberMS262.
    
    Get the localhost V75 launcher (I recommend Kiki's V75 localhost), and follow its
    instructions for installing it.
    
    If you are using Kiki's v0.75 localhost, then place it into C:\Nexon\EMMS262.
    
    Edit the Kiki.cfg file, and change the IP address to match your server's IP address.
    
    Launch the Maplestory.exe file.
    
    You'll know things are well if Gameguard doesn't come up, and you go directly to
    the Nexon splash screen.
    
    To login, you will need to first create an account. ArberMS2 does not use auto-register.

 

 

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HostKey
Sponsored by HostKey , secured by Incapsula and mods by DBTech.
All times are GMT +1. The time now is 02:28 PM.
Powered by vBulletin® Copyright , Jelsoft Enterprises Ltd.