Kitzunu
f440a7479f
fix(Core/Groups): Create the group at first invite ( #17869 )
...
* cherry-pick commit (132538db1d )
* cherry-pick commit (250e8d998b )
* part https://github.com/azerothcore/azerothcore-wotlk/issues/11070
Co-authored-by: Treeston <14020072+Treeston@users.noreply.github.com >
2023-11-26 20:34:45 +01:00
Winfidonarleyan
e90d7a2f92
chore(Core/Misc): sort includes ( #17776 )
...
* chore(Cleanup): sort includes
* fix build
* fix build again
2023-11-18 17:51:26 +01:00
Tristan 'Natrist' Cormier
0e1bdb1154
chore(Misc/Lang): rename LANG_YOU_NOT_HAVE_PERMISSION to LANG_PERMISSION_DENIED ( #17732 )
2023-11-16 06:06:17 -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
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
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
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
Ludwig
056ea323f3
fix(Core/Achievement): Implement ACHIEVEMENT_CRITERIA_TYPE_ROLL_DISENCHANT ( #17319 )
2023-09-22 00:50:39 +02: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
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
Kitzunu
c866e17406
refactor(Core/Motd): Move motd to MotdMgr ( #16933 )
2023-08-06 23:02:54 +02: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
Axel Cocat
642bd1936b
fix(Core/Arena): allow crossfaction arena teams ( #16823 )
2023-07-27 08:37:20 -03: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
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
天鹿
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
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
天鹿
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
5af67b384b
feat: Add CanPlaceAuctionBid hook ( #15154 )
...
* feat: Add CanPlaceAuctionBid hook
* Codestyle fix
2023-04-17 21:06:04 -03: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
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
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
UltraNix
ed31c22cc5
fix(Core/Gossip): Do not close gossip on target deselection. ( #15457 )
...
Fixes #12399
2023-03-21 18:30:43 -03: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
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
Kitzunu
9eb4b3a336
feat(Core/Character): Implement profanity_name ( #15156 )
2023-03-04 17:43:14 -03:00
Kitzunu
d7e701a1cb
feat(Core/PacketIO): Implement STATUS_LOGGEDIN_OR_RECENTLY_LOGGOUT ( #15059 )
...
Co-authored-by: Vladimir Merzliakov <29081+VladimirMangos@users.noreply.github.com >
Co-authored-by: megamage <35114+megamage@users.noreply.github.com >
Co-authored-by: Shauren <shauren.trinity@gmail.com >
Co-authored-by: Giacomo Pozzoni <giacomopoz@gmail.com >
2023-02-17 09:11:11 +01:00
Kitzunu
f039836a2f
chore(Core/Misc): Change all TODO to doxygen comment ( #14966 )
2023-02-12 10:05:34 -03:00
Kitzunu
5a9aeada12
feat(Core/DBC): Implement NamesProfanity and NamesReserved DBC ( #14956 )
2023-02-12 10:51:42 +01:00
Axel Cocat
513dab0740
feat(Core/Mail): call CanSendMail() even if no items are sent ( #14435 )
...
* feat(Core/Mail): call CanSendMail() even if no items are sent
* Update src/server/game/Handlers/MailHandler.cpp
Co-authored-by: Kitzunu <24550914+Kitzunu@users.noreply.github.com >
Co-authored-by: Kitzunu <24550914+Kitzunu@users.noreply.github.com >
2023-01-22 20:15:34 +01:00
Kitzunu
12f4a28b01
fix(Core/Characters): Correctly update char count on realm selection ( #14685 )
2023-01-15 15:44:17 +01:00
天鹿
14885e3e96
fix(core/packets): reduce sending unnecessary packets ( #13198 )
...
Co-authored-by: Dehravor <dehravor@gmail.com >
2023-01-15 15:31:00 +01:00
lineagedr
777a1be394
fix(Core/Packets): Fix a crash in MSG_RANDOM_ROLL. ( #14545 )
2023-01-07 20:27:49 +01: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
Axel Cocat
97b5906124
feat(Core/Player): delete character cache in Player::DeleteFromDB() ( #14388 )
2022-12-28 19:22:28 -03:00
Angelo Venturini
0a4051c4b2
fix(Core/Handlers): Crash ( #14390 )
2022-12-28 14:32:55 -03:00
UltraNix
6345958769
fix(Core/Loot): Disenchanted, milled or prospected items should be se… ( #14273 )
...
fix(Core/Loot): Disenchanted, milled or prospected items should be sent as retrieval mail in case of full bags.
Fixes #10798
2022-12-27 21:43:12 -03:00
UltraNix
49ad7402d9
fix(Core/LFG): Fixed showing dungeon access requirements only for lea… ( #14116 )
...
fix(Core/LFG): Fixed showing dungeon access requirements only for leaders in LFG.
Fixes #14070
2022-12-25 10:17:15 -03:00
UltraNix
962cefdcd8
fix(Core/Misc): Consider /dance as an emote state. ( #14275 )
2022-12-22 07:38:09 +01:00
UltraNix
8f697bdaee
fix(Core/Items): Item sell prices are affected by durability loss. So… ( #13801 )
...
...urce: Vmangos.
2022-11-21 18:51:40 -03:00
Mickaël Mauger
2c4df1054e
fix(Core): Fix guild bank update broadcasts ( #13520 )
...
Fix guild bank update broadcasts
2022-11-11 16:25:24 -03:00
UltraNix
f3820bd375
fix(Core/Players): Players should nt able to rest in unfriendly taver… ( #13493 )
...
* fix(Core/Players): Players should nt able to rest in unfriendly taverns. Original author: @Rushor
Fixes #13459
* Update.
2022-10-29 07:15:18 -03:00