|
|
|
@@ -124,7 +124,7 @@ GLOBAL_LIST_INIT(blacklisted_builds, list(
|
|
|
|
|
|
|
|
|
|
/client/proc/is_content_unlocked()
|
|
|
|
|
if(!prefs.unlock_content)
|
|
|
|
|
to_chat(src, "Become a BYOND member to access member-perks and features, as well as support the engine that makes this game possible. Only 10 bucks for 3 months! <a href='http://www.byond.com/membership'>Click Here to find out more</a>.")
|
|
|
|
|
to_chat(src, "Become a BYOND member to access member-perks and features, as well as support the engine that makes this game possible. Only 10 bucks for 3 months! <a href=\"https://secure.byond.com/membership\">Click Here to find out more</a>.")
|
|
|
|
|
return 0
|
|
|
|
|
return 1
|
|
|
|
|
|
|
|
|
@@ -267,7 +267,7 @@ GLOBAL_LIST_EMPTY(external_rsc_urls)
|
|
|
|
|
log_access("Failed login: [key] - blacklisted byond version")
|
|
|
|
|
to_chat(src, "<span class='userdanger'>Your version of byond is blacklisted.</span>")
|
|
|
|
|
to_chat(src, "<span class='danger'>Byond build [byond_build] ([byond_version].[byond_build]) has been blacklisted for the following reason: [GLOB.blacklisted_builds[num2text(byond_build)]].</span>")
|
|
|
|
|
to_chat(src, "<span class='danger'>Please download a new version of byond. if [byond_build] is the latest, you can go to http://www.byond.com/download/build/ to download other versions.</span>")
|
|
|
|
|
to_chat(src, "<span class='danger'>Please download a new version of byond. If [byond_build] is the latest, you can go to <a href=\"https://secure.byond.com/download/build\">BYOND's website</a> to download other versions.</span>")
|
|
|
|
|
if(connecting_admin)
|
|
|
|
|
to_chat(src, "As an admin, you are being allowed to continue using this version, but please consider changing byond versions")
|
|
|
|
|
else
|
|
|
|
@@ -290,11 +290,11 @@ GLOBAL_LIST_EMPTY(external_rsc_urls)
|
|
|
|
|
var/cev = CONFIG_GET(number/client_error_version)
|
|
|
|
|
var/cwv = CONFIG_GET(number/client_warn_version)
|
|
|
|
|
if (byond_version < cev) //Out of date client.
|
|
|
|
|
to_chat(src, "<span class='danger'><b>Your version of byond is too old:</b></span>")
|
|
|
|
|
to_chat(src, "<span class='danger'><b>Your version of BYOND is too old:</b></span>")
|
|
|
|
|
to_chat(src, CONFIG_GET(string/client_error_message))
|
|
|
|
|
to_chat(src, "Your version: [byond_version]")
|
|
|
|
|
to_chat(src, "Required version: [cev] or later")
|
|
|
|
|
to_chat(src, "Visit http://www.byond.com/download/ to get the latest version of byond.")
|
|
|
|
|
to_chat(src, "Visit <a href=\"https://secure.byond.com/download\">BYOND's website</a> to get the latest version of BYOND.")
|
|
|
|
|
if (connecting_admin)
|
|
|
|
|
to_chat(src, "Because you are an admin, you are being allowed to walk past this limitation, But it is still STRONGLY suggested you upgrade")
|
|
|
|
|
else
|
|
|
|
@@ -306,14 +306,14 @@ GLOBAL_LIST_EMPTY(external_rsc_urls)
|
|
|
|
|
msg += CONFIG_GET(string/client_warn_message) + "<br><br>"
|
|
|
|
|
msg += "Your version: [byond_version]<br>"
|
|
|
|
|
msg += "Required version to remove this message: [cwv] or later<br>"
|
|
|
|
|
msg += "Visit http://www.byond.com/download/ to get the latest version of byond.<br>"
|
|
|
|
|
msg += "Visit <a href=\"https://secure.byond.com/download\">BYOND's website</a> to get the latest version of BYOND.<br>"
|
|
|
|
|
src << browse(msg, "window=warning_popup")
|
|
|
|
|
else
|
|
|
|
|
to_chat(src, "<span class='danger'><b>Your version of byond may be getting out of date:</b></span>")
|
|
|
|
|
to_chat(src, CONFIG_GET(string/client_warn_message))
|
|
|
|
|
to_chat(src, "Your version: [byond_version]")
|
|
|
|
|
to_chat(src, "Required version to remove this message: [cwv] or later")
|
|
|
|
|
to_chat(src, "Visit http://www.byond.com/download/ to get the latest version of byond.")
|
|
|
|
|
to_chat(src, "Visit <a href=\"https://secure.byond.com/download\">BYOND's website</a> to get the latest version of BYOND.")
|
|
|
|
|
|
|
|
|
|
if (connection == "web" && !connecting_admin)
|
|
|
|
|
if (!CONFIG_GET(flag/allow_webclient))
|
|
|
|
|