Pages

Forsaken World DW

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 FW-Server Repack Bola
•Change root directory
COMMAND~: cd /

•Download servers files repacked and upload on your linux, on / folder
Link of Repacked files :FWServer.tgz




•Unpack
use Winscp, press and select, after just press ok





IMPORTANT!!!
2.2 Update the server with New libs, put this files inside /FWServer/,setup/libs folder, replace old with this libs
download: Put this on fwserver setup libs.rar
•Remove the old unpacked files
COMMAND~: rm -f FWServer.tgz

•Set Permissions on servers files
COMMAND~: chmod -R 0777 /FWServer

3. Install Libraries

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

•For Linux 64 Bits

COMMAND~: apt-get install ia32-libs 

• after this will exec a setup file to send libraries on respective folders on
COMMAND~: cd /FWServer
COMMAND~: ./setup.sh

•Don't worry if the putty print some error about copy or ld files directory


4. Install Mysql 

• First install MySQL, during installation you'll be asked for a root password, remember 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 </FWServer/.setup/fwdb.sql

•after this, needs change password on table.xml

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

COMMAND~: mv -f /FWServer/authd/build/table.xml.new /FWServer/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

6. Install Register
•with Winscp go to directory /FWServer/.setup/register/
•Find the file and open config.php
•where says "passwd" you put your mysql password
•save
•move this folder to /var/www/
•now you can register your account in the link http://YOURIP/register/index.php

7. Start Server 

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

•Wait to final startup script

7.1 Iweb access
You can access your iweb manager via
http://YOURIP:8080/iweb/

if you don't want iweb enable, just delete jakarta folder or protect port with a iptables configuration like this

iptables -A INPUT -s MYCOMPUTERIPHERE -p tcp --dport 8080 -j ACCEPT 

8. Update Ranking
COMMAND~: cd /FWServer
COMMAND~: ./rankupdate.sh

8. Client to connect
follow the guide
Link : http://forum.ragezone.com/f783/v453-...files-1026408/

•Install the client go to folder /Forsaken World/update/
•copy and replace actual file with this: server.lua
•edit the ip 192.168.1.101 with IP of your linux server FW
•run game.exe and connect

9. Obs
• This server pack no requires Glinkd modification
• Questions in this same topic
• This tutorial as made in Ubuntu OS linux 10.04
• If you want change realm name, just open gsalias.conf and change where say Bola 1 ...

10. Credits
•Ronny1982
•Bola
•MoneyTank ( release the files ) 

11. Thanks to
•Ben, support
•Hulu, support
•Hycker, support
•Doulcy by the right patches to version =)

12. Tools and Guides

Elements.data editor : sELedit.rar

Gshop Editor : GshopEditor.rar

Rates Editor : RatesEditorFW449v.rar

•Querys addGM and Usercash
GM

Code:
call addGM (ID , 1)


CASH

Code:
call usecash (ID , 1, 0, 19, 0, 50000, 1,  @ERROR)


*/ Where 50000 is the value of cash ( don't forget cash curvature of leaf ) */ 

13. Some screens online and iweb




All Realms Open and instances open, and kbatlle