Post Pacific

Post Pacific (https://postpacific.mmorpg-game.online/index.php)
-   Lineage 2 Help (https://postpacific.mmorpg-game.online/forumdisplay.php?f=37)
-   -   Connection problem (https://postpacific.mmorpg-game.online/showthread.php?t=146)

Livid 10.06.2005 21:03

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.

krapno 10.06.2005 21:18

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 11.06.2005 14:11

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
http://biohazardl2.xlteam.net/files/...ocal_login.jpg

Trying to join 1st server in list (wan ip in server table, lin2db)
http://biohazardl2.xlteam.net/files/...l_server_1.jpg

Trying to join 2nd server in list (127.0.0.1 ip in server table, lin2db)
http://biohazardl2.xlteam.net/files/...l_server_2.jpg

Any client in game from outside (wan ip in server table, lin2db)
http://biohazardl2.xlteam.net/files/...n_client_1.jpg

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

Screenshots from Active Ports 1.4
Login success
http://biohazardl2.xlteam.net/files/5_iniwifi_login.jpg

Trying to join 1st server in list (wan ip in server table, lin2db)
http://biohazardl2.xlteam.net/files/...i_server_1.jpg

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...

nemeek 11.06.2005 15:24

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


:)

krapno 11.06.2005 18:10

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 11.06.2005 21:02

tx for links Livid, very interessting topics :)


All times are GMT. The time now is 15:43.