From d269b1579565e113dbc708461a7b1452ae327088 Mon Sep 17 00:00:00 2001 From: Kyle Spier-Swenson Date: Mon, 12 Jun 2017 16:24:46 -0700 Subject: [PATCH] Workaround for byond bug causing clients to flood the server with repeated asset cache arrival messages (#28356) --- code/modules/client/client_procs.dm | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/code/modules/client/client_procs.dm b/code/modules/client/client_procs.dm index d3811602ba0..9c4a9a098a2 100644 --- a/code/modules/client/client_procs.dm +++ b/code/modules/client/client_procs.dm @@ -38,6 +38,9 @@ if (job && job <= last_asset_job && !(job in completed_asset_jobs)) completed_asset_jobs += job return + else if (job in completed_asset_jobs) //byond bug ID:2256651 + to_chat(src, "An error has been detected in how your client is receiving resources. Attempting to correct.... (If you keep seeing these messages you might want to close byond and reconnect)") + src << browse("...", "window=asset_cache_browser") if (!holder && config.minutetopiclimit) var/minute = round(world.time, 600) @@ -648,4 +651,4 @@ GLOBAL_LIST(external_rsc_urls) /client/proc/AnnouncePR(announcement) if(prefs && prefs.chat_toggles & CHAT_PULLR) - to_chat(src, announcement) \ No newline at end of file + to_chat(src, announcement)