Post Pacific  

Go Back   Post Pacific > Восстановленный архив > Темы без сохранившегося раздела

Notices

 
 
Thread Tools Search this Thread Display Modes
Old 18.04.2005, 07:40   #1
lamnh
Архивный участник
 
Join Date: Mar 2005
Posts: 185
Default Detail to make 2 server Lineage2 in different comp

I try to learn how to make 2 server in different comp like 1 main server and 1 sub server .

In PC1 , I load all 6 link server , good fine , and I can see 2 server in server list when I login game . but I cant run PC 2 , I set PC 2 connect to PC 1 to using PC1 database (I run log , cache , l2server and l2npc in PC2 , and sure I set some IP in PC2 to PC 1 ) . Log , cache run fine but when I run l2server.exe , It's say : cant connect to AuthD server . Can anyone give me a detail for that ? THX

I try to ask BoTGoD , but I dont see his reply .
lamnh is offline  
Old 18.04.2005, 16:07   #2
lamnh
Архивный участник
 
Join Date: Mar 2005
Posts: 185
Default

THX for ur reply , and here is my l2server.ini in PC2 :

[LogD]
address="2xx.xx0.2xx.xx0"
port=3999

[CacheD]
address="1xx.xx8.1.33"
port=2006

[AuthD]
address="2xx.xx0.2xx.xx0"
port=2104

[petitionD]
address="2xx.xx0.2xx.xx0"
port=2107
worldname="Lineage3"

2xx.xx0.2xx.xx0 is WAN IP of PC1 , and I add it in lin2db ---- server too .
But l2server say : cant connect to AuthD server . Can u give me a tutorial for setting this ? I know u very busy , but If u can , very thank u .
Anyway , THX for ur times
lamnh is offline  
Old 18.04.2005, 16:11   #3
Dubie
Архивный участник
 
Join Date: Mar 2005
Posts: 133
Default

5 post down from this one.
https://postpacific.loc-online.com/f...opic.php?t=416
Dubie is offline  
Old 18.04.2005, 17:05   #4
lamnh
Архивный участник
 
Join Date: Mar 2005
Posts: 185
Default

Sure I read this ,and I set
[AuthD]
address="2xx.xx0.2xx.xx0" WAN IP of PC1
port=2104

but it say cant connect to AuthD server . this is my prob
lamnh is offline  
Old 19.04.2005, 05:21   #5
lamnh
Архивный участник
 
Join Date: Mar 2005
Posts: 185
Default

My AuthD not have any error , because I run 6 link in PC1 normaly , I just try to set more server connect to PC1 . In PC2 I try to run Log , Cache , L2Server and L2NPC , and here is my set in PC2 Ini's files :

l2logd.ini
[LogD]
address=1xx.xx8.1.33 (LAN IP of PC2)
port=3999
sendable=true

[LogTable]
Daily=1
BCPFolder=1

[Start]
BCPInt=3600000
ServerInt=3600000
AutoBCP=0

[World]
WorldId=2

[SQL]
SQLExecLimit=5000
PollingInterval=6000
BCPThreadCount=5

l2Cache.ini

[LogD]
address="1xx.xx8.1.33" (LAN IP of PC2)
port=3999
[World]
WorldId=2
Pair=0

[ItemAudit]
DefaultPriceLimit=100000000
DefaultPriceCheck=50000000
AdenaLimit=100000000
AdenaCheck=50000000
ChgRatioLimit=30

[SQL]
SQLExecLimit = 9000
;clear unowned item data[0:false, 1:true]
ItemClearOnStart=1
DiffBBSConn = 0
SaveQsData=0
BBSDBTimeOut=60
USEBBS=0

[Setting]
country=1
ExceptionMailing=false
MailServer=mail.ncsoft.co.kr

l2server.ini
[LogD]
address="2xx.xx0.2xx.xx0" (WAN IP of PC1)
port=3999

[CacheD]
address="1xx.xx8.1.33" (LAN IP of PC2)
port=2006

[AuthD]
address="2xx.xx0.2xx.xx0" (WAN IP of PC1)
port=2104 (I open this port in router in PC1 network and forward it to PC1)

[petitionD]
address="2xx.xx0.2xx.xx0" (WAN IP of PC1)
port=2107
worldname="Lineage3" (in PC1 is Lineage2)

[World]
WorldId=2
UserLimit=2000
LetBuilder=1

[Report]
;minute
Interval=60

