The `account_tutorial` table
This table is used to store the tutorial state of all the accounts.
Table Structure
Field | Type | Attributes | Key | Null | Default | Extra | Comment |
---|---|---|---|---|---|---|---|
accountId | INT | UNSIGNED | PRI | NO | 0 | Unique | Account Identifier |
tut0 | INT | UNSIGNED | NO | 0 | |||
tut1 | INT | UNSIGNED | NO | 0 | |||
tut2 | INT | UNSIGNED | NO | 0 | |||
tut3 | INT | UNSIGNED | NO | 0 | |||
tut4 | INT | UNSIGNED | NO | 0 | |||
tut5 | INT | UNSIGNED | NO | 0 | |||
tut6 | INT | UNSIGNED | NO | 0 | |||
tut7 | INT | UNSIGNED | NO | 0 |
Description of the fields
Account of the player. See account.id.
field-no-description|2
field-no-description|3
field-no-description|4
field-no-description|5
field-no-description|6
field-no-description|7
field-no-description|8
These values 32bits flags. So 8 x 32bits values makes 256 bits available to store 256 tutorial messages status.
Each bit means:
This is used to diplay only tutorial messages the character did not see before.
Unselecting the "Show tutorial" option in game, makes all bits to be set, so all tutX columns will contain then 11111111111111111111111111111111 binary = 4294967295 in decimal after this option is changed.