Fix the broken connection between client and server, and de database.

This commit is contained in:
Pablo Rigueto 2025-09-29 10:39:40 -03:00
parent d54a70401c
commit 9929269a50
4 changed files with 5 additions and 5 deletions

View File

@ -25,7 +25,7 @@ namespace DiIiS_NA.GameServer.GSSystem.GameSystem
var thread = new GameUpdateThread(); var thread = new GameUpdateThread();
//thread.CPUAffinity = (1UL << coreId); //thread.CPUAffinity = (1UL << coreId);
_updateWorkers.Add(thread); _updateWorkers.Add(thread);
var loopThread = new Thread(thread.Run) { Name = "UpdateWorkerThread", IsBackground = true }; ; // create the game update thread. var loopThread = new Thread(thread.Run) { Name = "UpdateWorkerThread", IsBackground = true };
loopThread.Start(); loopThread.Start();
} }
Logger.Info("Started {0} threads", CPUCount); Logger.Info("Started {0} threads", CPUCount);

View File

@ -13,7 +13,7 @@ Enabled = true
; IP address on which the server will be bound ; IP address on which the server will be bound
BindIP = 127.0.0.1 BindIP = 127.0.0.1
; Port for web interactions ; Port for web interactions
WebPort = 83 WebPort = 9800
; Port for the server ; Port for the server
Port = 1119 Port = 1119
@ -49,7 +49,7 @@ CoreActive = true
; IP address on which the game server will be bound ; IP address on which the game server will be bound
BindIP = 127.0.0.1 BindIP = 127.0.0.1
; Port for web interactions ; Port for web interactions
WebPort = 83 WebPort = 9001
; Port for game server connections ; Port for game server connections
Port = 1345 Port = 1345
; IP address for IPv6 bindings ; IP address for IPv6 bindings

View File

@ -8,7 +8,7 @@
<property name="use_proxy_validator">true</property> <property name="use_proxy_validator">true</property>
<property name="command_timeout">0</property> <property name="command_timeout">0</property>
<property name="connection.connection_string"> <property name="connection.connection_string">
Server=diiis-na-db;Database=diiis;User ID=postgres;Password=postgres Server=localhost;Database=diiis;User ID=postgres;Password=postgres
</property> </property>
<property name="connection.release_mode">on_close</property> <property name="connection.release_mode">on_close</property>
<property name="adonet.batch_size">0</property> <property name="adonet.batch_size">0</property>

View File

@ -7,7 +7,7 @@
<property name="use_proxy_validator">true</property> <property name="use_proxy_validator">true</property>
<property name="command_timeout">0</property> <property name="command_timeout">0</property>
<property name="connection.connection_string"> <property name="connection.connection_string">
Server=diiis-na-db;Database=worlds;User ID=postgres;Password=postgres Server=localhost;Database=worlds;User ID=postgres;Password=postgres
</property> </property>
<property name="connection.release_mode">on_close</property> <property name="connection.release_mode">on_close</property>
<property name="adonet.batch_size">0</property> <property name="adonet.batch_size">0</property>