Repository navigation
Row 205 S6: blocking accounts (!ban, !unban, !dc, v83 /ban and /block) - #1008
Merged
Merged
Conversation
…an 0x80 0x03 and /block 0x04 -> ADMIN_RESULT 4/6), login result 2 with BlockReason and FILETIME, kick by account, world entry refuses blocked accounts
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Row 205 S6: blocking accounts, from chat and from the client's
/banand/block.ban_reason(Etc/BlockReason.img's number, 0 for none) andban_until(none means for good). An ended block no longer counts (Account::blocked_at).banned,ban_msgand the new fields areskip_update, so a save of a stale account can't undo a ban.build_blocked_packet). v83 reads both (HeavenClient has done so since b128) and shows BlockReason.img's text and the date, or its plain notice for reason 0. The world also refuses entry to a blocked account, whether it comes from the character select or a channel change.!ban <name> [days] [reason] [note](admin, level 3): the reason is a BlockReason.img type word or 1..=13, and leaving out the days makes the block permanent.!unban <name>(admin).!dc <name>(GM, level 2).DirectoryMessage::Kick).gm_audit./ban NAME) blocks for good with no reason./block, sent from v83's dialog: name, reason, days, note) blocks as!bandoes.gm_banchecks a ban, the disconnect, the refused login with its reason and date,!unban,!dc, the rank check, and/banand/block.gm_commands,gm_slash,login_gradeandlogin_to_worldpass.HeavenClient's
/blockdialog comes next (S6b).