Pages

Legend of Martial Arts

How to Make Legend of Martial Arts Online

1. Basic Requirements
COMMAND~: apt-get update
COMMAND~: apt-get install unrar
COMMAND~: apt-get install openssh-server ( if you use Vbox )

1.1 Basic Tools

•Putty
•Winscp

2. Install LOMA-Server Repack Bola
•Change root directory
COMMAND~: cd /

•Download The Servers Files
•Authd Salt
COMMAND~: wget http://64.31.21.254/lomasalt.rar

OR

•Authd Binsalt
COMMAND~: wget http://64.31.21.254/lomabinsalt.rar

•Unpack
COMMAND~: unrar x lomasalt.rar
OR
COMMAND~: unrar x lomabinsalt.rar

•Set Permissions on servers files
COMMAND~: chmod -R 0755 /loma

3. Install Libraries

•Install Java Runtime Environment
COMMAND~: apt-get install openjdk-6-jre

•Only for Linux 64 Bits
COMMAND~: apt-get install ia32-libs
COMMAND~: ln -s /lib/libstdc++.so.5 /lib32/libstdc++.so.5
COMMAND~: ln -s /lib/libpcre.so.0 /lib32/libpcre.so.0
COMMAND~: ln -s /lib/libtask.so /lib32/libtask.so
COMMAND~: ln -s /lib/libskill.so /lib32/libskill.so

4. Install Mysql

• First install MySQL, during installation you'll be asked for a root password, remeber it!

COMMAND~: apt-get install mysql-server

•After installation you can import the base table scheme.
Replace the PASSWORD in the following command with your mysql password

COMMAND~: mysql -uroot -pPASSWORD -h localhost </sql/loma.sql

•after this, needs change password on table.xml

COMMAND~: sed s/password=\"root\"/password=\"PASSWORD\"/g /loma/authd/build/table.xml > /loma/authd/build/table.xml.new

COMMAND~: mv -f /loma/authd/build/table.xml.new /loma/authd/build/table.xml

5. Install Apache Webserver

COMMAND~: apt-get install apache2
COMMAND~: apt-get install php5 php5-gd php5-mysql php5-pgsql php5-imap php-pear php-auth php5-ming
COMMAND~: apt-get install php5-xmlrpc php5-xsl php5-curl php5-mcrypt libapache2-mod-php5 php5-mcrypt php5-mysql

•now you can register your account in the link http://YOURIP/index.php

6. Start Server

COMMAND~: cd /loma
COMMAND~: ./start.sh

•Wait to final startup script
•Remember to edit your serverlist in /patcher/server/serverlist.txt

7. Client
• Client Full = wulin2client
• Patch = wulin2 patch V480~582
• Mini-patch for login and setup = server.rar
• Translation patch ( required to work perfectly ) = Sub.rar
8. Setup Client
• Install the client and dont open or update, extract the mini patch, on /patcher/server folder
• run patcher.exe
• click here and select the wulin2 patch V480~582

• wait finish and close patcher.exe
• go to /patcher/server/serverlist.txt and edit with the ip of your server
• go to /element/ and delete patcher.ini
• Extract the translation pack on /element/ folder
• open elementclient.exe and do login

9. Obs
• This server pack no requires Glinkd modification
• Questions in this same topic
• This tutorial as made in Ubuntu OS linux 10.04

10. Credits
phprap ( server and client )
Bola ( repacked server, authd rebuilded )

11. Tools
•Rate Editor Working by AntiRoot !!! ( to use put the .exe with gs file of gamed folder edit and reupload )
Link = RateEditorWulin2.rar

•Npcgen by Ronny1982
Link = Npcgeneditor.rar

•Unpack pck tool , By Rose
Link = Tool.rar

•Gshop Editor ( Thanks for suppychan )
Link = Gshop.rar
•Querys addGM and Usercash
GM
call addGM (ID , 1)

CASH
call usecash (ID , 1, 0, 9, 0, 1000000, 1, @error)

12. Update features
•Cash Working
•Translate client

•Subscribe in my channel
•a demo running the servers files and client

Bola
Ragezone