From 342bc7dbd3a7963bc796bfe4879fc0491c8d7aba Mon Sep 17 00:00:00 2001 From: Stefano Borzì Date: Sat, 27 Apr 2019 15:16:15 +0200 Subject: Updating wiki layout and missing contents (#34) * Added angle.png for creature_formations * Update creature_formations.md * Update creature_text.md * Added creature_text type images * Removed useless link in npc_vendor * Update quest_template.md * Fixed layout table in spell_dbc * Fixed headers in warden_checks * Fixed type values layout in logs * Fixed layout in character_stats * Fixed layout in characters (table) * Added new data in corpse.md * Fixed guild_rank text * Improved instance difficulty list values * Improved worldstates.md --- docs/characters.md | 305 +++++++++++------------------------------------------ 1 file changed, 62 insertions(+), 243 deletions(-) (limited to 'docs/characters.md') diff --git a/docs/characters.md b/docs/characters.md index ea770fe..a1c9d7e 100644 --- a/docs/characters.md +++ b/docs/characters.md @@ -968,7 +968,14 @@ The class of the character: [ChrClasses.dbc](https://trinitycore.atlassian.net/ ### gender -The gender of the character. 0 = Male, 1 = Female, 2 = Unknown![(question)](images/icons/emoticons/help_16.png){.emoticon .emoticon-question} +The gender of the character. + +| | | +| -- | --- | +| 0 | Male | +| 1 | Female | +| 2 | Unknown (?) | + ### level @@ -1001,152 +1008,34 @@ data about facial hair A bitmask that represents what Player flags the player has. Each bit controls a different flag and to combine flags, you can add each flag that you want, in effect activating the respective bits. - ----- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Flag

Name

Comment

1

0x00000001

PLAYER_FLAGS_GROUP_LEADER

2

0x00000002

PLAYER_FLAGS_AFK

4

0x00000004

PLAYER_FLAGS_DND

8

0x00000008

PLAYER_FLAGS_GM

16

0x00000010

PLAYER_FLAGS_GHOST

32

0x00000020

PLAYER_FLAGS_RESTING

64

0x00000040

PLAYER_FLAGS_UNK7

128

0x00000080

PLAYER_FLAGS_UNK8

256

0x00000100

PLAYER_FLAGS_CONTESTED_PVP

512

0x00000200

PLAYER_FLAGS_IN_PVP

1024

0x00000400

PLAYER_FLAGS_HIDE_HELM

2048

0x00000800

PLAYER_FLAGS_HIDE_CLOAK

4096

0x00001000

PLAYER_FLAGS_PLAYED_LONG_TIME

8192

0x00002000

PLAYER_FLAGS_TOO_LONG

16384

0x00004000

PLAYER_FLAGS_IS_OUT_OF_BOUNDS

32768

0x00008000

PLAYER_FLAGS_DEVELOPER

65536

0x00010000

PLAYER_FLAGS_UNK17

131072

0x00020000

PLAYER_FLAGS_TAXI_BENCHMARK

262144

0x00040000

PLAYER_FLAGS_PVP_TIMER

524288

0x00080000

PLAYER_FLAGS_UNK20

1048576

0x00100000

PLAYER_FLAGS_UNK21

2097152

0x00200000

PLAYER_FLAGS_UNK22

4194304

0x00400000

PLAYER_FLAGS_COMMENTATOR2

8388608

0x00800000

PLAYER_ALLOW_ONLY_ABILITY

16777216

0x01000000

PLAYER_FLAGS_UNK25

54432

0x02000000

PLAYER_FLAGS_NO_XP_GAIN

+| Flag | | Name | Comment | +|----------|------------|-------------------------------|-----------------------------------------------------------------------------------| +| 1 | 0x00000001 | PLAYER_FLAGS_GROUP_LEADER | | +| 2 | 0x00000002 | PLAYER_FLAGS_AFK | | +| 4 | 0x00000004 | PLAYER_FLAGS_DND | | +| 8 | 0x00000008 | PLAYER_FLAGS_GM | | +| 16 | 0x00000010 | PLAYER_FLAGS_GHOST | | +| 32 | 0x00000020 | PLAYER_FLAGS_RESTING | | +| 64 | 0x00000040 | PLAYER_FLAGS_UNK7 | | +| 128 | 0x00000080 | PLAYER_FLAGS_UNK8 | pre-3.0.3 PLAYER_FLAGS_FFA_PVP flag for FFA PVP state | +| 256 | 0x00000100 | PLAYER_FLAGS_CONTESTED_PVP | Player has been involved in a PvP combat and will be attacked by contested guards | +| 512 | 0x00000200 | PLAYER_FLAGS_IN_PVP | | +| 1024 | 0x00000400 | PLAYER_FLAGS_HIDE_HELM | | +| 2048 | 0x00000800 | PLAYER_FLAGS_HIDE_CLOAK | | +| 4096 | 0x00001000 | PLAYER_FLAGS_PLAYED_LONG_TIME | played long time | +| 8192 | 0x00002000 | PLAYER_FLAGS_TOO_LONG | played too long time | +| 16384 | 0x00004000 | PLAYER_FLAGS_IS_OUT_OF_BOUNDS | | +| 32768 | 0x00008000 | PLAYER_FLAGS_DEVELOPER | prefix for something? | +| 65536 | 0x00010000 | PLAYER_FLAGS_UNK17 | pre-3.0.3 PLAYER_FLAGS_SANCTUARY flag for player entered sanctuary | +| 131072 | 0x00020000 | PLAYER_FLAGS_TAXI_BENCHMARK | taxi benchmark mode (on/off) (2.0.1) | +| 262144 | 0x00040000 | PLAYER_FLAGS_PVP_TIMER | 3.0.2, pvp timer active (after you disable pvp manually) | +| 524288 | 0x00080000 | PLAYER_FLAGS_UNK20 | | +| 1048576 | 0x00100000 | PLAYER_FLAGS_UNK21 | | +| 2097152 | 0x00200000 | PLAYER_FLAGS_UNK22 | | +| 4194304 | 0x00400000 | PLAYER_FLAGS_COMMENTATOR2 | | +| 8388608 | 0x00800000 | PLAYER_ALLOW_ONLY_ABILITY | used by bladestorm and killing spree | +| 16777216 | 0x01000000 | PLAYER_FLAGS_UNK25 | disabled all melee ability on tab include autoattack | +| 33554432 | 0x02000000 | PLAYER_FLAGS_NO_XP_GAIN | | ### position\_x @@ -1271,62 +1160,16 @@ The global unique identifier of the transport this character was on when they we These flags control certain player specific attributes, mostly GM features - ----- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Flag

Name

Description

1

0x00000001

PLAYER_EXTRA_GM_ON

2

0x00000002

PLAYER_EXTRA_GM_ACCEPT_TICKETS

4

0x00000004

PLAYER_EXTRA_ACCEPT_WHISPERS

8

0x00000008

PLAYER_EXTRA_TAXICHEAT

16

0x00000010

PLAYER_EXTRA_GM_INVISIBLE

32

0x00000020

PLAYER_EXTRA_GM_CHAT

64

0x00000040

PLAYER_EXTRA_HAS_310_FLYER

256

0x00000100

PLAYER_EXTRA_PVP_DEATH

+| Flag | | Name | Description | +|------|------------|--------------------------------|-----------------------------------------------------| +| 1 | 0x00000001 | PLAYER_EXTRA_GM_ON | Defines GM state | +| 2 | 0x00000002 | PLAYER_EXTRA_GM_ACCEPT_TICKETS | NO LONGER USED Defines if tickets are accepted | +| 4 | 0x00000004 | PLAYER_EXTRA_ACCEPT_WHISPERS | Defines if whispers are accepted | +| 8 | 0x00000008 | PLAYER_EXTRA_TAXICHEAT | Sets taxicheat | +| 16 | 0x00000010 | PLAYER_EXTRA_GM_INVISIBLE | Defines GM visibility | +| 32 | 0x00000020 | PLAYER_EXTRA_GM_CHAT | Show GM badge in chat messages | +| 64 | 0x00000040 | PLAYER_EXTRA_HAS_310_FLYER | Marks if player already has 310% speed flying mount | +| 256 | 0x00000100 | PLAYER_EXTRA_PVP_DEATH | Store PvP death status until corpse creating | ### stable\_slots @@ -1336,16 +1179,16 @@ The Stable Slots available (bought) at the Stable Master. This field is a bitmask controlling different actions taken once a player logs in with the character. -| Flag | Name | Description | -|------|------|--------------------------------| -| 1 | 0x01 | AT\_LOGIN\_RENAME | -| 2 | 0x02 | AT\_LOGIN\_RESET\_SPELLS | -| 4 | 0x04 | AT\_LOGIN\_RESET\_TALENTS | -| 8 | 0x08 | AT\_LOGIN\_CUSTOMIZE | -| 16 | 0x10 | AT\_LOGIN\_RESET\_PET\_TALENTS | -| 32 | 0x20 | AT\_LOGIN\_FIRST | -| 64 | 0x40 | AT\_LOGIN\_CHANGE\_FACTION | -| 128 | 0x80 | AT\_LOGIN\_CHANGE\_RACE | +| Flag | | Name | Description | +|------|------|----------------------------|--------------------------------------| +| 1 | 0x01 | AT_LOGIN_RENAME | Force character to change name | +| 2 | 0x02 | AT_LOGIN_RESET_SPELLS | Reset spells (professions as well) | +| 4 | 0x04 | AT_LOGIN_RESET_TALENTS | Reset talents | +| 8 | 0x08 | AT_LOGIN_CUSTOMIZE | Customize Characters | +| 16 | 0x10 | AT_LOGIN_RESET_PET_TALENTS | Reset pet talents | +| 32 | 0x20 | AT_LOGIN_FIRST | Set at and removed after first login | +| 64 | 0x40 | AT_LOGIN_CHANGE_FACTION | Faction change | +| 128 | 0x80 | AT_LOGIN_CHANGE_RACE | Race change | For multiple actions, add values together. @@ -1533,36 +1376,12 @@ so the 29bit stores the title. This would be 2 ^ 29 = 536870912. This bit store A bitmask that contains visible actionbars for the player - ---- - - - - - - - - - - - - - - - - - - - - - - - - -

Flag

Comment

1

0x00000001

2

0x00000002

4

0x00000004

8

0x00000008

+| Flag | | Comment | +|------|------------|------------------| +| 1 | 0x00000001 | Bottom Left Bar | +| 2 | 0x00000002 | Bottom Right Bar | +| 4 | 0x00000004 | Rigth Bar | +| 8 | 0x00000008 | Right Bar 2 | ### grantableLevels -- cgit