Vitumoc
4df0ab3427
fix(Core/Character): fix worldserver with autobalance mod crash when character creation fails ( #17625 )
...
* set vars before clean player when create err
* code style
* dont clean
* code style
* check flag
2023-11-12 00:15:05 +01:00
Tristan 'Natrist' Cormier
f1cb3bfb3b
refactor(Core/Network): remove redundant logging calls from some message handlers ( #17565 )
...
chore: removed redundant logging calls from some message handlers
2023-11-08 21:53:43 +01:00
Kitzunu
f757e93da5
refactor(Core/Misc): Make DeathState enum class ( #17607 )
2023-10-28 10:54:03 +02:00
Yunfan Li
d879fc9258
Merge branch 'master' into Playerbot
2023-10-27 20:12:09 +08: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
Yunfan Li
57e0c7a09f
Merge branch 'master' of github.com:azerothcore/azerothcore-wotlk into Playerbot
2023-10-22 19:52:23 +08:00
avarishd
43be5db44c
fix(Core/ChatHandler): SPELL_AURA_MOD_LANGUAGE should affect only Say… ( #17465 )
...
fix(Core/ChatHandler): SPELL_AURA_MOD_LANGUAGE should affect only Say and Yell
2023-10-10 10:15:48 -03:00
Yunfan Li
2dd1490c18
Merge branch 'master' of github.com:azerothcore/azerothcore-wotlk into Playerbot
2023-09-23 22:44:15 +08:00
Ludwig
056ea323f3
fix(Core/Achievement): Implement ACHIEVEMENT_CRITERIA_TYPE_ROLL_DISENCHANT ( #17319 )
2023-09-22 00:50:39 +02:00
Yunfan Li
c6bcda8b9d
Merge branch 'master' into Playerbot
2023-08-29 20:50:49 +08:00
Francesco Borzì
5d01b700fd
refactor(Core): remove unused imports ( #17094 )
2023-08-28 13:39:43 +02:00
Kitzunu
3eb2463c69
chore(Core/Misc): Correct some fmt outputs ( #17091 )
2023-08-27 06:23:26 +02:00
Yunfan Li
4b1f585fab
Merge branch 'master' into Playerbot
2023-08-24 22:07:53 +08:00
Anton Popovichenko
f6b77f9d64
fix(Core/Pets): Fix crash when pet tries to attack deleted object ( #17034 )
...
This situation occurs when, during a fight, a pet receives a command to apply a positive spell to an ally and then resume attacking its previous target.
2023-08-19 22:27:51 +02:00
Yunfan Li
df11f5a0e7
Merge branch 'master' into Playerbot
2023-08-07 23:58:57 +08:00
Kitzunu
c866e17406
refactor(Core/Motd): Move motd to MotdMgr ( #16933 )
2023-08-06 23:02:54 +02:00
Yunfan Li
a4e5ff3779
Merge branch 'master' into Playerbot
2023-08-01 23:21:36 +08:00
Kitzunu
ceca5d06f8
fix(Core/PacketIO): Prevent HandleGameobjectReportUse when Gob is not… ( #16707 )
...
fix(Core/PacketIO): Prevent HandleGameobjectReportUse when Gob is not selectable
2023-07-30 13:04:46 +02:00
Yunfan Li
058526b612
Merge branch 'master' into Playerbot
2023-07-30 14:37:00 +08:00
Axel Cocat
642bd1936b
fix(Core/Arena): allow crossfaction arena teams ( #16823 )
2023-07-27 08:37:20 -03:00
Yunfan Li
0713446e1e
Merge branch 'master' into Playerbot
2023-07-04 10:05:31 +08:00
Mickaël Mauger
6edcf05cc2
fix(Core/AuctionHouse): Fix AH searches with high number of auctions ( #13467 )
...
Fix AH searches with high number of auctions
2023-06-27 20:11:21 +02:00
Walter Pagani
7f9cdda17b
chore(Core/ScriptMgr): Hooks used in mod-aoe-loot ( #16589 )
...
* Creating the necessary hooks for the loot aoe
* update hook
* Typing error
* Method name and add documentation
* codestyle
* Misc. fixes
2023-06-24 08:23:23 -03:00
Yunfan Li
abaf4655e2
Merge branch 'master' into Playerbot
2023-06-18 20:48:30 +08:00
Walter Pagani
666b5847c3
chore(Core/MiscHandler): SendAreaTriggerMessage with integer parameter ( #16506 )
...
Add the possibility for SendAreaTriggerMessage to accept an integer parameter
2023-06-15 19:06:13 -03:00
Yunfan Li
9d3d2c84fe
HandlePlayerLoginFromDB
2023-05-26 20:52:01 +08:00
Yunfan Li
72660b1ed8
Merge branch 'master' into Playerbot
2023-05-24 17:57:30 +08:00
天鹿
ab7c12fe41
chore(core): Cleanup code p2 ( #16041 )
...
* Update AchievementMgr.cpp
* Update M2Stores.cpp
* Update LFGHandler.cpp
* Update PetHandler.cpp
* Update WaypointMovementGenerator.cpp
* Update ScriptMgr.cpp
* Update SpellAuras.cpp
* Update Spell.cpp
* Update SecretMgr.cpp
* Update SpellScript.cpp
* Update SecretMgr.cpp
* Update Spell.cpp
* Update SpellAuras.cpp
* Add files via upload
* Update PetHandler.cpp
* Update PetHandler.cpp
* Update CalendarMgr.cpp
* Update LFG.h
* Update WaypointMovementGenerator.cpp
* Update MapScripts.cpp
* Update Unit.cpp
* Update SmartScript.cpp
2023-05-13 15:00:29 -03:00
ZhengPeiRu21
aa1214a6ba
Merge branch 'azerothcore:master' into Playerbot
2023-05-01 10:31:02 -06: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
e5665c32f8
update (core\store): sLFGDungeonStore update ( #15325 )
...
* update (core\store): sLFGDungeonStore update
update (core\store): sLFGDungeonStore update
Co-Authored-By: Kitzunu <24550914+Kitzunu@users.noreply.github.com >
* update (core\store): sLFGDungeonStore update
Co-Authored-By: Kitzunu <24550914+Kitzunu@users.noreply.github.com >
---------
Co-authored-by: Kitzunu <24550914+Kitzunu@users.noreply.github.com >
2023-04-29 12:25:49 +02: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
ZhengPeiRu21
bb0f212b87
Merge branch 'azerothcore:master' into Playerbot
2023-04-20 16:01:49 -06:00
天鹿
d75bcf0f67
chore(core): Cleanup code ( #16012 )
...
* Update SmartScript.cpp
* Update M2Stores.cpp
* Update PetHandler.cpp
* Update WaypointMovementGenerator.cpp
* Update WorldSession.cpp
* Update spell_item.cpp
* Update LoginDatabase.cpp
2023-04-19 21:34:48 -03:00
ZhengPeiRu21
e622ba991f
Merge branch 'azerothcore:master' into Playerbot
2023-04-18 09:28:55 -06:00
ZhengPeiRu21
5af67b384b
feat: Add CanPlaceAuctionBid hook ( #15154 )
...
* feat: Add CanPlaceAuctionBid hook
* Codestyle fix
2023-04-17 21:06:04 -03:00
ZhengPeiRu21
affbfa1e30
Merge branch 'azerothcore:master' into Playerbot
2023-04-16 20:27:56 -06:00
M'Dic
8aa2a2ac0f
chore (core): Clean up ( #15977 )
...
* chore (core): Clean up
* Update SmartScript.cpp
* more clean up
* Update boss_xt002.cpp
2023-04-16 21:04:56 -04:00
郑佩茹
1b3fd82f5c
Merge branch 'master' into Playerbot
...
# Conflicts:
# src/server/game/Guilds/Guild.cpp
2023-04-03 07:52:56 -06:00
Kitzunu
933b3e1fdd
fix(Core/Groups): Implement MSG_RAID_READY_CHECK_FINISHED ( #15442 )
...
* cherry-pick commit (c8f7dd13b8 )
Co-authored-by: robinsch <robinsch@users.noreply.github.com >
2023-03-31 10:43:49 +02:00
ZhengPeiRu21
4c18f3b3e5
Merge branch 'azerothcore:master' into Playerbot
2023-03-25 13:06:10 -06:00
Axel Cocat
357a2a33ce
feat(Core/ChatHandler): ignore chat level requirement when whispering self ( #15564 )
...
feat(Core/ChatHandler): ignore chat level requirement when whispering self
2023-03-25 00:14:38 +01:00
Axel Cocat
5e9b88a9a9
feat(Core/Mail): call CanSendMail() when returning to sender ( #15553 )
2023-03-23 18:56:48 -03:00
ZhengPeiRu21
71e8baf929
Merge branch 'azerothcore:master' into Playerbot
2023-03-22 09:35:01 -06:00
UltraNix
ed31c22cc5
fix(Core/Gossip): Do not close gossip on target deselection. ( #15457 )
...
Fixes #12399
2023-03-21 18:30:43 -03:00
ZhengPeiRu21
e9143a2c0b
Merge branch 'azerothcore:master' into Playerbot
2023-03-21 08:46:26 -06:00
Kitzunu
0f2f86171a
fix(Core/Mail): Reorder mail attachment checks ( #15418 )
...
* The check never hits as CanBeTraded() checks for empty bag too and we need to check it before as it uses a different error
* Cherry-pick : 9658d15b0c
Co-authored-by: Anton Popovichenko <walkline.ua@gmail.com >
2023-03-17 15:15:58 +01:00
郑佩茹
be7c57507f
Merge branch 'master' into Playerbot
...
# Conflicts:
# src/server/game/Entities/Player/Player.h
2023-03-16 10:00:13 -06:00
UltraNix
b21f98d639
fix(Scripts/Karazhan): Chess Event. ( #14736 )
2023-03-15 00:07:49 -03:00
UltraNix
784c5e9416
fix(Core): Crashfix. ( #15337 )
2023-03-13 16:16:04 -03:00