A healthy addition of debug verbs (#21843)

* A healthy addition of debug verbs

* Forgot some stuff

* SEANNNNNNNNNNN
This commit is contained in:
AffectedArc07
2023-07-29 08:58:22 +01:00
committed by GitHub
parent ed08e46fea
commit 7340fb0a65
4 changed files with 60 additions and 0 deletions
+2
View File
@@ -285,12 +285,14 @@ GLOBAL_LIST_INIT(admin_verbs_maintainer, list(
if(holder.rights & R_MAINTAINER)
verbs += GLOB.admin_verbs_maintainer
if(holder.rights & R_VIEWRUNTIMES)
// TODO - Make a viewruntimes list at this point - its getting silly
verbs += /client/proc/view_runtimes
verbs += /client/proc/cmd_display_del_log
verbs += /client/proc/cmd_display_del_log_simple
verbs += /client/proc/toggledebuglogs
verbs += /client/proc/debug_variables /*allows us to -see- the variables of any instance in the game. +VAREDIT needed to modify*/
verbs += /client/proc/ss_breakdown
verbs += /client/proc/show_gc_queues
spawn(1) // This setting exposes the profiler for people with R_VIEWRUNTIMES. They must still have it set in cfg/admin.txt
control_freak = 0