Commit Graph

15876 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
Aokromes
e11613eeb5 Update worldserver.conf.dist 2023-02-16 10:44:41 +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
Shauren
70e985c7f7 Scripts/Events: Fixed infinite loop with auras 71507 and 71508 casting each other when unit is removed from map 2023-02-09 10:26:42 +01:00
Shauren
6e4329b110 DB: Convert databases to utf8mb4 2023-02-05 14:58:07 +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
Shauren
9d8fc90371 Scripts/Icecrown Citadel: Added missing empty check before SelectRandomContainerElement 2023-01-06 01:46:57 +01:00
Mikhail Redko
dc221604d9 Core/Scripts: Implemented Zort's Protective Elixir (#28372)
* Core/Scripts: Implemented Zort's Protective Elixir

* Rename XXXX_XX_XX_XX_world.sql to 2022_12_23_00_world.sql

Co-authored-by: Giacomo Pozzoni <giacomopoz@gmail.com>
2022-12-23 15:08:58 +01:00
Badgersson
d91c4526e1 Core/Spells: resurrection after raise ally (#28582)
(fix #26296)player->IsResurrectRequested() now is called with spell_dk_raise_ally_Aura removing
2022-12-23 14:26:28 +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
Ovah
f2fcd6746c Scripts/Halls of Lightning: reworked General Bjarngrim Encounter (#28457)
* handle missing visuals
* reworked all AI scripts
* handle missing mechanic of Arc Weld
* reworked the whole waypoint and tempoary electrical charge handling
* moved Stormforged Lieutenants to their own spawn group to handle their spawning/despawning via boss
* moved the Tempoary Electrical Charge mechanic from spell_linked_spell to spell script instead
* replaced hacky virtual items for Bjarngrim's stances with sniffed ones
2022-11-04 13:08:34 +01:00
Malcrom
8c64457edc Scripts/Quest: Refactor Last Rites (#28328) 2022-10-14 19:54:35 +02:00
Malcrom
f7ebdd3631 Scripts/Quest: Improved script for Abduction (#28306) 2022-10-14 14:33:35 +02:00
Malcrom
f98e2bcab4 Scripts/Quests: Help Those That Cannot Help Themselves (#28304) 2022-10-14 14:09:48 +02:00
Shauren
966e38ab75 Core/Misc: Fixed worldserver shutdown with --update-databases-only
(cherry picked from commit edc922d532)
2022-10-13 12:54:40 +02: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
Shauren
2c0bf1c407 Core/Misc: Minor cleanup in worldserver main.cpp 2022-10-08 21:22:28 +02:00
Shauren
d82b2b1a67 Core/Threading: Create ThreadPool class 2022-10-08 21:22:28 +02:00
Malcrom
0174e6ba80 Scripts/Eversong Woords: Add cosmetic script for a party (#28308) 2022-10-04 10:24:54 +02:00
Malcrom
5ffe5bd43a DB/Scripts: Move Quest "Aces High!" gossip menu to database (#28300) 2022-10-02 13:45:23 +02:00
Malcrom
c0758ae6f3 Scripts/BoreanTundra: Modernized Unfit for Death (11865) implementation (#28297) 2022-10-02 04:47:02 +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
753a901928 Scripts/Hyjal: Change boss state management from SetData to SetBossState 2022-09-29 00:39:44 +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
Shauren
08d2b6743a Scripts/Karazhan: Mark optional boss as completed when it dies 2022-09-28 00:40:06 +02:00
Shauren
6260a95763 DB/Ahn'Qiraj Temple: Added spawn groups for bosses 2022-09-28 00:15:00 +02:00
Shauren
349ba4e74a DB/Ruins of Ahn'Qiraj: Added spawn groups for bosses 2022-09-27 23:40:04 +02:00
Shauren
ace57b11c2 DB/Zul'gurub: Added spawn groups for bosses and prevent multiple Gahz'ranka summons 2022-09-27 20:14:11 +02:00
Shauren
7114bc6881 Scripts/Halls of Reflection: Prevent repeating Falric kills after wiping on Marwyn or add waves > 5 2022-09-27 16:17:43 +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
2d027e56ad Scripts/The Escape From Durnholde: Minor improvements
* Converted to BossAI
* Prevent repeating boss kills on Thrall event wipe
2022-09-27 00:08:16 +02:00
Shauren
7eb482ed84 Nopch build fix 2022-09-26 00:25:02 +02:00
Shauren
e3ac84b929 Scripts/The Underbog: Added spawn groups for bosses and implemented boss state tracking 2022-09-25 23:10:09 +02:00
Ovah
9ef9b79e84 Scripts/Halls of Lightning: reworked Volkhan encounter (#28282)
* modernized the whole code
* moved several mechanics to spell script where they belong
* handle missing visuals for Volkhan's Anvil
2022-09-25 20:21:44 +02:00
Shauren
9082eca660 DB/Icecrown Citadel: Migrate linked_respawn to spawn groups 2022-09-25 00:15:12 +02:00
Ovah
f82f97305d Scripts/Halls of Stone: Modernized Halls of Stone instance script (#28280) 2022-09-24 15:06:08 +02:00