- 기타게임 기타 ()
마비노기 melia server file
구축 방법은 아래와 같습니다. 영어가 쉬운 영어로만 되어있기 때문에 따로 번역은 하지 않습니다.
다만 해당 서버팩 같은 경우에는 mabinogi global 최신 버전 클라이언트와의 호환이 중단되어 더이상 접속이 되지 않고 있습니다.
(최신 버전의 클라이언트에는 client.xml파일이 존재하지 않고, 지금 나와있는 접속기 바로가기 방법으로도 접속이 되지 않습니다.)
해당 부분에 대해 조언을 주실 수 있는 분을 기다리고 있습니다.
현재 통용되고 있는 접속 방법은 client.exe의 바로가기를 만든 후 속성에서
C:\Nexon\Mabinogi\Client.exe code:1622 ver:143 logip:127.0.0.1 logport:11000 chatip:127.0.0.1 chatport:8002 setting:"file://data/features.xml=Regular, USA"
를 추가하는 방법인데, 저는 이 방법으로도 접속이 되지 않더군요..
Setup (Windows)
Requirements
- MySQL compatible database server,
e.g. MySQL Server Community Edition or MariaDB - A MySQL management software,
e.g. HeidiSQL - Git (optional)
- Microsoft Visual Studio 2013+
Obtaining the source code
The easiest way to download the source code is to head over to GitHub and click the "Download ZIP" button on the repository's page.
Alternatively you can use git, a command line tool to manage git repositories. The advantage is that updating is a little easier, because you don't have to re-download the Zip file, merge the new and the old files, etc.
To download the source code with git, install it, open the Command Prompt (Windows key + R, type "cmd" and press "OK"), navigate to the directory you want to download Melia to by using the "cd" command (change directory) and in there type
git clone https://github.com/aura-project/melia.git
This will download a copy of the repository into the current folder, into a sub-folder called "melia".
To update it you do the same, but go into the "melia" folder and enter
git pull
instead. This will "pull" the latest changes from the online repository.
Setting up the database
Once you've obtained a copy of the Melia source, you must set up your database. Download MySQL or MariaDB and follow the instructions during the setup. Afterwards, open <melia directory>/sql/main.sql in your query browser (e.g. HeideSQL) and run it, to create the basic structure for Melia.
Then, navigate to user/conf/ and create a file called database.conf. Put the following into the file, with your username and password:
user : <MySQL Username>
pass : <MySQL Password>
Save and close database.conf.
Compiling
Open the file Melia.sln in the melia folder in Visual Studio. Under the Build Menu, select Build or simply hit F6 (F7 in the Express version). Melia should compile automatically, you don't need to do anything else with the source code.
Once you have finished compiling, simply open start_servers.bat and your server should be running.
Connecting to a Melia Server
To connect to a server other than the official one, you need to modify the client's "client.xml" file. Change the "ServerListURL" and "StaticConfigURL" attributes to the ones for your server, so the client downloads your server information instead of the officials.
Since this requires you to have a web server that serves the files, Melia comes with a simple web server of its own, so you don't have to worry about that. When starting it, you will see the information you have to use. This will change, based on the web server's configuration.
[Info] - ServerListURL: http://*:8080/toslive/patch/serverlist.xml
[Info] - StaticConfigURL: http://*:8080/toslive/patch/
Copy the URLs to your client.xml, replace the asterisk (*) with the your IP, and you should be good to go. For example, if you're using Melia locally, your GameOption tag might look like the following:
<GameOption ServerListURL="http://127.0.0.1:8080/toslive/patch/serverlist.xml" StaticConfigURL="http://127.0.0.1:8080/toslive/patch/" [...]
If you want to connect to a Melia server over the internet, you have to use your public IP, the client needs to be able to download the file.
Note: To start the client directly from the TOS directory, you have to start it with the parameter -SERVICE.
Creating an account
To create a new account, type "new//account_name" at the login window. (Replace "account_name" with your desired name.) The server will create that new account, with the password you've used. After the first login you don't need the "new//" prefix anymore.
Becoming a GM
There are various GM Commands that can be used by GMs. To use them, an account needs specific minimum authority levels. You can change an account's authority directly in the database or by using the command "auth" in the login server's window.

rehab21 님의 최근 댓글
답변 감사드립니다. 말씀처럼 넷빈에 추가를 했어요. 핸들링.로그인.핸들러 는 이미 존재하고 있어서 그 안에 AutoRegister라는 클래스를 생성했고, http://gamezone.one/index.php?mid=board_RYMI94&search_keyword=%EC%98%A4%ED%86%A0%EB%A0%88%EC%A7%80%EC%8A%A4%ED%84%B0&search_target=title_content&document_srl=286894 게시글에 있는 것 처럼 내용 붙혀넣기 하고 public static boolean getAccountExists(String login) { 부분을 public static boolean getAccountExists(String login) throws SQLException { 로 변경했는데요. 일단 해당 코드가 뭔가 잘못된건지.. 아래 그림처럼 hexsha1 부분이 에러가 나서 빌드가 실패하더라구요. 어떻게 해결할 수 있을까요? 2020 06.01 감사합니다. 2018 08.12 감사합니다. 2018 08.12 감사합니다. 2018 08.12 해결완료 2017 04.05