Commit Graph
13334 Commits
Author SHA1 Message Date
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
Dustin Paul a3e17a8d4d Core/LFG: Readd players to queue when proposal fails because someone else declined it (#16279) 2016-05-12 08:32:57 +02:00
Chaouki Dhib 920d829b64 Core/Movement: Added a wrapper method in MotionMaster for a unit to move toward another unit and stop once it reaches the target at a certain distance. (#16806) 2016-05-12 08:32:38 +02:00
Gacko 05cffd29c6 Add missing configuration key LoginDatabase.SynchThreads.
(cherry picked from commit b23a6aeaff403266491ea75207558bf9917b9cc4)

# Conflicts:
#	src/server/bnetserver/bnetserver.conf.dist
2016-05-12 08:32:21 +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 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
treeston 29fc5909e6 - Clean up spell facing behavior a bit. Visual target behavior should now be a lot smoother.
- Clean up Creature.cpp. NULL -> nullptr, gotta love it.
- Renamed some recently added members of Creature to match code style.
2016-05-12 08:25:01 +02:00
DDuarte 477a4edfe2 Core/Config: Fix 3 more missing config warnings
Closes #16861

Thanks tkrokli

(cherry picked from commit 0afcefea2724081968b07119ebd54943fdc44b60)
2016-05-12 08:24:45 +02:00
DDuarte 06a91b090d Core/Config: Error logging for ptree_bad_data
Ref https://github.com/TrinityCore/TrinityCore/commit/6487e2f2d6a1ddbeff77362219658376b8a3f9f0#commitcomment-16888976

(cherry picked from commit 9431b94bff939457cb915da3728cda6067674558)
2016-05-12 08:24:32 +02:00
Kittnz 5c2d8939f4 Pet/Misc: Implement Baby Blizzard Bear 2016-05-12 08:23:16 +02:00
DDuarte 2f5a67438a Core/Config: Remove references to Arena.QueueAnnouncer.PlayerOnly which hasn't been used since 3dd6fdedf7
Ref #16859
2016-05-12 08:22:54 +02:00
DDuarte 941192ba38 Core/AHBot: Add missing AuctionHouseBot.Class.CLASS.Allow.Zero to config
Ref #16859
2016-05-12 08:22:39 +02:00
DDuarte 4e4cbad69f Core/Network: Change SocketMgr.StartNetwork to take the thread count by arg instead of config
AuthSocketMgr doesn't need "Network.Threads" config

Fixes "Missing name Network.Threads in config file authserver.conf"

Ref #16859
2016-05-12 08:22:27 +02:00
Kito 5430da8e81 Scripts/Spells: Add generic spell to handle ClearDebuffs spell 2016-05-12 08:19:56 +02:00
Rochet2 b837b2a2e6 Add missing GAME_API exports 2016-05-12 08:17:33 +02:00
r00ty-tc f51e4e1ca7 Adjustments to spell facing - Adjusted HaveAtClient to accept Object* (still accepts all subordinates) - Use grid searcher to find players in visibility range for unit - Use client cache instead of "See or Detect" to decide who to send updates to - Adjusted SendUpdateToPlayer to send createobject packet only if not known to client
(cherry picked from commit c0693a6ee52d31840ab2ee878c4881884b857638)
2016-05-12 08:17:08 +02:00
treeston 32e4388a8c Scripts/Karazhan: Hackfix the Opera event script to make Wizard of Oz actually completable.
Doing it in script instead of removing the flags from DB because I'm pretty sure that the DB flags are correct and there's some RP event missing before she becomes attackable.
2016-05-12 08:16:41 +02:00
Nertx 2adc27a1f0 Core/Game: Fix Tremor Totem in LoS
* Closes #15012

Signed-off-by: Naios <naios-dev@live.de>
2016-05-12 08:16:29 +02:00
sirikfoll 89141f1501 Core/AI Remove Reset() call from JustRespawned() hook
* Not needed, and causes trouble when using _DespawnAtEvade()
* Closes #16786
2016-05-12 08:16:07 +02:00
joschiwald 28840fd29e Fixed typo 2016-05-12 08:14:07 +02:00
treeston b51be91142 No, Travis, I do not intend to handle SPELL_GROUP_STACK_RULE_MAX. It is not a value that should ever be actually used. Go away. 2016-05-12 08:13:48 +02:00
treeston 4b695ce3da Entities/Pet: Finally fix pets spamming Blood Pact/Fel Intelligence in some scenarios. Your eardrums will thank me. 2016-05-12 08:13:26 +02:00
Aokromes 077bdf3b89 Misc: remove incorrectly readded code 2016-05-12 08:12:30 +02:00
Aokromes 295b152833 Misc: remove useless row 2016-05-12 08:09:32 +02:00
treeston 06d976b221 Entities/Creature: Fix bugs with pets not properly reacquiring target after spell cast. Closes #16824. 2016-05-12 08:05:47 +02:00
MitchesD 86ed1a8f7b Scripts/TheEye: updated Void Reaver to EventMap
(cherry picked from commit 8a7ae9d16c7c834cd57064014ddcac359aa61c32)
2016-05-12 08:05:28 +02:00
joschiwald 8241b71a78 Scripts: Added combat abilities to trash mobs in Ruby Sanctum
Thx @sirikfoll

SAI by @Keader

Closes #16703
2016-05-12 08:01:17 +02:00
Aokromes 34d78137e0 Scripts/Commands: Modify .debug anim command to target any selected unit 2016-05-12 00:25:01 +02:00
jackpoz 5fa4faac38 Core/Creatures: Fix dead creatures spawn position on restart
Fix dead flying creatures ignoring being spawned below the floor in instances on server restart because of not taking into account vmap height.
Fix #16777
2016-05-12 00:19:58 +02:00
Keader 27ed37ee39 Fix Living Constellation not activating during Algalon encounter. 2016-05-12 00:18:19 +02:00
Aokromes 3826127f08 Core/Misc: kill spam 2016-05-12 00:14:44 +02:00
Golrag f98281909f Scripts/Icecrown Citadel: Fixed Sindragosa ice tomb targets
* Also changed the way NonTankTargetSelector checks who is the tank.
2016-05-12 00:02:27 +02:00
Aokromes 80e61027e8 Merge branch '4.3.4-fix_flying_form_after_teleport' into '4.3.4'
Remove useless line

Useless line removal following comment from Aokrome on merge https://gitlab.com/trinitycore/TrinityCore_434/merge_requests/12

See merge request !13
2016-05-08 17:27:55 +00:00
Gangrene ed3a094942 Remove useless line 2016-05-08 19:16:10 +02:00
Aokromes be4075e81f Merge branch '4.3.4-fix_eject_passenger' into '4.3.4'
Fix ejecting passenger

Fixes ejecting passenger from mounts like mammoths

See merge request !11
2016-05-08 12:34:23 +00:00
Aokromes a7fe9aecc4 Merge branch 'patch-1' into '4.3.4'
Now Nalorakk can be attacked after his last waypoint.



See merge request !7
2016-05-08 12:33:46 +00:00
Aokromes 3aa1e95b1b Merge branch '4.3.4-fix_flying_form_after_teleport' into '4.3.4'
fix flying form in no fly zones after teleport

Checks if the new zone allows flying after a teleport.
If not, removes flying spell auras.

For example, this bug allowed druids to enter Tol Barad with flying form, or in any dungeon with the help of a demonist.

See merge request !12
2016-05-08 12:33:04 +00:00
Gangrene 40f2ae4d07 fix teleport to draenei/blood elves areas with flying aura 2016-05-07 01:37:07 +02:00
Gangrene 616c5ca2b3 Remove debug line 2016-05-05 11:44:22 +02:00
Aokromes 8a7aced869 Core: Make travis happy 2016-05-05 06:51:47 +02:00
Aokromes 9866c77dad Core: Fix build 2016-05-05 06:34:48 +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
RelevantJesse c9e27cca44 Update PetAI.cpp
Pulled check for IsReady to outside of the IsPositive check

(cherry picked from commit a71ea54a3a6f960463fb582b2e573a672ed00999)
2016-05-05 03:40:44 +02:00
MitchesD c5d2ece2fe Core/Misc: fix build
(cherry picked from commit ce5def332fa12ea4b2f3223fbaa4e41750da9cfb)
2016-05-05 03:40:27 +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