Commit Graph

23698 Commits

Author SHA1 Message Date
lee 60b75e3b6e Scripts/Misc:fix npc_professions locale text (#27894)
* fix npc_professions locale text

fix npc_professions locale text load from db

* fix dup sql

fix dup sql

* add condition and gossip option

add condition and gossip option for money cost depends on player level

* add missing update statements

* Rename 9999_99_99_world.sql to 2023_03_24_00_world.sql

---------

Co-authored-by: Giacomo Pozzoni <giacomopoz@gmail.com>
2023-03-24 10:52:44 +01:00
Meji 4672200adc Warning fix 2023-03-23 21:28:23 +01:00
Meji 19ea4c416a Core/Spells: Allow implicit targeting of serverside WorldObjects (#28827)
(cherry picked from commit 5d5ca30b23)
2023-03-23 20:22:29 +01:00
robinsch c8f7dd13b8 Core/Groups: Implement MSG_RAID_READY_CHECK_FINISHED response (#28811) 2023-03-12 17:37:20 +01:00
Gildor 3dda65c53a Core/Players: Remove player from group on faction change if two side interaction group is not allowed. (#28835) 2023-03-11 19:17:00 +01:00
robinsch 13fa60ab86 Core/Item: Fixed incorrect damage mod for Heirloom 2H weapons (#28836) 2023-03-11 14:07:03 +01:00
Anton Popovichenko 9658d15b0c Core/Mail: Reorder mail attachment checks to be able to report nonempty bag error to client. (#28844) 2023-03-11 13:59:10 +01:00
M'Dic 48f9a807f3 Update (core\log): Log correction (#28802)
Loading AreaTrigger definitions to Loading Area Trigger Teleports definitions
and also Re-Loading AreaTrigger teleport definitions to Re-Loading Area Trigger Teleport definitions
2023-03-10 10:26:25 +01:00
Shauren 92b7c98c01 Core/Spells: Prevent rerolling gathering skillups until success when mining or gathering herbs 2023-02-25 21:12:28 +01:00
Gildor 70b483aae4 Core/Arena: Correctly update the stats of the members of each team when the week ends and the arena points are distributed. (#28812) 2023-02-25 14:19:58 +01:00
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
Giacomo Pozzoni b69870630d Revert "MMAP: Build ADT floor just like WMO floor below liquid (#27503)" (#28392)
This reverts commit 8a779268b6.
2022-11-02 14:53:05 +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
Lloyd Dilley 2b8fc95fde Core/Misc: Fix *BSD compile errors (#28287) 2022-10-01 17:17:46 +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