Commit Graph

251 Commits

Author SHA1 Message Date
blinkysc b6292f3509 fix(Core/Druid): preserve shapeshift form across map changes (#25556)
Co-authored-by: blinkysc <blinkysc@users.noreply.github.com>
2026-05-02 07:09:00 -05:00
Tereneckla 55c231ae04 fix(Core/Items): skip empty stats instead of stopping on them (#25671) 2026-05-01 21:31:07 -03:00
Andrew e8eb9843dd fix(Core/Transports): Force transport passengers into legacy spawn group (#25508)
Co-authored-by: Shauren <shauren.trinity@gmail.com>
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-19 21:22:02 -03:00
Andrew f5c4de92eb feat(Core/Maps): port spawn system/dynamic spawns from TrinityCore (#25206)
Co-authored-by: r00ty-tc <r00ty-tc@users.noreply.github.com>
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-12 17:52:01 -03:00
Andrew 9757174460 feat(Core/Spawns): introduce SpawnData base struct and spawn group infrastructure (#25152)
Co-authored-by: r00ty-tc <r00ty-tc@users.noreply.github.com>
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-23 01:30:22 -03:00
sogladev a90570a2de fix(Core/Spell): spell immunity system and new separate immunities table (#24956)
Co-authored-by: ariel- <ariel-@users.noreply.github.com>
Co-authored-by: Keader <keader.android@gmail.com>
Co-authored-by: Shauren <shauren.trinity@gmail.com>
2026-03-22 19:36:35 -03:00
Andrew 6d83465ad2 fix(Core/Taxi): Use original team for flight path lookups (#25165)
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-21 17:09:02 -03:00
Kitzunu e6054ec7ea refactor(Script/Command): learn spell (#24319)
Co-authored-by: Treeston <14020072+Treeston@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-03-21 09:28:24 -03:00
Benjamin Jackson 9a6899ff81 feat(DB/Creature): Add class base stats for creatures. (#24910)
Co-authored-by: killerwife <killerwife@users.noreply.github.com>
2026-03-08 14:27:21 -03:00
Benjamin Jackson 4382b6bd0c refactor(Core/SharedDefines): Use one class enum instead of two for creatures. (#24918) 2026-02-28 19:14:43 -05:00
Benjamin Jackson 515aeca570 feat(Core/Globals): Dynamically calculate max race and racemasks from DBC data. (#24665) 2026-02-28 18:12:52 -05:00
blinkysc ce74c0b19c feat(Core/Scripts): Add gameobject_summon_groups with quaternion rotation support (#24708)
Co-authored-by: blinkysc <blinkysc@users.noreply.github.com>
2026-02-15 15:05:00 -06:00
Benjamin Jackson bd0f5ee722 refactor(Core/Defines): Rename custom named creature family enum. (#24570) 2026-02-15 12:06:33 +01:00
sogladev 36a1f31c29 fix(Core/ObjectMgr): update npc_vendor.maxcount to u32 from u8 (#24685) 2026-02-13 08:17:21 -03:00
blinkysc 54d145499e fix(Core/GameObject): Handle zero quaternion rotation for dynamically spawned gameobjects (#24662)
Co-authored-by: blinkysc <blinkysc@users.noreply.github.com>
Co-authored-by: zergtmn <zergtmn@users.noreply.github.com>
2026-02-09 20:07:23 -06:00
Andrew 2b563fc0e4 feat(Scripts/Commands): Implement npc/gameobject load commands (#24644)
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
2026-02-08 08:36:35 -03:00
blinkysc 14ebaae275 fix(Core/GameObject): Use quaternion rotation directly instead of orientation hackfix (#24602)
Co-authored-by: blinkysc <blinkysc@users.noreply.github.com>
Co-authored-by: zergtmn <zerg@myisp.com>
2026-02-03 14:26:50 -03:00
blinkysc b79ef2bedf feat(Core/Quest): Add BreadcrumbForQuestId field to quest_template_addon (#24079)
Co-authored-by: blinkysc <blinkysc@users.noreply.github.com>
Co-authored-by: sogladev <sogladev@gmail.com>
Co-authored-by: Gultask <100873791+Gultask@users.noreply.github.com>
Co-authored-by: Ryan Turner <16946913+TheSCREWEDSoftware@users.noreply.github.com>
2026-01-29 09:24:03 -03:00
sogladev 45c8f242c2 fix(Core/ObjectMgr): warn trainer creature with no gossip_menu_option (#24336) 2026-01-14 09:52:01 -03:00
calm e3e42fe58c fix(Core/ObjectMgr): Remove deprecated stat types warnings from items 13113 and 34967 (#24331) 2026-01-06 15:19:14 +01:00
sogladev 73b90a0cf9 fix(Core/Creature): Fix creature template movement field not loading 2025-12-29 17:20:52 -03:00
sogladev ab74e7ded8 refactor(Core/Creature): port TC handling of Trainers (#23040)
Co-authored-by: Shauren <shauren.trinity@gmail.com>
Co-authored-by: Ghaster <defscam@gmail.com>
2025-12-29 14:41:01 +01:00
Francesco Borzì 50b36e842a fix(docs/license): use GPLv2 as MaNGOS-based project (#23655) 2025-11-14 08:44:25 -03:00
天鹭 8e2e30328f refactor(Core): Make ObjectGuid const (#23170)
* cherry-pick commit (https://github.com/TrinityCore/TrinityCore/commit/a7883380ce4c827db103b0c43faca6632c3d1f66)

Co-Authored-By: Lucas Nascimento <keader.android@gmail.com>
2025-10-12 23:13:12 -03:00
Benjamin Jackson 1c5f611d62 fix(Core/ObjectMgr): Force probabilities of creature displays during runtime if total probability is 0. (#23197) 2025-10-12 15:59:18 +02:00
Benjamin Jackson 6dda22ec46 chore(Core/Handlers): Remove unused item query optimization. (#22971) 2025-09-20 09:25:51 -03:00
Tereneckla 9ad7cef3c4 fix(Core/Items): count stats programatically instead of manually set (#22564)
Co-authored-by: heyitsbench <benjymansy123@gmail.com>
2025-08-01 10:36:01 -03:00
天鹭 0abb998529 refactor(Core): Clean (#22583) 2025-07-29 09:11:25 -03:00
Kitzunu dc3d2def80 feat(Core/Load): Add debug logs for zone and area assignment (#22509) 2025-07-24 16:21:05 -03:00
Takenbacon fd262c3ab1 feat(Core/Config): Improvements to config caching (#21647) 2025-06-30 17:14:12 +02:00
Jelle Meeus e50a692fc7 fix(DB): set game_event_* tables to use smallint (#22309) 2025-06-17 18:49:18 +01:00
Benjamin Jackson db18d5b035 refactor(Core): Use database tables for Shaman totems and Druid shapeshift forms. (#22104)
Co-authored-by: DoctorKraft <25483209+doctorkraft@users.noreply.github.com>
Co-authored-by: Shauren <shauren.trinity@gmail.com>
Co-authored-by: ForesterDev <11771800+ForesterDev@users.noreply.github.com>
2025-05-27 14:40:57 +01:00
Kitzunu 231096132c refactor(Core/ServerMail): Refactor to Dedicated Manager Class with Multi-Item & Condition Support (#21590)
1. Core Cleanup
    - Move all ServerMail logic from `ObjectMgr` into a new dedicated `ServerMailMgr` class
    - Move faction logic for money from SendServerMail into the script
2. Separation of items into a new table
    - Create a new `mail_server_template_items` table
    - Allows to send multiple items in one mail
    - Separate items per faction Alliance/Horde
3. Separation of conditions into a new table
    - Create a new `mail_server_template_conditions` table
    - Allows to use multiple conditions for one mail
    - Available condition types
        - Minimum playtime (playerLevel >= condition)
        - Minimum playtime (playerPlayTime >= condition)
        - Rewarded quest
        - Earned achievement
        - Earned reputation (playerReputation >= conditionState)
        - Faction
        - Race
        - Class
4. Updated ServerMail loading
    - Move item and condition loading to their own functions
        - LoadMailServerTemplateItems()
        - LoadMailServerTemplateConditions()
5. Reworked eligibility check
    - Player needs to pass all conditions to be eligible for the mail
    - All players are automatically eligible if no conditions exist for a server mail template.
6. Updated foreign keys
    - For table `mail_server_character`, `mail_server_template_conditions`, `mail_server_template_items` foreign key with on delete cascade is added for automatic removal of entries if mail_server_template.id is deleted.
7. Database changes
    - See the PR
2025-03-09 09:18:01 +01:00
天鹿 82bc814858 fix(Core/PvP): Sometimes mobs and objects fail to spawn in OutdoorPvP (#21636) 2025-03-03 22:12:54 +01:00
Kitzunu 5d32676193 fix(Core/Misc): Fix NextPage Data Type in PageText Structure and Improve Logging Messages (#21586) 2025-02-22 21:58:21 -03:00
Takenbacon 4cd1ed2181 refactor(Core/Server): Improvements to antidos opcode handling (#21502) 2025-02-21 07:17:34 +01:00
Takenbacon ee69a569c4 fix(Core/Grids): Grid improvements (#20955) 2025-02-14 22:11:27 +01:00
Andrew 79cbb00075 feat(Core/Creature): Implement HasFlagsExtra() helper to creature (#21362) 2025-02-08 14:07:04 -03:00
Kitzunu 47c5ff904f refactor(Core/Disables): Convert from Namespace to Class Structure (#21109) 2025-02-01 22:48:52 +01:00
Kitzunu 9e9a2fe5e3 refactor(Core/ObjectMgr): Change GetAcoreString from char const* to s… (#21213)
...ring
2025-02-01 22:46:42 +01:00
Grimdhex edf2959a26 feat(Core/Creatures): implement a sparring system (#19824) 2025-01-26 09:40:37 +01:00
Kitzunu 9c43adc445 fix(Core/ObjectMgr): Potential crash in GetModuleString() (#21211) 2025-01-19 20:31:54 +01:00
Kitzunu 4b8dca1ea2 fix(Core/Misc): Correct some fmt logs (#21106) 2025-01-07 06:08:19 +01:00
Kitzunu 5e4f6ac576 fix(Script/Commands): tele add should only check exact match (#20785)
* fix(Script/Commands): tele add should only check exact match

* closes https://github.com/azerothcore/azerothcore-wotlk/issues/20268

* better describe the variable
2024-11-30 20:06:26 -03:00
sudlud b2c04603f7 feat(Core/SmartAI): add startup error for non existent SmartAI entries (#20694) 2024-11-24 21:25:02 +01:00
Jelle Meeus 3565e4a9eb feat(Core/WorldState): improved WorldState scripting (#20141)
* implement world state script

based on
https://github.com/cmangos/mangos-wotlk/commit/0b87ca9d9edf2d4752a3c0f8e9cf85c6689ca861

Co-authored-by: killerwife <killerwife@gmail.com>

* refactor to use onleave and onenter instead of spell_area

allows players to right click remove adal's buff

* add MapMgr.h

* refactor: use condition enum instead of uint32, prefix WORLD_STATE where needed

* remove lock from WorldState::Update

sWorldState->Update() is only called from World::Update

* remove unsafe SmartAI action of setWorldState

---------

Co-authored-by: killerwife <killerwife@gmail.com>
2024-11-12 12:15:27 -03:00
Francesco Borzì 2ce2c8cf3a refactor(src/server/game/*): remove unused imports (big part 3) (#20315) 2024-10-27 13:10:28 +01:00
Francesco Borzì 2c344fc127 refactor(src/server/game/*): remove unused imports (big part 2) (#20311) 2024-10-27 05:06:14 +01:00
Jelle Meeus 859a42a41e fix(Core/Vehicles): feat vehicle seat addon, vehicle enter/exit positions (#20082)
* implement initial vehicle_seat_addon

Co-authored-by: Ovah <dreadkiller@gmx.de>

* add more vehicle_seat_addon data

* make exiting passenger visible

fixes "immediate despawn" of travelers mammoth

* style, update comments

* remove hacked pos relocate

* remove sending MSG_MOVE_ROOT/UNROOT on Ack

* set and unset UNIT_NPC_FLAG_PLAYER_VEHICLE on init/entry

* ulduar demolisher: remove flag correction and no longer needed usableseat

* fixup! implement initial vehicle_seat_addon

* fixup! fixup! implement initial vehicle_seat_addon

* re-add AddPassenger Flame Leviathan hack

was commented by mistake

* Update rev_1725993194571320983.sql

add missing ticks

---------

Co-authored-by: Ovah <dreadkiller@gmx.de>
2024-10-11 07:08:14 +02:00
Francesco Borzì ae30489b23 refactor(src/server/game/Globals): remove unused imports (#20088) 2024-10-01 08:06:06 +02:00