Skip to content

Commit

Permalink
Merge pull request #56 from schnek/master
Browse files Browse the repository at this point in the history
updates for Wiki on 24/06/2024
  • Loading branch information
Zyres authored Dec 22, 2024
2 parents 71a52f7 + c155490 commit 1bf2377
Show file tree
Hide file tree
Showing 24 changed files with 294 additions and 169 deletions.
8 changes: 4 additions & 4 deletions _database/characters/characters.md
Original file line number Diff line number Diff line change
Expand Up @@ -452,7 +452,7 @@ Boolean

### raid_difficulty

0 = normal 10 men
1 = normal 25 men
3 = heroic 10 men
4 = heroic 25 men
0 = normal 10 man
1 = normal 25 man
3 = heroic 10 man
4 = heroic 25 man
8 changes: 4 additions & 4 deletions _database/characters/groups.md
Original file line number Diff line number Diff line change
Expand Up @@ -100,10 +100,10 @@ The number of subgroups.

### raiddifficulty

0 = Normal 10 men
1 = Normal 25 men
2 = Heroic 10 men
4 = Heroic 25 men
0 = Normal 10 man
1 = Normal 25 man
2 = Heroic 10 man
4 = Heroic 25 man

### assistant_leader

Expand Down
13 changes: 10 additions & 3 deletions _database/logon/accounts.md
Original file line number Diff line number Diff line change
Expand Up @@ -75,9 +75,16 @@ The client flags:

The lanuguage code:

frFR = french
deDE = german
ruRU = russian
Locale | Name |
-------- | ---------------------------- |
koKR | Korean |
frFR | French |
deDE | German |
zhCN | Chinese |
zhTW | Taiwanese |
esES | Spanish (EU) |
esMX | Spanish (Latin American) |
ruRU | Russian |

### muted

