Post Pacific  

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

Notices

 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old 16.01.2007, 09:21   #8
nizovskiy
Архивный участник
 
Join Date: Dec 2006
Posts: 5
Default

Dual NET---------------------------------------------------------------------
Ничего особенного. Все просто:

в lin2db таблица server

Код
INSERT INTO [server] ([id], [name], [ip], [inner_ip], [ageLimit], [pk_flag], [region], [port], [kind])
VALUES
(1, 'Lineage_2', 'xx.x68.1.1', 'xx.x.0.1', 0, 1, 0, 7777, 0)
GO

INSERT INTO [server] ([id], [name], [ip], [inner_ip], [ageLimit], [pk_flag], [region], [port], [kind])
VALUES
(1, 'Lineage_2', 'xx.xxx.xx.85', 'xx.x.0.1', 0, 1, 0, 7777, 0)
GO

таблица worldstatus

Код
INSERT INTO [worldstatus] ([idx], [server], [status])
VALUES
(1, 'Lineage_2', 1)
GO

INSERT INTO [worldstatus] ([idx], [server], [status])
VALUES
(2, 'Lineage_2', 1)
GO

При старте AuthD, он выставит 0 в поле status обоих миров. Как только стартанет L2Server, AuthD изменит
значение первой строки(status) в worldstatus в 1, вторая строка так и останется с 0, меняй ее на 1 вручную
или скриптом:

USE [lin2db]
UPDATE [worldstatus] SET [status] = 1
go

после старта сервера и будет все нормально заходить, хотя в серверлисте он и будет отображаться
с пингом 9999 и в режиме Down.
nizovskiy 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 18:22.