Commit Graph

354 Commits

Author SHA1 Message Date
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
Kitzunu
9eb4b3a336 feat(Core/Character): Implement profanity_name (#15156) 2023-03-04 17:43:14 -03:00
郑佩茹
8ffdf088d4 Merge branch 'master' into Playerbot 2023-02-17 11:37:31 -07: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
郑佩茹
4bc9901f16 Merge branch 'master' into Playerbot
# Conflicts:
#	src/server/game/Entities/GameObject/GameObject.h
2023-02-13 13:07:03 -07: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
郑佩茹
03b3f9d051 Merge branch 'master' into Playerbot
# Conflicts:
#	src/server/game/World/World.h
2023-02-09 12:40:25 -07: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
郑佩茹
c1c97ad425 Merge branch 'master' into Playerbot
# Conflicts:
#	src/server/game/Server/WorldSession.cpp
#	src/server/game/Server/WorldSession.h
2022-12-07 14:46:21 -07: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
郑佩茹
cab0d6f027 Merge branch 'master' into Playerbot
# Conflicts:
#	src/server/game/Guilds/Guild.cpp
2022-11-18 10:21:36 -07: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
M'Dic
2e6f6e26da Add (core\db): Support for Homebind Orientation (#13389)
Add (core\db) Support for Homebind Orientation
2022-10-12 14:39:02 -04:00
Angelo Venturini
ad4ce0895f fix: Qaston revert (#13320)
* Revert "fix(Core/QAston): fixed shields oneshotting (#13271)"

This reverts commit e05f61d1b3.

* Revert "fix(Core): Crash (#13292)"

This reverts commit a818bcf3e2.

* Revert "fix: Crash (#13241)"

This reverts commit be423a91b5.

* delete sql

* Revert "refactor(Core/Spells): Implement QAston Proc System (#11079)"

This reverts commit cbd3fd0967.

* add sql revert

* fix sql

* remove update from world.updates
2022-10-05 21:53:20 +02:00
IntelligentQuantum
cbd3fd0967 refactor(Core/Spells): Implement QAston Proc System (#11079)
* .

* sql

* .

* .

* 1

* 2

* 3

* 4

* 5

* 6

* 7

* 8

* 9

* 10

* 11

* 12

* 13

* 14

* 15

* Update spell_item.cpp

* Update Unit.cpp

* 16

* 17

* 18

* 19

* 20

* 21

* Update Unit.cpp

* REVERT UltraNIX Commit

* 22

* 23

* .

* .

* .

* warrior

* warlock

* shaman rogue priest paladin mage

* spell item

* hunter

* druid

* dk

* war

* error style

* Update rev_1647677899565690722.sql

* Update rev_1647677899565690722.sql

* Update rev_1647677899565690722.sql

* .

* DOND DEL ME WAD DO DO

* error 2

* .

* .

* .

* FIX

* Update SpellInfoCorrections.cpp

* Update SpellInfoCorrections.cpp

* .

* ja genau

* Update .gitignore

* .

* .

* .,

* .

* .

* .

* .

* Update Unit.cpp
2022-10-02 19:39:34 +02:00
ZhengPeiRu21
4c6c80d880 Merge branch 'azerothcore:master' into Playerbot 2022-09-22 15:18:27 -06:00
UltraNix
bd536a039d fix(Core/Battlegrounds): MinLevel and MaxLevel from `battelground… (#12880)
fix(Core/Battlegrounds): `MinLevel` and `MaxLevel` from `battelground_template` should be taken into account while joining bg queue.

Fixes #6781
2022-09-21 13:17:38 -04:00
ZhengPeiRu21
8da3ae8a91 Merge branch 'azerothcore:master' into Playerbot 2022-09-21 09:42:10 -06:00
DavuKnight
d8598c764e feat(core): OnFfaPvpStateUpdate Event (#13023)
* Event for Notification when the Player enters into or Leaves Ffa

* Bug and Formatting Fixes
2022-09-21 08:33:28 -04:00
ZhengPeiRu21
dfa49e9433 feat(Core): Hide Game Object Quest Markers Config Option (#13013) 2022-09-21 08:29:54 -04:00
ZhengPeiRu21
7a137767fa feat(Core): OnBeforeLootMoney hook (#13030) 2022-09-21 08:28:19 -04:00
ZhengPeiRu21
d9390e34b4 fix(Core): CanAccountCreateCharacter hook parameters (#13060) 2022-09-21 07:42:56 -04:00
ZhengPeiRu21
e67849a858 Merge branch 'azerothcore:master' into Playerbot 2022-09-19 09:23:59 -06:00
ZhengPeiRu21
7dc598f364 feat(Core): CanAccountCreateCharacter hook (#13020) 2022-09-19 00:58:18 -03:00
ZhengPeiRu21
aa1705d6c5 Merge branch 'azerothcore:master' into Playerbot 2022-09-07 09:35:58 -06:00
AnchyDev
9b6a3ee4f9 feat(Scripting/Hooks): Add OnBeforeOpenItem Hook (#12576) 2022-09-06 19:43:32 -03:00
IntelligentQuantum
431d7d5e4d fix(Core): Entering BG whilst in combat (#12770) 2022-09-06 15:22:01 -03:00
ZhengPeiRu21
774225e669 Merge branch 'azerothcore:master' into Playerbot 2022-08-18 13:48:09 -06:00
M'Dic
8b9541873a feat(Core/ChatHandler/Conf): Flood Control Addon Messages (#12603)
* feat(Core/ChatHandler): Flood Control Addon Messages

Original Closed PR by @Kitzunu
https://github.com/azerothcore/azerothcore-wotlk/pull/11675

Cherrypicked TC:
cherry-pick commit (TrinityCore/TrinityCore@5384fc1)
cherry-pick commit (stoneharry/TrinityCore@a0629fc)

Co-Authored-By: stoneharry 3818405+stoneharry@users.noreply.github.com
Co-Authored-By: Shauren shauren.trinity@gmail.com
Co-Authored-By: stoneharry <3818405+stoneharry@users.noreply.github.com>
Co-Authored-By: Shauren <shauren.trinity@gmail.com>
Co-Authored-By: Kitzunu <24550914+Kitzunu@users.noreply.github.com>

* update: (pr): Review Response

* update: (core): Chathandler

No reason why this case should even exist. Previous or current.  This cast is under two sided interations which will always lead to you being in a group of some sorts. there is literally zero sense having a above or equal to level 80 if statement here.

* update (cleanup): Code Style

suggestion per @Nefertumm

Co-Authored-By: Angelo Venturini <nefertum.dev@protonmail.com>

Co-authored-by: stoneharry <3818405+stoneharry@users.noreply.github.com>
Co-authored-by: Shauren <shauren.trinity@gmail.com>
Co-authored-by: Kitzunu <24550914+Kitzunu@users.noreply.github.com>
Co-authored-by: Angelo Venturini <nefertum.dev@protonmail.com>
2022-08-17 10:37:34 -04:00
郑佩茹
32c6babdb7 Merge branch 'master' into Playerbot
# Conflicts:
#	src/server/game/Entities/Player/Player.cpp
#	src/server/game/Entities/Player/Player.h
#	src/server/game/Entities/Unit/Unit.h
2022-08-16 16:13:26 -06:00