kadeshar
234268e3bf
Merge pull request #7 from azerothcore/master
...
Merge
2025-08-27 21:04:10 +02:00
Quartzi
0fc05ed4d2
feat(Core/Scripting): Add OnPlayerGiveReputation script hook ( #21869 )
2025-08-27 04:32:02 -03:00
Yunfan Li
565019ed27
Merge branch 'master' into Playerbot
2025-03-14 21:37:02 +08:00
Vincent Vanclef
dd42f7a673
feat(Core/Entities): Add OnPlayerSendListInventory script hook ( #21676 )
2025-03-11 15:01:55 +01:00
Vincent Vanclef
ffe03f6e14
feat(Core/Entities): add OnPlayerCanGiveLevel script hook ( #21666 )
2025-03-10 08:44:33 +01:00
Yunfan Li
990c85c2cd
Remove MOD_PLAYERBOTS macro to compile without mod-playerbots
2025-02-19 23:01:53 +08:00
Yunfan Li
7d431dc796
Merge branch 'master' into Playerbot
2025-02-19 22:29:36 +08:00
iThorgrim
e28384b059
feat(Core/Scripting): Add new hooks for Ticket ( #21238 )
2025-02-17 03:26:05 +01:00
Exitare
98ceb1c067
fix(Core/PlayerScript) Align player script function names ( #21020 )
...
Co-authored-by: sudlud <sudlud@users.noreply.github.com >
2025-02-16 14:59:41 +01:00
iThorgrim
971ebcae31
feat(Core/Scripting): Add Player skill based hook ( #21273 )
...
Co-authored-by: IntelligentQuantum <IntelligentQuantum@ProtonMail.Com >
Co-authored-by: Ludwig <sudlud@users.noreply.github.com >
2025-02-15 23:10:38 +01:00
Takenbacon
ee69a569c4
fix(Core/Grids): Grid improvements ( #20955 )
2025-02-14 22:11:27 +01:00
Yunfan Li
de3c2b553e
Merge branch 'master' into Playerbot
2025-02-04 23:40:06 +08:00
iThorgrim
054018232c
feat(Core/Scripting): Add new hook OnUnitSetShapeshiftForm ( #21235 )
2025-02-04 07:41:29 +01:00
iThorgrim
c53112d820
Feat(Core/Scripting): Add new hook CanPlayerResurrect to simplify HardCore mod etc. ( #21272 )
2025-02-03 18:28:19 +01:00
Yunfan Li
cf035b5e5e
Merge branch 'master' into Playerbot
2025-01-23 23:23:53 +08:00
iThorgrim
90566589b0
feat(Scripting/Spell): Add new hooks for Spell (OnSpellCast, OnSpellPrepare, OnSpellCancel) ( #21149 )
2025-01-18 12:26:39 -03:00
Yunfan Li
c76e70a364
Merge branch 'master' into Playerbot
2024-12-22 13:24:03 +08:00
Exitare
7fd8b04a56
feat(Core/Motd): Allow localized motd ( #20542 )
...
* Initial commit for localized motd
* Rename function that created world packages
* Update to satisfy code check
* Update code to accomodate localized motd
* Update command to support multiple optionales & adjusted db
* Code cleanup
* Update sql name
* Fix codestyle issues
* Remove hardcoded schema
* Add check for valid player in reload command
* Update to better code style
* Add missing include
* Fix redundant code usage
* Add missing include
* Remove sql files and create new rev sql files
* Address minor code reviews
* Fix code style
* Update code to address code revisions.
- Remove two unused functions
- Remove map
- Use available function to resolve LocaleConstant
* Fix code style
* Add check for base motd and update locale to DEFAULT_LOCALE
* Code docs
* Removed some docs, readd defaultd motd formatting
* Fix oversight in variable declaration
* Code style fix
* Update code based on code review
* ready for merge
* Fix set motd command due to changes to DEFAULT_LOCALE
* Fix CI
* Fix trailing whitespace
---------
Co-authored-by: Kitzunu <24550914+Kitzunu@users.noreply.github.com >
2024-12-15 19:50:02 +01:00
Yunfan Li
fce06946e1
Merge branch 'master' into Playerbot
2024-11-16 13:15:00 +08:00
Benjamin Jackson
53cd41b938
feat(Core/Scripting): Add hook during command security evaluation. ( #20564 )
2024-11-14 17:14:28 -03:00
silviu20092
87fbdb7967
feat(Core/Scripting): Add hook for applying weapon damage ( #20350 )
...
Add hook for applying weapon damage
2024-11-14 05:35:26 -03:00
Yunfan Li
abd9b4ebb8
Merge branch 'master' into Playerbot
2024-10-30 21:43:42 +08:00
Francesco Borzì
2ce2c8cf3a
refactor(src/server/game/*): remove unused imports (big part 3) ( #20315 )
2024-10-27 13:10:28 +01:00
Yunfan Li
910848c51b
Revert "Revert "Merge branch 'master' into Playerbot""
...
This reverts commit 2358b256f2 .
2024-09-17 23:14:42 +08:00
Yunfan Li
2358b256f2
Revert "Merge branch 'master' into Playerbot"
...
This reverts commit 9973151927 , reversing
changes made to 6f5b504e4c .
2024-09-13 17:13:32 +08:00
Yunfan Li
9973151927
Merge branch 'master' into Playerbot
2024-09-12 22:49:08 +08:00
Stefano Borzì
d17c179c03
chore: remove unused hooks ( #19919 )
2024-09-11 11:50:59 -03:00
Stefano Borzì
f6e9bd51fd
feat(ScriptMgr): add OnArenaStart hook ( #19922 )
2024-09-11 11:18:36 -03:00
Stefano Borzì
0dd5c6e3b4
feat(Battlegrounds): make it compatible with custom arena type ( #18679 )
...
* feat(Battlegrounds): make it compatible with custom arena type
* fix(BattlegroundQueue.cpp): ignore bg for arena condition
* feat(Scripting): add OnQueueUpdateValidity hook
* fix: codestyle
2024-09-08 20:05:58 +02:00
Yunfan Li
414805e692
Merge branch 'master' into Playerbot
2024-09-04 23:46:34 +08:00
Stefano Borzì
e5e514bbbe
feat(Core/Scripting): add OnBeforeArenaCheckWinConditions hook for mod-arena-replay compatibility ( #19856 )
2024-09-04 10:33:38 -03:00
Yunfan Li
f8a28b6883
Merge branch 'master' into Playerbot
2024-08-30 22:38:08 +08:00
ianmeesters
a83cd03bfb
feat(Core/Player): add OnCalculateTalentsPoints hook ( #19749 )
...
* playerTalentsHook
* oeps :#
* :#
* does this work?
* make reference
---------
Co-authored-by: Amy Fang <amy@cavemail.ddns.net >
2024-08-30 09:06:07 -03:00
Yunfan Li
f5e44cd8a6
Merge branch 'master' into Playerbot
2024-08-01 15:41:23 +08:00
Francesco Borzì
02a05fbd4c
refactor(src/common): remove unused imports ( #19506 )
...
* refactor(src/common): remove unused imports
* fix: build
* chore: fix build
* chore: size_t -> std::size_t
* chore: fix fuckup from previous commit
* chore: fix build
* chore: fix build
* chore: fix build
* chore: fix build with std::size_t
* chore: fix build
* chore: fix build
* chore: fix build
* chore: fix build
* chore: fix build
* chore: fix build
* chore: fix build
* chore: fix build
* chore: fix build
* chore: fix build
* chore: fix build
* chore: fix build
2024-07-30 20:06:46 -03:00
Yunfan Li
1f54cb14fa
Merge branch 'master' into Playerbot
2024-07-07 13:33:14 +08:00
sudlud
60be029e4c
fix(Core/Scripting): fix OnBeforeCreateInstanceScript hook ( #19252 )
...
- to me this hook should obviously provide an option to overwrite
the InstanceScript pointer
- this is e.g. beeing used by mod-eluna (but currently broken)
2024-07-03 14:54:45 -03:00
Yunfan Li
72725635ba
Merge branch 'master' into Playerbot
2024-06-19 14:32:16 +08:00
AnchyDev
e0cf15db93
fix(Scripts/Misc) CanExecuteCommand renamed and moved to be executed for all commands. ( #19081 )
...
* Fix CanExecuteCommand only being executed on command failure.
* Updated for style guide.
* Removed pointless hook call.
* Modified the name of the hook to better reflect function and moved the call to trigger for non-existent commands.
* Updated to OnTryExecuteCommand because Foe has a special place in my heart.
* Forgot to change these 2 areas.
2024-06-17 21:39:11 +02:00
Yunfan Li
1e22c4dc94
Merge branch 'master' into Playerbot
2024-05-26 23:00:39 +08:00
silviu20092
3988e9581d
feat(core): add hooks for applying item mods ( #18760 )
2024-05-18 10:02:57 +02:00
Yunfan Li
ab9fe20600
Merge branch 'master' into Playerbot
2024-04-14 21:08:07 +08:00
Anton Popovichenko
3a6231cb65
fix(Core/Scripts): Fix build and crash when calling uninitialized scripts ( #18718 )
...
fix(Core/Scripts): Fix build and crash when calling uninitialized scripts.
2024-04-12 07:13:37 -03:00
Anton Popovichenko
f792b0d708
feat(Core/Scripts): Optimize PlayerScripts by calling only overridden/implemented functions. ( #18672 )
...
* feat(Core/Scripts): Optimize PlayerScripts by calling only overridden/implemented functions.
* Fix codestyle.
* Fix typo
* PLAYERHOOK_END is not a hook
* Address code review feedback.
Co-authored-by: Winfidonarleyan <dowlandtop@yandex.com >
* Codestyle fixes
* Fix typo
Co-authored-by: PkllonG
---------
Co-authored-by: Winfidonarleyan <dowlandtop@yandex.com >
2024-04-11 17:08:30 -03:00
Yunfan Li
f0be01a5d7
Merge branch 'master' into Playerbot
2024-04-07 21:49:34 +08:00
Anton Popovichenko
1f640c9872
feat(Core/Optimization): Optimize build of units update object by leveraging cache ( #18637 )
...
* feat(Core/Optimization): Optimize build of units update object by leveraging cache.
* Remove whitespaces.
* Add alternative hooks to handle transmog and other similar things.
* Fix build on some compilers.
* Fix codestyle
* Fix build again.
* Take into account updateType.
2024-04-05 08:03:11 +02:00
Yunfan Li
6338010e09
Merge branch 'master' into Playerbot
2024-03-28 19:15:09 +08:00
Elmsroth
b1cf830009
chore(PlayerScript/Hook) : Add CanSetTradeItem Hook in PlayerScript ( #18583 )
...
* chore(PlayerScript/Hook) : Add CanSetTradeItem Hook in PlayerScript
* Allowing non traded slots
* Fix typo and codestyle
2024-03-26 21:28:37 -03:00
silviu20092
5b8bc792b8
feat(core): account delete hook ( #18605 )
...
Add account delete hook
2024-03-26 20:57:42 -03:00
Yunfan Li
5699c97d8c
Merge branch 'master' into Playerbot
2024-02-11 23:45:22 +08:00