Welcome!

Join our community of MMO enthusiasts and game developers! By registering, you'll gain access to discussions on the latest developments in MMO server files and collaborate with like-minded individuals. Join us today and unlock the potential of MMO server development!

Join Today!

[Guide] Perfect World Server 1.3.6 on Colinux Tutorial (with pictures)

Experienced Elementalist
Joined
Sep 21, 2008
Messages
239
Reaction score
6
Just a little question! and the REAL tutorial ?? does szear forget about the server???

u mean his project that he says on progress...forgot mayb or he busy with college...

---------- Post added at 12:46 PM ---------- Previous post was at 12:43 PM ----------

where is the save data located?

---------- Post added at 09:32 PM ---------- Previous post was at 09:30 PM ----------

how to set the max level?

save data is in...
/home/gamedbd

change max level in this...
nano /home/gamed/ptemplate.conf
oso can change drop, exp, sp and char stats...
 
Junior Spellweaver
Joined
Nov 17, 2009
Messages
125
Reaction score
0
@rom i use Intel I7 2,9 G , Ram 12 Gb, 500 Gb hardisk, hihihihiih :p
good enough make it as a linux box :p
 
Experienced Elementalist
Joined
Sep 21, 2008
Messages
239
Reaction score
6
@rom i use Intel I7 2,9 G , Ram 12 Gb, 500 Gb hardisk, hihihihiih :p
good enough make it as a linux box :p

more than enough...
but not as good as using a server board with server ram...
 
Nerd-IO
Loyal Member
Joined
Feb 13, 2009
Messages
3,303
Reaction score
651
@rom i use Intel I7 2,9 G , Ram 12 Gb, 500 Gb hardisk, hihihihiih :p
good enough make it as a linux box :p

It's good if you want to do a ALL-IN-ONE server.

But you will need to setup a solid and great network if you want to do a stable pwserver.

Servers:
- Backup Server
- Game Server (with all data for running the maps and other things around the game)
- Database Server (with all data for every characters and accounts)
- Main Server (this server handle the communication between all others servers on the network).

Simple schema... the one from wanmei game is very more complexe and greater!
 
Junior Spellweaver
Joined
Nov 17, 2009
Messages
125
Reaction score
0
It's good if you want to do a ALL-IN-ONE server.

But you will need to setup a solid and great network if you want to do a stable pwserver.

Servers:
- Backup Server
- Game Server (with all data for running the maps and other things around the game)
- Database Server (with all data for every characters and accounts)
- Main Server (this server handle the communication between all others servers on the network).

Simple schema... the one from wanmei game is very more complexe and greater!

i need some calculation rom...
if you have 100 client connected. how much RAM which do you need? ( also include the burstable ram calculation )
how much mbps internet connection for server which do you need?

:?::?:

---------- Post added at 03:55 PM ---------- Previous post was at 03:49 PM ----------

rom...do you have guide installing PW server on 64 bit machine ?
because ubuntu 32bit machine wont read all my RAM :(
seems that LAMPP cant use on 64bit machine :(
 
Nerd-IO
Loyal Member
Joined
Feb 13, 2009
Messages
3,303
Reaction score
651
You need to find the appropriates 64bits libraries for running the PWServer and every services of it. But for more stability, i suggest you to use an 32bits system...

Your server is fine for running up to 200 or 300players. But you will need a high bandwith. DON'T USE YOUR POOR ADSL ! It's very not recommanded for that amount of players!

You will need a dedicated hosting ! It's expansive but you will can handle more players on your server without burning your little ADSL xD
 
Last edited:
Junior Spellweaver
Joined
Nov 17, 2009
Messages
125
Reaction score
0
ahhahahaa.. ofcourse i will not use my 128kbps share :p

how about the calculation rom ? how much capacity of client for 4gb ram ?
by the way :( if i use 32bit machine, my ram is only 4gb :|
my friend said that i need use 64bit machine to get my full ram :|
how about yours?


i found this

 
Last edited:
Nerd-IO
Loyal Member
Joined
Feb 13, 2009
Messages
3,303
Reaction score
651
Odd... beastie have a 32bits Intel Core with 8gb of RAM and all is working fine for him.

I don't know. Try to use the last ubuntu server version for 32bits system...
 
Junior Spellweaver
Joined
Nov 17, 2009
Messages
125
Reaction score
0
Odd... beastie have a 32bits Intel Core with 8gb of RAM and all is working fine for him.

I don't know. Try to use the last ubuntu server version for 32bits system...

humm...
just fix my case :)

root@dikayeah-desktop:~# whoami
root
root@dikayeah-desktop:~# free
total used free shared buffers cached
Mem: 8262336 414540 7847796 0 16844 190080
-/+ buffers/cache: 207616 8054720
Swap: 48933948 0 48933948
root@dikayeah-desktop:~# uname -a
Linux dikayeah-desktop 2.6.28-16-server #57-Ubuntu SMP Wed Nov 11 10:48:29 UTC 2009 i686 GNU/Linux
root@dikayeah-desktop:~#


i use ubuntu 9.10 32bit with 8gb ram :)
commonly ubuntu 32bit just read 3,5Gb ram.
i use this guide

[ame="http://ubuntuforums.org/showthread.php?t=855511"]32 bit Ubuntu with 4GB+ of memory - Ubuntu Forums[/ame]

i hope that can be help anyone to use their max RAM ;)

