[SHARE] Perfect World Server coLinux Image (and guide)
Hello,
Since there's so many people who have no clue how to set up Perfect World server, I decided to put together working server.
If for some reason it doesn't work, post screen shots and and logs here. Maybe If I'm still around I will help :) If I'm not, then someone else can.
Fixes and changes
March 24, 2008 :
IMPORTANT: A Matter of Security (Q&A: 3.11)
March 24, 2008 :
IMPORTANT: Fix for eth1 error (Fixed problems with registration page.)
Download
Part 1: [
MF] [RS] [MU] (100Mb)
Part 2: [
MF] [RS] [MU] (100Mb)
Part 3: [
MF] [RS] [MU] (100Mb)
Part 4: [
MF] [RS] [MU] (100Mb)
Part 5: [
MF] [RS] [MU] (4Mb)
* Freaking university blocked all file sharing services except few, so no mirrors.
Package contains
- coLinux (with Fedora 5) (In case you need to know)
- Installed Perfect World server compatible with 1.2.6
- Registration page
What you need to have and know
- Perfect World Client (1.2.6)
- coLinux and WinPCap (included in archive "/install/")
- Microsoft SQL Server (guide for installation included)
- Few minutes of your time to patch up Perfect World client (patch included)
- I don't care if your house burns down as a result of running this server. I'm not responsible.
- This set up was created as free. This means, you can not sell it, rent it, or get any profit (like selling cubi-gold). Although I can not stop you from doing this.
- It was build with one playing in mind, so you most likely will have to edit some files in order to make it public. (I don't know if it can be used as public server, since I have no ability to test it.)
- Jakarta was removed. You can install it yourself if you desperately need it.
Installation
- Install MSSQL (Use guide/mssql_installation.html if you need help)
- Configure MSSQL (Use guide/mssql_configure.html)
- Install WinPcap (install/WinPcap_4_0_2.exe)
- Install coLinux (install/coLinux-0.7.2.exe) to "C:\coLinux\". During installation, do not download any additional Linux images.
- Copy/Move files from "pwserver" folder to coLinux ("C:\coLinux\pwserver\")
- Launch "C:\coLinux\PWServer\PWServer.bat"
- User "root" to login into linux
- Edit hosts (type: nano /etc/hosts) and replace 172.20.13.16 with your DB IP, press Ctrl+W, then Enter. * See Q&A 3.7 for details.
- Type ./start.sh and choose one of the options
- Install client patch by copying files from /patch/ to your PW folder
Q & A
Q (3.1): What user name do I use for Linux login?
A: Username: root (there's no password)
Q (3.2): How do I find user ID?
A: Open <b>Enterprise Manager</b> (Start->All Programs->Microsoft SQL Server->Enterprise Manager). Follow this path:
Right click on "users" table, and then "Open Table->Return all rows". Find desired user name, ID is on it's left.
Q (3.3): How to add GM powers?
A: Open "Query Analyzer" (Start->All Programs->Microsoft SQL Server->SQL Query Analyzer). Connect to database server, select "dbo" as your database and type:
(ID = user id, ZONEID = zone id, use 1). Press F5.
~ Thanks to
Bear
Q (3.4): How to get cubi-gold?
A: Open "Query Analyzer" (Start->All Programs->Microsoft SQL Server->SQL Query Analyzer). Connect to database server, select "dbo" as your database and type:
(ID = user id)
Press F5. This will give you 5000 cubi gold. Procedure takes some time, and may require you to relogin.
~ Thanks to
shazbomb
Q (3.5): Server is OK, but I can not log in.
A: Server takes some time to load completely. So wait a little longer.
Q (3.6): How do I check if my DB IP address and account is right?
A: Try to connect to it. In coLinux box type:
Where IP_ADR is your IP address and "sa" is login. Enter password when needed. If you see "1>" then connection is OK. If you don't, then try disabling firewall and restarting Windows.
Q (3.7): How do I find database IP?
A: During your Windows session, go to Start->Run, type "cmd", then type "ipconfig", find your primary internet connection, then find "IP Address.....: IP" (where IP is your IP address)
Q (3.8): How do I access registration page?
A: There was a mess up, in order to access registration page, follow
Fix for eth1 error guide. Then your registration page would be accessible on
http://127.0.0.1/register/
Q (3.9): How do I change exp, sp, drop rate?
A: During your coLinux session, type:
and change exp_bonus, drop_bonus, sp_bonus, money_bonus to your desire.
Q (3.10): I don't want to use disk C: for my set up...
A: You will have to modify PWServer.conf (located in /pwserver/). Change values of
cobd0 and
cobd1 accordingly to your changes in path. For example if you installed coLinux on disk D: then change:
to
Q (3.11): How secure is this set up?
I did not pay any attention to security, mainly because it was build as a
private (only for you alone) server. All security matters are your responsibilities.
On another hand, some of the web server features can be secured by typing
in your coLinux console and following directions.
Additional: Fix for eth1 error - follow this guide to remove eth1 interface. After that, coLinux will have only 29000 and 80 ports open, which are accessible on your Windows machine.
There may be other openings which I don't know of.
Fully working and jeah easy working. thx to
Kvait =>
http://www. mmo rpg-dev .com/forum/showthread.php?t=339
########################################################################
coLinux Tuning.
First the sshd Server
Secound the Security of FedoraCore5
enhance the file system
Code:
# The default kernel
kernel=vmlinux
# File contains the root file system.
# Download and extract preconfigured file from SF "Images for 2.6".
cobd0="C:\coLinux\pwserver\PWServer.ext3"
# Swap device, should be an empty file with 128..512MB.
cobd1="C:\coLinux\pwserver\PWServer"
cobd2="C:\coLinux\pwserver\PWServer1_1Gb"
cobd3="C:\coLinux\pwserver\PWServer2_1Gb"
cobd4="C:\coLinux\pwserver\PWServer3_1Gb"
cobd5="C:\coLinux\pwserver\PWServer4_1Gb"
cobd6="C:\coLinux\pwserver\PWServer5_1Gb"
# Tell kernel the name of root device (mostly /dev/cobd0,
# /dev/cobd/0 on Gentoo)
# This parameter will be forward to Linux kernel.
root=/dev/cobd0
# Additional kernel parameters (ro = rootfs mount read only)
ro
# Initrd installs modules into the root file system.
# Need only on first boot.
initrd=initrd.gz
# Maximal memory for linux guest
mem=256
# Network
eth0=slirp,,tcp:29000:29000/tcp:80:80/tcp:8080:8080/tcp:22:22
#eth1=pcap-bridge,,00:FF:F9:54:7C:00
eth1=tuntap
DONE => START coLinux/with SSH! with 5GB Swap => solved eth1 problem (tuncap is the best) and a Up to Date LinuxCore!
little hint use the windowstool "WinSCP" to manage ur Server its pretty Easy and confortable filebrowser.