![]() |
|
|
#26 |
|
Архивный участник
Join Date: Apr 2005
Posts: 314
|
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.
|
|
|
|
|
#27 |
|
Архивный участник
Join Date: May 2005
Posts: 368
|
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 :?
|
|
|
|
|
#28 |
|
Архивный участник
Join Date: May 2005
Posts: 368
|
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... |
|
|
|
|
#29 |
|
Архивный участник
Join Date: May 2005
Posts: 105
|
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
|
|
|
|
|
#30 |
|
Архивный участник
Join Date: May 2005
Posts: 368
|
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)
|
|
|
|
|
#31 |
|
Архивный участник
Join Date: May 2005
Posts: 368
|
tx for links Livid, very interessting topics
|
|
|
|
|