Shauren
f7fd109066
Buildsystem: Fixed windows pch build with ninja
...
(cherry picked from commit a6e46c1c2ef491cd4cce39be47445e9da194e84e)
2017-12-14 09:49:56 +01:00
Shauren
b8ca6a9045
Core/Spells: Fixed accessing freed memory after reloading spell_area
2017-12-03 17:12:31 +01:00
Shauren
088d678a9f
Core/Items: Fixed sending unlocked items by mail
...
Closes #20976
2017-11-27 00:57:25 +01:00
Shauren
d979329be3
Scripts/Events: Fixed memory leak in npc_bountiful_table added in 75df296bb6f8d30a65f669dab6af3d1b2d6046f7
2017-11-25 22:44:00 +01:00
Shauren
41fa77a301
Dep/jemalloc: Fixed valgrind intergration
2017-11-19 20:18:19 +01:00
Shauren
2ce760af40
Scripts/Sethekk Halls: Added missing empty check before Trinity::Containers::SelectRandomContainerElement
...
Ref #20317
2017-11-16 20:41:44 +01:00
Shauren
64d1facd40
Core/Taxi: Fixed applying reputation discount to first taxi segment
...
Closes #20713
(cherry picked from commit d7e463dd9f7c61e1056148cf8956bcb0f8fd1fed)
2017-10-26 03:08:14 +02:00
Shauren
0792f890a3
Core/Misc: Revert back to using boost::regex, std::wregex doesn't work for name validation
...
Closes #20094
2017-08-03 00:19:24 +02:00
Shauren
3f5f58ec6a
Build fix
2017-07-29 15:23:08 +02:00
Shauren
f699891b37
Core/Misc: Util changes
...
* Move IteratorPair to its own header
* Add AsUnderlyingType function to cast enum value to its underlying type (avoids repeating std::underlying_type everywhere)
2017-07-29 14:41:26 +02:00
Shauren
e830489294
Core/Auth: Fixed client getting stuck on login or realm change
2017-07-21 21:22:56 +02:00
Shauren
fc7b5201a4
Core/Auth: Prevent queueing more than one realmlist query at the same time
2017-07-12 19:25:33 +02:00
Shauren
2a68b6a0db
Buildsystem: Exclude ScriptPCH from all targets when building dynamic scripts (except MSVC)
...
(cherry picked from commit 550c57a0df954ade238f6cd0318cfc6890dd26f0)
2017-06-25 14:17:28 +02:00
Shauren
1808fdd7b2
Buildsystem: Minor PCH building changes
...
* *PCH.cpp are now only compiled with MSVC, other compilers use custom helper commands to generate the precompiled header
* Don't call the linker for pch helpertargets
(cherry picked from commit 137f5e78877ef1b81f4dca68dd43268e325aeeed)
2017-06-25 14:16:31 +02:00
Shauren
3bf8426942
Core/Maps: Fixed initializing instance free ids when compiled with WITH_COREDEBUG
...
Closes #19931
2017-06-25 14:16:04 +02:00
Shauren
39356deeb9
Core/Vmaps: Fixed getting map height near large gameobjects like LK platform
...
Updates #19865
2017-06-09 13:29:41 +02:00
Shauren
38d1fc9ab3
Core/Utils: Changed all Trinity::Containers utilities to work on all container types (including arrays where it makes sense)
...
* Added MapGetValuePtr to allow writing `if (Val* v = MapGetValuePtr(map, key))`
* Added utility IteratorPair class with begin/end methods and MapEqualRange for use in range for syntax with multimaps
(cherry picked from commit a1e3b54e076bf0361d23ace53703a4e501354d7c)
2017-06-07 09:14:37 +02:00
Shauren
900a2da03d
Core/Instances: Fixed and optimized instance id reuse
2017-06-06 08:00:10 +02:00
Shauren
0a61a3ffb5
Core/Groups: Fixed calculating canReset attribute
...
Broken in d6df19cd99 .
2017-06-02 00:23:00 +02:00
Shauren
080fd33e13
Revert "Core/Groups: fix wrong query for loading group instance data. canReset attribute was calculated in the wrong way"
...
This reverts commit 0c1dd398bd .
Closes #19745
2017-06-02 00:22:46 +02:00
Shauren
d8b9d2a9da
Core/Misc: Prefix all preprocessor defines from CompilerDefs with TRINITY_ to avoid conflicts (PLATFORM_WINDOWS is used/defined by CascLib)
...
(cherry picked from commit b8db320bf14e327bcd12279871b914d8635ef122)
2017-05-26 14:49:55 +02:00
Shauren
aa864d57f7
Core/Hotswap: Replace #ifdef conditions with comparisons of values defined in CompilerDefs.h
...
(cherry picked from commit 43510a258c83215efcf5e70a253523e8a4199502)
2017-05-26 14:24:42 +02:00
Shauren
bba87cfeee
Core/Auras: Allow passive auras from items to stack
...
(cherry picked from commit 8453d7dae25823dd5d2ecf2b718a469c0553214c)
2017-05-04 04:27:59 +01:00
Shauren
1f96c1f268
Merge 1e1fcd6847619629f4b6642faaccb81c4cf3755e
2017-05-03 17:26:32 +01:00
Shauren
a9d5fab271
Core/Spells: Calculate hitMask and store it in DamageInfo/HealInfo structures
2017-05-03 17:14:00 +01:00
Shauren
fd19577d7d
Core/Spells: Name a spell attribute
...
(cherry picked from commit e88a5e4d6d34a7d319cf8a18d3522017bc9101c0)
2017-04-16 11:46:00 +02:00
Shauren
ed95f9249b
Core/Random: Remove no longer needed hack for VS 2013
...
(cherry picked from commit 59fe9087447dc58c3f41fb6f647bc2b50a95b9b5)
2017-04-14 13:45:21 +02:00
Shauren
3f048ca5fa
Core/Auth: Per SRP6a protocol, terminate connection of A % N == 0. This resolves another authentication bypass issue
...
(cherry picked from commit cmangos/mangos-wotlk@ea3e08a812 )
2017-03-15 23:37:24 +01:00
Shauren
bc2221cd19
Add missing sql to previous commit
2017-02-19 09:12:24 +01:00
Shauren
c7d5c24bfe
fix typo
2017-02-10 05:26:49 +01:00
Shauren
9d4a1ddc10
Core/Maps: Adjusted WorldObject::GetGridActivationRange() to never be less than map visibility distance for active objects to ensure equal ranges for activation/deactivation of grids
...
Updates #19072
2017-02-10 05:26:38 +01:00
Shauren
fae31bf07d
Core/Auras: Prevent infinite stacking of passive auras with the same id from the same caster on the same target
...
Closes #18475
(cherry picked from commit 88676120586df7581677eca8d5e2724579c69482)
2017-02-10 05:25:16 +01:00
Shauren
043b4de635
Fixed clang segmentation fault in nopch mode
...
(cherry picked from commit 787adc24b2d1a7a3c03ecfed57de27631359ef65)
2017-02-05 01:54:34 +01:00
Shauren
b80a8dd9fa
Core/DBLayer: Refine new query callback for chaining
...
(cherry picked from commit 73e61fa652d1233bfff1db91fa2bca8c317c8caf)
2017-02-01 01:21:10 +01:00
Shauren
7f91c34200
Core/DBLayer: Added new async query callback api
...
(cherry picked from commit fcabeed7544285f3244465ccfc5337c59e63c6b0)
2017-02-01 01:20:52 +01:00
Shauren
dc2deb8602
Core/Vmaps: Changed error message when loading outdated vmaps
...
Closes #18431
Closes #18857
2017-01-23 00:17:17 +01:00
Shauren
bbcd694155
Fix static analysis issues
...
CID 1291964
CID 1292775
(cherry picked from commit 6767bbc95f46df4b62c8131a39a132d3f9bb8a26)
Conflicts:
src/server/game/Entities/Player/Player.cpp
src/server/game/Spells/SpellHistory.h
src/server/game/Spells/SpellInfo.cpp
2017-01-23 00:15:36 +01:00
Shauren
5ac6ed25d1
Core/Player: Removed unneeded distance check from Player::ActivateTaxiPathTo, it is already checked by HandleActivateTaxi* methods (and taxis started serverside should not have such requirements)
...
Closes #15398
2017-01-21 14:36:46 +01:00
Shauren
9401fd3621
Tools/mmaps_generator: Mak percentage progress slightly more accurate
...
#18832
2017-01-15 06:23:30 +01:00
Shauren
5ddf50bdee
Core/Auras: Fixed removing auras triggered by aurastates
...
Closes #17868
(cherry picked from commit f94e6cee38241e10daed711247a18b8706cb8924)
2016-11-15 05:43:30 +01:00
Shauren
a618a6b121
Core/Transports: Fixed crash added in b88cecb656c62cd3bcc3ae2a171b173eb64a28c9
2016-11-02 03:47:20 +01:00
Shauren
bf19fe3e26
Core/Transports: Added extra transport position update just when it stops moving
...
Closes #17952
2016-11-02 03:46:52 +01:00
Shauren
93fd8f2511
Core/GameObjects: Fixed Frozen Trap target selection
...
Closes #14238
Closes #17517
2016-11-02 03:23:23 +01:00
Shauren
a3e5afc027
Core/Spells: Calculate hitMask and store it in DamageInfo/HealInfo structures
2016-10-05 08:01:38 +02:00
Shauren
f5a980be9b
Core/Units: Clear UNIT_NPC_EMOTESTATE on death (blizzlike)
...
Closes #15263
Closes #18027
2016-10-04 18:07:59 +02:00
Shauren
b1f20ced7a
Core/Creatures: Exclude despawned creatures from being found by "nearest entry" searchers
...
Updates #11418
Closes #17706
2016-08-22 21:11:14 +02:00
Shauren
a3d4957150
Typo fix
2016-08-22 20:54:59 +02:00
Shauren
89a630b1e4
Dynamic linking build fix
2016-08-22 20:53:56 +02:00
Shauren
a778c8033f
Core/Spells: Fixed possible null pointer dereference
...
Coverity CID 1357406
(cherry picked from commit cc07a491f64fa958c8a27079bd2def84c577f816)
2016-08-20 15:54:14 +02:00
Shauren
f1c84639b5
Core/Misc: Warning fixes (/W4)
...
(cherry picked from commit c9ba5ce591a8b4ef5dc0e73d0ce107b6acf5e969)
2016-08-10 06:41:59 +02:00
Shauren
ea918e1b69
Core/Utils: Added additional argument to Tokenizer class to make it behave like strtok - not returning empty tokens in case of multiple consecutive separators in input string
...
(cherry picked from commit dd1533b315bda37e1d43ebe0fb8bde87381c6e66)
2016-08-07 21:28:29 +02:00
Shauren
3d991107e2
Core/Commands: Cooldown command should fall back to targeting self in case of no valid selection
2016-07-20 19:34:45 +02:00
Shauren
792f48b554
Core/Commands: Allow .cooldown command to work on player pets
2016-07-20 19:34:04 +02:00
Shauren
286e796a55
Core/Quests: Failing/abandoning a quest should not unconditionally remove required items, non-quest specific items such as crafting reagents should remain in inventory
2016-07-20 19:31:30 +02:00
Shauren
8a5e7eba70
Core/Units: Fixed autoattack range
...
Closes #17539
2016-07-20 19:12:44 +02:00
Shauren
00cc84a51d
And another typo fix
2016-07-20 18:44:49 +02:00
Shauren
6e755d05d8
Typo fix
2016-07-20 18:44:38 +02:00
Shauren
684fb69d0d
Core/Spells: Fixed spell dest range check failing on 0 distance max range requirement even if standing directly on top of destination
2016-07-20 18:38:18 +02:00
Shauren
fa7026cee3
Core/Spells: Fixed spell range check
...
Closes #17060
2016-07-20 18:26:18 +02:00
Shauren
05f11a46ba
build fix
2016-07-20 16:05:51 +02:00
Shauren
5942d4da0a
Core/Scripts: build fix
2016-07-20 14:15:04 +02:00
Shauren
e58f0e805c
Core/Units: Renamed and documented UNIT_FLAG_DISABLE_MOVE to prevent people from trying to use this flag to root a creature leaving them wondering why it doesn't do anything
2016-07-20 13:56:16 +02:00
Shauren
85e2bf54eb
Core/Loot: Fixed resaving looted items from containers
...
Closes #15299
2016-07-20 13:51:07 +02:00
Shauren
1aed8daf9a
Core/Spells: Implemented SPELL_ATTR1_DISMISS_PET
...
Closes #7372
2016-07-20 13:50:29 +02:00
Shauren
f11a9a31c2
Core/Containers: Warning fixes and RandomResizeList with predicate optimization
2016-07-20 13:28:41 +02:00
Shauren
0233ced55e
Core/Auras: Implemented auras SPELL_AURA_PREVENT_DURABILITY_LOSS and SPELL_AURA_PREVENT_DURABILITY_LOSS_FROM_COMBAT
...
(cherry picked from commit 17118f4832d527f160dc300a52db7ba6c255bce2)
2016-07-20 13:21:47 +02:00
Shauren
5c6802d509
Core/Spells: Fixed flat SPELLMOD_DAMAGE_MULTIPLIER calculation
...
(cherry picked from commit 35ab476f1691870a67c8ede78e9c37618f6bd383)
2016-07-20 13:04:59 +02:00
Shauren
0bf6e30f44
Build fix
2016-07-20 10:30:36 +02:00
Shauren
a4498c7cab
Core/Auras: Renamed fields of SpellProcEntry structure and change types to more appropriate ones
2016-07-20 10:25:03 +02:00
Shauren
60817bca50
Core/Random: Removed ancient and unused MAP_BASED_RAND_GEN
2016-05-12 09:22:46 +02:00
Shauren
763c1548f1
Core/Auras: SPELL_AURA_PERIODIC_LEECH can now properly overkill
2016-05-12 09:21:30 +02:00
Shauren
f6824d1207
Core/Auras: Implemented AURA_INTERRUPT_FLAG_LEAVE_COMBAT
...
(cherry picked from commit d621023192a6480aa0f338908a353002fc6accf1)
2016-05-12 09:19:01 +02:00
Shauren
af17e23204
Core/Misc: Fixed -Wmisleading-indentation warnings
...
(cherry picked from commit 3ac33163db2786cbd18f2158fc81d6ea9fa66316)
# Conflicts:
# src/server/game/Server/Protocol/PacketLog.cpp
2016-05-12 09:10:53 +02:00
Shauren
ff4da3acaa
Core/Misc: Fixed warnings found by GCC 6
...
(cherry picked from commit 67fd3ee726cbd509e6a15f81f4780e757a78a8b5)
# Conflicts:
# src/server/game/Spells/Auras/SpellAuras.cpp
2016-05-12 09:09:30 +02:00
Shauren
2aa7dff892
Core/Misc: Use steady_clock instead of system_clock for calculating ms timers. This makes update diffs immune to systemwide time changes
...
(cherry picked from commit 406ac4f4b492e8733d0c1e6142838b3fff8c80a3)
2016-05-12 09:09:13 +02:00
Shauren
4801f77b3c
Core/Auras: Fixed a visual issue with combat log appearing to deal negative damage with SPELL_AURA_PERIODIC_LEECH if the spell does more damage than target has health (before calculating resist) and any damage is resisted.
...
Closes #16495
2016-05-12 08:33:11 +02:00
Shauren
e0f6b24c93
Core/Spells: Don't report spell errors to client when spell was triggered and failed some internal condition
2016-05-12 08:30:38 +02:00
Shauren
b7f52184c2
Travis: Configure fake user for tagging
...
(cherry picked from commit 373d7104c14f1e4fc64c41e25eee0f7f672c2b74)
2016-05-12 08:29:40 +02:00
Shauren
cd7537e1f4
Travis: Fixed git version info output
...
(cherry picked from commit 03917c79cdecb906912d9a94ac5ccdaecc8f62e1)
2016-05-12 08:29:21 +02:00
Shauren
4c3db96715
Core/Common: Moved MessageBuffer to common
...
(cherry picked from commit a81a204678f4cbd8b8a53333600f50f0b494706a)
2016-05-12 08:28:38 +02:00
Shauren
a7f68c489a
Properly rename the stand state method...
2016-05-12 08:27:48 +02:00
Shauren
a12493fd84
Core/Misc: Renamed getStandState to minimize differences between branches
2016-05-12 08:27:29 +02:00
Shauren
0fbcff44df
Core/DataStores: Fixed creating entries in sEmotesTextSoundMap if passed invalid arguments (also a data race, if done in multiple threads)
2016-05-12 08:26:26 +02:00
Shauren
b68437da60
Core/Util: Extracted GetPID to separate function
...
(cherry picked from commit e3af42e05cdf9e4c959d4e038349008da4faca27)
2016-05-12 08:04:52 +02:00
Shauren
049d20fdb7
Core/Networking: Added new AsyncRead method to Socket class allowing to pass a custom completion handler
...
(Partially cherry-picked from f123c396591ffb50fa7e02365235740df618f579)
2016-05-05 03:41:02 +02:00
Shauren
702d19039e
Core/Debugging: Make abort() less bad on windows by forcing crash log generation
...
(cherry picked from commit dea7d429abe5143672154784f93e4b19020062d5)
# Conflicts:
# src/server/bnetserver/Main.cpp
2016-05-05 03:40:04 +02:00
Shauren
fe64bdddb3
Core/Logging: Force synchronous logging after io_service shutdown - fixes logging on worldserver shutdown
...
(cherry picked from commit a0b2be6c1d0ae17ad8a17692d77f2020bbb9296e)
2016-05-05 03:35:07 +02:00
Shauren
9d4e537a62
Core/PacketIO: Requeue packets handled with STATUS_LOGGEDIN received before player is fully loaded in one step after packet processing loop - reduces used locks from 3 per packet to 1 per packet
...
(cherry picked from commit 8086a39210659c44d52fb463f5a39f047aa45685)
2016-05-05 03:34:42 +02:00
Shauren
07ba043eae
Warning fix
...
(cherry picked from commit 983635458bbe84b359713693da0be2bfdcd55536)
2016-05-05 03:34:21 +02:00
Shauren
3be8fba942
Core/Misc: Removed unneccessary boost/asio/buffer.hpp include
...
(cherry picked from commit 01be486f2f0f35e8421d1a1919bd037194756932)
2016-05-05 03:33:40 +02:00
Shauren
c2abc2df38
Core/Logging: Include more info in bad realm log
...
(cherry picked from commit a6dd6d7841d6ab3e496d492d225c5541721c8dfd)
2016-05-05 03:32:43 +02:00
Shauren
3c6e9fe8b6
Core/Auth: Fixed login for accounts with accented characters
...
Closes #16770
Conflicts:
src/server/database/Database/Implementation/LoginDatabase.cpp
2016-05-04 02:56:53 +02:00
Shauren
ddb85e242a
Core/Networking: Fixed DelayedCloseSocket when compiled without TC_SOCKET_USE_IOCP (linux)
...
Closes #16769
(cherry picked from commit 0daba931ef8e57777ed98a94a0a51c0690ba3d9c)
2016-05-04 02:52:03 +02:00
Shauren
7fe5a77f5e
Warning fix
2016-03-05 20:17:37 +01:00
Shauren
3d0b065135
Core/Commands: Fixed a crash in .wp mod by @Magnifikator
...
Closes #16732
2016-03-05 20:16:42 +01:00
Shauren
e73d5a7bf4
Core/Commands: Fixed incorrect use of GetGUID instead of GetSpawnId in waypoint commands
...
Updates #16732
2016-03-05 20:14:58 +01:00
Shauren
0e9b34ff05
Merge pull request #16711 from ariel-/conditionmerge
...
[3.3.5 only] Core/Conditions: Improved mergeability between branches
2016-03-02 16:55:22 +01:00
Shauren
85c912c404
Core/Misc: Added Convenience methods removing auras by predicate
...
(cherry picked from commit 0953bcf73f01ab5d85bb8665fbf8451d0ed460b3)
2016-02-25 21:01:38 +01:00
Shauren
2345e84855
Final build fix for gcc 4.7 (no longer supported in 8 days)
2016-02-21 14:13:00 +01:00
Shauren
e60f575ac8
Core/Misc: Fixed a crash happening when a db string array was NULL
...
Closes #15670
2016-02-20 13:13:29 +01:00