Skip to content

Commit

Permalink
Domain Name Update (#359)
Browse files Browse the repository at this point in the history
  • Loading branch information
K-Faktor authored Apr 21, 2022
1 parent 4e64ed7 commit 4d4dc29
Show file tree
Hide file tree
Showing 8 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion README.txt
Original file line number Diff line number Diff line change
Expand Up @@ -61,4 +61,4 @@ zlib is Copyright (C) 1995-1998 Jean-loup Gailly and Mark Adler
CONTACT
=======

https://cod4x.me
https://cod4x.ovh
2 changes: 1 addition & 1 deletion scriptdocumentation/MULTIPLE_SERVERS_TUTORIAL.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,4 +72,4 @@ TODO. Almost the same except 'start' command and .bat script extension.

## Launching servers

That's it. Now you can launch your servers using scripts inside `CoD4X`. You can always check your servers' visibility on http://cod4master.cod4x.me.
That's it. Now you can launch your servers using scripts inside `CoD4X`. You can always check your servers' visibility on http://cod4master.cod4x.ovh.
2 changes: 1 addition & 1 deletion src/common.c
Original file line number Diff line number Diff line change
Expand Up @@ -740,7 +740,7 @@ void Com_Init(char* commandLine){

Com_StartupVariable(NULL);

Cvar_RegisterString ("_CoD4 X Site", "http://cod4x.me", CVAR_ROM | CVAR_SERVERINFO , "");
Cvar_RegisterString ("_CoD4 X Site", "http://cod4x.ovh", CVAR_ROM | CVAR_SERVERINFO , "");

cvar_modifiedFlags &= ~CVAR_ARCHIVE;

Expand Down
2 changes: 1 addition & 1 deletion src/httpftp.c
Original file line number Diff line number Diff line change
Expand Up @@ -1390,7 +1390,7 @@ static ftRequest_t* FTP_DLRequest(const char* url)
if(user[0] == '\0' && passwd[0] == '\0')
{
Q_strncpyz(request->username, "anonymous", sizeof(request->username));
Q_strncpyz(request->password, "cod4x@cod4x.me", sizeof(request->password));
Q_strncpyz(request->password, "cod4x@cod4x.ovh", sizeof(request->password));
}else{
Q_strncpyz(request->username, user, sizeof(request->username));
Q_strncpyz(request->password, passwd, sizeof(request->password));
Expand Down
2 changes: 1 addition & 1 deletion src/sec_sign.c
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ qboolean Sec_WriteCertificateToFile(sec_certificate_t *certificate, char *filena
if(fp == NULL){
return qfalse;
}
fputs("Signature File. Visit us at www.cod4x.me!",fp);
fputs("Signature File. Visit us at www.cod4x.ovh!",fp);
fputc(0,fp);
cert = certificate;
do{
Expand Down
2 changes: 1 addition & 1 deletion src/sec_update.h
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,6 @@ typedef struct sec_file_s{
#define SEC_UPDATE_DOWNLOAD(baseurl, qpath) "%s%s", baseurl, qpath
#define SEC_UPDATE_GETVERSION "/?ver=%g&os=%s&build=%d&type=%c", SEC_VERSION, OS_STRING, Sys_GetBuild(), SEC_TYPE

#define UPDATE_SERVER_NAME "http://cod4update.cod4x.me/svupdate/"
#define UPDATE_SERVER_NAME "http://cod4update.cod4x.ovh/svupdate/"

#endif
4 changes: 2 additions & 2 deletions src/sv_client.c
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,7 @@ __optimize3 __regparm1 void SV_DirectConnect( netadr_t *from ) {
if(version < 9)
{
NET_OutOfBandPrint( NS_SERVER, from, "error\nThis server requires protocol version: %d\n"
"Please install the unofficial CoD4X-update you can find at http://cod4x.me\n",
"Please install the unofficial CoD4X-update you can find at http://cod4x.ovh\n",
sv_protocol->integer);
}else{
#ifdef BETA_RELEASE
Expand Down Expand Up @@ -518,7 +518,7 @@ __optimize3 __regparm1 void SV_DirectConnect( netadr_t *from ) {
}
if(svs.time - newcl->updateBeginTime > 18000)
{
NET_OutOfBandPrint( NS_SERVER, from, "error\n%s\n", "Can not connect to server because the update backend is unavailable\nTo join this server you have to install the required update manually.\nPlease visit www.cod4x.me/clupdate");
NET_OutOfBandPrint( NS_SERVER, from, "error\n%s\n", "Can not connect to server because the update backend is unavailable\nTo join this server you have to install the required update manually.\nPlease visit www.cod4x.ovh/clupdate");
Com_Printf(CON_CHANNEL_SERVER,"Rejected client %s because updatebackend is unavailable\n", nick);
SV_FreeClientScriptId(newcl);
Com_Memset(newcl, 0, sizeof(client_t));
Expand Down
4 changes: 2 additions & 2 deletions src/sv_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -1544,7 +1544,7 @@ __optimize3 __regparm2 static void SVC_RemoteCommand( netadr_t *from, msg_t *msg
}

#ifdef COD4X18UPDATE
#define UPDATE_PROXYSERVER_NAME "cod4update.cod4x.me"
#define UPDATE_PROXYSERVER_NAME "cod4update.cod4x.ovh"
#define UPDATE_PROXYSERVER_PORT_RELEASE 27953
#define UPDATE_PROXYSERVER_PORT_BETA 27954
#define UPDATE_PROXYSERVER_PORT_RC 27955
Expand Down Expand Up @@ -3117,7 +3117,7 @@ void SV_InitCvarsOnce(void){
sv_shownet = Cvar_RegisterInt("sv_shownet", -1, -1, 63, 0, "Enable network debugging for a client");
sv_updatebackendname = Cvar_RegisterString("sv_updatebackendname", UPDATE_PROXYSERVER_NAME, CVAR_ARCHIVE, "Hostname for the used clientupdatebackend");
sv_legacymode = Cvar_RegisterBool("sv_legacyguidmode", qfalse, CVAR_ARCHIVE, "outputs pbguid on status command and games_mp.log");
sv_authtoken = Cvar_RegisterString("sv_authtoken", "", 0, "Token to register on masterserver. You can get it from http://cod4master.cod4x.me");
sv_authtoken = Cvar_RegisterString("sv_authtoken", "", 0, "Token to register on masterserver. You can get it from http://cod4master.cod4x.ovh");
sv_disableChat = Cvar_RegisterBool("sv_disablechat", qfalse, CVAR_ARCHIVE, "Disable chat messages from clients");
}

Expand Down

0 comments on commit 4d4dc29

Please sign in to comment.