Post Pacific  

Go Back   Post Pacific > Восстановленный архив > Темы без сохранившегося раздела
FAQ Community Calendar Today's Posts Search

Notices

 
 
Thread Tools Search this Thread Display Modes
Old 08.02.2005, 17:16   #1
Digital
Архивный участник
 
Join Date: Nov 2004
Posts: 1,405
Default [Tutorial] How to setup dual server support for l2

just pasting it here for abit.. will do the translation later.

Quote:
第一步..先确定..单机架设成功..
第二步..复制整个服务器端文件到第2� �服务器
第3步..

将你C:\Program Files\Common Files\ODBC\Data Sources
中的lin2db 同lin2world 复制到第2台机子里(用来开l2server.exe� ��l2npc.exe)
在第二个机器上建立dsn
lin2db

[ODBC]
DRIVER=SQL Server
UID=sa
DATABASE=lin2db
WSID=第一个服务器的IP
APP=Microsoft Data Access Components
SERVER=第一个服务器的IP

lin2world

[ODBC]
DRIVER=SQL Server
UID=sa
DATABASE=lin2world
WSID=第一个服务器的IP
APP=Microsoft Data Access Components
SERVER=第一个服务器的IP

第4步
l2server.ini和l2npc.ini的ip

l2server.ini的ip都改成第一个机器的ip
2号机上的L2SERVER.INI里的IP全都修改成1� ��几的IP其中有一段可以先去掉,可以� ��决PetitionD载入失败的问题。
[PetitionD]
address="1xx.xx8.2.9"
port=2107
WorldName="publish03"
;world name must be exact 9 characters.

l2npc里的Ip除了...[server]改成..第2个机器的Ip意外..

其他的也改成第一个机器的Ip..
L2NPC.INI里的这段要修改成2号机IP

[server]
address="1xx.xx8.0.2"
port=2002
第5步----
修改第一个服务器的sql数据库表..lin2db 里的server
id name ip inner_ip ageLimit pk_flag kind port
1 lgs 第2个机器的IP 第2个机器的IP 1 1 1 7777

NPC和L2server都是放在2#服务器上,但是有 一点最关键就是在1#服务器数据库里的 Lin2DB数据库中的server表中IP设置两个IP� ��应该设置为2#服务器的庋涂梢缘� ��搅?br>注意 :(luhongyu)告诉大家我就用的173m的si na原版AUTH 没有用台湾的 ,估计大家刚开始的时候,没有发现� �原因 最近正在研究用sina的公测版本直接进� ��
SINA版的那个是加密的,我就是用的那个 ,好像是460KB大小吧,不加密的是410KB左� �.
我用ASP注册,那里面是填erpxxx的,就是加 密的那个,不加密的是填 none的.我用加密的,可以的,用None注册的 话就提示密码错误了
数据库server 表端口是7777.不用打补丁直接用SINA最� �客户端

关键的一步
CHN_Server_20040604\NewAuth\etc\config 把 DevServerIP="10.1.2.250" 改位第2个机子的ip

还有NewAuth\etc\config.txt、里的DevConnectOut er=true

第6步..启动第一个机器的前3个服务..� �后启动第2个机器的后2个服务器
Digital is offline  
Old 18.02.2005, 17:15   #2
Shawnmb
Архивный участник
 
Join Date: Feb 2005
Posts: 307
Default

It shouldn't need translation, if you can't point ODBC to a new source on your own you shouldn't be running a server...
Shawnmb is offline  
Old 18.02.2005, 17:29   #3
doemondo
Архивный участник
 
Join Date: Feb 2005
Posts: 30
Default

By Dual Server support do you mean when you connect to the login screen there is more than 1 option (Like 2 different servers there) or do you mean a server that supports both C1 and C2 clients?

Im very confused
doemondo is offline  
Old 18.02.2005, 17:32   #4
theRAGE
Архивный участник
 
Join Date: Feb 2005
Posts: 82
Default

Quote:
Originally Posted by doemondo
By Dual Server support do you mean when you connect to the login screen there is more than 1 option (Like 2 different servers there) or do you mean a server that supports both C1 and C2 clients?

Im very confused
I'm pretty sure he means to span the server applications between 2 computers.
theRAGE is offline  
Old 18.02.2005, 17:39   #5
Digital
Архивный участник
 
Join Date: Nov 2004
Posts: 1,405
Default

i do have some info on having 2 different servers tho... but untested... so fear of releasing
Digital is offline  
Old 18.02.2005, 17:44   #6
Shawnmb
Архивный участник
 
