Post Pacific  

Go Back   Post Pacific > Lineage 2 > Lineage 2 Help

Notices

 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
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  
 

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 00:56.