Dedicated server actually works to some extent
Clients can connect and use chat, the sub list isn't synced properly and there's no way to start a game yet
This commit is contained in:
@@ -119,7 +119,17 @@ namespace Barotrauma.Networking
|
||||
|
||||
config.EnableMessageType(NetIncomingMessageType.ConnectionApproval);
|
||||
|
||||
log = new ServerLog(name);
|
||||
|
||||
InitProjSpecific();
|
||||
|
||||
entityEventManager = new ServerEntityEventManager(this);
|
||||
|
||||
whitelist = new WhiteList();
|
||||
banList = new BanList();
|
||||
|
||||
LoadSettings();
|
||||
LoadClientPermissions();
|
||||
|
||||
CoroutineManager.StartCoroutine(StartServer(isPublic));
|
||||
}
|
||||
@@ -341,7 +351,7 @@ namespace Barotrauma.Networking
|
||||
#endif
|
||||
|
||||
if (!started) return;
|
||||
|
||||
|
||||
base.Update(deltaTime);
|
||||
|
||||
foreach (UnauthenticatedClient unauthClient in unauthenticatedClients)
|
||||
|
||||
Reference in New Issue
Block a user