aboutsummaryrefslogtreecommitdiff
path: root/src/common
AgeCommit message (Collapse)Author
2020-07-16[3.3.5] Get zone/area IDs from vmap data in the liquid update (#19840)Treeston
* Add new method Map::getFullVMapDataForPosition to get area info and liquid info in a single vmap lookup * Use this lookup in Map:: relocation methods to update m_areaId and m_zoneId fields on WorldObject * Adjust GetZoneId/GetAreaId on WorldObject to always return these cached fields * Clean up liquid state handling on Unit and Player * Hand floor's Z coord up through GetFullTerrainStatusForPosition, use it to update a new field in WorldObject, and use that to feed a new GetFloorZ call on WorldObject. Closes #16489 (cherry picked from commit f6c849729b27b77228704b595de3adaf24da2c10)
2020-07-01Core/DataStores: Fixed sending localized hotfixes and improved db2 loading ↵Shauren
error messages
2020-06-30Core/Misc: Changed GetLocaleByName to return invalid value on invalid input ↵Shauren
instead of LOCALE_enUS * Also added IsValidLocale helper function
2020-06-29Core/Misc: Remove unused variablesShauren
2020-06-29Core/DataStores: Fixed loading db2 stringsShauren
Closes #24916
2020-06-28Core/Collision: Port new parts for retrieving area/liquid data from ↵Shauren
gameobjects added when porting 42f9deb21ec68e169f7ed1c8cf14092f144b22da to 3.3.5
2020-06-27Core/DataStores: Simplified string memory allocation in db2 files, dropped ↵Shauren
unneccessary level of indirection
2020-06-23Core/Misc: Replace Trinity::make_unique with std (#24869)Peter Keresztes Schmidt
2020-06-15common: Add a missing include guardCarbenium
2020-06-12Core/Spells: Implement using different difficulty data from all spell ↵Shauren
related db2s, not just SpellEffect and SpellPower
2020-05-24Core/Maps: Improvements to terrain swap handlingShauren
* Fixed memory leak when unloading grids * Handle child maps being entered * Allow chaining more child maps (Draenor -> Tanaan Jungle -> Tanaan Jungle - No Hubs Phase)
2020-05-21Core/Misc: GCC build and warning fixesShauren
2020-05-10Fix dynamic buildShauren
2020-05-10Core/DataStores: Allow loading encrypted sections when key is known when ↵Shauren
reading from casc storage Closes #24456
2020-05-10Tools/vmap assembler: Move TileAssembler from common to vmap4_assembler ↵Shauren
where it belongs
2020-05-01Merge pull request #24500 from funjoker/cherry-picksShauren
2020-04-28Core/Misc: Fix static analysis issuesjackpoz
(cherry picked from commit 486b03234304526d8f7d66ff0d99ea3de975745e)
2020-04-27Core/Misc: Enum flag v3 - allow enabling flag operations directly after enum ↵Shauren
definition when inside namespaces
2020-04-26Core/Misc: Improve enum flags with type safe operatorsShauren
2020-04-26Core: Fix clang 10 warningsShauren
2020-04-24Core/Crash: Refactor and fixesjackpoz
Code cleanup. Fix buffer overflow crash. Fix type being truncated to 199 characters. (cherry picked from commit 9226e212053ef8ec10eeb9509f2ce6ec002d8e3b)
2020-04-24Core/Auras: reworked multiplicative AuraEffects calculationariel-
- Splitted containers for flat modifiers and pct modifiers, as they now have different handling - Amount is now multiplied only on apply; on unapply, iterate through auras and reset the counter - Fixes many cases of rounding error due to applying/unapplying of small factors - Allows amounts to be zeroed (ie with an AuraEffect of amount -100) - Do a partial revert of 6dc37a9add631888fe5fbcd43d19c2b07bed8a57, auras should update amounts only for items allowed (ie no more giving crit to a sword while having an axe in the other hand and being Poleaxe spec'd) - SPELL_AURA_MOD_SCALE now scales additively, rather than multiplicatively (checked in sniffs) Closes #18687 (cherry picked from commit c69a7d1223b2ce108a221e5cc70f76cd80ae6675)
2020-04-20Core/AuctionHouse: After taking a break at the start of patch 8.3 auction ↵Shauren
house is now back in business.
2020-04-14Core/DBLayer: Implement async transaction completion callbacksShauren
2020-04-12Core/Entities: ObjectGuid improvementsShauren
* Support creation of all guid types * Change ToString to output client compatible text (fixes calendar and auction mails) * Fix saving and loading item soulbound trade allowed traders * constexpr EnumClassFlag
2020-04-04Core/Misc: Removed old incorrect defineShauren
2020-04-03Core/Entities: Fixed saving spawn difficulties to db for .npc add and .gob ↵Shauren
add (and other commands that modify creature/gameobject spawns table)
2020-01-02New YearAokromes
2019-11-29Core/Items: Add location filters to Player::GetItemByEntryShauren
2019-11-28Core/DataStores: Work around buggy client db2 metadataShauren
2019-11-21Core/Spells: Make missing spell/aura effect handler assignments a compile ↵Shauren
time error instead of runtime crash
2019-11-08Core/Misc: Suppress openssl random generator uninitialized variable errors ↵Shauren
under valgrind
2019-11-03Core/DataStores: Fixed out of bounds memory access in sparse db2 loaderShauren
Closes #23900
2019-10-27Core/DataStores: Updated db2 structures to 8.2.5Shauren
2019-08-17Core/Misc: Fix static analysis issuesjackpoz
(cherrypicked from b375bab22592daaaa1fc387c4f6a1fb9564cbcc6)
2019-08-11Core/DataStores: Fixed loading parent indexes for files with multiple sectionsShauren
2019-08-10Tools/Extractors: Swapped to new casclib 64bit file size functionsShauren
2019-08-08Core/Misc: MSVC build error (#23637)Sebastien Levy
- fixed a constness error leveraged by msvc 16.2 (cherry picked from commit 7e10438b275922ebf00d335ccfb7c00f508461c8)
2019-07-16Core/PacketIO: Fix sending uninitialized dataShauren
2019-07-14Fix build for openssl 1.0Shauren
2019-07-14Core/PacketIO: Updated packet encryption to 8.2Shauren
2019-06-15Core/Spells: Remade trajectory target selection (#19048)xinef1
* Remade trajectory target selection * Added possibility to apply conditions to trajectory spells * Properly recalculate delay time if CMSG_UPDATE_PROJECTILE_POSITION is received (cherrypicked from c6060dd0c511ddad3cb1f0423aa9ccf2de7aedec)
2019-06-08Fix warnings and nopch buildShauren
2019-06-08Core/DataStores: Updated db2 structures to 8.1.5Shauren
2019-06-08Core/PacketIO: Updated packet structures to 8.1.5Shauren
2019-04-14Core/Dep: Boost 1.70 compatibilityShauren
2019-02-16Core/Misc: Fix static analysis issuesShauren
Fix static analysis issues reported by Coverity
2019-01-16Core/Objects: increase sight range of all Infinite, Gigantic and Large ↵Kittnz
objects & correct general default visibility distance (#22892) Note: This does not make the object active. Some info on range https://trinitycore.atlassian.net/wiki/spaces/tc/pages/74950924/Lua+Scene+Script+Documentation#LuaSceneScriptDocumentation-ActorAOIRange #21111 #21681 #22891 Thanks Kinzcool & Kelno
2019-01-09Core/Misc: Improved ip2location code and set it to disabled by defaultShauren
(cherry picked from commit 0ead73516adfeaff96292685592085e20737d535)
2019-01-09Nopch fix (#22077)Gildor
(cherry picked from commit e323652f790b62feaf16d8427779f8e5f949e040)