Commit Graph

30492 Commits

Author SHA1 Message Date
Killyana
82262a60ba DB/Creature: Duc Ravarage
By Malcrom
2017-03-13 10:07:46 +01:00
Killyana
2a4a3475d1 DB/Quest: The Battle Must Go On
Fix a case that bugs the npc trigger
Thank to xinef1 for the help
2017-03-13 10:07:19 +01:00
ariel-
4602724be6 Core/SmartAI: Allow scripting GameObjects by spawn id too 2017-03-13 10:06:40 +01:00
tkrokli
94ec644c3b SQL file adjustments
- remove redundant .sql in file name
- add comment as spacing from previous file
2017-03-13 10:06:30 +01:00
Kittnz
24937d36c1 DB/Creature: Update Z position of Grinkle <Fishing Promoter> in Orgrimmar 2017-03-13 10:06:16 +01:00
ariel-
7fbe0cb1ae DB/Conditions: fix Sablemane's Sleeping Powder exploit 2017-03-13 10:05:26 +01:00
Killyana
3d15331113 DB/SAI: Fix some DB errors
Ref #18542
2017-03-13 10:04:44 +01:00
ariel-
96816e1e76 Core/Creature: redo some logical checks in _IsTargetAcceptable
- Check against current creature victim, don't check potential victim attacking list.
- Neutral creatures with aggressive reactstate were triggered to attack from MoveInLineOfSight because of this check
- Prevents attack from a distance after right clicking an npc

Closes #19235
2017-03-13 10:04:00 +01:00
ariel-
39ad9d81ae DB/Spell: fix stack rules for some groups
- Haste % (Improved Moonkin Aura, Swift Retribution)
- Damage % (Arcane Empowerment, Sanctified Retribution, Ferocious Inspiration)
- Healing % (Tree of Life, Improved Devotion Aura)

