Adds client skin and topic for asset cache.

This commit is contained in:
MrStonedOne
2015-11-24 23:31:44 -08:00
parent c784ca902e
commit 4ffb421bb7
2 changed files with 34 additions and 1 deletions
+8 -1
View File
@@ -22,7 +22,11 @@
/client/Topic(href, href_list, hsrc)
if(!usr || usr != mob) //stops us calling Topic for somebody else's client. Also helps prevent usr=null
return
if(href_list["asset_cache_confirm_arrival"])
src << "ASSET JOB [href_list["asset_cache_confirm_arrival"]] ARRIVED."
var/job = text2num(href_list["asset_cache_confirm_arrival"])
completed_asset_jobs += job
return
//Admin PM
if(href_list["priv_msg"])
if (href_list["ahelp_reply"])
@@ -206,6 +210,9 @@ var/next_external_rsc = 0
if (config && config.autoconvert_notes)
convert_notes_sql(ckey)
if(!winexists(src, "asset_cache_browser")) // The client is using a custom skin, tell them.
src << "<span class='warning'>Unable to access asset cache browser, if you are using a custom skin file, please allow DS to download the updated version, if you are not, then make a bug report. This is not a critical issue but can cause issues with resource downloading, as it is impossible to know when extra resources arrived to you.</span>"
//This is down here because of the browse() calls in tooltip/New()
if(!tooltips)