cheeers rom :*:blushing:
 
Junior Spellweaver
Joined
Dec 15, 2008
Messages
129
Reaction score
0
...Just want to know if there is any files working... anything...full working files (if need fix with them)
and a short tutorial...is there anything like that?
 
Junior Spellweaver
Joined
Nov 17, 2009
Messages
125
Reaction score
0
aha.. i got it work fine on ubuntu 9.10 too ;)
32bit machine ;)
 
Newbie Spellweaver
Joined
Oct 19, 2009
Messages
13
Reaction score
1
so did my server so far done everything top only the account page you will not ask for help, I can not good english sorry so hat mein Server so weit alles getan, nur die Top-Konto-Seite werden Sie nicht um Hilfe zu bitten, ich kann nicht gut Englisch sorry



Warning: mssql_query() [function.mssql-query]: message: Invalid object name 'users'. Warning: mssql_query () [function.mssql-query]: message: Invalid object name 'users'. (severity 16) in /opt/lampp/htdocs/register/processor.php on line 32 (severity 16) in / opt / lampp / htdocs / register / processor.php on line 32

Warning: mssql_query() [function.mssql-query]: Query failed in /opt/lampp/htdocs/register/processor.php on line 32 Warning: mssql_query () [function.mssql-query]: Query failed in / opt / lampp / htdocs / register / processor.php on line 32
Failed to execute query! Failed to query ausführen! Something went wrong... Something went wrong ... SELECT * FROM users WHERE (name = '') SELECT * FROM users WHERE (name ='')
 
Junior Spellweaver
Joined
Nov 17, 2009
Messages
125
Reaction score
0
@sunnyboystgt

english please ;O

uhm..where did you get that error? on your tunel/shell or your index.php when you register ?
 
Newbie Spellweaver
Joined
Nov 17, 2009
Messages
18
Reaction score
0
i get this error too, this is a db problem.
anything is corrupt in the dbo.

Delete dbo in your MSSql and create a new.
Than load the 2 sql files again.
Now works fine for me =)

but i have a other problem :/

Register works, but i get the damn 'err : gdelivery:: connect GameDB failed' in colinux when i start the server.
I fought my way through this treat, and tryed everything as much as possible.
I use the server files from this treat site 1.

The ips are correct (i use hamachi)
is there anything i hav to do with the router?

>hosts
Code:
127.0.0.1 localhost.localdomain loca
127.0.0.1 fedora

# MSSQL IP Address
# Change those to yout DB IP
5.15.101.187              dbserver
5.15.101.187              database

10.0.2.15                   aumanage
10.0.2.15                   manager
10.0.2.15                   link1
10.0.2.15                   game1
10.0.2.15                   game2
10.0.2.15                   game3
10.0.2.15                   delivery
10.0.2.15                   backup
10.0.2.15                   auth
10.0.2.15                   gmserver

>table.xml
<!-- MSSQL -->
<driver name="com.microsoft.jdbc.sqlserver.SQLServerDriver"/>
<connection name="auth0" poolsize="8"
url="jdbc:microsoft:sqlserver://5.15.101.187:1433;databasename=dbo"
username="sa" password="supercow"/>

>core.php (register works fine)
Code:
//complete "station\sqlexpress" with your particular case
$SERVER = "TDS";
    //complete with your login
$ADMIN_NAME = "sa";
//complete pass with your pass
$ADMIN_PASS = "supercow";
//complete database witht the name of your perfect world database
$DATABASE = "dbo";

>glinkd/gamesys.conf
all the ips eccept the colinuxIP is now the 5.15.101.187
...
...
[GLinkServer2]
type = tcp
port = 29000
address = 5.15.101.187
so_sndbuf = 12288
so_rcvbuf = 12288
ibuffermax = 16384
obuffermax = 65536
tcp_nodelay = 0
listen_backlog = 10
accumulate = 131072
max_users = 3000
halflogin_users = 6000
sender_interval = 200000
accumu_packets = 32768
mtrace = /tmp/m_trace.link
compress = 0
close_discard = 1
urgency_support = 1
version = 10206

[GLinkServer3]
type = tcp
port = 29000
address = 5.15.101.187
so_sndbuf = 12288
so_rcvbuf = 12288
... and so far ...


when i try: /opt/lampp/bin/tsql -S 5.15.101.187 -U sa -P supercow (without port)
than i get the error:
locale is "en_US.UTF-8"
locale charset is "UTF-8"
src/tds/login.c: tds_connect: 5.15.101.187:4000: Connection timed out
Msg 20009, Level 9, State 0, Server OpenClient, Line 0
Server is unavailable or does not exist.
There was a problem connecting to the server
but when i use: /opt/lampp/bin/tsql -S 5.15.101.187:1433 -U sa -P supercow
then i get:
locale is "en_US.UTF-8"
locale charset is "UTF-8"
1>
(by pressing enter:)
2>
3>
...
is this right?


