Skip to content

Commit

Permalink
[9690] fix item 47670 spell proc event
Browse files Browse the repository at this point in the history
Signed-off-by: Laise <fenrisse@gmail.com>
  • Loading branch information
Wowka321 authored and insider42 committed Apr 8, 2010
1 parent 1142776 commit 8439d96
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 3 deletions.
3 changes: 2 additions & 1 deletion sql/mangos.sql
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ CREATE TABLE `db_version` (
`version` varchar(120) default NULL,
`creature_ai_version` varchar(120) default NULL,
`cache_id` int(10) default '0',
`required_9663_01_mangos_mangos_string` bit(1) default NULL
`required_9690_01_mangos_spell_proc_event` bit(1) default NULL
) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=FIXED COMMENT='Used DB version notes';

--
Expand Down Expand Up @@ -18688,6 +18688,7 @@ INSERT INTO `spell_proc_event` VALUES
(64127, 0x00000000, 6, 0x00000001, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0.000000, 0.000000, 0),
(67228, 0x00000004, 11, 0x00000000, 0x00001000, 0x00000000, 0x00000000, 0x00000000, 0.000000, 0.000000, 0),
(67353, 0x00000000, 7, 0x00008000, 0x00100500, 0x00000000, 0x00000000, 0x00000000, 0.000000, 0.000000, 0),
(67361, 0x00000040, 7, 0x00000002, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0.000000, 0.000000, 6),
(67667, 0x00000000, 0, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0.000000, 0.000000, 45),
(67672, 0x00000000, 0, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0.000000, 0.000000, 50),
(67702, 0x00000000, 0, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0.000000, 0.000000, 45),
Expand Down
5 changes: 5 additions & 0 deletions sql/updates/9690_01_mangos_spell_proc_event.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
ALTER TABLE db_version CHANGE COLUMN required_9663_01_mangos_mangos_string required_9690_01_mangos_spell_proc_event bit;

DELETE FROM `spell_proc_event` WHERE `entry` = 67361;
INSERT INTO `spell_proc_event` VALUES
(67361, 0x00000040, 7, 0x00000002, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0.000000, 0.000000, 6);
2 changes: 2 additions & 0 deletions sql/updates/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,7 @@ pkgdata_DATA = \
9680_01_characters_character_stats.sql \
9686_01_characters_character_queststatus_weekly.sql \
9687_01_characters_character_queststatus_daily.sql \
9690_01_mangos_spell_proc_event.sql \
README

## Additional files to include when running 'make dist'
Expand Down Expand Up @@ -190,4 +191,5 @@ EXTRA_DIST = \
9680_01_characters_character_stats.sql \
9686_01_characters_character_queststatus_weekly.sql \
9687_01_characters_character_queststatus_daily.sql \
9690_01_mangos_spell_proc_event.sql \
README
2 changes: 1 addition & 1 deletion src/shared/revision_nr.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#ifndef __REVISION_NR_H__
#define __REVISION_NR_H__
#define REVISION_NR "9689"
#define REVISION_NR "9690"
#endif // __REVISION_NR_H__
2 changes: 1 addition & 1 deletion src/shared/revision_sql.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#ifndef __REVISION_SQL_H__
#define __REVISION_SQL_H__
#define REVISION_DB_CHARACTERS "required_9687_01_characters_character_queststatus_daily"
#define REVISION_DB_MANGOS "required_9663_01_mangos_mangos_string"
#define REVISION_DB_MANGOS "required_9690_01_mangos_spell_proc_event"
#define REVISION_DB_REALMD "required_9010_01_realmd_realmlist"
#endif // __REVISION_SQL_H__

2 comments on commit 8439d96

@insider42
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

добавил для совместимости с YTDB, ведь это последний коммит 322

@ice74
Copy link

@ice74 ice74 commented on 8439d96 Apr 9, 2010

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

спасибо за комули :)
но вот такая штука вылезла

(gdb) bt full
#0 0x000000082b6f7000 in ?? ()

No symbol table info available.
#1 0x0000000000926a91 in EventProcessor::Update (this=0x83b14d0f0, p_time=149)

at ../../../src/framework/Utilities/EventProcessor.cpp:47
    Event = (BasicEvent *) 0x83676cc10

mangos#2 0x00000000007ff9a1 in Unit::Update (this=0x83b14d000, p_time=149)

at ../../../src/game/Unit.cpp:292

No locals.
mangos#3 0x0000000000536765 in Creature::Update (this=0x83b14d000, diff=149)

at ../../../src/game/Creature.cpp:465

No locals.
mangos#4 0x00000000007cc80a in TemporarySummon::Update (this=0x83b14d000, diff=149)

at ../../../src/game/TemporarySummon.cpp:140

No locals.
mangos#5 0x000000000063769e in Cell::Visit<MaNGOS::ObjectUpdater, TypeMapContainer<TypeList<GameObject, TypeList<Creature, TypeList<DynamicObject, TypeList<Corpse, TypeNull> > > > > > (this=0x7fffff3fae20, standing_cell=Variable "standing_cell" is not available.

)
at GridNotifiersImpl.h:48
r_zone = {data = {Part = {grid_x = 0, grid_y = 0, cell_x = 0,
cell_y = 0, nocreate = 0, reserved = 0}, All = 0}}
y = Variable "y" is not available.

Please sign in to comment.