From 0054048e5ec1f2976d8b8fa404d5b86e4dd31b32 Mon Sep 17 00:00:00 2001 From: Selis Date: Thu, 7 Dec 2023 20:48:08 +0100 Subject: [PATCH] Implement https --- code/game/world.dm | 2 +- code/modules/client/client procs.dm | 6 +++--- code/modules/client/client procs_vr.dm | 6 +++--- code/modules/mob/new_player/login.dm | 2 +- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/code/game/world.dm b/code/game/world.dm index a6cbb733856..254621afa98 100644 --- a/code/game/world.dm +++ b/code/game/world.dm @@ -507,7 +507,7 @@ var/world_topic_spam_protect_time = world.timeofday s += "[station_name()]"; s += " (" - s += "" //Change this to wherever you want the hub to link to. + s += "" //Change this to wherever you want the hub to link to. // s += "[game_version]" s += "Default" //Replace this with something else. Or ever better, delete it and uncomment the game version. s += "" diff --git a/code/modules/client/client procs.dm b/code/modules/client/client procs.dm index ed652ad8ea4..ff1c186eaac 100644 --- a/code/modules/client/client procs.dm +++ b/code/modules/client/client procs.dm @@ -168,7 +168,7 @@ return null if(!config.guests_allowed && IsGuestKey(key)) - alert(src,"This server doesn't allow guest accounts to play. Please go to http://www.byond.com/ and register for a key.","Guest") // Not tgui_alert + alert(src,"This server doesn't allow guest accounts to play. Please go to https://www.byond.com/ and register for a key.","Guest") // Not tgui_alert del(src) return @@ -467,7 +467,7 @@ prefs.ShowChoices(usr) /client/proc/findJoinDate() - var/list/http = world.Export("http://byond.com/members/[ckey]?format=text") + var/list/http = world.Export("https://byond.com/members/[ckey]?format=text") if(!http) log_world("Failed to connect to byond age check for [ckey]") return @@ -511,7 +511,7 @@ //You're welcome to replace this proc with your own that does your own cool stuff. //Just set the client's ip_reputation var and make sure it makes sense with your config settings (higher numbers are worse results) /client/proc/update_ip_reputation() - var/request = "http://check.getipintel.net/check.php?ip=[address]&contact=[config.ipr_email]" + var/request = "https://check.getipintel.net/check.php?ip=[address]&contact=[config.ipr_email]" var/http[] = world.Export(request) /* Debug diff --git a/code/modules/client/client procs_vr.dm b/code/modules/client/client procs_vr.dm index 830521f20dc..7cea3d57769 100644 --- a/code/modules/client/client procs_vr.dm +++ b/code/modules/client/client procs_vr.dm @@ -20,7 +20,7 @@ if(!config.ipr_email) return -1 - var/request = "http://check.getipintel.net/check.php?ip=[address]&contact=[config.ipr_email]" + var/request = "https://check.getipintel.net/check.php?ip=[address]&contact=[config.ipr_email]" var/http[] = world.Export(request) if(!http || !islist(http)) //If we couldn't check, the service might be down, fail-safe. @@ -74,7 +74,7 @@ if(!config.ipqualityscore_apikey) return -1 - var/request = "http://www.ipqualityscore.com/api/json/ip/[config.ipqualityscore_apikey]/[address]?strictness=1&fast=true&byond_key=[key]" + var/request = "https://www.ipqualityscore.com/api/json/ip/[config.ipqualityscore_apikey]/[address]?strictness=1&fast=true&byond_key=[key]" var/http[] = world.Export(request) if(!http || !islist(http)) //If we couldn't check, the service might be down, fail-safe. @@ -97,4 +97,4 @@ else score = response["fraud_score"] - return score/100 //To normalize with the 0.0 to 1.0 scores. \ No newline at end of file + return score/100 //To normalize with the 0.0 to 1.0 scores. diff --git a/code/modules/mob/new_player/login.dm b/code/modules/mob/new_player/login.dm index 1fe31e965d9..d2be34e921d 100644 --- a/code/modules/mob/new_player/login.dm +++ b/code/modules/mob/new_player/login.dm @@ -86,7 +86,7 @@ var/obj/effect/lobby_image = new /obj/effect/lobby_image tgui_alert_async(src, message, "BYOND Client Version Warning") // So we can be more wordy and give links. - to_chat(src, "Your client version has known issues. Please consider using a different version: http://www.byond.com/download/build/.") + to_chat(src, "Your client version has known issues. Please consider using a different version: https://www.byond.com/download/build/.") var/chat_message = "" if(config.suggested_byond_version) chat_message += "We suggest using version [config.suggested_byond_version]."