mirror of
https://github.com/mangosfour/server.git
synced 2025-12-14 16:37:01 +00:00
* `game_event_pool` dropped and related in momory data generated
based by another pool tables content.
* Pool work with spawed at event and despawned at event object now different.
- If object listed in `game_event_*` as spawned at event start and it's part of some pool
then all other pool object must be listed as spawned with this event start, and more,
if pool has mother pool, then all mother pool members must have objects spawned at this
event start. More short: all object of some top (not have mother pool) mitbe or listed for some event start spawn,
or not listed for any event start spawn.
- If object listed in `game_event_*` as DEspawned at event start and it's part of some pool
then nothing special required for other pool objects. Event systemwil command to pool system exclude for spawning and despawn referenced
object until event end.
* Many checks has been added at event/pool data loading.
* Changes fix crashes related to event/pool common work.
Thanks to NoFantasy for help in research original problems and ways for improve code.
|
||
|---|---|---|
| .. | ||
| 0.5 | ||
| 0.6 | ||
| 0.7 | ||
| 0.8 | ||
| 0.9 | ||
| 0.10 | ||
| 0.11 | ||
| 0.12 | ||
| 0.13 | ||
| 0.14 | ||
| 0.15 | ||
| 0.16 | ||
| 09010_01_realmd_realmlist.sql | ||
| 09692_01_characters_mail.sql | ||
| 09692_02_characters_mail.sql | ||
| 09692_03_mangos_spell_proc_event.sql | ||
| 09702_01_characters_item.sql | ||
| 09704_01_mangos_achievement_reward.sql | ||
| 09710_01_mangos_command.sql | ||
| 09716_01_mangos_npc_vendor.sql | ||
| 09716_02_mangos_mangos_string.sql | ||
| 09720_01_mangos_spell_proc_event.sql | ||
| 09728_01_mangos_gossip_menu_option.sql | ||
| 09735_01_mangos_spell_proc_event.sql | ||
| 09735_02_mangos_spell_chain.sql | ||
| 09746_01_realmd_realmlist.sql | ||
| 09747_01_mangos_battleground_template.sql | ||
| 09748_01_realmd_realmlist.sql | ||
| 09751_01_characters.sql | ||
| 09752_01_mangos_gameobject_template.sql | ||
| 09753_01_mangos_instance_template.sql | ||
| 09755_01_mangos_instance_template.sql | ||
| 09761_01_mangos_mangos_string.sql | ||
| 09763_01_mangos_battleground_template.sql | ||
| 09766_01_mangos_spell_proc_event.sql | ||
| 09767_01_mangos_mangos_string.sql | ||
| 09767_02_mangos_command.sql | ||
| 09767_03_characters_characters.sql | ||
| 09768_01_mangos_command.sql | ||
| 09794_01_mangos_mangos_string.sql | ||
| 09794_02_mangos_command.sql | ||
| 09803_01_mangos_spell_bonus_data.sql | ||
| 09826_01_mangos_spell_script_target.sql | ||
| 09849_01_characters_saved_variables.sql | ||
| 09854_01_mangos_spell_bonus_data.sql | ||
| 09881_01_mangos_scripts.sql | ||
| 09883_01_mangos_scripts.sql | ||
| 09886_01_mangos_mangos_string.sql | ||
| 09886_02_mangos_command.sql | ||
| 09891_01_mangos_creature_movement.sql | ||
| 09891_02_mangos_creature_movement_scripts.sql | ||
| 09899_01_mangos_spell_bonus_data.sql | ||
| 09924_01_mangos_mangos_string.sql | ||
| 09924_02_mangos_command.sql | ||
| 09957_01_mangos_mangos_string.sql | ||
| 09957_02_mangos_npc_vendor.sql | ||
| 09967_01_mangos_spell_proc_event.sql | ||
| 09974_01_characters_group.sql | ||
| 09977_01_mangos_spell_proc_event.sql | ||
| 09978_01_mangos_spell_bonus_data.sql | ||
| 09988_01_mangos_spell_chain.sql | ||
| 09990_01_mangos_spell_chain.sql | ||
| 10007_01_characters_pet_aura.sql | ||
| 10008_01_mangos_db_verison.sql | ||
| 10008_01_realmd_realmd_db_version.sql | ||
| 10011_01_mangos_spell_proc_event.sql | ||
| 10012_01_mangos_spell_proc_event.sql | ||
| 10015_01_mangos_spell_proc_event.sql | ||
| 10017_01_mangos_spell_proc_event.sql | ||
| 10036_01_mangos_spell_chain.sql | ||
| 10036_01_mangos_spell_proc_event.sql | ||
| 10044_01_mangos_spell_chain.sql | ||
| 10044_02_mangos_spell_proc_event.sql | ||
| 10045_01_mangos_spell_proc_event.sql | ||
| 10051_01_characters_character_aura.sql | ||
| 10056_01_mangos_spell_proc_event.sql | ||
| 10086_01_mangos_command.sql | ||
| 10089_01_mangos_game_event_pool.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.