strange is, i CAN log into the server but then comes the error in the char select screen: "LINK - failed to acquire charakter list "xD
 
Last edited:
Experienced Elementalist
Joined
Sep 21, 2008
Messages
239
Reaction score
6
@Kyokoshin
>table.xml
change the SQL password only...do not disturb others
THIS:-
url="jdbc:microsoft:sqlserver://5.15.101.187:1433;databasename=dbo"

SHOULD BE ONLY THIS:-
url="jdbc:microsoft:sqlserver://dbserver:1433;databasename=dbo"
 
Last edited:
Newbie Spellweaver
Joined
Nov 17, 2009
Messages
18
Reaction score
0
ok

but the error are the same :/
the Tool BatGM can connect to the db and register page works too...
>> <<
 
Joined
Aug 27, 2006
Messages
124
Reaction score
3
@ Kyokoshin

GameDB is because there's an incorrect reference in the gamesys.conf file. Under Storage and Storagewdb those have to point to the correct location otherwise you get that gamedb error. It should say while you're starting your server Error Initalizing World, or something like that. (Until you fix that of course.

-I'm in the process of fixing Authd errors. I'm doing this on Ubuntu but all the releases are relatively the same -.-.
 
Last edited:
Newbie Spellweaver
Joined
Nov 17, 2009
Messages
18
Reaction score
0
hmm you mean this?:
/home/gamedbd/gamesys.conf
...
ibuffermax = 16384
obuffermax = 1048576
accumulate = 1048576

[storage]
homedir = /dbf/dbhome
datadir = dbdata
logdir = dblogs
backupdir = /dbf/backup
cachesize = 16777216
errpfx = Storage
checkpoint_interval = 60
backup_lockfile = /tmp/.lockgamedbd
quit_lockfile = /tmp/.quitgamedbd
compress = 1

[storagewdb]
homedir = /dbf/dbhomewdb
datadir = dbdata
logdir = dblogs
...

But as the paths have to look right?

----------- EDIT1 ----------

I looked in other server images and found this:
\server\gamedbd\gamesys.conf
...
ccumulate = 268435456
zoneid = 14

[storage]
homedir = /server/gamedbd/dbhome
datadir = dbdata
logdir = dblogs
backupdir = /server/pw/backup
cachesize = 16777216
errpfx = Storage
checkpoint_interval = 300
backup_interval = 86400

[storagewdb]
homedir = /server/gamedbd/dbhomewdb
datadir = dbdata
logdir = dblogs
backupdir = /server/pw/backupwdb
checkpoint_interval = 60
...

in my server is the path: /home/gamedbd/ but in my file are /dbf/
i try to set the new paths in the configs

------- Edit2 -------
hmm the same error ^^
the path are right in the file. in my root folder is a /dbf/ folder with /dbhomewdb/ inside.
I've checked all the config files. The paths are all correct.

Do you have another idea where the fault is?

---------- Post added at 02:19 PM ---------- Previous post was at 12:32 PM ----------

Which file causes this error? Then I can look closer.
In the log files there is nothing about it.

The error occurs the first time on when the /gdeliveryd/gamesys.conf starts.
Can it be inside this file is the error?
In gamesys.conf are registered ips from colinux. (10.0.2.15) They were already there and I should not change according to guid.

I'm totally confused. Please help me ^ ^
 
Last edited:
Joined
Aug 27, 2006
Messages
124
Reaction score
3
Code:
homedir = /dbf/dbhome
datadir = dbdata
logdir = dblogs  
homedir = /dbf/dbhomewdb
datadir = dbdata
logdir = dblogs
Server files provide different paths to files... why- I have no clue. Apparently each person who was handed the files decided to name things a little different which through releases people tried to match different released and messed structures up. I'm not on my computer right now but -I think- I should be

Code:
homedir = dbf/dbhome
datadir = dbf/dbdata
logdir = dbf/dblogs 
 
homedir = dbf/dbhomewdb
datadir = dbf/dbdata
logdir = dbf/dblogs

I'm not sure. Where your gamesys.conf is - pretend that is called currentdirectory. So basically it would be

currentdirectory/dbf/(folder)

It might even be

Code:
homedir = dbf/dbhome
datadir = dbf/dbhome/dbdata
logdir = dbf/dbhome/dblogs 
 
homedir = dbf/dbhomewdb
datadir = dbf/dbhomewdb/dbdata
logdir = dbf/dbhomewdb/dblogs

It all depends on how gamesys.conf can get to those folders.

---------- Post added at 08:42 AM ---------- Previous post was at 08:36 AM ----------

I also think I got closer to finding out the Gauth problem that appears. In java the file in PWServer/authd/ named authd calls for the file authd.class. However it uses the reference 'CLASSPATH=' and it doesn't call to the right location apparently. It calls incorrectly and gauth spits out information. When I get back home I'm going to try to specify it better. I believe it may have something to do with the .bashrc in the /root folder and also something in PWServer/autd/authd. I read around also and paths are defined with dots and not slashes. Feel free to read or I'll fix it up and post what I did later on today.

Information Source
 
Back
Top