[Guide] PerfectWorld Server on Debian Lenny/SID
*working on the Guide *incomplete
Whe Install Debian on a Single Maschine.
1. Whe got the Debian Iso and burn it on a CD http://cdimage.debian.org/cdimage/weekly-builds/
2. Whe burn Debian on a DVD-R/CD-R
3. Whe Install Debian on the Gamehostmaschine
4. Whe Update Debian
apt-get update
5. Whe Upgrade Debian
apt-get upgrade
6. Install the usefull others (all GCC tree's (with dev tree and gcc++), libxml2 (with dev tree)
7. whe install a own lampp system (start synaptic and search for apache2,mysql5,php5)
- Download Debian Lenny
- Install the normal installationroutine
- install the dev.section (all the libs are here)
- load the pf server in a folder do u want
- configure all the config files back to the right path and ip
- install a lampp system (apache,php,mysql)
- install java (jre1.6)*see advance bottom!
- insert the mysql db into ur mysql Server (db = dbo!)
- make a first start
Updated Guide Later !
it WORKS with DEBIAN Lenny/Sid as Single GAMEHOST
*Introduce Java installation!
Quote:
PATH=/usr/java/jdk1.5.0_05/binPATHHOME/bin
# .bash_profile
# Get the aliases and functions
if [ -f ~/.bashrc ]; then
. ~/.bashrc
fi
# User specific environment and startup programs
PATH=/usr/java/jdk1.5.0_05/binPATHHOME/bin
BASH_ENV=$HOME/.bashrc
USERNAME="root"
PATH=$PATHHOME/bin:/usr/lib/mysql/bin
BASH_ENV=$HOME/.bashrc
USERNAME="ROOT"
export USERNAME BASH_ENV PATH
export CLASSPATH=.:/usr/java/jdk1.5.0_05/lib/dt.jar:/usr/java/jdk1.5.0_05/lib/tools.jar:/usr/java/jdk1.5.0_05/lib/mysql-connector-java-3.0.16-ga-bin.jar:/usr/java/msSQLjdbc/lib/msbase.jar:/usr/java/msSQLjdbc/lib/mssqlserver.jar:/usr/java/msSQLjdbc/lib/msutil.jar
export JAVA_HOME=/usr/java/jdk1.5.0_05
export LC_ALL=zh_CN
export LANG=zh_CN
Startup ur Monster!
startup.shell => save following Codetag to a file named startup.sh
Quote:
#!/bin/sh
echo ""
echo ""
echo
"########################################################################
###################"
echo "Starting PW Servers... Please Wait..."
echo
"########################################################################
###################"
echo ""
echo ""
###################################################################
cd /root/pwserver/logservice
echo -n "starting logservice... "
/usr/bin/screen -dmS logservice ./logservice logservice.conf
sleep 2
echo "done!"
###################################################################
###################################################################
cd /root/pwserver/uniquenamed
echo -n "starting uniquenamed... "
/usr/bin/screen -dmS uniquenamed ./uniquenamed ./gamesys.conf
sleep 2
echo "done!"
###################################################################
###################################################################
cd /root/pwserver/authd
echo -n "starting authd... "
/usr/bin/screen -dmS authd ./authd
#./authd 1>/var/log/authd.pw 2>/var/log/authd.pw &
sleep 2
echo "done!"
###################################################################
###################################################################
cd /root/pwserver/gamedbd
echo -n "starting gamedbd... "
/usr/bin/screen -dmS gamedbd ./gamedbd ./gamesys.conf
sleep 2
echo "done!"
###################################################################
###################################################################
cd /root/pwserver/gdeliveryd
echo -n "starting gdeliveryd... "
/usr/bin/screen -dmS gdeliveryd ./gdeliveryd ./gamesys.conf
sleep 2
echo "done!"
###################################################################
###################################################################
cd /root/pwserver/gfactiond
echo -n "starting gfactiond... "
/usr/bin/screen -dmS gfactiond ./gfactiond ./gamesys.conf
sleep 2
echo "done!"
###################################################################
###################################################################
cd /root/pwserver/gacd
echo -n "starting gacd... "
/usr/bin/screen -dmS gacd ./gacd ./gamesys.conf
sleep 2
echo "done!"
###################################################################
###################################################################
cd /root/pwserver/glinkd
echo -n "starting glinkd... "
/usr/bin/screen -dmS glinkd1 ./glinkd ./gamesys.conf 1
#/usr/bin/screen -dmS glinkd2 ./glinkd ./gamesys.conf 2
#/usr/bin/screen -dmS glinkd3 ./glinkd ./gamesys.conf 3
#/usr/bin/screen -dmS glinkd4 ./glinkd ./gamesys.conf 4
sleep 2
echo "done!"
###################################################################
###################################################################
# Start full server
###################################################################
cd /root/pwserver/gamed
echo -n "starting gamed... "
/usr/bin/screen -dmS gamed ./gs gs01
sleep 15
echo "done!"
echo -n "starting Arenas... "
for (( i = 1 ; i <= 5; i++ )); do
/usr/bin/screen -dmS arena0$i ./gs arena0$i
done
sleep 2
echo "done! "
echo -n "starting Iss... "
for (( e = 1 ; e <= 31; e++ )); do
if test $e -le 9; then
/usr/bin/screen -dmS is0$e ./gs is0$e
else
/usr/bin/screen -dmS is$e ./gs is$e
fi
done
sleep 2
echo "done! "
echo -n "starting Bgs... "
for (( o = 1 ; o <= 6; o++ )); do
/usr/bin/screen -dmS bg0$o ./gs bg0$o
done
echo "done! ";
echo "Servers started!"
Work with ur MSSQL Database on ur Debian Server
Update 6
[quote=meha;3940230]so hard times later i got the Reason about the authd and work with MSSQL on a Unix/Linux or other MS Gamehost.
I rewhrite it and now u can use ur MSSQL host from a other PerfectWorld hostmaschine.
(i need it for my Unix PW Host ;-) )
Rapidshare
FileFront
Re: [Guide] PerfectWorld Server on Debian Lenny/SID
hello,
I put the question in what it made use a debian 4.01 and not a debian lenny would prevent the launching of the waiter??
I actuellment to install them on debian 4.01 and as the guide remains very fuzzy, the waiter launch out with these answer:
Code:
/home# ./start.sh
Starting PW Servers... Please Wait...
starting logservice... done!
starting uniquenamed... done!
starting authd... done!
starting gamedbd... done!
starting gdeliveryd... done!
starting gfactiond... done!
starting gacd... done!
starting glinkd... done!
starting gamed... done!
starting Arenas... done!
starting Iss... done!
starting Bgs... done!
Servers started!
Systeme : GNU/Linux Debian 4.0r2 (Etch) i386
But in the status waiter, the waiter remains offline and impossible of me to connect to it.
Would it be possible to develop a little more this guide?? thank you very much of your future answer.
sorry for my bad english, i m french -__-
Re: [Guide] PerfectWorld Server on Debian Lenny/SID
Well, I'm in trouble, I'm using debian, everything is working, online server, more as I install debian in iWeb to access it from another machine using windows?
Excuse my bad English and thank you for your attention
Re: [Guide] PerfectWorld Server on Debian Lenny/SID
can you upload your working pw server with mysql ?
Re: [Guide] PerfectWorld Server on Debian Lenny/SID
i load nothing to mysql up, play with mssql this is the right way :)
Re: [Guide] PerfectWorld Server on Debian Lenny/SID
Quote:
Originally Posted by
meha
i load nothing to mysql up, play with mssql this is the right way :)
this is not right way because
1) windows server is not stuble as linux
2) emule os is not stable as linux
3) mysql better mssql
i ran pw server on linux machine + mysql - this is right way
but if you play and run pw on the same machine meybe this is right way :)
Re: [Guide] PerfectWorld Server on Debian Lenny/SID
ehhh? wth emule?windows? ehhh ?
go back to trollcity and nerv the other in there...
Re: [Guide] PerfectWorld Server on Debian Lenny/SID
When DB is made, nama of DB is dbo?
Re: [Guide] PerfectWorld Server on Debian Lenny/SID
mssql_table.sql
CREATE TABLE forbid (
userid int NOT NULL ,
type int NOT NULL ,
ctime datetime NOT NULL ,
forbid_time int NOT NULL ,
reason varbinary (255) NOT NULL ,
gmroleid int NULL
)
The form of datetime cannot be used with MYSQL.
Re: [Guide] PerfectWorld Server on Debian Lenny/SID
Thanks boom... i will dump