[Setting]
;Country=0 KR
;Country=1 US
;Country=2 JP
;Country=3 TW
;Country=4 CN
Country=1
UserPathFind=true
WorldCollision=false
ExceptionMailing=false
MailServer=mail.ncsoft.co.kr
AcceptLowerProtocol=true
IOBufferCount=3000
;limit hour for week, (number means hour. 0 means don't use. default is 0)
playtimelimit=0
;use auth reconn (1:use, 0:don't. default is 0)
reconnectauth=1

l2npc.ini
[CacheD]
address="2xx.xx0.2xx.xx0" (WAN IP of PC1)
port=2008

[server]
address="1xx.xx8.1.33" (LAN IP of PC2)
port=2002

[db]
address="2xx.xx0.2xx.xx0" (WAN IP of PC1)
port=2005
user="sa"
password="abcde"

[map]
directory="map"

[LogD]
address="2xx.xx0.2xx.xx0" (WAN IP of PC1)
port=3999

[World]
WorldId=2

[Setting]
country=1
ExceptionMailing=false
MailServer=ncs-mail.ncsoft.co.kr


in PC 1 , I add this line to \\Newauth\etc\serverlist

2,Lineage3,2xx.xx5.1xx.xx,2,2xx.xx5.1xx.xx,2
(2xx.xx5.1xx.xx is WAN IP of PC2)

And add more line to lin2db ------ table------server :
2 Lineage3 2xx.xx5.1xx.xx 2xx.xx5.1xx.xx 0 1 0 7778

Here is wat I set , I can see 2 server in game , Have I lost something BoTGoD ? Can u tell me wat I set wrong ? THX for u times
lamnh is offline  
Old 19.04.2005, 13:24   #6
lamnh
Архивный участник
 
Join Date: Mar 2005
Posts: 185
Default

yeah exactly . But the prob is I cant make l2server.exe connect to AuthD server in PC1 , how u can do that ? How u can make CacheD and AuThD link have 2 IP server ?I cant do that . Can u plz tell me how u can make PC3 connect to PC1 like I see in ur post . I cant complete this step so I cant do anything . THX
lamnh is offline  
Old 19.04.2005, 17:46   #7
lamnh
Архивный участник
 
Join Date: Mar 2005
Posts: 185
Default

Very thank BoTGoD , I follow this for along times , now I have more detail for my ProJect .
Have I set IP of PC1 in lin2db and lin2world in PC2 and PC3?
One more times , THX u
lamnh is offline  
Old 20.04.2005, 20:06   #8
lamnh
Архивный участник
 
Join Date: Mar 2005
Posts: 185
Default

Now I can run 2 server fine like u . But when I connect , I see 2 server in list

01 Bartz 35
02 SeHargt 350

But I cant log in both of them . Why is that , can U show me the way , BoTGod ? THX for reading
lamnh is offline  
Old 21.04.2005, 07:53   #9
Livid
Архивный участник
 
Join Date: Apr 2005
Posts: 314
Default

Siegehardt shows up in list... However, its status will be either full (despite if u're running a server on PC2 or not) if kind=1 or down in other cases. I think it's authD issue... Oк maybe Im wrong...
All other servers (except Bartz) are down...
Livid is offline  
Old 21.04.2005, 19:42   #10
Silentz0r
Архивный участник
 
Join Date: Apr 2005
Posts: 122
Default

shit this is hard. nice teaching guys. I'll test it in my server
Silentz0r is offline  
Old 22.04.2005, 00:12   #11
RmzVoid
Архивный участник
 
Join Date: Apr 2005
Posts: 357
Default

Try to connect on LAN interface. Authd listen on all interfaces, and you mast connect from LAN to LAN, check it. My server configs (all) points to 127.0.0.1. All work. You can point LAN ip of PC1 in PC2 serever config.
Q: you have different DBs on different PCs?
RmzVoid is offline  
Old 22.04.2005, 05:53   #12
lamnh
Архивный участник
 
Join Date: Mar 2005
Posts: 185
Default

It using the same DB , Pc1 have SQL and store DB , PC2 and PC3 using DB in PC1 . Have u make it worked ? how u can do this ? U can see 2 server in serverlist and u can join both of them?
lamnh is offline  
Old 29.04.2005, 06:35   #13
Digital
Архивный участник
 
Join Date: Nov 2004
Posts: 1,405
Default

hmm.. after looking thru the chinese guide
it seems to me that this might be an ideal setup

PC1: authd, mssql, and wadever crap
PC2: cache1,l2server1,l2npc1
PC3: cache2,l2server2,l2npc2

or cache1 might be on PC1 instead.. unsure... but i do think after reading thru... cache have to be seperated for each new server as well.

good luck testing.
Digital is offline  
Old 29.04.2005, 13:34   #14
djvogans
Архивный участник
 
Join Date: Apr 2005
Posts: 306
Default

and why u still need L2LogD ?
servers are working fine without him
djvogans is offline  
Old 29.04.2005, 15:47   #15
Livid
Архивный участник
 
Join Date: Apr 2005
Posts: 314
Default

RmzVoid: You know, it sounds like you didn't got the idea. Idea is that we can't get 2nd (3rd etc) server to work. I tried to run
PC1: log, auth, db, petition
PC2: cache1, server1, npc1
PC3: cache1, server1, npc1
No result...
Only can login to bartz. If inner_ip & ip is set to PC2 then bartz is pc2, & siegehardt do not work.
If inner_ip & ip is set to PC3 then bartz is pc3, & siegehardt do not work.
Livid is offline  
Old 29.04.2005, 16:30   #16
Digital
Архивный участник
 
Join Date: Nov 2004
Posts: 1,405
Default

? u lost me there livid...

in ur db there should be 2 entry
for example
entry: inner_ip, outer_ip, bah_bah_etc
1, 1.2.3.4, 2.3.4.5
2, 1.2.3.5, 2.3.4.6

should work i believe..
just be sure that u make extra world2 db n point PC3 to world2 db
and all cache, server, npc should point to their own unique ones
e.g cache1, server1, npc1 and cache2, server2, npc2

P.S ur petition is a working c1 copy?
Digital is offline  
Old 29.04.2005, 17:05   #17
Livid
Архивный участник
 
Join Date: Apr 2005
Posts: 314
Default

Ups... sry
PC2: cache1, server1, npc1
PC3: cache2, server2, npc2
Here's contents of my db... (ip is local bcuz I tes it in local network)
#|Name|inner_ip|etcetc|ip
1|Lineage1|10.0.4.2|...|10.0.4.2
2|Lineage2|10.0.4.3|...|10.0.4.3

What I get:
Bartz|Good|2ms
Sieghardt|Full|320ms

Even if I will shut server on PC3 (which is 10.0.4.3), it will still be
Sieghardt|Full|320ms

I think it`s authd issue...

PS I run petition only to avoid error - anyway, it crashes every time some1 tries to /gm
Livid is offline  
Old 29.04.2005, 17:57   #18
Digital
Архивный участник
 
Join Date: Nov 2004
Posts: 1,405
Default

hmm... not really sure tho... cuz there's ppl who have done it
but then... their config is this way

PC1: authd, mssql, cache1, logd, iis - 10.1.2.250
PC2: server1, npc1 - 10.1.2.210
PC3: cache2, server2, npc2 - 10.1.2.222

of cuz the lin2db -> server is as per normal setup


then setup lin2world2_Data n lin2world2_log and DSN for PC3 on PC1's mssql db

PC3 l2cache.ini
[LogD]
address="10.1.2.250"
port=3999
[World]
WorldId=3
Pair=0
[ItemAudit]
DefaultPriceLimit=2000000
DefaultPriceCheck=1000000
ChgRatioLimit=30
[SQL]
SQLExecLimit = 5000
;clear unowned item data[0:false, 1:true]
ItemClearOnStart=0
DiffBBSConn = 1
SaveQsData=1
BBSDBTimeOut=60
USEBBS=1
[Setting]
country=3
ExceptionMailing=true
MailServer=mail.ncsoft.co.kr

PC3 l2server.ini
[CacheD]
address="10.1.2.222"
port=2006
[AuthD]
address="10.1.2.250"
port=2104
[LogD]
address="10.1.2.250"
port=3999
[World]
WorldId=3
UserLimit=100
;LetBuilder=1

[PetitionD]
address="1xx.xx.xx.xx5"
port=2107
WorldName="publish03"
;world name must be exact 9 characters.
[Report]
Interval=60 ;minute
[Setting]
country=3
UserPathFind=true
WorldCollision=false
ExceptionMailing=true
MailServer=mail.ncsoft.co.kr
AcceptLowerProtocol=true
IOBufferCount=1500
;limit hour for week, (number means hour. 0 means don't use. default is 0)
playtimelimit=0
reconnectauth=1
;use auth reconn (1:use, 0:don't. default is 0)

PC3 l2npc.ini
[CacheD]
address="10.1.2.222"
port=2008

[server]
address="10.1.2.222"
port=2002

[db]
address="10.1.2.250"
port=2005
user="gamma"
password="gemini042158!@#$"
[map]
directory="map"

[LogD]
address="10.1.2.250"
port=3999

[World]
WorldId=3

[Setting]
country=3
ExceptionMailing=false
MailServer=ncs-mail.ncsoft.co.kr

PC1 - authd
PacketSizeType = 3
ReadLocalServerList=false
OneTimeLogOut=true
CountryCode=2
DevConnectOuter=true
DevServerIP="10.1.2.250"
SocketTimeOut = 60
;SocketLimit绰
SocketLimit=5000
AcceptCallNum=1
;UseOneIOCom=true
UseOneIOCom=false
AcceptThread=1
WaitingUserLimit=1000
dumppacket=true
UserData=false
UseLogD=true
logdip="10.1.2.250"
logdport=3999
logdconnectinterval=120
Digital is offline  
Old 29.04.2005, 18:02   #19
Digital
Архивный участник
 
Join Date: Nov 2004
Posts: 1,405
Default

ok... found the problem



when u first run ur PC3 cached.exe
u'll have to change
C:\Program Files\Common Files\ODBC\Data Sources\lin2world
to
C:\Program Files\Common Files\ODBC\Data Sources\lin2world000
and this will ensure lin2world2 works!!!

so when u run cache2, etc on PC3 just make sure it connects to lin2world2!

Digital is offline  
Old 29.04.2005, 18:22   #20
Livid
Архивный участник
 
Join Date: Apr 2005
Posts: 314
Default

Oh, crap...
Ok, what do I have.
PC1 10.0.4.67
authd & SQL.
lin2db.server:
1 publish01 10.0.4.2 10.0.4.2 0 1 1 7777
2 publish02 10.0.4.3 10.0.4.3 0 1 1 7777
I did not start any servers, cacheDs, etcetc. Only authD.
And here is what I get.
(1280x1024 JPEG 171K)
Livid is offline  
Old 29.04.2005, 19:14   #21
Digital
Архивный участник
 
Join Date: Nov 2004
Posts: 1,405
Default

that's odd...
if it works correctly, authd would show 2 interactive server connected.
i wonder what went wrong for ya tho O_o

P.S ok... i think i know what went wrong for ya
u change lin2world to lin2world000 DSN on PC1/2 did ya? well u shouldnt
this only has to be done for PC3
Digital is offline  
Old 30.04.2005, 08:03   #22
Michelle
Архивный участник
 
Join Date: Apr 2005
Posts: 30
Default

Quote:
Originally Posted by BoTGoD
You must have 2 Different CacheD running and add a new DB lin2world2

So setup must be like this

PC1: LogD, AuthD, SQL (IE:Outter_IP=(WANIP) Inner_IP=1xx.xx8.0.1)
PC2: L2Server.exe, L2NPC.exe, CacheD.exe (IE: LAN_IP=1xx.xx8.0.2)
PC3: L2Server.exe, L2NPC.exe, CacheD.exe (IE: LAN_IP=1xx.xx8.0.3)

PC1:
LogD.ini
[LogD]
address=1xx.xx8.0.1
port=3999
sendable=true

[LogTable]
Daily=1
BCPFolder=1

[Start]
BCPInt=600000
ServerInt=60000
AutoBCP=1

[World]
WorldId=1

[SQL]
SQLExecLimit=5000
PollingInterval=6000
BCPThreadCount=2


etc\config.txt
serverPort=2104
serverExPort=2106
serverIntPort=2108
worldport=7777
DBConnectionNum=10
encrypt=true
numServerThread=2
numServerExThread=2
numServerIntThread=2
logDirectory="log"
ProtocolVersion=30810
GameID=8
DesApply=false
PacketSizeType=3
ReadLocalServerList=false <- Put this False or you will have SQL error.
OneTimeLogOut=true
CountryCode=2
DevConnectOuter=true
DevServerIP="WAN IP" = Your WAN IP of PC1
SocketTimeOut=400
SocketLimit=5000
AcceptCallNum=1
UseOneIOCom=true
AcceptThread=1
WaitingUserLimit=100
dumppacket=false
UserData=false
UseLogD=false
logdip="1xx.xx8.0.1" PC1 LAN IP
logdport=3999
logdconnectinterval=120
SupportReconnect=true
AutokickAccount=true
NewEncrypt=false

In SQL -> lin2db -> Server
ID:1, Name:Lineage2, ip:PC2 WAN IP, inner_ip:1xx.xx8.0.2, agelimit: 0, pk_flag: 1, kind: 0, port: 7777
ID:2, Name:Lineage3, ip:PC3 WAN IP, inner_ip:1xx.xx8.0.3, agelimit: 0, pk_flag: 1, kind: 0, port: 7777

PC2:
L2Server.ini
[CacheD]
address="1xx.xx8.0.2" = PC2 LAN IP
port=2006

[AuthD]
address="1xx.xx8.0.1" = PC1 LAN IP
port=2104

[LogD]
address="1xx.xx8.0.1" = PC1 LAN IP
port=3999

[World]
WorldId=1
UserLimit=2500
LetBuilder=1

[Report]
Interval=60

[Setting]
Country=1
UserPathFind=true
WorldCollision=false
ExceptionMailing=false
MailServer=mail.com
AcceptLowerProtocol=true
IOBufferCount=6000
playtimelimit=0
reconnectauth=1

L2NPC.ini
[CacheD]
address="1xx.xx8.0.2" = PC2 LAN IP
port=2008

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

[LogD]
address="1xx.xx8.0.1" = PC1 LAN IP
port=3999

[map]
directory="map"

[World]
WorldId=1

[db]
address="1xx.xx8.0.1" = PC1 LAN IP
port=2005
user="sa"
password="password"

[Setting]
Country=1
ExceptionMailing=false
MailServer=mail.com


CacheD.ini
[Setting]
Country=1
ExceptionMailing=false
MailServer=mail.com

[Logd]
address="1xx.xx8.0.1" = PC1 LAN IP
port=3999

[World]
WorldId=1
Pair=0

[ItemAudit]
DefaultPriceLimit=100000000
DefaultPriceCheck=50000000
ChgRatioLimit=30
AdenaLimit=100000000
AdenaCheck=50000000
AdenaChgRatioLimit=30

[SQL]
SQLExecLimit=5000
ItemClearOnStart=1
DiffBBSConn=0
SaveQsData=0
BBSDBTimeOut=0
USEBBS=0



PC3
L2Server.ini
[CacheD]
address="1xx.xx8.0.3" = PC3 LAN IP
port=2006

[AuthD]
address="1xx.xx8.0.1" = PC1 LAN IP
port=2104

[LogD]
address="1xx.xx8.0.1" = PC1 LAN IP
port=3999

[World]
WorldId=1
UserLimit=2500
LetBuilder=1

[Report]
Interval=60

[Setting]
Country=1
UserPathFind=true
WorldCollision=false
ExceptionMailing=false
MailServer=mail.com
AcceptLowerProtocol=true
IOBufferCount=6000
playtimelimit=0
reconnectauth=1

L2NPC.ini
[CacheD]
address="1xx.xx8.0.3" = PC3 LAN IP
port=2008

[server]
address="1xx.xx8.0.3" = PC3 LAN IP
port=2002

[LogD]
address="1xx.xx8.0.1" = PC1 LAN IP
port=3999

[map]
directory="map"

[World]
WorldId=1

[db]
address="1xx.xx8.0.1" = PC1 LAN IP
port=2005
user="sa"
password="password"

[Setting]
Country=1
ExceptionMailing=false
MailServer=mail.com


CacheD.ini
[Setting]
Country=1
ExceptionMailing=false
MailServer=mail.com

[Logd]
address="1xx.xx8.0.1" = PC1 LAN IP
port=3999

[World]
WorldId=1
Pair=0

[ItemAudit]
DefaultPriceLimit=100000000
DefaultPriceCheck=50000000
ChgRatioLimit=30
AdenaLimit=100000000
AdenaCheck=50000000
AdenaChgRatioLimit=30

[SQL]
SQLExecLimit=5000
ItemClearOnStart=1
DiffBBSConn=0
SaveQsData=0
BBSDBTimeOut=0
USEBBS=0



Once you got this setup like this, everything should be ok
This is ur wrong :
Quote:
WorldId=1
( In PC2 )
I never tries it yet, but i have some experience with another server.
Michelle is offline  
Old 30.04.2005, 14:37   #23
Livid
Архивный участник
 
Join Date: Apr 2005
Posts: 314
Default

It seems OK on C! authD, so... it IS AuthD. All right, gotta hex it up.
Livid is offline  
Old 30.04.2005, 15:44   #24
Digital
Архивный участник
 
Join Date: Nov 2004
Posts: 1,405
Default

go livid go!
lol... everybody's happiness is on ya.. huhuhu
Digital is offline  
Old 30.04.2005, 18:16   #25
Livid
Архивный участник
 
Join Date: Apr 2005
Posts: 314
Default

Ok... some clues...
00438E11: B003 mov al,003
we see it in 411 authD, but there is no such thing in 311...
Dammit, some1 gimme SoftIce
al contains a little changed value of esp... which is loste somewhere in backcalling... can't trace it without nice debugger I think.
I played w/this value a little, got some interesting results. More than 3 leads to unability to login... Well, 0, 1, 2 also give some funny things... Still searching.
Or I need to get in touch w/ hexing god Well, I will continue my search... Wish me luck
Livid is offline  
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 21:08.