Walter Pagani
564192f881
fix. Prevent character deletion if you have an email ( #18743 )
...
* fix. Prevent character deletion if you have an email
* Conditional revert
* change message
* original message
2024-04-14 08:00:50 -03:00
Andrew
22c8469d8c
fix(Core/Spells): Fix Anetheron sleep only targetting himself ( #18735 )
2024-04-13 17:14:07 +02:00
Anton Popovichenko
11ac6c70db
fix(Core/Scripts): Fix one more typo after scripts refactoring ( #18730 )
...
fix(Core/Scripts): Fix one more typo after scripts refactoring.
2024-04-12 16:58:07 -03:00
Anton Popovichenko
c796d9291e
fix(Core/PlayerScript): Fix adding XP on quest completion and other overlooks. ( #18728 )
...
* fix(Core/PlayerScript): Fix adding XP on quest completion.
* Fix other overlooks.
2024-04-12 12:12:57 -03:00
天鹿
0e1888ac92
feat(Core/Scripts): Optimize AchievementScript ( #18705 )
...
* Add files via upload
* Update AchievementScript.h
2024-04-12 11:00:31 -03:00
天鹿
b3a332f57c
feat(Core/Scripts): Optimize AllBattlegroundScript ( #18704 )
...
* Add files via upload
* Update AllBattlegroundScript.h
2024-04-12 11:00:16 -03:00
天鹿
a4af83b277
feat(Core/Scripts): Optimize AllCommandScript ( #18703 )
...
* Add files via upload
* Update AllCommandScript.h
2024-04-12 10:59:56 -03:00
天鹿
d87af54675
feat(Core/Scripts): Optimize AllSpellScript ( #18702 )
...
* Add files via upload
* Update AllSpellScript.h
2024-04-12 10:59:37 -03:00
天鹿
170817e66d
feat(Core/Scripts): Optimize GameEventScript ( #18711 )
...
* Add files via upload
* Update GameEventScript.h
2024-04-12 10:56:46 -03:00
天鹿
a2c867fcf2
feat(Core/Scripts): Optimize GroupScript ( #18713 )
...
* Add files via upload
* Add files via upload
* Add files via upload
* Add files via upload
* Add files via upload
* Add files via upload
* Update GroupScript.h
2024-04-12 10:56:31 -03:00
天鹿
e2a07cf9b7
feat(Core/Scripts): Optimize GuildScript ( #18714 )
...
* Add files via upload
* Add files via upload
* Add files via upload
* Add files via upload
* Add files via upload
* Update GuildScript.h
2024-04-12 10:56:12 -03:00
天鹿
1ecce50e06
feat(Core/Scripts): Optimize LootScript ( #18715 )
...
* Add files via upload
* Add files via upload
* Add files via upload
* Add files via upload
* Add files via upload
* Update LootScript.h
2024-04-12 10:55:54 -03:00
天鹿
9464068625
feat(Core/Scripts): Optimize MailScript ( #18716 )
...
* Add files via upload
* Add files via upload
* Add files via upload
* Add files via upload
* Add files via upload
* Update MailScript.h
2024-04-12 10:55:35 -03:00
天鹿
e4cae908fa
feat(Core/Scripts): Optimize MiscScript ( #18719 )
...
* Add files via upload
* Add files via upload
* Add files via upload
* Add files via upload
* Add files via upload
* Update MiscScript.h
2024-04-12 10:55:18 -03:00
天鹿
574bdc2869
feat(Core/Scripts): Optimize PetScript ( #18720 )
...
* Add files via upload
* Add files via upload
* Add files via upload
* Add files via upload
* Add files via upload
* Update PetScript.h
2024-04-12 10:55:04 -03:00
天鹿
55233dd17b
feat(Core/Scripts): Optimize ServerScript ( #18721 )
...
* Add files via upload
* Add files via upload
* Add files via upload
* Add files via upload
* Add files via upload
* Update ServerScript.h
2024-04-12 10:54:35 -03:00
天鹿
8d20a25e96
feat(Core/Scripts): Optimize UnitScript ( #18722 )
...
* Add files via upload
* Add files via upload
* Add files via upload
* Add files via upload
* Add files via upload
* Update UnitScript.h
2024-04-12 10:54:20 -03:00
天鹿
83c4562f3d
feat(Core/Scripts): Optimize WorldObjectScript ( #18723 )
...
* Add files via upload
* Add files via upload
* Add files via upload
* Add files via upload
* Add files via upload
* Update WorldObjectScript.h
2024-04-12 10:53:59 -03:00
天鹿
d162817d33
feat(Core/Scripts): Optimize WorldScript ( #18724 )
...
* Add files via upload
* Add files via upload
* Add files via upload
* Add files via upload
* Add files via upload
* Update WorldScript.h
* Update ScriptMgr.cpp
2024-04-12 10:53:42 -03:00
天鹿
130044fb01
feat(Core/Scripts): Optimize GlobalScript ( #18712 )
...
* Add files via upload
* Update GlobalScript.h
2024-04-12 10:53:26 -03:00
天鹿
f0a21100c5
feat(Core/Scripts): Optimize FormulaScript ( #18710 )
...
* Add files via upload
* Update FormulaScript.h
2024-04-12 10:53:08 -03:00
天鹿
bf4f9774c1
feat(Core/Scripts): Optimize DatabaseScript ( #18709 )
...
Add files via upload
2024-04-12 10:52:43 -03:00
天鹿
97fc546c4b
refactor(Core/Scripts): Optimize Script ( #18708 )
...
* Add files via upload
* Update PlayerScript.h
2024-04-12 10:50:44 -03: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
天鹿
f05200fcca
feat(Core/Scripts): Optimize AuctionHouseScript need#18672 ( #18698 )
...
Add files via upload
2024-04-11 17:10:02 -03:00
天鹿
33592f93cf
feat(Core/Scripts): Optimize ArenaTeamScript need#18672 ( #18699 )
...
Add files via upload
2024-04-11 17:09:47 -03:00
天鹿
e28a432fa2
feat(Core/Scripts): Optimize ArenaScript need#18672 ( #18700 )
...
Add files via upload
2024-04-11 17:09:32 -03:00
天鹿
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
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
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
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
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
Gultask
b69df485cf
fix(DB/BlackTemple): Rework Black Temple ( #18569 )
...
* init
* more
* Update rev_1710358311839208100.sql
2024-03-18 22:31:05 +01: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