Commit Graph

30478 Commits

Author SHA1 Message Date
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
ariel-
5ad94a5529 DB/Spell: correct Deathfrost level restriction 2017-03-03 01:22:16 +01:00
ariel-
f5220ee4c2 DB/Spell: fix some enchants proc chances and reduced effects for levels > 60
- Deathfrost:  Slow effect should not work on targets 73 or higher.
- Icy Weapon: proc chance reduced, made to a %-per-hit, should only proc on white hits
- Unholy Weapon: proc chance increased to 3 PPM (based on comments data)
- Battlemaster: should only proc on white hits
- Crusader: effect reduced for players above 60

Closes #7789
2017-03-03 01:22:06 +01:00
treeston
8d06064897 Core/Creature: Fix SetSpawnHealth so it cooperates with the colossal hack that is Battleground::AddCreature. *puke* 2017-03-03 01:21:26 +01:00
ariel-
6cd253ff8f Core/Misc: moved WeaponAttackType definition to SharedDefines to avoid including Unit.h 2017-03-03 01:19:28 +01:00
ariel-
5ff56097c0 DB/Loot: remove some incorrect drops of three quest reward items
- Items reward of the Hakkari Urn, it must always contain the 3 items (previous had a very little chance of being less than 3)
- Hakkari Urn is the reward from "Secret of the Circle (3447)"
2017-03-03 01:18:56 +01:00
Keader
382c852f73 Core/Scripts: Fixed epic sounds on Illidan Fight (#19172)
Thanks Kittnz for notice <3
2017-03-03 01:18:46 +01:00
Killyana
8a5f153d89 DB: Fix some DB errors 2017-03-03 01:18:37 +01:00
Killyana
0fea6cb8fb DB/Creature: Fix respawn time for some npcs added in a previous commit 2017-03-03 01:18:26 +01:00
Dr-J
cb1a355cc5 DB/SAI: Zangen Stonehoof
Remove part of script which rings bell at start of nights event when his nightly script activates as this should no longer be needed.
2017-03-03 01:18:15 +01:00
Kittnz
5b057ed5a0 Script/GO: Alliance Bell, Horde Bell and Karazhan Bell will now send a bell sound on the start of each hour. (#19145)
* Script/GO: Alliance Bell, Horde Bell and Karazhan Bell will now send a bell sound on the start of each hour.

How many times it rings depence on the hour.

* fix little things from pr comments

* Added OnGameEvent

* Fix braces

* almost finished

* fix enum

* Add gameobjects to the game event

Fix override for InitializeAI

* enum squash

* remove braces

* Rename 9999_99_99_99_world.sql to 2017_02_19_01_world.sql
2017-03-03 01:18:00 +01:00
r00ty-tc
4fcffe767c [Core/AH] Correctly check player can pay deposit
- Deposit amount wasn't correctly checked in the case of multiple items,
   player with insufficient funds could auctin more items than they should
2017-03-03 01:17:15 +01:00
Aokromes
f430d2fd31 Core/Misc: added loading error message for SCRIPT_COMMAND_PLAY_ANIMKIT
SMSG_PLAY_ONE_SHOT_ANIM_KIT can now be used in waypoint_scripts
2017-02-19 09:46:43 +01:00
Aokromes
fda6446838 Rename Files 2017-02-19 09:20:55 +01:00
Aokromes
abdc3c084c DB/Misc: Fix typo on game_tele for Greymane Wal
Closes #19163 by MrSmite
2017-02-19 09:17:40 +01:00