Adds client byond version to feedback. (#39061)

* Adds client byond version to feedback.

* Duh

* i need more sleep
This commit is contained in:
AnturK
2018-07-12 09:27:25 +02:00
committed by Jordie
parent 56751a57d5
commit f19611ff77
3 changed files with 16 additions and 3 deletions
+5 -1
View File
@@ -210,7 +210,9 @@ GLOBAL_LIST_EMPTY(external_rsc_urls)
if(fexists(roundend_report_file()))
verbs += /client/proc/show_previous_roundend_report
log_access("Login: [key_name(src)] from [address ? address : "localhost"]-[computer_id] || BYOND v[byond_version].[byond_build ? byond_build : "xxx"]")
var/full_version = "[byond_version].[byond_build ? byond_build : "xxx"]"
log_access("Login: [key_name(src)] from [address ? address : "localhost"]-[computer_id] || BYOND v[full_version]")
var/alert_mob_dupe_login = FALSE
if(CONFIG_GET(flag/log_access))
for(var/I in GLOB.clients)
@@ -236,8 +238,10 @@ GLOBAL_LIST_EMPTY(external_rsc_urls)
if(GLOB.player_details[ckey])
player_details = GLOB.player_details[ckey]
player_details.byond_version = full_version
else
player_details = new
player_details.byond_version = full_version
GLOB.player_details[ckey] = player_details
+1
View File
@@ -1,3 +1,4 @@
/datum/player_details
var/list/player_actions = list()
var/list/logging = list(INDIVIDUAL_ATTACK_LOG, INDIVIDUAL_SAY_LOG, INDIVIDUAL_EMOTE_LOG, INDIVIDUAL_OOC_LOG)
var/byond_version = "Unknown"