Skip to content

Commit

Permalink
Run ingame server in a separate process
Browse files Browse the repository at this point in the history
  • Loading branch information
botder committed Jan 27, 2024
1 parent 693eb67 commit 4d37b6b
Show file tree
Hide file tree
Showing 12 changed files with 273 additions and 323 deletions.
6 changes: 3 additions & 3 deletions Client/mods/deathmatch/logic/CClientGame.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -752,7 +752,7 @@ bool CClientGame::StartLocalGame(eServerType Type, const char* szPassword)
{
m_bWaitingForLocalConnect = true;
m_bErrorStartingLocal = true;
g_pCore->ShowMessageBox(_("Error") + _E("CD04"), _("The server is not installed"), MB_ICON_ERROR | MB_BUTTON_OK);
g_pCore->ShowMessageBox(_("Error") + _E("CD60"), _("Could not start the local server. See console for details."), MB_BUTTON_OK | MB_ICON_ERROR);
g_pCore->GetModManager()->RequestUnload();
return false;
}
Expand Down Expand Up @@ -1122,8 +1122,8 @@ void CClientGame::DoPulses()
// Call debug code if debug mode
m_Foo.DoPulse();

// Output stuff from our internal server eventually
m_Server.DoPulse();
// Output stuff from our server eventually
m_Server.Pulse();

if (m_pManager->IsGameLoaded() && m_Status == CClientGame::STATUS_JOINED && GetTickCount64_() - m_llLastTransgressionTime > 60000)
{
Expand Down
1 change: 1 addition & 0 deletions Client/mods/deathmatch/logic/CDynamicLibrary.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
*****************************************************************************/

#include <StdInc.h>
#include "CDynamicLibrary.h"

CDynamicLibrary::CDynamicLibrary()
{
Expand Down
Loading

0 comments on commit 4d37b6b

Please sign in to comment.