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
Cannix
c14b448d63
Core/Player: Keep shared quests through map changes instead of getting stuck in busy state ( #19821 )
2017-06-15 01:27:37 +02:00
Gustavo
23f2646adf
Core/Entities Allow DynamicObjects with UNIT_FLAG_IMMUNE_TO_PC to select targets ( #19168 )
2017-06-14 14:31:46 +02:00
Gustavo
3bfe67792d
Core/Spells Allow bosses to receive KnockBack under certain conditions ( #19312 )
...
Conditions: Not player, not controlled by player and not hunter's pet
2017-06-14 14:16:12 +02:00
Treeston
132538db1d
Modify group invite behavior while creating group to be blizzlike: ( #19870 )
...
- Leader can invite multiple people before the first invite is accepted
- Leader can cancel group formation by sending CMSG_GROUP_DISBAND (using /run LeaveParty() or similar)
Fixes #17258 .
2017-06-14 00:34:38 +02:00
treeston
6f29aac936
Add new command 'npc showloot'. Does exactly what it says on the tin.
2017-06-12 19:10:41 +02:00
treeston
c9e7ab496e
dynamic_spawning conflict avoidance, part deux: World.h enums
2017-06-12 17:19:47 +02:00
treeston
ac0f76f8c5
- Add new commands .group set assistant, .group set maintank and .group set mainassist to toggle raid member flags.
...
- Fix 2017_05_29_00_auth.sql to be reapply safe.
2017-06-12 17:01:47 +02:00
treeston
4e41d3e6bd
Removed a now-unused local ( ca02629 follow-up)
2017-06-12 13:17:48 +02:00
treeston
ca02629950
Make some adjustments to .summon and .group summon behavior to make them more permissive:
...
- Now only requires the either target's group leader or target itself to be on your map
- Now summons all applicable group members even if one member fails checks
- No longer has some truly weird edge case instance unbind code that could cause exploit behavior (Really, I have no idea why this existed, because it certainly didn't do what it might've been meant to do.)
2017-06-12 13:08:07 +02:00
ariel-
d455f972f2
Core/OutdoorPvP: yet more unused stuff
2017-06-11 18:17:18 -03:00
ariel-
d6cae113c6
Core/Scripts: fix some /W4 warnings
2017-06-11 18:06:39 -03:00
ariel-
6b49380806
Core/OutdoorPvP: fix another warning
2017-06-11 17:37:30 -03:00
ariel-
a05e1095c6
Core/OutdoorPvP: fix warning
2017-06-11 17:31:56 -03:00
ariel-
3e7b64b2f7
Core/OutdoorPvP: refactor using Position and Quat to pack parameters
...
- Moved statics to cpp
- Save scriptids into an array
2017-06-11 17:02:01 -03:00
ariel-
b58a364192
Core/Spell: fix some spells that shouldn't allow stealth or invisibility
...
- Touch of Zanzil
- Glowing Blood
- Lambent Blood
- Vibrant Blood
- Black Blood
- Perpetual Instability
2017-06-11 02:31:59 -03:00
ariel-
619a5534c5
Core/SmartAI: implemented SMART_EVENT_EVENT_PHASE_CHANGE
...
- Use instead of Update + event_phase_mask when action needs to be synchronized
2017-06-10 19:20:44 -03:00
ariel-
b3336cf943
Core/Scripts: remove non-player objects (ie corpses) from Sindragosa's Fury targetlist
2017-06-10 15:11:35 -03:00
treeston
d57307f63d
So, I came in trying to fix gameobject LoS. So I restructured some stuff.
...
Then it turned out that gameobject LoS is already fixed. So all this does, really, is restructure some stuff.
And remove the hack from Sapphiron because I could.
2017-06-10 15:08:35 +02:00
treeston
9e80e977df
Added new BoundaryUnionBoundary subclass of AreaBoundary, which does what it says on the tin. Hi, sirikfoll.
2017-06-09 22:14:53 +02:00
Stanislaus Teals
64507088f2
Fix build on GCC 7.1 ( #19869 )
2017-06-09 17:54:24 +02:00
treeston
55d8c2b919
Reserve RBAC permission entries 856-860 for dynamic_spawning branch to minimize future conflicts.
2017-06-09 12:40:26 +02:00
ariel-
d2a30fef13
Core/Vmaps: build fix mk II
2017-06-08 18:48:35 -03:00
ariel-
a409287fef
Core/Vmaps: build fix
2017-06-08 18:45:12 -03:00
Shauren
cfb0f9fb19
Core/Vmaps: Fixed getting map height near large gameobjects like LK platform
...
Updates #19865
2017-06-08 21:39:56 +02:00
Golrag
a2c123b529
Core/Maps: Corrected GetWaterOrGroundLevel ( #19863 )
...
* When a gameobject was above water like in ToC. It would return water level
2017-06-08 19:25:26 +02:00
jackpoz
f9cfc202e9
Core/Scripts: Simplify code
...
Partially revert 753e7074d8 and 12c680f9b1 to simplify the code and to only remove GMs from the target list.
2017-06-08 19:07:13 +02:00
kelno
f5fd0b5ef3
Core/Misc: Fix typo in UNDERWARER_INDARKWATER ( #19864 )
2017-06-08 18:07:01 +02:00
ariel-
753e7074d8
Core/Scripts: filter out corpses from Sindragosa's Fury targetlist
...
- This would incur in a crash after attempting to convert the Corpse object into Player
Closes #19227
Closes #19862
2017-06-08 12:33:10 -03:00
treeston
e5301e2c98
Fixed a potential crash when resuming a SplineChainMovementGenerator.
2017-06-08 15:34:53 +02:00
Treeston
f6c849729b
[3.3.5] Get zone/area IDs from vmap data in the liquid update ( #19840 )
...
* 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
2017-06-08 00:25:06 +02:00
Treeston
1660bb7d27
Pet/Guardian AI hook re-organizing ( #19824 )
...
* Pet/Guardian AI hook re-organizing:
- Adjust OwnerAttacked/OwnerAttackedBy hooks on CreatureAI to fire for all owned units, not just player pets. This should allow guardians to more reliably recognize valid targets.
- Kill off the AttackedBy hook. While it was defined in CreatureAI.h as virtual, it was only ever invoked for player pets in specific situations. This makes it classic developer bait.
- Adjust PetAI to use DamageTaken instead of AttackedBy.
- Adjust behavior of AttackStart on PetAI to compensate.
2017-06-07 02:33:47 +02:00
ariel-
2335b9de1a
Core/AI: segregate GameObject ReportUse from normal Use (lock open/normal click)
...
Closes #19819
2017-06-06 17:57:04 -03:00
Shauren
47d54bf5e2
Core/Movement: Fixed fall damage when teleporting together with transport
...
Closes #14672
2017-06-06 22:30:04 +02:00
treeston
cb265e02aa
SAI fixes follow-up: I missed one.
2017-06-06 22:24:10 +02:00
treeston
823007934a
Fix a whole set of possible infinite loop crashes in SAI (events triggering themselves even with cooldown set).
2017-06-06 22:16:14 +02:00
treeston
b983ec11bd
Re-check target evade state on projectile impact and adjust accordingly. This fixes the incorrect message ("Absorb" instead of "Evade"), and also removes the root cause of the original evade follow bug (that was prevented in 1945874).
2017-06-06 19:24:14 +02:00
Golrag
c35793941b
Core/VMaps: Fix LoS in Strand of the Ancients ( #19847 )
...
Core/Collision: Fixed MOPY chunk flags enum.
Also avoid loading destructible WMOs into vmaps.
VMap re-extraction is required.
Closes #15798 .
2017-06-05 16:32:35 -05:00
ariel-
da228fd163
Core/Spell: fix weird DBC data for Elixir of Detect Undead
...
Closes #19853
2017-06-05 17:09:52 -03:00
Shauren
f59bac4d14
Build fix
2017-06-05 20:00:28 +02:00
Shauren
2639056071
Core/Instances: Fixed and optimized instance id reuse
2017-06-05 19:25:42 +02:00
Keader
672bc29df9
Core/Spells: Allows Dispersion under Freeze (stun by hunter trap)
2017-06-05 12:02:05 -03:00