Andrew
ac12f5d27c
fix(Core/Battlefield): fire OnBattlefieldPlayerLeaveZone before HasPlayer guard ( #25870 )
...
Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-05-16 20:22:14 -03:00
Andrew
bceaddb73b
feat(Core/Scripting): Add OnBattlefieldWarEnd script hook ( #25754 )
...
Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-05-07 21:24:27 -03:00
Andrew
b5da3363f1
fix(Core/Battlefield): fix stale queue/invite entries and wrong-team kicks ( #25168 )
...
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com >
2026-03-22 13:13:35 -03:00
Andrew
d8d19b61d3
refactor(Core/Battlefield): replace manual timers with TaskScheduler … ( #25083 )
...
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com >
2026-03-21 15:27:04 -03:00
Andrew
968a2363eb
refactor(Core/Battlefield): remove Hungarian notation and modernize code ( #25070 )
...
Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-03-13 19:32:06 -03:00
Andrew
392f6f5e44
fix(Core/Battlefield): Erase invite by real team on war accept and add queue list command ( #25056 )
...
Co-authored-by: Claude Sonnet 4.5 <noreply@anthropic.com >
2026-03-11 22:02:30 -03:00
Andrew
8422ec906f
feat(Core/Scripting): Implement OnBattlefieldBeforeInvitePlayerToWar() ( #24973 )
2026-03-02 20:05:43 -03:00
Andrew
1f91ccf758
fix(Core/Scripting): Call OnBattlefieldPlayerJoinWar() before adding … ( #24964 )
2026-03-01 22:48:32 -03:00
Andrew
e74adf550e
feat(Core/Scripting): Add Battlefield scripting hooks and API ( #24957 )
...
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2026-03-01 21:54:15 -03:00
sudlud
3468710309
fix(Core/BF/BG): update Titan Relic spawns with sniffed values ( #24912 )
2026-02-27 18:42:11 +01:00
blinkysc
9b63cde7cb
fix(DB/Gameobject): Recalculate quaternion rotation values from orientation ( #24617 )
2026-02-06 21:41:08 +01:00
Francesco Borzì
50b36e842a
fix(docs/license): use GPLv2 as MaNGOS-based project ( #23655 )
2025-11-14 08:44:25 -03:00
天鹭
a1c8e0f221
refactor(Core): SendDirectMessage ( #23230 )
2025-10-30 14:21:26 -03:00
天鹭
53238a68d3
refactor(Core): DespawnOrUnsummon ( #23141 )
2025-10-13 03:36:23 -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
sogladev
5c053aabe5
fix(Core/Battlefield): AddressSanitizer new-delete-type-mismatch ( #23038 )
...
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2025-10-09 20:12:46 +02:00
Takenbacon
73317b2706
feat(Core/Grids): Remove WorldObject separation in grid containers ( #22595 )
2025-08-09 06:36:24 +02:00
Benjamin Jackson
52799d76f6
refactor(Core): Add definition file for area table entries. ( #22054 )
2025-05-09 15:48:02 +02:00
Benjamin Jackson
e6b203f184
refactor(Core/World): Move various worldstate related functions to worldstate class. ( #22086 )
2025-05-09 12:29:09 +02:00
Benjamin Jackson
da55f05cfc
refactor(Core/WorldState): Initial addition of world state definition file. ( #21875 )
...
Many world states had their enums from script's header and hardcoded values to their respective header file (WorldStateDefines.h)
Co-authored-by: Jelle Meeus <sogladev@gmail.com >
2025-04-26 19:31:30 +01:00
NoxMax
cc05127276
fix(Battlefield/WG): set default maxplayer 120, minlevel 75 ( #21937 )
2025-04-19 06:59:06 +02:00
天鹿
0cb6a03acf
Fix(Core/Wintergrasp): Retrieve the missing Tower Cannon ( #21752 )
...
Co-authored-by: sudlud <sudlud@users.noreply.github.com >
2025-03-29 21:03:13 +01:00
p-tkachuk
544878c048
fix (Core/Wintergrasp) Fix map and battle icon ( #21622 )
2025-03-02 05:46:49 +01:00
p-tkachuk
00df52ff19
fix (Core/Wintergrasp) hearthstone was visibly on cooldown when player left WG ( #21620 )
...
Co-authored-by: Hexadecimal <hd@hd.hd >
2025-03-01 21:53:05 +01:00
p-tkachuk
9a6078a262
fix (Core/Wintergrasp) Icon now disappears when player leaves queue ( #21619 )
...
Co-authored-by: Hexadecimal <hd@hd.hd >
2025-03-01 21:51:46 +01:00
Jelle Meeus
4c4b04f07b
refactor(Core/Packet): use WorldPackets::WorldState::InitWorldStates definition ( #20475 )
...
Co-authored-by: ccrs <ccrs@users.noreply.github.com >
2025-02-19 07:55:09 -03:00
Takenbacon
edcfaeb845
refactor(Core/World): Create WorldSessionMgr to split session logic out of World ( #21400 )
2025-02-13 07:04:38 +01:00
Jelle Meeus
6e58645751
fix(Core/Battlefield): Wintergrasp out of bounds error when setting neutral faction of stalker ( #21340 )
2025-02-06 09:44:27 +01:00
Francesco Borzì
a9f0f371e5
refactor(src/server/game): optimise imports ( #20541 )
2024-11-13 11:37:20 +01:00
Francesco Borzì
1932fd0c8a
refactor(src/server/game/Battle*): remove unused imports ( #20097 )
2024-09-29 18:14:46 +02:00
Kitzunu
386aea03ee
chore(Core/Misc): Some cleanup ( #19970 )
...
* remove weird blanks
* update if
* ) ) to ))
* missed some ) )
* now switch
* .
2024-09-21 19:34:31 +02:00
Grimdhex
643362d697
refactor(Core/Object): adds consistency in the use of type object check ( #19671 )
2024-08-25 09:57:37 -03:00
Kitzunu
87f4adf634
refactor(Core/Chat): Move SendWorldText(optional) to ChatHandler and … ( #19501 )
...
* refactor(Core/Chat): Move SendWorldText(optional) to ChatHandler and allow `fmt`
* Update src/server/game/Battlegrounds/BattlegroundQueue.cpp
* Update src/server/game/Battlegrounds/BattlegroundQueue.cpp
* Update src/server/game/Misc/BanMgr.cpp
* Update src/server/game/Misc/BanMgr.cpp
* Update src/server/game/Misc/BanMgr.cpp
* Update src/server/game/Misc/BanMgr.cpp
* Update src/server/game/Misc/BanMgr.cpp
* Update src/server/game/Misc/BanMgr.cpp
* Update src/server/game/Misc/BanMgr.cpp
* Update src/server/game/Misc/BanMgr.cpp
2024-07-29 14:44:13 -03:00
Kitzunu
bbadc32bea
Revert Visibility Notifier changes ( #17682 )
...
* Revert "fix(Core/Grid): Implement missing GridUnload setting (#17569 )"
This reverts commit 79b39f9655 .
* Revert "fix(Core/Grid): Address bugs and performance issues introduced by visibility notifier implementation (#17480 )"
This reverts commit 60e27511c5 .
* Revert "fix(Core): GridCleanUpDelay Log (#17436 )"
This reverts commit 90b16ca065 .
* Revert "feat(Core/Grids): Implement visibility notifier (#15919 )"
This reverts commit 2779833768 .
2023-11-12 00:48:49 +01:00
AG
60e27511c5
fix(Core/Grid): Address bugs and performance issues introduced by visibility notifier implementation ( #17480 )
...
* Bug fixes
- Corrected std::chrono from seconds to milliseconds
- Got rid of leftover code that caused objects to not show up on time
* Removed logic to set gameobject as active
- More alignement with TC.
- Reduces CPU usage drastically
* Revert back to using time_t instead of std chrono
* Invoke SetNoCreate() method to reduce CPU usage drastically
* Remove setActive from static and motion transports
* Fix performance issues
* Added SetFarVisible to WG and some dungeon scripts
- Also removed setActive(true) from creatures in Wintergrasp. As for gameobjects they are set to active upon being damaged/destroyed and removed from active on rebuild (reset)
* Removed comments related to VISIBILITY_COMPENSATION
* Fix log
* Deleted unused files + corrected a check
* Added missing header
* Removed unused parameter
* Removed another unsued parameter
* Changed vector to set for i_visibleNow
- Changed vector to set for i_visibleNow in VisibleNotifer
- Adjusted HaveAtClient to accept Object*
- Adjusted SendUpdateToPlayer to send createobject packet only if not known to client
2023-10-23 05:37:11 -03:00
pvp100
4962972eec
fix(Core/BG): Relocate cannon in WG ( #16673 )
...
* fix(DB/Gameobject): fix towercanno error location in Flamewatch Tower
adjusted wintergrasp towercanno position
* Update src/server/game/Battlefield/Zones/BattlefieldWG.h
Co-authored-by: Benjamin Jackson <38561765+heyitsbench@users.noreply.github.com >
---------
Co-authored-by: Kitzunu <24550914+Kitzunu@users.noreply.github.com >
Co-authored-by: Benjamin Jackson <38561765+heyitsbench@users.noreply.github.com >
2023-10-22 04:47:13 +02:00
Francesco Borzì
5d01b700fd
refactor(Core): remove unused imports ( #17094 )
2023-08-28 13:39:43 +02:00
M'Dic
7e58650cf5
revert(Core): ChrRace.dbc full implementation ( #16114 )
...
* revert (core): ChrRace.dbc full implementation
we revert this due to several issues arrising. Although the dbc reading is done in full and correctly. Azerothcore relied on the original handling (althought not propper) for so long that there is
* revert
* Update remove_charrace_dbc.sql
* Update remove_charrace_dbc.sql
* Update remove_charrace_dbc.sql
2023-04-29 08:23:11 -03:00
M'Dic
3eae4c5713
fix(core/dbc): improve ChrRace DBC handling ( #14843 )
...
Cherry pick of https://github.com/TrinityCore/TrinityCore/pull/24508
Co-authored-by: HelloKitty <5829095+HelloKitty@users.noreply.github.com >
2023-04-28 01:29:33 +02:00
Pedro Antonio
307d09877a
fix(Core/Battlefield): Wintergrasp Workshops SW/SE ( #14104 )
...
* Now only SW and SE are owned by Attacker, the rest are for Defender team
Co-authored-by: M'Dic <joshua.lee.betts@gmail.com >
2023-03-17 15:26:54 +01:00
Pedro Antonio
175c961c54
fix(Core/BattlefieldWG): Workshops/Graveyard not changing to neutral ( #14002 )
2023-03-16 18:51:59 +01:00
Kitzunu
f039836a2f
chore(Core/Misc): Change all TODO to doxygen comment ( #14966 )
2023-02-12 10:05:34 -03:00
Kitzunu
4870b14b1f
refactor(Core/Object): getLevel() -> GetLevel() ( #14122 )
...
* refactor(Core/Object): getLevel() -> GetLevel()
* fix build and sneak some doxygen in
* codeSTLE
* codestyle
2022-12-31 17:39:23 +01:00
ZhengPeiRu21
5a7822282f
feat(Core): Config to disable all Wintergrasp processing ( #13086 )
...
* feat(Core): Config to disable all Wintergrasp processing
* Use 2 instead of -1 - configs are parsed as uint
* Fix build warnings
2022-11-01 06:22:09 -03:00
SilentCLD
ffa2f071bc
fix(Core/Wintergrasp): Reimplement Wintergrasp quests and fix vendors ( #11533 )
2022-04-25 18:20:10 -03:00
Kitzunu
b41967a067
feat(Core/GameObject): Gob flag helpers ( #11287 )
2022-04-05 13:52:58 +02:00
Kitzunu
856aed6fc6
feat(Core/Unit): New helpers for UnitFlag and UnitFlag2 ( #11227 )
2022-03-30 07:59:42 -03:00
SilentCLD
ea55c15aab
feat(Core/Wintergrasp): Save win/loss totals for faction ( #11056 )
2022-03-27 01:42:59 -03:00
acidmanifesto
69e2f2e3aa
fix/feat: (Core/PacketIO): updated sound and creature addon ( #10813 )
...
* fix\feat: (Core/PacketIO): updated sound and creature addon
updated SMSG_PLAY_SOUND, SMSG_PLAY_MUSIC and SMSG_PLAY_OBJECT_SOUND via tc cherry pick
https://github.com/TrinityCore/TrinityCore/pull/2363 and https://github.com/TrinityCore/TrinityCore/commit/0f1f7ef4017ac32df669ceee120489321da680aa by @joschiwald and @ForesterDev
This so far a attempt to align atleast with sound with tc, and correct a potentional issue of hearing creature sounds that is not in visible range. I notice PlaySound was being defined in some weird dependency as it isnt with tc so I renamed it to Playsound. Notice a isLarge still being used in the creature addon when it was depreciated, so i removed that a that seem to of interfered with visibilitydistanceType.
Co-Authored-By: joschiwald <736792+joschiwald@users.noreply.github.com >
Co-Authored-By: ForesterDev <11771800+ForesterDev@users.noreply.github.com >
2022-02-26 10:05:58 -05:00
Kargatum
5143872aed
feat(Core/Battleground): split Arena and Battleground score ( #10616 )
2022-02-18 05:20:04 +07:00