Commit Graph
4087 Commits
Author SHA1 Message Date
kiper 8299627ed9 Update headers for 2012. HAPPY NEW YEAR!!! 2012-01-01 00:32:13 +01:00
Shauren bd37ed23c9 Merge pull request #4559 from devilcoredev/fix_004
Core/Items: Fixed socket bonus activation with prismatic sockets.
2011-12-31 13:25:30 -08:00
leak 73cf793e56 Core/DBLayer: Refactor prepared statement defines Note:
The new format for the middle section is a 3-letter upper case abbreviation of the sql command being executed (select -> SEL, update -> UPD, etc.)
{DB}_{SEL/INS/UPD/DEL/REP}_{Summary of data changed}
2011-12-31 20:14:38 +01:00
leak ff8874574f Core/DBLayer: Convert another Execute() query to a prepared statement 2011-12-31 19:51:48 +01:00
Giuseppe Montesanto a4fa4bb390 Fix the bonus socket activation with prismatic sockets. 2011-12-31 17:42:20 +01:00
QAston afc18461d7 Core/SpellScripts: Add BeforeCast, OnCast and AfterCast hooks to SpellScripts. 2011-12-31 13:11:12 +01:00
Aokromes eed85f4fab Requiere at least 1 door of each line of defense to be down to allow to take relic 2011-12-31 12:13:41 +01:00
leak 8adac3f246 Core/DBLayer: Convert PExecute() queries to prepared statements No. 3 2011-12-31 00:32:05 +01:00
leak ded31adfa1 Core/SAI: Restore build 2011-12-30 19:01:22 +01:00
Rat 91a6bee7ad Merge pull request #4503 from Subv/fix002
Some changes in SMART_ACTION_MOVE_TO_POS
2011-12-30 04:19:24 -08:00
Spp 57490ead83 Core/Commands: Allow to search for other account/characters from a selected player without having to write the ip as argument (By Bizzy) 2011-12-30 08:27:05 +01:00
Shocker b5a53a72d1 Merge pull request #4477 from wilds/fix_bg_queue_timer
Core/Battleground: Fix invite accept wait timer (m_events must always be updated, not only when scheduled)

Closes #4103
2011-12-28 08:05:20 -08:00
Subv2112 bbfb21022f Fixed compile, thanks Lopin for pointing out 2011-12-28 07:10:59 -05:00
Spp 48829f8ffb Core/Players: Fix out of bound access (by MoltenDev) 2011-12-28 12:32:48 +01:00
Spp c1513b2c05 Warning fixes 2011-12-28 11:00:27 +01:00
Subv2112 d7266c3cae Core/SAI: Added also SMART_TARGET_OWNER_OR_SUMMONER to SMART_ACTION_MOVE_TO_POS.
Codestyle

