658 TC_LOG_ERROR(
"sql.sql",
"SmartAIMgr: Event SMART_EVENT_DISTANCE_CREATURE did not provide creature guid or entry, skipped.");
664 TC_LOG_ERROR(
"sql.sql",
"SmartAIMgr: Event SMART_EVENT_DISTANCE_CREATURE provided both an entry and guid, skipped.");
670 TC_LOG_ERROR(
"sql.sql",
"SmartAIMgr: Event SMART_EVENT_DISTANCE_CREATURE using invalid creature guid %u, skipped.", e.
event.
distance.guid);
676 TC_LOG_ERROR(
"sql.sql",
"SmartAIMgr: Event SMART_EVENT_DISTANCE_CREATURE using invalid creature entry %u, skipped.", e.
event.
distance.entry);
683 TC_LOG_ERROR(
"sql.sql",
"SmartAIMgr: Event SMART_EVENT_DISTANCE_GAMEOBJECT did not provide gameobject guid or entry, skipped.");
689 TC_LOG_ERROR(
"sql.sql",
"SmartAIMgr: Event SMART_EVENT_DISTANCE_GAMEOBJECT provided both an entry and guid, skipped.");
695 TC_LOG_ERROR(
"sql.sql",
"SmartAIMgr: Event SMART_EVENT_DISTANCE_GAMEOBJECT using invalid gameobject guid %u, skipped.", e.
event.
distance.guid);
701 TC_LOG_ERROR(
"sql.sql",
"SmartAIMgr: Event SMART_EVENT_DISTANCE_GAMEOBJECT using invalid gameobject entry %u, skipped.", e.
event.
distance.entry);
711 TC_LOG_ERROR(
"sql.sql",
"SmartAIMgr: Event SMART_EVENT_COUNTER_SET using invalid counter id %u, skipped.", e.
event.
counter.id);
717 TC_LOG_ERROR(
"sql.sql",
"SmartAIMgr: Event SMART_EVENT_COUNTER_SET using invalid value %u, skipped.", e.
event.
counter.value);
847 TC_LOG_ERROR(
"sql.sql",
"SmartAIMgr: Entry " SI64FMTD " SourceType %u Event %u Action %u does not have any non-zero sound",
869 TC_LOG_ERROR(
"sql.sql",
"SmartAIMgr: Entry " SI64FMTD " SourceType %u Event %u Action %u Effect: SPELL_EFFECT_KILL_CREDIT: (SpellId: %u targetA: %u - targetB: %u) has invalid target for this Action",
952 for (CacheSpellContainer::const_iterator itr = sBounds.first; itr != sBounds.second; ++itr)
953 TC_LOG_ERROR(
"sql.sql",
"SmartAIMgr: Entry " SI64FMTD " SourceType %u Event %u Action %u creature summon: There is a summon spell for creature entry %u (SpellId: %u, effect: %u)",
969 for (CacheSpellContainer::const_iterator itr = sBounds.first; itr != sBounds.second; ++itr)
970 TC_LOG_ERROR(
"sql.sql",
"SmartAIMgr: Entry " SI64FMTD " SourceType %u Event %u Action %u Kill Credit: There is a killcredit spell for creatureEntry %u (SpellId: %u effect: %u)",
1006 for (CacheSpellContainer::const_iterator itr = sBounds.first; itr != sBounds.second; ++itr)
1007 TC_LOG_ERROR(
"sql.sql",
"SmartAIMgr: Entry " SI64FMTD " SourceType %u Event %u Action %u gameobject summon: There is a summon spell for gameobject entry %u (SpellId: %u, effect: %u)",
1027 for (CacheSpellContainer::const_iterator itr = sBounds.first; itr != sBounds.second; ++itr)
1028 TC_LOG_ERROR(
"sql.sql",
"SmartAIMgr: Entry " SI64FMTD " SourceType %u Event %u Action %u Create Item: There is a create item spell for item %u (SpellId: %u effect: %u)",
1109 if (eventId < 1 || eventId >= events.size())
1128 if (eventId < 1 || eventId >= events.size())
1153 TC_LOG_ERROR(
"sql.sql",
"SmartScript: SMART_ACTION_EQUIP uses non-existent equipment info id %u for creature " SI64FMTD ", skipped.", equipId, e.
entryOrGuid);
1165 if (apply != 0 && apply != 1)
1167 TC_LOG_ERROR(
"sql.sql",
"SmartScript: SMART_ACTION_SET_INGAME_PHASE_ID uses invalid apply value %u (Should be 0 or 1) for creature " SI64FMTD ", skipped", apply, e.
entryOrGuid);
1174 TC_LOG_ERROR(
"sql.sql",
"SmartScript: SMART_ACTION_SET_INGAME_PHASE_ID uses invalid phaseid %u for creature " SI64FMTD ", skipped", phaseId, e.
entryOrGuid);
1184 if (apply != 0 && apply != 1)
1186 TC_LOG_ERROR(
"sql.sql",
"SmartScript: SMART_ACTION_SET_INGAME_PHASE_GROUP uses invalid apply value %u (Should be 0 or 1) for creature " SI64FMTD ", skipped", apply, e.
entryOrGuid);
1190 if (
sDB2Manager.GetPhasesForGroup(phaseGroup).empty())
1192 TC_LOG_ERROR(
"sql.sql",
"SmartScript: SMART_ACTION_SET_INGAME_PHASE_GROUP uses invalid phase group id %u for creature " SI64FMTD ", skipped", phaseGroup, e.
entryOrGuid);
Definition: DBCEnums.h:404
Definition: SmartScriptMgr.h:106
Definition: SmartScriptMgr.h:452
struct SmartAction::@114::@156 item
Definition: SmartScriptMgr.h:175
struct SmartAction::@114::@136 randomPhaseRange
Definition: SmartScriptMgr.h:125
Definition: SmartScriptMgr.h:532
#define sDB2Manager
Definition: DB2Stores.h:224
Definition: SmartScriptMgr.h:109
Definition: SmartScriptMgr.h:491
struct SmartEvent::@77::@92 aura
const uint32 SmartAITypeMask[SMART_SCRIPT_TYPE_MAX][2]
Definition: SmartScriptMgr.h:1237
Definition: SmartScriptMgr.h:445
uint32 event_phase_mask
Definition: SmartScriptMgr.h:189
Definition: SmartScriptMgr.h:174
Definition: SmartScriptMgr.h:161
Definition: SmartScriptMgr.h:152
Definition: SmartScriptMgr.h:118
Definition: SmartScriptMgr.h:1081
CacheSpellContainerBounds GetKillCreditSpellContainerBounds(uint32 killCredit) const
Definition: SmartScriptMgr.cpp:1373
Definition: SmartScriptMgr.h:556
Definition: SmartScriptMgr.h:543
uint32 emote
Definition: SmartScriptMgr.h:283
int8_t int8
Definition: Define.h:148
struct SmartAction::@114::@116 talk
Definition: SmartScriptMgr.h:529
Definition: SmartScriptMgr.h:495
CacheSpellContainerBounds GetCreateItemSpellContainerBounds(uint32 itemId) const
Definition: SmartScriptMgr.cpp:1378
Definition: SmartScriptMgr.h:474
Definition: SmartScriptMgr.h:178
struct SmartAction::@114::@165 timeEvent
Definition: SmartScriptMgr.h:451
Definition: SmartScriptMgr.h:179
Definition: SharedDefines.h:1100
Definition: QuestDef.h:279
Definition: SmartScriptMgr.h:492
Definition: SmartScriptMgr.h:166
struct SmartAction::@114::@152 taxi
Definition: SmartScriptMgr.h:496
Definition: SmartScriptMgr.h:531
SmartEvent event
Definition: SmartScriptMgr.h:1372
Definition: SmartScriptMgr.h:503
Definition: SmartScriptMgr.h:480
Definition: SmartScriptMgr.h:173
struct SmartAction::@114::@122 react
Definition: SpellInfo.h:326
Definition: SmartScriptMgr.h:461
Definition: QuestDef.h:202
Definition: SmartScriptMgr.h:115
bool IsCreatureValid(SmartScriptHolder const &e, uint32 entry)
Definition: SmartScriptMgr.h:1562
Definition: SmartScriptMgr.h:151
Definition: SmartScriptMgr.h:122
bool IsSoundValid(SmartScriptHolder const &e, uint32 entry)
Definition: SmartScriptMgr.h:1642
Definition: SmartScriptMgr.h:550
Definition: SmartScriptMgr.h:112
Definition: SmartScriptMgr.h:548
Definition: SmartScriptMgr.h:460
Definition: SmartScriptMgr.h:498
struct SmartAction::@114::@132 incEventPhase
Definition: SmartScriptMgr.h:143
uint32 link
Definition: SmartScriptMgr.h:1370
Definition: SmartScriptMgr.h:181
Definition: SmartScriptMgr.h:526
struct SmartAction::@114::@125 summonCreature
struct SmartEvent::@77::@104 dummy
Definition: SmartScriptMgr.h:135
Definition: SmartScriptMgr.h:123
Definition: SmartScriptMgr.h:485
struct SmartEvent::@77::@95 dataSet
uint32 SchoolMask
Definition: SpellInfo.h:401
int8_t int8
Definition: g3dmath.h:163
Definition: SmartScriptMgr.h:140
Definition: SmartScriptMgr.h:454
Definition: SmartScriptMgr.h:108
Definition: SmartScriptMgr.h:137
struct SmartAction::@114::@173 randTimedActionList
struct SmartAction::@114::@190 gameEventStart
uint32 GetEventType() const
Definition: SmartScriptMgr.h:1377
Definition: SmartScriptMgr.h:131
Definition: SmartScriptMgr.h:489
Definition: SmartScriptMgr.h:124
Definition: SmartScriptMgr.h:518
Definition: SmartScriptMgr.h:180
Definition: SmartScriptMgr.h:478
struct SmartAction::@114::@162 setCounter
Definition: SmartScriptMgr.h:141
Definition: SmartScriptMgr.h:1082
Definition: SmartScriptMgr.h:145
Definition: SmartScriptMgr.h:150
struct SmartAction::@114::@161 teleport
Definition: SmartScriptMgr.h:525
struct SmartEvent::@77::@88 missingBuff
Definition: SmartScriptMgr.h:511
Definition: SmartScriptMgr.h:515
Definition: SmartScriptMgr.h:509
Definition: SmartScriptMgr.h:176
uint32 event_id
Definition: SmartScriptMgr.h:1369
struct SmartAction::@114::@137 killedMonster
struct SmartAction::@114::@157 installTtemplate
Definition: SmartScriptMgr.h:479
Definition: SmartScriptMgr.h:466
Definition: SmartScriptMgr.h:494
Definition: SmartScriptMgr.h:163
const uint32 SmartAIEventMask[SMART_EVENT_END][2]
Definition: SmartScriptMgr.h:1251
Definition: SmartScriptMgr.h:138
struct SmartAction::@114::@188 power
Definition: SmartScriptMgr.h:160
Definition: SmartScriptMgr.h:549
Definition: SmartScriptMgr.h:551
struct SmartEvent::@77::@105 behindTarget
Definition: SmartScriptMgr.h:177
Definition: SmartScriptMgr.h:170
struct SmartAction::@114::@145 ingamePhaseId
Definition: SmartScriptMgr.h:116
Definition: SmartScriptMgr.h:444
Definition: SmartScriptMgr.h:114
Definition: SmartScriptMgr.h:1084
Definition: SmartScriptMgr.h:130
uint32 event_flags
Definition: SmartScriptMgr.h:191
void apply(T *val)
Definition: ByteConverter.h:41
#define sObjectMgr
Definition: ObjectMgr.h:1567
struct SmartAction::@114::@155 wpStop
Definition: SmartScriptMgr.h:171
Definition: SmartScriptMgr.h:111
Definition: SmartScriptMgr.h:169
Definition: SmartScriptMgr.h:440
struct SmartEvent::@77::@83 respawn
Definition: SmartScriptMgr.h:120
struct SmartEvent::@77::@79 minMaxRepeat
DBCStorage< AreaTableEntry > sAreaTableStore(AreaTablefmt)
Definition: SmartScriptMgr.h:127
Definition: SmartScriptMgr.h:121
Definition: SmartScriptMgr.h:148
Definition: SmartScriptMgr.h:510
Definition: SmartScriptMgr.h:432
Definition: SmartScriptMgr.h:154
Definition: SmartScriptMgr.h:158
Definition: SmartScriptMgr.h:441
Definition: SmartScriptMgr.h:462
Definition: SmartScriptMgr.h:534
Definition: SmartScriptMgr.h:499
struct SmartEvent::@77::@94 movementInform
Definition: SmartScriptMgr.h:142
struct SmartEvent::@77::@82 los
bool IsTextValid(SmartScriptHolder const &e, uint32 id)
Definition: SmartScriptMgr.cpp:1275
Definition: SmartScriptMgr.h:453
Definition: SmartScriptMgr.h:536
bool IsEmoteValid(SmartScriptHolder const &e, uint32 entry)
Definition: SmartScriptMgr.h:1622
Definition: SmartScriptMgr.h:172
Definition: SmartScriptMgr.h:110
Definition: SmartScriptMgr.h:475
Definition: SmartScriptMgr.h:507
Definition: SmartScriptMgr.h:472
Definition: SmartScriptMgr.h:128
Definition: SmartScriptMgr.h:167
Definition: SmartScriptMgr.h:477
Definition: SmartScriptMgr.h:442
Definition: SmartScriptMgr.h:547
Definition: SmartScriptMgr.h:450
Definition: SmartScriptMgr.h:469
std::pair< CacheSpellContainer::const_iterator, CacheSpellContainer::const_iterator > CacheSpellContainerBounds
Definition: SmartScriptMgr.h:1475
Definition: SmartScriptMgr.h:522
Definition: SmartScriptMgr.h:517
Definition: SmartScriptMgr.h:521
Definition: SmartScriptMgr.h:448
#define MAX_SHEATH_STATE
Definition: Unit.h:303
struct SmartAction::@114::@123 randomEmote
Definition: SmartScriptMgr.h:458
Definition: SmartScriptMgr.h:1219
Definition: SmartScriptMgr.h:490
Definition: SmartScriptMgr.h:533
struct SmartEvent::@77::@81 spellHit
Definition: SmartScriptMgr.h:1210
bool IsAreaTriggerValid(SmartScriptHolder const &e, uint32 entry)
Definition: SmartScriptMgr.h:1632
Definition: SmartScriptMgr.h:471
bool IsTextEmoteValid(SmartScriptHolder const &e, uint32 entry)
Definition: SmartScriptMgr.h:1612
struct SmartAction::@114::@135 randomPhase
Definition: SmartScriptMgr.h:502
Definition: SmartScriptMgr.h:162
Definition: SmartScriptMgr.h:470
Definition: SmartScriptMgr.h:505
struct SmartAction::@114::@142 setSheath
struct SmartEvent::@77::@85 targetCasting
Definition: SmartScriptMgr.h:473
struct SmartEvent::@77::@89 summoned
Definition: SmartScriptMgr.h:530
#define SI64FMTD
Definition: Define.h:140
DB2Storage< TaxiPathEntry > sTaxiPathStore("TaxiPath.db2", TaxiPathFormat, HOTFIX_SEL_TAXI_PATH)
Definition: SmartScriptMgr.h:149
#define sSpellMgr
Definition: SpellMgr.h:756
Definition: SpellInfo.h:238
Definition: SmartScriptMgr.h:468
Definition: SmartScriptMgr.h:107
Definition: SmartScriptMgr.h:157
Definition: SmartScriptMgr.h:446
bool IsSpellValid(SmartScriptHolder const &e, uint32 entry)
Definition: SmartScriptMgr.h:1592
Definition: SmartScriptMgr.h:113
uint32_t uint32
Definition: Define.h:150
Definition: SmartScriptMgr.h:455
DB2Storage< CreatureDisplayInfoEntry > sCreatureDisplayInfoStore("CreatureDisplayInfo.db2", CreatureDisplayInfoFormat, HOTFIX_SEL_CREATURE_DISPLAY_INFO)
bool NotNULL(SmartScriptHolder const &e, uint32 data)
Definition: SmartScriptMgr.h:1552
struct SmartAction::@114::@131 setEventPhase
struct SmartAction::@114::@133 removeAura
Definition: SmartScriptMgr.h:153
Definition: SmartScriptMgr.h:527
Definition: SmartScriptMgr.h:139
Definition: SmartScriptMgr.h:69
#define sSmartWaypointMgr
Definition: SmartScriptMgr.h:1670
Definition: SmartScriptMgr.h:488
Definition: SmartScriptMgr.h:86
struct SmartAction::@114::@167 equip
Definition: SmartScriptMgr.h:457
Definition: SmartScriptMgr.h:164
DBCStorage< PhaseEntry > sPhaseStore(Phasefmt)
Definition: SmartScriptMgr.h:165
Definition: SmartScriptMgr.h:449
Definition: SmartScriptMgr.h:524
SMART_EVENT type
Definition: SmartScriptMgr.h:188
Definition: SmartScriptMgr.h:465
Definition: MotionMaster.h:55
Definition: SmartScriptMgr.h:537
struct SmartAction::@114::@140 updateTemplate
Definition: SmartScriptMgr.h:459
struct SmartEvent::@77::@87 friendlyCC
struct SmartAction::@114::@150 summonGO
Definition: SmartScriptMgr.h:519
struct SmartEvent::@77::@86 friendlyHealth
Definition: DBCStructure.h:824
bool IsItemValid(SmartScriptHolder const &e, uint32 entry)
Definition: SmartScriptMgr.h:1602
Definition: SmartScriptMgr.h:105
Definition: SmartScriptMgr.h:481
Definition: SmartScriptMgr.h:1091
Definition: SmartScriptMgr.h:476
struct SmartEvent::@77::@84 minMax
Definition: SharedDefines.h:1144
Definition: SmartScriptMgr.h:487
struct SmartAction::@114::@192 randomSound
Definition: SmartScriptMgr.h:168
Definition: SmartScriptMgr.h:516
uint32 quest
Definition: SmartScriptMgr.h:278
#define sGameEventMgr
Definition: GameEventMgr.h:184
struct SmartAction::@114::@153 wpStart
Definition: SmartScriptMgr.h:1346
int64 entryOrGuid
Definition: SmartScriptMgr.h:1367
Definition: SmartScriptMgr.h:146
Definition: SmartScriptMgr.h:482
uint32 GetActionType() const
Definition: SmartScriptMgr.h:1378
SmartAction action
Definition: SmartScriptMgr.h:1373
DBCStorage< MapEntry > sMapStore(Mapfmt)
Definition: SmartScriptMgr.h:544
uint32 GetScriptType() const
Definition: SmartScriptMgr.h:1376
CacheSpellContainerBounds GetSummonGameObjectSpellContainerBounds(uint32 gameObjectEntry) const
Definition: SmartScriptMgr.cpp:1368
Definition: SmartScriptMgr.h:456
Definition: SmartScriptMgr.h:523
struct SmartEvent::@77::@101 textOver
Definition: SmartScriptMgr.h:538
Definition: SmartScriptMgr.h:134
Definition: SmartScriptMgr.h:1094
struct SmartAction::@114::@117 faction
Definition: SmartScriptMgr.h:506
Definition: SmartScriptMgr.h:545
Definition: SmartScriptMgr.h:136
Definition: SmartScriptMgr.h:119
struct SmartEvent::@77::@106 gameEvent
SpellEffectInfoVector GetEffectsForDifficulty(uint32 difficulty) const
Definition: SpellInfo.cpp:3311
std::vector< GameEventData > GameEventDataMap
Definition: GameEventMgr.h:107
Definition: SmartScriptMgr.h:514
Definition: SmartScriptMgr.h:483
Definition: SmartScriptMgr.h:117
Definition: SmartScriptMgr.h:132
Definition: SmartScriptMgr.h:520
Definition: SharedDefines.h:265
Definition: SmartScriptMgr.h:104
Definition: SmartScriptMgr.h:513
uint32 sound
Definition: SmartScriptMgr.h:585
Definition: SmartScriptMgr.h:554
Definition: SmartScriptMgr.h:1090
uint32 GetTargetType() const
Definition: SmartScriptMgr.h:1379
Definition: SmartScriptMgr.h:501
Definition: SmartScriptMgr.h:1092
Definition: SmartScriptMgr.h:147
Definition: SmartScriptMgr.h:133
#define TC_LOG_ERROR(filterType__,...)
Definition: Log.h:207
Definition: SharedDefines.h:4413
Definition: SmartScriptMgr.h:443
struct SmartAction::@114::@124 cast
bool IsGameObjectValid(SmartScriptHolder const &e, uint32 entry)
Definition: SmartScriptMgr.h:1582
Definition: SmartScriptMgr.h:497
struct SmartEvent::@77::@80 kill
Definition: SharedDefines.h:30
Definition: SmartScriptMgr.h:493
Definition: SmartScriptMgr.h:508
struct SmartEvent::@77::@112 counter
Definition: SmartScriptMgr.h:542
Definition: SmartScriptMgr.h:1083
Definition: SmartScriptMgr.h:552
Definition: SharedDefines.h:1875
Definition: SmartScriptMgr.h:159
Definition: Creature.h:277
struct SmartEvent::@77::@109 doAction
Definition: SmartScriptMgr.h:464
struct SmartAction::@114::@118 morphOrMount
Definition: SmartScriptMgr.h:1068
Definition: GameEventMgr.h:56
Definition: SmartScriptMgr.h:447
struct SmartEvent::@77::@111 distance
Definition: SmartScriptMgr.h:512
Definition: SmartScriptMgr.h:484
Definition: SmartScriptMgr.h:467
struct SmartAction::@114::@189 gameEventStop
uint32 quest
Definition: SmartScriptMgr.h:596
Definition: SmartScriptMgr.h:463
Definition: SmartScriptMgr.h:528
Definition: SmartScriptMgr.h:500
struct SmartEvent::@77::@110 friendlyHealthPct
Definition: SmartScriptMgr.h:129
Definition: SmartScriptMgr.h:433
DBCStorage< FactionTemplateEntry > sFactionTemplateStore(FactionTemplatefmt)
Definition: SmartScriptMgr.h:504
CacheSpellContainerBounds GetSummonCreatureSpellContainerBounds(uint32 creatureEntry) const
Definition: SmartScriptMgr.cpp:1363
Definition: SmartScriptMgr.h:155
Definition: SmartScriptMgr.h:126
struct SmartEvent::@77::@100 areatrigger
bool isValid() const
Definition: GameEventMgr.h:72
struct SmartEvent::@77::@97 transportAddCreature
Definition: SmartScriptMgr.h:144
Definition: SmartScriptMgr.h:535
bool IsQuestValid(SmartScriptHolder const &e, uint32 entry)
Definition: SmartScriptMgr.h:1572
SMART_ACTION type
Definition: SmartScriptMgr.h:561
bool IsMinMaxValid(SmartScriptHolder const &e, uint32 min, uint32 max)
Definition: SmartScriptMgr.h:1532
Definition: SmartScriptMgr.h:183
Definition: SmartScriptMgr.h:546
Definition: SmartScriptMgr.h:156
struct SmartAction::@114::@146 ingamePhaseGroup
uint32 emote
Definition: SmartScriptMgr.h:591
Definition: SmartScriptMgr.h:540
Definition: SmartScriptMgr.h:486
Definition: SmartScriptMgr.h:539
Definition: SmartScriptMgr.h:553
Definition: SmartScriptMgr.h:541