Join Date: Feb 2005
Posts: 307
Default

Run it through me, what is it ?
Shawnmb is offline  
Old 13.04.2005, 18:53   #7
Dubie
Архивный участник
 
Join Date: Mar 2005
Posts: 133
Default

First step. First determines. The single plane erects successfully..
Second step. Duplicates the entire server end document to the 2nd server
3rd step.

Duplicates in the 2nd loom in your C:\Program Files\Common Files\ODBC\Data Sources lin2db with lin2world (to use for l2server.exe, l2npc.exe) establishes dsn on the second machine

lin2db

[ODBC]
DRIVER=SQL Server
UID=sa
DATABASE=lin2db
WSID=First server IP
APP=Microsoft Data Access Components
SERVER=First server IP

lin2world

[ODBC]
DRIVER=SQL Server
UID=sa
DATABASE=lin2world
WSID=First server IP
APP=Microsoft Data Access Components
SERVER=First server IP

4th step
L2server.ini and l2npc.ini ip

L2server.ini ip all alters to the first machine ip
In 2 machine on L2SERVER.INI IP all revises 1 several IP to have a section to be allowed first to remove, may solve PetitionD to write down the defeat the question.
[PetitionD]
address="1xx.xx8.2.9"
port=2107
WorldName="publish03"
;world name must be exact 9 characters.

In l2npc Ip except that... [ server ] alters to. 2nd machine Ip accident..

Other also alters to the first machine Ip..
In L2NPC.INI this section must revise 2 machine IP

[server]
address="1xx.xx8.0.2"
port=2002

5th step ----
Revises the first server sql database table. lin2db in server
id name ip inner_ip ageLimit pk_flag kind port
1 lgs 2nd machine IP 2nd machine IP 1.117777 million

NPC and L2server all are puts on the 2# server, but has point most is essential is table IP establishes two IP in 1# server database Lin2DB in the database server both to be supposed to establish is the 2# server □a shelf □spreads the tree top reason spade to stir? Br attention: (luhongyu) tells 173m sina which everybody I uses first edition AUTH not useful Taiwan, estimated everybody just started, had not discovered the reason recently was studying with sina male measured the edition directly entered
SINA version that is the encryption, I am that which uses, looks like is the 460KB size, does not encrypt is about 410KB
I use ASP to register, inside that fills in erpxxx, is encryption that, does not encrypt is fills in none I use the encryption, may, registered the speech with None to be wrong on the prompt password
The database server table port is 7777. Does not need to have the patch straight to take over the use of the SINA newest customer end

An essential step
CHN_Server_20040604\NewAuth\etc\config changes DevServerIP= "10.1.2.250" the position 2nd loom ip

Also has NewAuth\etc\config.txt, in DevConnectOuter=true

6th step. Starts the first machine the first 3 services. Then starts the 2nd machine the latter 2 servers
Dubie is offline  
Old 13.04.2005, 20:20   #8
Eliot
Архивный участник
 
Join Date: Mar 2005
Posts: 368
Default

Yeah, we all know babelfish...
Eliot is offline  
Old 07.06.2005, 06:42   #9
klemka
Архивный участник
 
Join Date: May 2005
Posts: 59
Default

I use router and lan members can join and from wan can't join.... what port need forwading? sry for bad eng
klemka is offline  
Old 07.06.2005, 07:19   #10
Ameron
Архивный участник
 
Join Date: May 2005
Posts: 85
Default

try to open 7777 and 2106 tcp ports
Ameron is offline  
Old 07.06.2005, 08:29   #11
toolpunk
Архивный участник
 
Join Date: May 2005
Posts: 2,033
Default

wonder if this is a MOD
--> moved!
oh digital posted it...

IGNORE WHAT I SAID! ITS A MOD!
toolpunk is offline  
Old 07.06.2005, 11:24   #12
klemka
Архивный участник
 
Join Date: May 2005
Posts: 59
Default

Quote:
try to open 7777 and 2106 tcp ports
Not working i know if server on 1 box when need forwad 2106 and 7777 tpc
klemka is offline  
Old 07.06.2005, 16:52   #13
imaznumkay
Архивный участник
 
Join Date: May 2005
Posts: 39
Default

Quote:
Originally Posted by Digital
i do have some info on having 2 different servers tho... but untested... so fear of releasing
i'll test it xD
imaznumkay is offline  
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 17:09.