天鹿
bcf1ffa9f5
feat(Core/Scripts): Optimize MovementHandlerScript need#18672 ( #18701 )
...
* Add files via upload
* Add files via upload
2024-04-11 17:09:17 -03:00
天鹿
83c4382c70
feat(Core/Scripts): Optimize AccountScript need#18672 ( #18697 )
...
Add files via upload
2024-04-11 17:09:02 -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
Johaine
3a93ae1af1
feat(Core/Optimization): Correctly document sendBuffer size and optimize it. ( #18647 )
...
* Fix comment documenting WorldSocket
The buffer is constructed with 4096 bytes but later resized in
WorldSocketThread::SocketAdded() according to the configuration
setting Network.OutUBuff (currently 65536 bytes)
* Reuse calculated packet size
Instead of recalculating the current packet size three times at
worst, calculate it once and reuse it when required.
* Reduce reserved buffer size per WorldSocket
Don't reserve 64kB of memory for every WorldSocket's output
buffer.
Instead, start with a 4kB baseline for every WorldSocket and grow
the buffer size dynamically when we have single packets that do
not fit the current buffer.
2024-04-06 10:22:32 -03:00
Anton Popovichenko
f7f1952f4b
fix(Core/Player): Fix memory leak. ( #18671 )
2024-04-05 07:04:55 -03: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
sudlud
94df67b1c2
fix(Core/Battleground): correctly limit Eye of the Storm max points to 1600 ( #18669 )
...
- before the max points could exceed 1600 on winning which e.g.
resulted in the achievement 'The Perfect Storm' not beeing
triggered correctly
2024-04-04 18:29:34 -03:00
Anton Popovichenko
47f9d66874
feat(Core/Optimization): Create index for sSkillLineAbilityStore to speedup search by skillLine. ( #18622 )
...
* feat(Core/Optimization): Create index for sSkillLineAbilityStore to speedup search by skillLine.
* Remove whitespace.
2024-04-01 05:50:12 -03:00
Anton Popovichenko
aee2eefb92
feat(Core/Optimization): Reduce CPU consumption by allocating sendBuffer only when it is needed. ( #18628 )
...
* feat(Core/Optimization): Reduce CPU consumption by allocating the sendBuffer only when it is needed.
* Remove whitespaces.
2024-04-01 05:49:42 -03:00
Yunfan Li
d74a6dd960
Merge branch 'master' into Playerbot
2024-03-31 12:44:21 +08:00
Dan
a870173558
fix(Scripts/BossAI): add optional variable to BossAI class to make sure the boss calls for help ( #18630 )
...
init
2024-03-30 11:31:41 -03:00
Anton Popovichenko
73340b94e3
feat(Core/Compression): Move packets compression from map to network thread ( #18602 )
...
* feat(Code/Compression): Move packets compression from map to network thread.
* Code style fix
* Remove unicode letter
2024-03-28 08:57:29 -03: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
97604fab77
Merge branch 'master' into Playerbot
2024-03-22 20:41:43 +08:00
skelUA
1a537236a8
fix(Core/Spell): Fix spell 35329 (Vibrant Blood) ( #18587 )
2024-03-20 05:01:57 -03:00
Mykhailo Redko
33f951d742
fix(Core/Spells): Fixed work of sobering spells and other improvements for drunk system ( #18390 )
...
* fix(Core/Spells): Fix sobering spells and possible uint8 overflow/underflow in SPELL_EFFECT_INEBRIATE handler.
* fix(Core/Spells): Improvements for SPELL_AURA_MOD_FAKE_INEBRIATE handling
2024-03-20 01:45:01 -03:00
skelUA
0c964dadae
fix (Core/Scripting): SMART_EVENT_NEAR_PLAYERS ( #18514 )
...
* FIX SMART_EVENT_NEAR_PLAYERS
* FIX SMART_EVENT_NEAR_PLAYERS (fix build)
2024-03-20 01:38:57 -03:00
Yunfan Li
91870c9ccd
Merge branch 'azerothcore:master' into Playerbot
2024-03-19 20:12:59 +08:00
Gultask
b69df485cf
fix(DB/BlackTemple): Rework Black Temple ( #18569 )
...
* init
* more
* Update rev_1710358311839208100.sql
2024-03-18 22:31:05 +01:00
Yunfan Li
b1ee6cfe06
Fix macos compilation
2024-03-18 14:25:49 +08:00
Yunfan Li
68219e6f55
Merge branch 'azerothcore:master' into Playerbot
2024-03-17 12:05:57 +08:00
Dan
42c41525de
fix(Scripts/TheEye): increase dagger proc chance and make sure mind control only targets players ( #18563 )
2024-03-16 17:28:40 -03:00
Walter Pagani
64f372fca3
chore. Avoid failures in the tests of custom items ( #18519 )
...
* chore. Avoid failures in the tests of custom items
* Report error but continue with the rest of the item
* change LOG_ERROR for LOG_DEBUG
2024-03-15 20:09:10 -03:00
Elmsroth
ab02c36e67
feat(Scripts/Commands): Implement ".reset items" command ( #18393 )
...
Syntax : .reset items equiped|bags|bank|keyring|currency|vendor_buyback|all|allbags #playername
Delete items in the player inventory (equiped, bank, bags etc...) depending on the chosen option.
#playername : Optionnal target player name (if player is online only). If not provided the command will execute on the selected target player.
Update src/server/scripts/Commands/cs_reset.cpp
Accepted
Co-authored-by: Benjamin Jackson <38561765+heyitsbench@users.noreply.github.com >
Update data/sql/updates/pending_db_world/rev_1708782048020249700.sql
Accepted
Co-authored-by: Benjamin Jackson <38561765+heyitsbench@users.noreply.github.com >
Update data/sql/updates/pending_db_world/rev_1708782048020249700.sql
Accepted
Co-authored-by: Benjamin Jackson <38561765+heyitsbench@users.noreply.github.com >
Update src/server/game/Miscellaneous/Language.h
Accepted
Co-authored-by: Benjamin Jackson <38561765+heyitsbench@users.noreply.github.com >
fix uint16 vs uint16_t
fix crash and code cleanup
Fix typo
sql fix
Missing typo
selected instead or selecter
AC code style fix
Re-Fix typos
MISSING typos
missing typos
2024-03-15 10:23:31 -03:00
Andrew
3bcdc4d23e
fix(Core/Spells): Domination affect max 5 targets ( #18555 )
2024-03-15 08:20:51 +01:00
Walter Pagani
7a7ea27293
fix(SpellInfoCorrections) Raid buffs should ignore LoS ( #18518 )
2024-03-15 01:20:36 -03:00
sudlud
307c1ab09d
refactor(Core): remove some unused variables ( #18538 )
...
- let's get rid of some compiler warnings
2024-03-13 06:52:43 -03:00
Yunfan Li
a42219e17d
Merge branch 'azerothcore:master' into Playerbot
2024-03-12 16:54:14 +08:00
Yunfan Li
f0cb94cb3f
Fix variable unused warning
2024-03-12 13:56:48 +08:00
sudlud
bf17d93727
fix(Core/PVP): Fix OutDoorPVP CustomSpell handling ( #18389 )
...
* fix(Core/PVP): Fix OutDoorPVP CustomSpell handling
- the function HandleCustomSpell() should only return
true if it actually handled a spell
* comment unused parameter
2024-03-10 15:35:29 +01:00
Yunfan Li
01a6bd65bf
Merge branch 'master' into Playerbot
2024-03-09 10:30:25 +08:00
skelUA
da453b2a8d
fix(Core/SmartScripts): LOS check spell for SmartScipts ( #18501 )
...
* Fix spell 35329 (Vibrant Blood)
* [PATCH] Flight of the Wintergarde Defender fix (https://forums.wow.sumy.ua/viewtopic.php?p=35#p35 )
* Revert "[PATCH] Flight of the Wintergarde Defender fix (https://forums.wow.sumy.ua/viewtopic.php?p=35#p35 )"
This reverts commit 2eaeb78bdee5b09f1ea5685a9b039f9221df4abe.
* Revert "Fix spell 35329 (Vibrant Blood)"
This reverts commit 0e7ee59588709050e2af9cc15e8ff1ed358936b2.
* Revert "Revert "Fix spell 35329 (Vibrant Blood)""
This reverts commit 5e4424b4d81ec3c1de1d6f73e48d848e63e92b79.
* Revert "Revert "[PATCH] Flight of the Wintergarde Defender fix (https://forums.wow.sumy.ua/viewtopic.php?p=35#p35 )""
This reverts commit b3a9553a45e81f65b2eb15f127c5ca9eb99b6d1e.
* Revert "Revert "Revert "[PATCH] Flight of the Wintergarde Defender fix (https://forums.wow.sumy.ua/viewtopic.php?p=35#p35 )"""
This reverts commit 0ced477c767b9087eefdf516d0e0fccf1567e6e3.
* Revert "Revert "Revert "Fix spell 35329 (Vibrant Blood)"""
This reverts commit a8da732cfb4369f218e96175fc8f33eafc1e69c9.
* Revert "Revert "Fix spell 35329 (Vibrant Blood)""
This reverts commit 5e4424b4d81ec3c1de1d6f73e48d848e63e92b79.
* Revert "Revert "[PATCH] Flight of the Wintergarde Defender fix (https://forums.wow.sumy.ua/viewtopic.php?p=35#p35 )""
This reverts commit b3a9553a45e81f65b2eb15f127c5ca9eb99b6d1e.
* Revert "[PATCH] Flight of the Wintergarde Defender fix (https://forums.wow.sumy.ua/viewtopic.php?p=35#p35 )"
This reverts commit 2eaeb78bdee5b09f1ea5685a9b039f9221df4abe.
* Revert "Fix spell 35329 (Vibrant Blood)"
This reverts commit 0e7ee59588709050e2af9cc15e8ff1ed358936b2.
* FIX LOS SAI
2024-03-08 11:15:45 -03:00
Dan
1c8644b3bc
fix(Scripts/TheEye): make legendary TK dagger have 100% proc chance ( #18482 )
...
initial
2024-03-04 10:44:35 +01:00
Yunfan Li
8e5731ff60
Fix ServerScript.h
2024-03-03 12:37:43 +08:00
Yunfan Li
51219291a3
Merge branch 'master' into Playerbot
2024-03-03 11:58:01 +08:00
Andrew
6df652a8dd
fix(Core/Creature): Prevent combat movement disabled creatures from r… ( #18428 )
...
* fix(Core/Creature): Prevent combat movement disabled creatures from repositioning if target moves within model boundary
* fixbuild
* Apply suggestions from code review
2024-02-27 10:11:39 -03:00
Anton Popovichenko
34598bfccf
feat(Core/UpdateTime): Improve diff time measurement. ( #18387 )
...
* feat(Core/UpdateTime): Improve diff time measurement.
* Codestyle fixes
2024-02-25 12:08:15 -03:00
Dan
4fcd3402ca
fix(Core/SmartAI): implement param maxCount for SMART_TARGET_PLAYER_RANGE ( #18394 )
...
* init
* conditional
2024-02-25 11:50:07 -03:00
Yunfan Li
7c856eaf63
Merge branch 'master' of github.com:azerothcore/azerothcore-wotlk into Playerbot
2024-02-24 22:48:16 +08:00
Elmsroth
729a1ff539
fix(Crash/Quest/Spell) : The Boon of Remulos ( #18379 )
...
Fix the spell : https://www.wowhead.com/wotlk/spell=57678/emerald-acorn-effect
Used in quest : https://www.wowhead.com/wotlk/quest=13075/the-boon-of-remulos
The crashed was caused by a nullptr Excception. It also could be throuwn in another similar test that has also been fixed.
If the spell did not have a CastTimeEntry a nullptr Exception was not checked.
2024-02-22 22:40:26 -03:00
Yunfan Li
b4046d48d7
Merge branch 'master' into Playerbot
2024-02-22 23:34:59 +08:00
sudlud
d94d10aa9f
fix(Core): Prevent gift wrapping of limited duration items ( #18334 )
...
fix(Core): Prevent gift wrapping of items with duration
- remaining duration is not beeing stored in character_gifts
- gift wrapping of items with duration preserved
them infinitely
2024-02-19 21:23:13 +01:00
sudlud
7e419fba5a
fix(Core/Guild): Prevent swapping limited duration items into guild bank ( #18335 )
2024-02-19 21:22:51 +01:00
Yunfan Li
ccff9469fc
Merge branch 'master' into Playerbot
2024-02-19 23:10:00 +08:00
Mykhailo Redko
86bff27611
fix(Core/GameObject): Remove unneeded ClearGossipMenuFor call ( #18331 )
2024-02-18 11:21:52 +01:00
Yunfan Li
cd5826f283
Merge branch 'master' into Playerbot
2024-02-14 01:02:12 +08:00
Anton Popovichenko
72e75982be
fix(Core/Taxi): Fixes crash when player logins and continues flight ( #18270 )
...
* fix(Core/Taxi): Fixes crash when player logins and continue flight
* Update WaypointMovementGenerator.cpp
2024-02-12 08:18:05 -03:00