-
Notifications
You must be signed in to change notification settings - Fork 521
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
Hold my Beer (Fix of hi intellligent data lookup in TGUI Who/Staff Who #6786
Conversation
…... and creating new lists for every player... meh... messing around, NO
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.
- Both implementations listing out clients need to skip invisible admins being listed unless its the for admins list. See https://github.com/cmss13-devs/cmss13/pull/6583/files#diff-4da1f7388c33ae5a42dc442cf07f0a6830e02130bfe77927fc9406787d159fb3L178-L181 (you'll have to expand the hidden removed file to see the lines):
if(CLIENT_IS_STEALTHED(C) && !CLIENT_HAS_RIGHTS(src, R_STEALTH))
continue
if(C.admin_holder?.fakekey && !CLIENT_IS_STAFF(src))
continue
usr
should never be used in aui_act
. Useui.user
instead.- mobs_ckey should not be holding hard refs to mobs; and should instead hold weakrefs
- Consider a color key for Staff Who-TGUI #6778
Done |
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.
Ok, done, I think thiss is what you mean by that |
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.
- Currently a moderator cannot view the playing status of players or staff like a host can:
Only non-staff should have the limited views. - Because of above, that staff member then can't even see themself when they go invisim.
Staff should still always have a staff view. The only escalated permission is that only management can see stealthed and utuilize stealth. Inivismin should only restrict non-staff from seeing them.
Oh my bad, used wrong check for perms |
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.
All above issues appear to be resolved.
Some of the tgui changes mentioned below are as a result of #6244
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.
It would be ideal for this file to be converted to a tsx file, but it is not required.
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.
It would be ideal for this file to be converted to a tsx file, but it is not required.
Co-authored-by: Drathek <[email protected]>
Co-authored-by: Drathek <[email protected]>
…lient_however_we_will_send_them_mine_NOW!
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.
Resolve above since you disallow maintainer modification.
Co-authored-by: Drathek <[email protected]>
🆑 BlackCrystalic
fix: No more admin data sended to normal players in who/staff who
/:cl: