Commit Graph

20237 Commits

Author SHA1 Message Date
treeston
2dd658cacc Fix formation follow. Closes #19995. 2017-07-06 19:41:49 +02:00
treeston
07593f6c34 Core/Combat: Fixed issues with creatures sometimes entering combat with friendly targets
Close #19980
2017-07-03 19:40:56 -03:00
treeston
0d27fee6f4 adjust CreatureGroups to use cmangos flags (for already-supported values, no functionality changed) 2017-07-03 20:03:39 +02:00
treeston
495e161db2 Fix an issue that was causing all creature group members to assist each other, even if only one of the aggro flags was set. Also refactor enum values to be readable.
Fixes #19977.
2017-07-03 19:39:16 +02:00
treeston
62d5113252 Two more refactors I missed for #19930. Last ones for now, I promise. 2017-07-03 17:49:54 +02:00
treeston
2739a5c5f5 Some more refactoring prep for combat/threat (#19930). 2017-07-03 17:33:34 +02:00
treeston
5d3c69bf44 Creatures now release spell focus on projectile launch (for spells that have a projectile portion) as opposed to projectile impact.
This should make some very slow projectiles (f.ex. Professor Putricide's Malleable Goo) a lot smoother.
2017-07-03 00:17:31 +02:00
Keader
0048d4b618 Core/Custom: Fixed Duel Reset Exploits
Close #17419
*Fixed exploit with SPELLMOD_COOLDOWN
*Fixed exploit with some items (like Sylvanas' Music Box)
*Little cleanup
2017-07-01 16:56:30 -03:00
Shauren
c8480f171a Nopch fix 5 and should be last 2017-07-01 21:47:00 +02:00
Shauren
235194bf54 typo fix 2017-07-01 21:37:07 +02:00
Shauren
7a72a170be Nopch fix 4 2017-07-01 21:33:34 +02:00
treeston
0f47868d34 nopch fix episode 3: revenge of that one boss in slabs that is borked anyway 2017-07-01 21:21:16 +02:00
Shauren
533e082e80 Nopch fix 2 2017-07-01 20:56:41 +02:00
Shauren
383b30041f Nopch fix 2017-07-01 20:40:07 +02:00
Treeston
e2a1ccd118 [3.3.5] Combat/Threat rewrite - prep & refactor (#19966)
* Combat/Threat rewrite (PR #19930) prep work. Mostly refactors, and a compatibility layer on ThreatManager/HostileReference that allows scripts to be changed already.
2017-07-01 20:18:02 +02:00
Shauren
5879eb2198 Core/Spells: Add missing validate 2017-07-01 11:57:16 +02:00
treeston
e07a322a3e Combustion will now properly go on cooldown when the buff is manually cancelled. Fixes #19968. 2017-06-30 18:25:11 +02:00
treeston
e35092c6a1 Combat/threat rewrite prep - merge RBAC/DB changes. 2017-06-28 17:27:34 +02:00
Treeston
7dfd472f8d Proper client timeout detection (#19906)
- Properly detect client timeout when logged into a character after a configurable time (default 60s) has passed without the client sending any packets.
- Fixes issues with crashed clients leaving characters in the world for a very long time (default 15 minutes), as well as edge case exploits involving intentionally pausing client execution for some amount of time.
2017-06-27 00:22:33 +02:00
Rushor
0770848322 Core/Creature: Implement Mangos GroupAI flags (allows formation without following) (#18733) 2017-06-25 12:29:05 +02:00
Treeston
489478b74d Core/Entities: Extend combo point system to all Units and fix numerous quirks with rogue CP and vehicles (Malygos P3) (#19914)
- Implement Wolverine Bite (fixes #752)
- General combo point system cleanup
2017-06-24 22:41:16 -03:00
ariel-
641c2036ab Core/Spells: fix runtime log spam 2017-06-24 22:28:00 -03:00
ariel-
d790f86a94 Core/Movement: silence warning 2017-06-24 17:27:38 -03:00
ariel-
30f9426b5b Core/Movement: New names for a few spline flags
(cherry picked from commit c7cd51e8f5)
2017-06-24 17:19:32 -03:00
Gildor
629095ae21 Warrior: Fix T10 Melee 4P Bonus (#19954) 2017-06-24 15:20:59 +02:00
Shauren
dcc43de72f Buildsystem: Exclude ScriptPCH from all targets when building dynamic scripts (except MSVC)
(cherry picked from commit 550c57a0df)
2017-06-22 02:37:09 -03:00
Shauren
da9de83454 Core/Scripts: Optimize PCH contents
(cherry picked from commit a9b64d737d)
2017-06-22 02:36:13 -03:00
Shauren
5024813fe3 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 137f5e7887)
2017-06-22 02:33:12 -03:00
Shauren
9d37c2b8eb Core/Maps: Fixed initializing instance free ids when compiled with WITH_COREDEBUG
Closes #19931
2017-06-21 17:55:38 +02:00
ariel-
9f765a1620 Core/Spells: fixed crash
Closes #19924
2017-06-20 13:31:36 -03:00
ariel-
faf299459b Core/Globals: fix VS2015 build 2017-06-20 00:02:34 -03:00
ariel-
c106177f20 Core/Achievement: fix linking 2017-06-19 23:47:55 -03:00
ariel-
85a7d5ce9a Core: ported headers cleanup from master branch 2017-06-19 23:20:06 -03:00
treeston
052fc24315 Fix an overly strict check that was causing guardians to evade loop. Also make players properly enter combat when their pets are engaged by a creature. 2017-06-20 00:58:32 +02:00
ariel-
fd07c4985e Core: fix warning 2017-06-19 13:38:01 -03:00
Shauren
d6201e5dbb Core/Grids: Ported cmangos/mangos-wotlk@ea99457e50
(cherry picked from commit 9299e9bde0)
2017-06-19 13:16:13 -03:00
Shauren
7874bee7bf Core/Misc: Cleanup worldserver/authserver main() functions to run destructors in predictable order
* world/auth servers will now fail to startup if listen ports are in use
* Restored "Network.OutUBuff" config option lost during boost transition

(cherry picked from commit 6c92a481a3)
2017-06-19 04:04:21 -03:00
joschiwald
46cb32c99f Core/Misc: Added Creature::CanGiveExperience helper function
(cherry picked from commit c1cc0e9949)
2017-06-19 02:35:22 -03:00
Keader
b74ed00f4e Core/Spells: Fixed range issue with Killing Spree
Closes #19913
2017-06-18 14:44:02 -03:00
S.V
3eba093704 Core/Scripts: Fixed GAMEOBJECT_TYPE_DOOR closing automatically after being opened with .gobj act (#19342)
Closes #19261.
2017-06-18 15:23:45 +02:00
ariel-
08d0105396 Core/Scripts: fix array out of bounds in Pit of Saron doorData 2017-06-18 05:34:04 -03:00
treeston
4b9b1d485d Revert "Cross-check client-submitted fall time with server-measured time. When excessive difference is detected, punish player. (#19895)" due to really random edge case client behavior causing false positives.
Going to need to find a different approach for dealing with the underlying issue.

This reverts commit 27cbfc3a93.
2017-06-18 01:25:36 +02:00
Treeston
27cbfc3a93 Cross-check client-submitted fall time with server-measured time. When excessive difference is detected, punish player. (#19895)
Fixes an exploit that could trivialize the Lich King encounter.
2017-06-17 03:31:53 +02:00
treeston
41eddd59aa Correct some missing auth DB changes from b59ca1c. 2017-06-17 01:24:53 +02:00
treeston
c81f221e48 30ac4f5 follow-up. (Finally, Keader. Finally.) 2017-06-16 23:04:35 +02:00
treeston
30ac4f5377 Fix an issue where temp summons were ignoring m_regenHealth. (Hi Keader.) 2017-06-16 22:28:41 +02:00
treeston
b59ca1cc81 Rename .debug uws to .debug worldstate (clarity change). 2017-06-15 16:56:15 +02:00
treeston
250e8d998b Group creation again (follow-up to 132538d). Groups now only disband if all members reject the invitation (as opposed to if any member rejects the invitation). 2017-06-15 13:08:26 +02:00
treeston
4b6351e6a5 Fixes to all-reputation and all-skill custom option handling:
- Move on-create customs (all explored, all reputations) to CharacterHandler::HandlePlayerLogin for first login. Fixes #19839.
- Add Wrath factions to all reputations custom (it only had BC factions).
- Remove unused ReputationMgr::SendStates. Add ReputationMgr::SendState handling for sending all updated states in arbitrary order if nullptr is passed (used in point #1).
- Fix all weapon skills max custom to properly apply on learning new weapon skills.
2017-06-15 04:19:28 +02:00
Gildor
d58fe103bf Hunter: Fix Piercing Shot dot clipping (#19882)
Closes #19881
2017-06-15 03:11:29 +02:00