ValidateNameText
function · unassigned
- Address
0x6c96c0· 939 bytes, up to0x6c9a6a- Meaning
- Validates a UTF-8 name against its charset and three word lists; returns a code from 0 to 0xd
- Confidence
- verified, proof one
- Finding
- glue/enterworld#character-name-check
Finding: Character name check in glue: entering and leaving the world
The name check 0x5abd50 returns the validator's code plus 0x45, an index in the status table:
0x6c9ae0 runs 0x6c96c0 with an empty extra-character list and all three word lists on, then
rejects a name longer than 12 units (charset 1), 6 (charset 3) or 8 (other charsets) with code 2.
The validator returns 0 (no name), 1 (one unit), 3 (a unit outside the charset, space and
apostrophe included), 6 (a hit in any of three word lists), 9 (three equal units in a row), 0xc (a
conversion overflow or a charset index outside 0 to 7) or 0xd (accepted). It never returns 4
(mixed languages) or 5 (profane); a profane hit reports reserved.
The derivation is in the doc.
Callers 4
- 0x6c95d0 unassigned
- ValidateCharacterName unassigned
- ValidateCharacterNameTwoCaps unassigned
- ValidateGuildName unassigned
Callees 5
- tolower crt
- SUniConvertUTF8to16 storm
- GetNameCharsets unassigned
- IsInNameCharset unassigned
- RegexSearch unassigned
Calls and jumps by a bare address, from tables/calls.tsv.