Closes #16331
Closes #17175
2017-03-13 10:03:51 +01:00
Killyana
b95fcfc9d1 DB/Creature: Fix a type on creature text related to Lord Thorval
Ref 80a0c3cfc7
2017-03-13 10:02:58 +01:00
Aokromes
41c30413c9 Core/Misc: Minimize branch differences 2017-03-13 09:52:07 +01:00
Aokromes
2852b76c0f DB/Misc:Fix error on base files 2017-03-12 22:06:13 +01:00
Aokromes
4164d89980 Merge branch '4.3.4' of https://gitlab.com/trinitycore/TrinityCore_434 into 4.3.4 2017-03-12 14:19:51 +01:00
Aokromes
b5e42af79c DB/Misc: Respawn Temple of Atal'Hakkar
By Malcrom
2017-03-12 14:19:29 +01:00
Aokromes
58a585a3f1 Core/Misc: Build fix 2017-03-12 13:51:20 +01:00
Aokromes
546d71a7b4 Core/SAI: added new action SMART_ACTION_PLAY_ANIMKIT 2017-03-11 15:45:16 +01:00
Aokromes
5bfc7e25f9 DB/Gameobject: Add missing Darkmoon Carousel template 2017-03-07 15:01:04 +01:00
Aokromes
08a118c87e Compile fix 2017-03-03 12:48:37 +01:00
Aokromes
a90929e60b Rename files 2017-03-03 01:38:49 +01:00
Aokromes
18d755e1e6 Merge branch '4.3.4' of https://gitlab.com/trinitycore/TrinityCore_434 into 4.3.4 2017-03-03 01:38:20 +01:00
ariel-
936ddbff9b Core/Spell: disable proc for magnet auras, they're handled differently
Closes #19208
2017-03-03 01:33:07 +01:00
ariel-
22c4d86dfe Core/Database: Prepared statement parameter preallocation (#18999)
- Pass prepared statement size to the helper class to prevent runtime resizing.
- Rename CheckValidIndex -> AssertValidIndex
- Cached prepared size on the worker pool as it's shared among all connections
- Cached query data only for each connection, done lookup in map instead of possibly creating a new element
- Kill the prepared statement map, and store raw sql string on the MySQLPreparedStatement class
(This info is only used for logging, and there is no need of keeping a second container just for it)
2017-03-03 01:32:12 +01:00
xinef1
206fddf129 Core/GameObject: regenerate GO loot if respawn time passed since last loot generation time and not all items were taken (#19101) 2017-03-03 01:31:44 +01:00
xinef1
9d021fce21 Corrected calculation for SPELL_AURA_PERIODIC_DAMAGE_PERCENT (#19060) 2017-03-03 01:31:32 +01:00
xinef1
f8b090fd8a Core/Misc: Always reward all necessary reputations on creature kill (#19106) 2017-03-03 01:31:22 +01:00
xinef1
0642e5bd82 Remove auras interrupted by falling when we fall to the ground or water (#19115) 2017-03-03 01:31:13 +01:00
ariel-
04d3783664 Core/Scripts: Change null-check to assert
- ToPlayer() should never be null in this context
2017-03-03 01:31:04 +01:00
Keader
e90a90d760 Core/Scripts: Fixed crash in Sindragosa
Closes #19227
2017-03-03 01:30:54 +01:00
ariel-
d93be13e6e Core/Misc: always output client cache version on loading 2017-03-03 01:30:46 +01:00
ariel-
66e856fc50 DB/Misc: populated version table with missing data from TDB file
Closes #18274
2017-03-03 01:30:36 +01:00
ariel-
7544544cf1 Core/Entities: spawned movementtype should override template movementtype
Core/SmartAI: pass the CreatureData pointer (if any) on updating template

Closes #19223
2017-03-03 01:30:25 +01:00
ariel-
3ceeffde86 Core/Movement: Corrected all speed checks after 23b6991273
Ref issue #19210
2017-03-03 01:30:15 +01:00
ariel-
2acac2c9f7 Core/Scripts: implement Moss Covered Feet
Closes #19022
2017-03-03 01:30:02 +01:00
Naios
3eb8f457e8 Dep: Use the anonymous namespace free definition of boost::none.
* Fixes MSVC linking errors after the recent changes:

    "class boost::none_t const & const boost::`anonymous namespace'
    ::none" (?none@?A0x518851d0@boost@@3AEBVnone_t@2@EB)
    already defined in scripts_commands.lib...

* Sets the required version of boost on windows to 1.59
  according to the wiki.
2017-03-03 01:29:48 +01:00
Naios
0c0f613acd Dep: Update efsw to version 1.0.0 2017-03-03 01:29:14 +01:00
ariel-
277cdfdff8 Core/Auras: fix more unused parameter warnings 2017-03-03 01:28:48 +01:00
ariel-
45bbcd1d9b Core/Auras: fix unused parameter warning 2017-03-03 01:28:20 +01:00
jackpoz
e36790b312 Core/Misc: Fix static analysis issues 2017-03-03 01:26:40 +01:00
Aokromes
d2559e5904 Update extractor.bat 2017-03-03 01:26:32 +01:00
ariel-
c777589d70 Core/Scripts: kill a warning 2017-03-03 01:26:22 +01:00
ariel-
891b8369e6 Core/Scripts: Thrusting Hodir's Spear
- Everything is sniffed, enjoy this hell of a quest!

Closes #12808
2017-03-03 01:26:12 +01:00
Gustavo
d21bb8f5ca Core/Unit: Correct speed calculus when affected by SPELL_AURA_MOD_MINIMUM_SPEED (#18136) 2017-03-03 01:26:03 +01:00
ariel-
ce6df00019 Core/Dep: update zlib to 1.2.11
Changelog:

Changes in 1.2.11 (15 Jan 2017)
- Fix deflate stored bug when pulling last block from window
- Permit immediate deflateParams changes before any deflate input

Changes in 1.2.10 (2 Jan 2017)
- Avoid warnings on snprintf() return value
- Fix bug in deflate_stored() for zero-length input
- Fix bug in gzwrite.c that produced corrupt gzip files
- Remove files to be installed before copying them in Makefile.in
- Add warnings when compiling with assembler code

Changes in 1.2.9 (31 Dec 2016)
- Fix contrib/minizip to permit unzipping with desktop API [Zouzou]
- Improve contrib/blast to return unused bytes
- Assure that gzoffset() is correct when appending
- Improve compress() and uncompress() to support large lengths
- Fix bug in test/example.c where error code not saved
- Remedy Coverity warning [Randers-Pehrson]
- Improve speed of gzprintf() in transparent mode
- Fix inflateInit2() bug when windowBits is 16 or 32
- Change DEBUG macro to ZLIB_DEBUG
- Avoid uninitialized access by gzclose_w()
- Allow building zlib outside of the source directory
- Fix bug that accepted invalid zlib header when windowBits is zero
- Fix gzseek() problem on MinGW due to buggy _lseeki64 there
- Loop on write() calls in gzwrite.c in case of non-blocking I/O
- Add --warn (-w) option to ./configure for more compiler warnings
- Reject a window size of 256 bytes if not using the zlib wrapper
- Fix bug when level 0 used with Z_HUFFMAN or Z_RLE
- Add --debug (-d) option to ./configure to define ZLIB_DEBUG
- Fix bugs in creating a very large gzip header
- Add uncompress2() function, which returns the input size used
- Assure that deflateParams() will not switch functions mid-block
- Dramatically speed up deflation for level 0 (storing)
- Add gzfread(), duplicating the interface of fread()
- Add gzfwrite(), duplicating the interface of fwrite()
- Add deflateGetDictionary() function
- Use snprintf() for later versions of Microsoft C
- Fix *Init macros to use z_ prefix when requested
- Replace as400 with os400 for OS/400 support [Monnerat]
- Add crc32_z() and adler32_z() functions with size_t lengths
- Update Visual Studio project files [AraHaan]
2017-03-03 01:25:52 +01:00
Killyana
4e3a4cd4d2 DB/Quest: The Missing Diplomat
Closes #19142
2017-03-03 01:25:04 +01:00
ariel-
1106eadac6 Core/Conditions: CONDITION_SOURCE_TYPE_QUEST_ACCEPT should not prevent completed question mark from showing (#18151 follow up)
Closes #19188
2017-03-03 01:24:23 +01:00
ariel-
823f96953f Core/Players: fix 2 Seal of Righteousness spells on paladins
Closes #14239
2017-03-03 01:24:09 +01:00
ariel-
12d7e6c3b6 DB/Spell: add some proc entries to spells that should proc on cast
Closes #19124
2017-03-03 01:23:18 +01:00
ariel-
c6443aa2ca DB/Spell: fix armor reduction (and spell hit debuff) stack rules
- All auras will now properly show but only the strongest one will be active

Refs #19187
2017-03-03 01:22:53 +01:00
Keader
708d2c5272 Core/Scripts: Fixed Illidan epic sounds again (#19184) 2017-03-03 01:22:41 +01:00
Killyana
a43d2bc312 DB/Spell: Sunder Armor stack rules
Closes #19187
By Jildor
2017-03-03 01:22:30 +01:00