mirror of
https://git.do.srb2.org/KartKrew/Kart-Public.git
synced 2024-12-25 03:41:02 +00:00
Change all prints with master server to server browser
This commit is contained in:
parent
c93d259b77
commit
44e66bf459
2 changed files with 8 additions and 8 deletions
|
@ -74,7 +74,7 @@ static void
|
||||||
Contact_error (void)
|
Contact_error (void)
|
||||||
{
|
{
|
||||||
CONS_Alert(CONS_ERROR,
|
CONS_Alert(CONS_ERROR,
|
||||||
"There was a problem contacting the master server...\n"
|
"There was a problem contacting the server browser...\n"
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -243,7 +243,7 @@ HMS_do (struct HMS_buffer *buffer)
|
||||||
|
|
||||||
Contact_error();
|
Contact_error();
|
||||||
Blame(
|
Blame(
|
||||||
"Master server error %ld: %s%s\n",
|
"Server browser error %ld: %s%s\n",
|
||||||
status,
|
status,
|
||||||
buffer->buffer,
|
buffer->buffer,
|
||||||
( (p) ? "" : " (malformed)" )
|
( (p) ? "" : " (malformed)" )
|
||||||
|
@ -535,6 +535,6 @@ MasterServer_Debug_OnChange (void)
|
||||||
#ifdef MASTERSERVER
|
#ifdef MASTERSERVER
|
||||||
/* TODO: change to 'latest-log.txt' for log files revision. */
|
/* TODO: change to 'latest-log.txt' for log files revision. */
|
||||||
if (cv_masterserver_debug.value)
|
if (cv_masterserver_debug.value)
|
||||||
CONS_Printf("Master server debug messages will appear in log.txt\n");
|
CONS_Printf("Server browser debug messages will appear in log.txt\n");
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
10
src/mserv.c
10
src/mserv.c
|
@ -114,7 +114,7 @@ static void WarnGUI (void)
|
||||||
#ifdef HAVE_THREADS
|
#ifdef HAVE_THREADS
|
||||||
I_lock_mutex(&m_menu_mutex);
|
I_lock_mutex(&m_menu_mutex);
|
||||||
#endif
|
#endif
|
||||||
M_StartMessage(M_GetText("There was a problem connecting to\nthe Master Server\n\nCheck the console for details.\n"), NULL, MM_NOTHING);
|
M_StartMessage(M_GetText("There was a problem connecting to\nthe server browser\n\nCheck the console for details.\n"), NULL, MM_NOTHING);
|
||||||
#ifdef HAVE_THREADS
|
#ifdef HAVE_THREADS
|
||||||
I_unlock_mutex(m_menu_mutex);
|
I_unlock_mutex(m_menu_mutex);
|
||||||
#endif
|
#endif
|
||||||
|
@ -191,7 +191,7 @@ Finish_registration (void)
|
||||||
{
|
{
|
||||||
int registered;
|
int registered;
|
||||||
|
|
||||||
CONS_Printf("Registering this server on the master server...\n");
|
CONS_Printf("Registering this server on the server browser...\n");
|
||||||
|
|
||||||
registered = HMS_register();
|
registered = HMS_register();
|
||||||
|
|
||||||
|
@ -205,7 +205,7 @@ Finish_registration (void)
|
||||||
Unlock_state();
|
Unlock_state();
|
||||||
|
|
||||||
if (registered)
|
if (registered)
|
||||||
CONS_Printf("Master server registration successful.\n");
|
CONS_Printf("Server browser registration successful.\n");
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
|
@ -232,7 +232,7 @@ Finish_update (void)
|
||||||
}
|
}
|
||||||
Unlock_state();
|
Unlock_state();
|
||||||
|
|
||||||
CONS_Printf("Updated master server listing.\n");
|
CONS_Printf("Updated server browser listing.\n");
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
Finish_registration();
|
Finish_registration();
|
||||||
|
@ -273,7 +273,7 @@ Finish_unlist (void)
|
||||||
|
|
||||||
if (registered)
|
if (registered)
|
||||||
{
|
{
|
||||||
CONS_Printf("Removing this server from the master server...\n");
|
CONS_Printf("Removing this server from the server browser...\n");
|
||||||
|
|
||||||
if (HMS_unlist())
|
if (HMS_unlist())
|
||||||
CONS_Printf("Server deregistration request successfully sent.\n");
|
CONS_Printf("Server deregistration request successfully sent.\n");
|
||||||
|
|
Loading…
Reference in a new issue