Commit Graph

10726 Commits

Author SHA1 Message Date
Mikhail Redko
c6cd272505 Core/Misc: Sending player's own auras before all visible objects. (#28450)
* Core/Misc: Sending player's own auras before all visible objects.
This should finally solve the problem of naked characters.
Closes #15159

Many thanks to xvwyh for explaining cause of this bug

* Core/Misc: Force send update auras packet to player when he added to map
2023-02-25 14:18:23 +01:00
Shauren
d23c839998 Core/Auras: Remove channeled auras when caster and target are not on the same map
Closes #28777
Closes #28792
2023-02-09 19:04:23 +01:00
Gildor
aeb4d18e20 Core/Battlegrounds: Prevent end Arena when a dead player logout (#28766) 2023-01-20 17:33:21 +01:00
Shauren
835e291831 Core/Auras: Fully remove auras that had all of their effect suppressed with immunity 2023-01-19 18:16:02 +01:00
Shauren
593721ff1f Core/Auras: Fixed possible iterator invalidation crashes caused by calling UpdateTargetMap inside loops iterating m_appliedAuras
Closes #28609
2023-01-19 14:12:08 +01:00
Shauren
fe7fef7535 Core/Guilds: Fixed sending random properties for guild bank items
Closes #28751
2023-01-17 14:05:35 +01:00
Ovahlord
128339730c Core/Creatures: improved error logging messages added in 6f835c233f for creature_template_addon to avoid confusion 2023-01-10 15:46:51 +01:00
Ovahlord
6f835c233f Core/Creatures: Split creature_addon and creature_template_addon's byte columns into seperate ones (#28562)
* Instead of dumping raw byte values into these fields, we now only allow setting values which should be accessible to database devs. The remaining byte values should be handled by core internals and spells (pet talents and shapeshifting for example)
2023-01-09 19:54:56 +01:00
robinsch
036c72327f Core/Guild: Fixed possible guild exploit (#28577)
* Core/Guild: Fixed possible guild exploit

* Core/Guild: Do not process HandleGuildDeclineOpcode if player is in guild
2022-12-05 10:16:38 +01:00
Badgersson
297541e9c9 Core/Player: Vertical "Say" distance (#28544)
* Core/Player: chat messages use 3d distance Fix #26593

* Core/Player: chat messages use 3d distance
new arg in SendMessageToSetInRange
Fix #26593
2022-12-04 16:08:10 +01:00
Ovahlord
4a19892696 Core/Units: ensure that we use valid iterators when providing spell Ids in Unit::RemoveAppliedAuras and Unit::RemoveOwnedAuras 2022-11-23 21:14:45 +01:00
Shauren
4ee64a232a Core/GameObjects: Use serverOnly property of GameObjectTemplate for all types that have it, not just spell focus 2022-11-15 11:57:19 +01:00
Killyana
b1be7437c5 DB/Quest: Villains of Darrowshire
Closes #4385
2022-11-05 19:00:49 +01:00
Shauren
4ef99cfdfa Core/Gossip: Preserve OptionID from database when menu option is added from a script 2022-10-13 11:14:08 +02:00
Shauren
900a2f6d88 Scripts/Gossips: Set gossip menu id for scripts that load menu items from database 2022-10-12 00:41:49 +02:00
Gosha
81bf8de989 Core/PacketIO: Use ByteBuffer from UpdateData instead of copying to it after (#28347) 2022-10-11 22:18:54 +02:00
ihm-tswow
048089ef21 Core/Misc: Multithread query cache loading 2022-10-08 21:22:28 +02:00
Ovah
c1dd282c07 fixed build 2022-10-01 18:27:00 +02:00
Ovah
750b522853 Core/Spells: fixed sending partial blocks in SMSG_SPELL_GO packets 2022-10-01 18:20:49 +02:00
Ovah
b47ef3ce90 Core/Spells: fixed up block mechanics (#28286)
* Ranged attacks can now be blocked
* Implement SPELL_ATTR3_COMPLETELY_BLOCKED
* Fixed a bug which was causing blocking to block entire spell effects regardless if the attribute was present or not
* Fixed a logic mistake which was causing blocks to roll twice (once for effect negation and once on hit)
* No longer send blocked miss conditions in spell_go packets when the spell is not completely blocked to match sniff data
2022-10-01 17:21:07 +02:00
Shauren
2dc1b69a70 Core/Players: Added error message for death knights attempting to leave their starting zone early 2022-09-28 01:02:21 +02:00
ihm-tswow
ee6bbd68bd Core/Guilds: Improve HandleRoster performance (#28290)
- takes call time from ~400 microseconds to ~260 microseconds on my machine in a guild with 900 members
2022-09-27 12:35:45 +02:00
Shauren
881950c1d5 Core/Spawns: Added startup error for incorrect map assignments in instance_spawn_groups 2022-09-23 19:27:56 +02:00
Shauren
a55a566602 Core/Auras: Fixed requireImmunityPurgesEffectAttribute logic for school immunities
Closes #28237
2022-09-09 21:48:35 +02:00
Shauren
3306a4d06c Core/Auras: Improve aura interactions with immunities on spell effect level
* Effects that target is immune to will be suppressed instead of completely removed

Closes #28096
2022-09-05 18:22:39 +02:00
Shauren
f3384fecaa Core/Spells: Move entering combat for caster and calculating crit chance to separate function called only once for each target instead of doing it once for every effect on every target 2022-09-05 00:30:17 +02:00
Shauren
e2840a3f81 Core/Spells: Simplify combat flagging code on spell launch and impact 2022-09-04 22:49:08 +02:00
Shauren
e8dfd8c25c Core/Combat: Allow PvE combat references to become suppressed, just like PvP ones 2022-09-04 22:49:08 +02:00
Alan Deutscher
b59706c8b6 Core/Spells: Delay combat flagging for spell targets until spell missile lands 2022-09-04 22:49:08 +02:00
Tony Konzel
052dfe27fc Core/Spells: Removed gathering failure chance from herbalism and mining nodes (#28227) 2022-09-02 19:29:54 +02:00
Shauren
ea711efcc3 Core/Misc: Reserve SAI action, trinity_string and condition types used in master branch 2022-09-02 19:26:27 +02:00
ihm-tswow
44ac5cbbea Core/Misc: Store skillline abilities grouped by skill id (#28199) 2022-09-02 15:11:51 +02:00
Gildor
d86dcce1c8 Core/Battlegrounds: Capture flag immediately when standing on capture point and your team's flag return due to drop timer ended (#28200) 2022-09-02 14:58:57 +02:00
ihm-tswow
bac3eda135 Core/Misc: Improve missing class health/mana data error message during startup (#28173)
- If the class lacks health/mana data entirely, pClassInfo is null and crashes without reaching the error message if we don't check it first.
2022-08-03 09:24:05 +02:00
CoderKane
2ad36c37b4 Core/Battlegrounds: Capture flags immediately when standing on capture point and your team's flag gets returned (#28087)
Closes #28076
2022-08-02 22:03:12 +02:00
Dan Johnson
3735a3df0e Scripts/Naxxramas: Curse of the Plaguebringer should affect 10 targets in 25 man mode (#28164) 2022-08-02 21:50:49 +02:00
jackpoz
0b96a365e2 Core/Player: Fix GM character level
Fix GM characters using DeathKnight char level even for non-DK chars.
Issue added in 4e86484828
Close #28165
2022-07-30 21:41:24 +02:00
Dan Johnson
4e86484828 Fix starting level for GMs creating a DK (#28080)
* Fix starting level for GMs creating a DK

* Change behavior to look at max instead of ignoring DKs for GMs
2022-07-27 15:16:51 +02:00
offl
37fcaf64ef Core/Spells: MaxAffectedTargets for 47731 Critter 2022-07-11 00:33:10 +03:00
Alan Deutscher
b484b7e927 Core/Auras: Do not remove auras unaffected by invincibility (#28100)
* Mark WSG's Focused Assault and Brutal Assault as unaffected by immunities
2022-07-10 19:28:54 +02:00
Alan Deutscher
b1db528780 Core/Battlegrounds: Fix WSG Focused/Brutal Assault #28088 (#28094)
* Warsong Gulch: Do not clear Focused Assault or Brutal Assault from one team's flagbearer when the other team's flag is returned. The timer should only stop / reset when both flags have returned to the pedestal.
* When a flag is picked up from the pedestal with Focused Assault or Brutal Assaul active, the new flagbearer should receive the debuff.
2022-07-07 10:21:36 +02:00
offl
dfd1692e31 Scripts/Pets: Update Lil' K.T. (#28071) 2022-06-30 22:32:09 +03:00
offl
b9450bcdd0 Core/SAI: Rename LeavingWorld to OnDespawn & use it in SAI (#28059) 2022-06-26 21:48:41 +03:00
offl
f0d2418e5f Scripts/Spells: Correctly implement Murmur's Touch & Dire Brew (#28058) 2022-06-26 21:44:40 +03:00
daMaex
b23d16a870 Core/Crypto: Switch away from deprecated low level md5 functions 2022-06-16 12:37:00 +02:00
Shauren
77091ed599 Core/Crypto: Switch away from most deprecated openssl functions and removed upper version limit
(cherry picked from commit bc87f7b337)
2022-06-16 12:37:00 +02:00
Kaytotes
eab6852b68 Core/Units: Removed incorrect facing movement packet sent with every creature autoattack (#28006) 2022-06-09 14:04:44 +02:00
Jinnaix
b155209ec4 Core/Spells: Correct flagging spell caster for pvp when healing/buffing friendly creatures - it should only happen if target is in combat (#27977) 2022-06-09 11:33:30 +02:00
offl
861ec6a5b9 Scripts/Quest: Rework 'The Way to His Heart...' & make SAI's StopFollow work again (#28001) 2022-06-04 23:56:37 +03:00
Jinnaix
2237926cec correctly apply npc pvp flags (#27974) 2022-05-29 16:24:14 +02:00