Expand Down
16 changes: 8 additions & 8 deletions _database/world/achievement_reward.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,38 +21,38 @@ Field
[subject](#subject) | varchar(255) | |
[text](#text) | text | |

## entry
### entry

The entry ID of the achievement.

## gender
### gender

<pre>
0 = Male
1 = Female
2 = all Genders
</pre>

## title_A
### title_A

The title ID for Alliance.

## title_H
### title_H

The title ID for Horde.

## item
### item

The recieve item entry ID from [item_properties](/Wiki/database/world/item_properties/ "Item properties") table (mail).

## sender
### sender

The sender entry id mostly from [creature_properties](/Wiki/database/world/creature_properties/ "Creature properties") table.

## subject
### subject

The text shown in subject field (mail).

## text
### text

The text shown in body (mail).
6 changes: 3 additions & 3 deletions _database/world/creature_difficulty.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,6 @@ The linked difficulty entry from [creature_properties](/Wiki/database/world/crea

**difficulty column for raids:**

- difficulty_1 = The linked [creature_properties](/Wiki/database/world/creature_properties/ "Creature properties") entry for normal 25 men
- difficulty_2 = The linked [creature_properties](/Wiki/database/world/creature_properties/ "Creature properties") entry for heroic 10 men
- difficulty_3 = The linked [creature_properties](/Wiki/database/world/creature_properties/ "Creature properties") entry for heroic 25 men
- difficulty_1 = The linked [creature_properties](/Wiki/database/world/creature_properties/ "Creature properties") entry for normal 25 man
- difficulty_2 = The linked [creature_properties](/Wiki/database/world/creature_properties/ "Creature properties") entry for heroic 10 man
- difficulty_3 = The linked [creature_properties](/Wiki/database/world/creature_properties/ "Creature properties") entry for heroic 25 man
56 changes: 28 additions & 28 deletions _database/world/creature_properties.md
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ The name of the creature.

The subname/title of the creature. Displayed in-game below the name, in <>'s.

### info_str
### icon_name

Used to tell the player what kind of NPC this creature is (when you hover over the npc).

Expand All @@ -136,17 +136,17 @@ Pickup - shows a Hand Grasping icon of if this NPC can be picked up for quest/it
LootAll - shows a Multiple Brown Bag icon (Same as holding Shift before looting a creature).
PVP - unused or Unknown.
Quest - unused or Unknown.
</pre>

version above 4.x.x

<pre>
Transmogrify - added in patch 4.3.0
SkinAlliance - added in patch 4.0.3
Reforge - added in patch 4.0.1

currently in use, it's worth standardizing. (don't use these values).

Voidstorage
SkinAlliance
PickLock
openhandglow
Voidstorage - added in patch 4.0.1
openhand
openhandglow
Interact
Inspect
GatherHerbs
Expand Down Expand Up @@ -329,36 +329,36 @@ Note that most of these also require the "Gossip" [1] flag to work.

So if you want a NPC that is a quest giver, a vendor and can repair you just add the specific flags together: 1 + 2 + 128 + 4096 = 4227.

Pure Flags | Decimal | Binary (32 Bit) | Remarks
Pure Flags | Decimal | Binary (32 Bit) | Remarks
-------------------------------- | ---------- | ---------------------------------------- | ---------------------------------------------------------------------------------------------
UNIT_NPC_FLAG_NONE | 0 | 0000 0000 0000 0000 0000 0000 0000 0000
UNIT_NPC_FLAG_GOSSIP | 1 | 0000 0000 0000 0000 0000 0000 0000 0001 | (If NPC has more gossip options, add this flag to bring up a menu.)
UNIT_NPC_FLAG_QUESTGIVER | 2 | 0000 0000 0000 0000 0000 0000 0000 0010 | (Any NPC giving or taking quests needs to have this flag.)
UNIT_NPC_FLAG_GOSSIP | 1 | 0000 0000 0000 0000 0000 0000 0000 0001 | If NPC has more gossip options, add this flag to bring up a menu.
UNIT_NPC_FLAG_QUESTGIVER | 2 | 0000 0000 0000 0000 0000 0000 0000 0010 | Any NPC giving or taking quests needs to have this flag.
UNIT_NPC_FLAG_UNK1 | 4 | 0000 0000 0000 0000 0000 0000 0000 0100
UNIT_NPC_FLAG_UNK2 | 8 | 0000 0000 0000 0000 0000 0000 0000 1000
UNIT_NPC_FLAG_TRAINER | 16 | 0000 0000 0000 0000 0000 0000 0001 0000 | (Allows the NPC to have a trainer list to teach spells, all trainers must have this flag)
UNIT_NPC_FLAG_TRAINER | 16 | 0000 0000 0000 0000 0000 0000 0001 0000 | Allows the NPC to have a trainer list to teach spells, all trainers must have this flag.
UNIT_NPC_FLAG_TRAINER_CLASS | 32 | 0000 0000 0000 0000 0000 0000 0010 0000
UNIT_NPC_FLAG_TRAINER_PROF | 64 | 0000 0000 0000 0000 0000 0000 0100 0000
UNIT_NPC_FLAG_VENDOR | 128 | 0000 0000 0000 0000 0000 0000 1000 0000 | (Any NPC selling items needs to have this flag)
UNIT_NPC_FLAG_VENDOR | 128 | 0000 0000 0000 0000 0000 0000 1000 0000 | Any NPC selling items needs to have this flag.
UNIT_NPC_FLAG_VENDOR_AMMO | 256 | 0000 0000 0000 0000 0000 0001 0000 0000
UNIT_NPC_FLAG_VENDOR_FOOD | 512 | 0000 0000 0000 0000 0000 0010 0000 0000
UNIT_NPC_FLAG_VENDOR_POISON | 1024 | 0000 0000 0000 0000 0000 0100 0000 0000
UNIT_NPC_FLAG_VENDOR_REAGENT | 2048 | 0000 0000 0000 0000 0000 1000 0000 0000
UNIT_NPC_FLAG_ARMORER | 4096 | 0000 0000 0000 0000 0001 0000 0000 0000 | (NPC with this flag can repair items.)
UNIT_NPC_FLAG_TAXIVENDOR | 8192 | 0000 0000 0000 0000 0010 0000 0000 0000 | (Any NPC serving as fly master has this.)
UNIT_NPC_FLAG_SPIRITHEALER | 16384 | 0000 0000 0000 0000 0100 0000 0000 0000 | (Makes the NPC invisible to alive characters and has the resurrect function.)
UNIT_NPC_FLAG_SPIRITGUIDE | 32768 | 0000 0000 0000 0000 1000 0000 0000 0000
UNIT_NPC_FLAG_INNKEEPER | 65536 | 0000 0000 0000 0001 0000 0000 0000 0000 | (NPC with this flag can set hearthstone locations.)
UNIT_NPC_FLAG_BANKER | 131072 | 0000 0000 0000 0010 0000 0000 0000 0000 | (NPC with this flag can show the bank)
UNIT_NPC_FLAG_ARENACHARTER | 262144 | 0000 0000 0000 0100 0000 0000 0000 0000
UNIT_NPC_FLAG_TABARDVENDOR | 524288 | 0000 0000 0000 1000 0000 0000 0000 0000 | (Allows the designing of guild tabards.)
UNIT_NPC_FLAG_BATTLEFIELDPERSON | 1048576 | 0000 0000 0001 0000 0000 0000 0000 0000 | (NPC with this flag port players to battlegrounds. Like battlemasters, arena organzier etc.)
UNIT_NPC_FLAG_AUCTIONEER | 2097152 | 0000 0000 0010 0000 0000 0000 0000 0000 | (Allows NPC to display auction list.)
UNIT_NPC_FLAG_STABLE | 4194304 | 0000 0000 0100 0000 0000 0000 0000 0000 | (Has the option to stable pets for hunters.)
UNIT_NPC_FLAG_GUILD_BANK | 8388608 | 0000 0000 1000 0000 0000 0000 0000 0000
UNIT_NPC_FLAG_SPELLCLICK | 16777216 | 0000 0001 0000 0000 0000 0000 0000 0000 | (Needs data on npc_spellclick_spells table)
Mailbox | 67108864 | 0000 0100 0000 0000 0000 0000 0000 0000 | (NPC will act like a mailbox, opens mailbox with right-click)
Guard | 268435456 | 0001 0000 0000 0000 0000 0000 0000 0000 | (Cityguards, must be scripted)
UNIT_NPC_FLAG_ARMORER | 4096 | 0000 0000 0000 0000 0001 0000 0000 0000 | NPC with this flag can repair items.
UNIT_NPC_FLAG_TAXIVENDOR | 8192 | 0000 0000 0000 0000 0010 0000 0000 0000 | Any NPC serving as fly master has this.
UNIT_NPC_FLAG_SPIRITHEALER | 16384 | 0000 0000 0000 0000 0100 0000 0000 0000 | Makes the NPC invisible to alive characters and has the resurrect function.
UNIT_NPC_FLAG_SPIRITGUIDE | 32768 | 0000 0000 0000 0000 1000 0000 0000 0000 | NPC Spirit healer.
UNIT_NPC_FLAG_INNKEEPER | 65536 | 0000 0000 0000 0001 0000 0000 0000 0000 | NPC with this flag can set hearthstone locations.
UNIT_NPC_FLAG_BANKER | 131072 | 0000 0000 0000 0010 0000 0000 0000 0000 | NPC with this flag can show the bank.
UNIT_NPC_FLAG_ARENACHARTER | 262144 | 0000 0000 0000 0100 0000 0000 0000 0000 | NPC supplier of the arena charter, the same supplier of the guild charter.
UNIT_NPC_FLAG_TABARDVENDOR | 524288 | 0000 0000 0000 1000 0000 0000 0000 0000 | Allows the designing of guild tabards.
UNIT_NPC_FLAG_BATTLEFIELDPERSON | 1048576 | 0000 0000 0001 0000 0000 0000 0000 0000 | NPC with this flag port players to battlegrounds. Like battlemasters, arena organzier etc.
UNIT_NPC_FLAG_AUCTIONEER | 2097152 | 0000 0000 0010 0000 0000 0000 0000 0000 | Allows NPC to display auction list.
UNIT_NPC_FLAG_STABLE | 4194304 | 0000 0000 0100 0000 0000 0000 0000 0000 | Has the option to stable pets for hunters.
UNIT_NPC_FLAG_GUILD_BANKER | 8388608 | 0000 0000 1000 0000 0000 0000 0000 0000 | Cause client to send 997 opcode.
UNIT_NPC_FLAG_SPELLCLICK | 16777216 | 0000 0001 0000 0000 0000 0000 0000 0000 | Cause client to send 1015 opcode. Needs data on npc_spellclick_spells table.
UNIT_NPC_FLAG_MAILBOX | 67108864 | 0000 0100 0000 0000 0000 0000 0000 0000 | NPC will act like a mailbox, opens mailbox with right-click.
Guard | 268435456 | 0001 0000 0000 0000 0000 0000 0000 0000 | Cityguards, must be scripted.

### attacktime

Expand Down
Loading

0 comments on commit 1bf2377

Please sign in to comment.