Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[10089] Change in event system work with pool system.
* `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.
- Loading branch information
VladimirMangos
committed
Jun 21, 2010
1 parent
5c2d1a0
commit 0219b08
Showing
10 changed files
with
290 additions
and
109 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
ALTER TABLE db_version CHANGE COLUMN required_10086_01_mangos_command required_10089_01_mangos_game_event_pool bit; | ||
|
||
DROP TABLE IF EXISTS `game_event_pool`; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.