Updated link

This commit is contained in:
mathusummut
2019-02-14 19:36:35 +01:00
parent d69b75b607
commit 95bf40e591
10 changed files with 46 additions and 79 deletions

View File

@@ -184,7 +184,7 @@ namespace Game {
string getAboutString2(int i) {
switch (i) {
case 0:
return "Website: https://glest.github.io";
return "Website: https://glest.io";
case 1:
return "Discord: https://discord.gg/WaAaXS7";
case 2:

View File

@@ -864,7 +864,7 @@ namespace Game {
|| ftpFileURL == "") {
char szMsg[8096] = "";
snprintf(szMsg, 8096,
"A new update was detected: %s\nUpdate Date: %s\nPlease visit glest.github.io for details!",
"A new update was detected: %s\nUpdate Date: %s\nPlease visit glest.io for details!",
props.getString("LatestGameVersion", "unknown").c_str(),
props.getString("LatestGameVersionReleaseDate", "unknown").c_str());
showFTPMessageBox(szMsg, "Update", false, true);

View File

@@ -2785,12 +2785,12 @@ namespace Shared {
//int r = 0;
#ifndef MINIUPNPC_VERSION_PRE1_5
#ifndef MINIUPNPC_VERSION_PRE1_6
int r = UPNP_AddPortMapping(urls.controlURL, data.first.servicetype, ext_port_str, int_port_str, lanaddr, "Glest - glest.github.io", "TCP", 0, NULL);
int r = UPNP_AddPortMapping(urls.controlURL, data.first.servicetype, ext_port_str, int_port_str, lanaddr, "Glest", "TCP", 0, NULL);
#else
int r = UPNP_AddPortMapping(urls.controlURL, data.first.servicetype, ext_port_str, int_port_str, lanaddr, "Glest - glest.github.io", "TCP", 0);
int r = UPNP_AddPortMapping(urls.controlURL, data.first.servicetype, ext_port_str, int_port_str, lanaddr, "Glest", "TCP", 0);
#endif
#else
int r = UPNP_AddPortMapping(urls.controlURL, data.servicetype, ext_port_str, int_port_str, lanaddr, "Glest - glest.github.io", "TCP", 0);
int r = UPNP_AddPortMapping(urls.controlURL, data.servicetype, ext_port_str, int_port_str, lanaddr, "Glest", "TCP", 0);
#endif
if (r != UPNPCOMMAND_SUCCESS) {
if (SystemFlags::getSystemSettingType(SystemFlags::debugNetwork).enabled) SystemFlags::OutputDebug(SystemFlags::debugNetwork, "In [%s::%s Line: %d] AddPortMapping(%s, %s, %s) failed\n", __FILE__, __FUNCTION__, __LINE__, ext_port_str, int_port_str, lanaddr);