-
Notifications
You must be signed in to change notification settings - Fork 241
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Check Players adminverb + other admin verb fixes #4030
Conversation
Check Players adminverb to quickly and precisely check how many connected clients of several categories: Connected Clients, Living Players, Dead Players, Ghost Players, Living Antags.
monkestation/code/modules/veth_misc_items/admin_fixes/check_players.dm
Outdated
Show resolved
Hide resolved
monkestation/code/modules/veth_misc_items/admin_fixes/check_players.dm
Outdated
Show resolved
Hide resolved
monkestation/code/modules/veth_misc_items/admin_fixes/check_players.dm
Outdated
Show resolved
Hide resolved
monkestation/code/modules/veth_misc_items/admin_fixes/check_players.dm
Outdated
Show resolved
Hide resolved
monkestation/code/modules/veth_misc_items/admin_fixes/check_players.dm
Outdated
Show resolved
Hide resolved
@@ -4,7 +4,7 @@ | |||
set desc = "You can modifiy a targets metacoin balance by adding or subtracting." | |||
|
|||
var/mob/chosen_player | |||
chosen_player = tgui_input_list(src, "Choose a Player", "Player List", GLOB.player_list) | |||
chosen_player = tgui_input_list(src, "Choose a Player", "Player List", GLOB.clients) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
you won't get a mob from GLOB.clients - you'll get a, well, client.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@Veth-s not resolved
I don't think I can check adjust_metacoins properly (or at least I can't figure out how to get it to work) so I have reverted to what it was before
monkestation/code/modules/veth_misc_items/admin_fixes/check_players.dm
Outdated
Show resolved
Hide resolved
monkestation/code/modules/veth_misc_items/admin_fixes/check_players.dm
Outdated
Show resolved
Hide resolved
monkestation/code/modules/veth_misc_items/admin_fixes/check_players.dm
Outdated
Show resolved
Hide resolved
monkestation/code/modules/veth_misc_items/admin_fixes/check_players.dm
Outdated
Show resolved
Hide resolved
@@ -4,7 +4,7 @@ | |||
set desc = "You can modifiy a targets metacoin balance by adding or subtracting." | |||
|
|||
var/mob/chosen_player | |||
chosen_player = tgui_input_list(src, "Choose a Player", "Player List", GLOB.player_list) | |||
chosen_player = tgui_input_list(src, "Choose a Player", "Player List", GLOB.clients) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@Veth-s not resolved
fix conflicts |
tested, still works, hopefully fixes merge conflict
it should be up to date now, it hates me, kill me thanks |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
prefer to avoid usr
tbh
will merge after these are fixed
monkestation/code/modules/veth_misc_items/admin_fixes/check_players.dm
Outdated
Show resolved
Hide resolved
monkestation/code/modules/veth_misc_items/admin_fixes/check_players.dm
Outdated
Show resolved
Hide resolved
monkestation/code/modules/veth_misc_items/admin_fixes/check_players.dm
Outdated
Show resolved
Hide resolved
Requested changes are in, thanks for all your hard work looking at my code Lucy!
These should all be fixed now, thanks for the advice. Can I ask why not to use usr over something else? (just to improve my code and stuff, out of curiosity.) Thanks for all your help! |
About The Pull Request
Check Players adminverb to quickly and precisely check how many connected clients of several categories: Connected Clients, Living Players, Dead Players, Ghost Players, Living Antags.
Fixes to Adjust Event Tokens, Adjust Antag Tokens to work off of ckey instead of Character Name.
Adjust metacoins was unchanged due to the fact I can't test if it's broken.
Why It's Good For The Game
Admin tools!!
Changelog
🆑
admin: Added Check Players verb
admin: Fixed Adjust Event Tokens to work off of ckey instead of Character Name
admin: Fixed Adjust Antag Tokens to work off of ckey instead of Character Name
/:cl: