mirror of
https://github.com/mangosfour/server.git
synced 2025-12-14 16:37:01 +00:00
This change will: * make it easier to use cached data directly without any modifications * correct issues regarding invisible models * simplify certain aspects of model selection itself and make it somehow easier to control and maintain special cases. Two new fields added to creature_model_info, to store modelid_alternative and modelid_other_team * _alternative holds an alt. model, for cases where gender are the same, or is not male/female. * _other_team is generally used for totem models, but may have future use. This commit will possibly break a few things (visually) and will require DB projects to update their creature_template models data. It is advised to use cache data as-is, and in addition fill creature_model_info for certain models, totems in particular, for expected appearance. Signed-off-by: NoFantasy <nofantasy@nf.no> |
||
|---|---|---|
| .. | ||
| 0.5 | ||
| 0.6 | ||
| 0.7 | ||
| 0.8 | ||
| 0.9 | ||
| 0.10 | ||
| 0.11 | ||
| 0.12 | ||
| 0.13 | ||
| 0.14 | ||
| 0.15 | ||
| 0.16 | ||
| 10008_01_realmd_realmd_db_version.sql | ||
| 10148_01_mangos_mangos_string.sql | ||
| 10156_01_characters_character_aura.sql | ||
| 10156_02_characters_pet_aura.sql | ||
| 10156_03_mangos_spell_proc_event.sql | ||
| 10159_01_mangos_spell_proc_event.sql | ||
| 10160_01_characters_character_aura.sql | ||
| 10160_02_characters_pet_aura.sql | ||
| 10171_01_mangos_mangos_string.sql | ||
| 10197_01_mangos_playercreateinfo.sql | ||
| 10203_01_mangos_item_template.sql | ||
| 10205_01_mangos_spell_area.sql | ||
| 10207_01_mangos_npc_vendor.sql | ||
| 10208_01_mangos_playercreateinfo.sql | ||
| 10217_01_mangos_playercreateinfo_spell.sql | ||
| 10217_02_mangos_playercreateinfo_action.sql | ||
| 10217_03_mangos_spell_learn_spell.sql | ||
| 10217_04_mangos_spell_chain.sql | ||
| 10217_05_mangos_spell_proc_event.sql | ||
| 10219_01_mangos_spell_proc_event.sql | ||
| 10223_01_mangos_spell_proc_event.sql | ||
| 10237_01_mangos_spell_bonus_data.sql | ||
| 10244_01_mangos_command.sql | ||
| 10251_01_mangos_command.sql | ||
| 10252_01_mangos_reputation_reward_rate.sql | ||
| 10254_01_characters_auctionhouse.sql | ||
| 10256_01_mangos_command.sql | ||
| 10257_01_mangos_command.sql | ||
| 10263_01_mangos_pool_creature.sql | ||
| 10263_02_mangos_pool_gameobject.sql | ||
| 10263_03_mangos_pool_pool.sql | ||
| 10270_01_mangos_reputation_spillover_template.sql | ||
| 10286_01_mangos_creature_addon.sql | ||
| 10289_01_mangos_creature_template.sql | ||
| 10289_02_mangos_creature_model_info.sql | ||
| Makefile.am | ||
| README | ||
= MaNGOS -- README =
Copyright (c) 2005-2010 MaNGOS <http://getmangos.com/>
See the COPYING file for copying conditions.
== Database Updates ==
This folder contains SQL files which will apply required updates to your MySQL
database, whenever the MaNGOS database structure has been changed or extended.
To see if you need an update, the file names have been given a fixed structure
that should enable you to see if you need an update or not.
=== File Name Description ===
File names are divided into two parts.
First part is the revision and counter that shows the commit revision that
will be compatible with the database after apply that particular update.
Counter sets the order to apply sql updates for the same revision.
The second part of the name is the database and the table that needs an update or has been added.
See an example below:
6936_01_mangos_spell_chain.sql
| | | |
| | | |
| | | The table `spell_chain`
| | | will need an update.
| | |
| | Name of affected DB (default recommended name)
| | Can be: characters, mangos, realmd
| |
| Counter show number of sql updates in updates list for provided revision
| and set proper order for sql updates for same revision
|
MaNGOS commit revision related to sql update.
It included in commit description in form [6936] as you can see at http://github.com/mangos/mangos/commits/master
After applying an update the DB is compatible with the mangos revision of this sql update.
SQL updates include special protection against multiple and wrong order of update application.
Attempts to apply sql updates to an older DB without previous SQL updates in list for the database
or to DB with already applied this or later SQL update will generate an error and not be applied.
=== For Commiters ====
MaNGOS sources include special tool ( contrib/git_id ) for generation revision info
in commit notes and in src/shared/revision_nr.h file. It have option '-s' that let set
correct sql update names with revision number, generate sql update order guard queries,
and update version fields in mangos.sql/etc. For it use name sql updates in form
01_mangos_spell_chain.sql or 9999_01_mangos_spell_chain.sql (counter can be _01_, _02_, and etc,
dependent from sql updates amount in commit) and _not_ add to sql updates
guard queries. Include sql updates in commit. After commit adding to local repo call git_id
with -s option (and another, note: -s option not work propertly with -l option). Other steps
tool will do by self and apply changes to commit. After tool use commit with sql updates ready
to push.