Post Pacific  

Go Back   Post Pacific > Lineage 2 > Lineage 2 Help
FAQ Community Calendar Today's Posts Search

Notices

 
 
Thread Tools Search this Thread Display Modes
Old 10.06.2005, 21:03   #26
Livid
Архивный участник
 
Join Date: Apr 2005
Posts: 314
Default

To the last post: seems like common multi-server issue. See "detail to run two servers" or something like that. It should be on top of page two in "mods only" section.
Livid is offline  
Old 10.06.2005, 21:18   #27
krapno
Архивный участник
 
Join Date: May 2005
Posts: 368
Default

euh ... i run only 1 server on 1 computer, so i read post about multi-server but there is no answer to our actual problem, i am going to test some more routing settings... ty :?
krapno is offline  
Old 11.06.2005, 14:11   #28
krapno
Архивный участник
 
Join Date: May 2005
Posts: 368
Default

Then, looking at any solution i tried to discover source of our connection problem, si made a localhost_ini and looked at ports requests, i had this:

l2.ini
...
Port=7777
Class=LineageWarrior.MFighter
ServerAddr=127.0.0.1
...

Screenshots from Active Ports 1.4
Login success


Trying to join 1st server in list (wan ip in server table, lin2db)


Trying to join 2nd server in list (127.0.0.1 ip in server table, lin2db)


Any client in game from outside (wan ip in server table, lin2db)


l2.ini
...
Port=7777
Class=LineageWarrior.MFighter
ServerAddr=1xx.xx8.3.10
...

Screenshots from Active Ports 1.4
Login success


Trying to join 1st server in list (wan ip in server table, lin2db)


We can see in the 1st case (using 127.0.0.1 in l2.ini), my remote ip is 127.0.0.1, and in the 2nd case (using 1xx.xx8.3.10 in l2.ini), my remote ip is my wan ip 217.XXX.XXX.XXX :idea:

Dunno if it can help anyone to find a solution... :roll: ... i wish...
krapno is offline  
Old 11.06.2005, 15:24   #29
nemeek
Архивный участник
 
Join Date: May 2005
Posts: 105
Default

solution: (WoW)

Up the server with lan ip in the lin2db, enter the game.

Now, change the lan ip for wan ip in lin2db (with server on)

Unload C2auth and reload C2auth.

Remote players in game and you too


nemeek is offline  
Old 11.06.2005, 18:10   #30
krapno
Архивный участник
 
Join Date: May 2005
Posts: 368
Default

Tx a lot, it works, its a nice solution:

1) Set LAN IP for Server in lin2db
2) Start Server
3) Enter the game

4) Set WAN IP for Server in lin2db (With Server ON)
5) Unload C2auth
6) Reload C2auth

I made some *.vbs scripts to update IP in lin2db table:

SET_LAN_IP.vbs
Code:
SERVERIP = "127.0.0.1"

ms_sql_server_host_addr = "127.0.0.1"
sql_server_username = "your_sql_login"
sql_server_password = "your_sql_password"
lin2db = "lin2db"

set lin2db_conn = CreateObject("ADODB.CONNECTION")
lin2db_conn.open "driver={SQL Server};server="&ms_sql_server_host_addr&"; uid="&sql_server_username&";pwd="&sql_server_password&";database="&lin2db

sql = "update [server] set [IP] = '" & SERVERIP & "' WHERE [id] = 1"
set rs = lin2db_conn.Execute(SQL)

msgbox("IP : " & SERVERIP)
krapno is offline  
Old 11.06.2005, 21:02   #31
krapno
Архивный участник
 
Join Date: May 2005
Posts: 368
Default

tx for links Livid, very interessting topics
krapno 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 23:39.