Signed-off-by: Subv2112 <[email protected]>
2011-12-27 20:37:42 -05:00
Subv2112 bbce35687d Merge branch 'master' of https://github.com/TrinityCore/TrinityCore into fix002 2011-12-27 20:31:55 -05:00
Subv2112 645a10d76f Core/SAI: Added support for SMART_TARGET_CREATURE_RANGE, SMART_TARGET_CREATURE_GUID, SMART_TARGET_CREATURE_DISTANCE, SMART_TARGET_GAMEOBJECT_RANGE, SMART_TARGET_GAMEOBJECT_GUID, SMART_TARGET_GAMEOBJECT_DISTANCE, SMART_TARGET_CLOSEST_CREATURE and SMART_TARGET_CLOSEST_GAMEOBJECT in SMART_ACTION_MOVE_TO_POS
Signed-off-by: Subv2112 <[email protected]>
2011-12-27 20:25:50 -05:00
Subv2112 c145c67331 Core/SAI: Enabled SMART_TARGET_STORED
Signed-off-by: Subv2112 <[email protected]>
2011-12-27 20:23:55 -05:00
leak b4ecd85da4 Core/DBLayer: Convert PExecute() queries to prepared statements No. 2 (fixup) 2011-12-27 16:31:10 +01:00
Machiavelli d183add132 Merge pull request #4494 from Venugh/master
Core/DBLayer: Convert weekly query to PreparedStatements
2011-12-27 05:17:19 -08:00
Subv2112 83d5924715 Speedup loading in LoadCreatureFormations
Signed-off-by: Subv2112 <[email protected]>
2011-12-26 22:03:40 -05:00
Venugh 882ebe2b8e Core/World: Convert Execute to PreparedStatement from Battleground random. 2011-12-27 01:04:12 +01:00
Venugh cab508b4c8 Convert a Execute to a PreparedStatement. 2011-12-27 00:56:42 +01:00
leak e646dbb3cd Core/DBLayer: Convert PExecute() queries to prepared statements No. 2 2011-12-27 00:29:48 +01:00
Shocker f283a7b116 Merge pull request #4475 from Svannon/fix-fishingcone
Core/Fishing: Reduce the fishing cast cone to 35 degrees from each side of the facing instead of 70. Make the overall cone 70 degrees instead of 140
2011-12-25 12:16:10 -08:00
leak ef17c05dec Core/DBLayer: Convert PExecute() queries to prepared statements No. 1 2011-12-25 18:13:21 +01:00
leak 41888f63c9 Core/DBLayer: Proper code style on recently refactored code 2011-12-25 14:26:50 +01:00
Wilds 711a5793bc Core/Battleground: fix invite accept wait timer (m_events must be always updated, not only when schedule) 2011-12-25 09:32:09 +01:00
leak 64a2a29506 Core/DBLayer: Convert Execute() queries to prepared statements 2011-12-25 02:22:10 +01:00
leak 08bd2f1a54 Core/DBLayer: Convert callback queries to prepared statements No. 3 2011-12-25 01:27:44 +01:00
Nay 0d98ecc6c1 Merge pull request #4463 from Warpten/stings
Core/Spells: Fixed Improved Stings Rank 2 Dispel resist chance
2011-12-24 15:09:52 -08:00
Svannon 3405e0811d [Fishing] Reduce the Fishing cast cone to 35 degrees from each side of the facing instead of 70. Make the overall cone 70 degrees instead of 140. 2011-12-24 12:41:22 -07:00
QAston 15bd8f3cd5 Core/Spells: Fix logic in AnyDeadUnitSpellTargetInRangeCheck - spells using this should now correctly check target requirements. This is an alternative fix to #4112. 2011-12-24 08:40:30 +01:00
Kapoeira c89c007f9f Core/Spells: Fixed Improved Stings Rank 2 Dispel resist chance (crazy targeting typo) 2011-12-23 19:49:59 -05:00
QAston eecc4b58a7 Core/Spells: Use better check for target type in Spell::EffectSendEvent - SpellEffect::GetProvidedTargetMask() is much more accurate than hardcoded dbc index. 2011-12-23 23:52:22 +01:00
megamage e6a3dc679f Fix a crash caused by 0ac431f52d. Close #4418. 2011-12-23 11:09:09 -05:00
kaelima 07c294b0c2 Core/Vehicle: Corrected the flag of VEHICLE_SEAT_FLAG_B_USABLE_FORCED_4 2011-12-23 14:32:32 +01:00
kaelima 398299084e Corrected some logic in my recent commits.
- ff2dbfc381 thanks LihO
- 6ccf95af4c thanks frostmourne
2011-12-22 18:48:06 +01:00
megamage ce0dfa88a6 Revert "Temp fix for *nix build."
It builds in *nix without this patch.

This reverts commit e84fffe588.
2011-12-22 10:15:17 -05:00
megamage e84fffe588 Temp fix for *nix build. 2011-12-22 08:57:16 -05:00
Machiavelli bb2696a688 Core/Vehicles: Define and implement VEHICLE_SEAT_FLAG_B_USABLE_FORCED_4 2011-12-22 14:10:05 +01:00
kaelima ff2dbfc381 Core/Spells: Fix two signed / unsigned warnings from f8a13b401d 2011-12-22 13:22:18 +01:00
kaelima f8a13b401d Core/Spells:
- Fix channeling spells with infinite duration (-1)
- Allowed SPELL_FAILED_EQUIPPED_ITEM_CLASS_MAINHAND and SPELL_FAILED_EQUIPPED_ITEM_CLASS_OFFHAND in SendCastResult (more reasons todo)
2011-12-22 00:38:01 +01:00
megamage 36bfce08b4 Try to fix build in Linux. 2011-12-21 08:55:54 -05:00
Machiavelli 2d93bd07ba Core/DBLayer: More generic implementation of callback chains, instead of using this functionality local to CharacterCreatInfo class. Will be used in other places as well. 2011-12-21 10:22:03 +01:00
Machiavelli 17aeeaa9b5 Core/DBLayer: Fix a silly error in HandleStableSwapPet (synchronous query in async context). Fixes possible loss of pets when swapping. 2011-12-21 09:36:05 +01:00
kaelima 4b0acb7432 Core/Spells: Force Invisibility (mage) to leave combat. 2011-12-21 02:16:06 +01:00
kaelima 2f2b84f6e5 Core/Spells: Fix some possible crashes in HandleAuraDummy, caster can be null for auras. 2011-12-21 02:12:46 +01:00
megamage 8cf2062c1f Update grid system. Try to fix some crashes and transport passengers (now they are despawned after a while). 2011-12-20 17:07:09 -05:00