Commit Graph

4106 Commits

Author SHA1 Message Date
天鹿
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
Anton Popovichenko
fd029f81aa fix(Scripts/Karazhan): Fix crash in chess event. (#18695)
Fix crash in chess event
2024-04-10 16:21:53 -03:00
Balleny
723596c673 fix(Scripts/TheEye): Kaelthas: Roar timer (#18677)
Roar timer
2024-04-10 19:37:01 +02:00
Dan
d52010f2fc fix(Scripts/TheEye): make Al'ar not get stuck during dive bomb when no enemies in melee range (#18693)
* initial

* Update boss_alar.cpp
2024-04-10 13:51:21 -03:00
Letic92
4199cb8ce0 (Scripts/Ahnkahet): Fixed problem gathering GUIDS from bosses. (#18689) 2024-04-09 16:09:55 -03:00
Dan
39b94880db fix(Scripts/Hyjal): make sure Jaina takes no damage from Death and Decay (#18680)
init
2024-04-07 20:32:28 -03:00
Dan
dcff70c935 fix(Scripts/TheEye): increase Void Reaver boundary so he does not reset when tanked against the wall (#18683)
* Update instance_the_eye.cpp

* increase range
2024-04-07 20:29:59 -03:00
Andrew
8ef8ddad24 fix(Scripts/TheEye): Fix Alar not using abilities if no target is in … (#18678)
fix(Scripts/TheEye): Fix Alar not using abilities if no target is in range
2024-04-06 19:14:55 +02: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
Johaine
c80ad3d779 fix(Scripts/TempleOfAhnQiraj): Fix Vem enrage (#18652)
Fix Vem enrage

Vem should enrage when it is the last bug alive
(Regression from last refactor)
2024-04-06 09:19:14 -03:00
BAUXA
146f5a64ad fix(Scripts/Commands): "go xyz" command crash (#18676)
go xyz fix crash
2024-04-06 09:16:54 -03:00
Walter Pagani
21e0803508 fix(Script/BlackTemple): Add override in EnterEvadeMode (#18673)
fix(Script/illidari_council.cpp). Add override to the method EnterEvadeMode
2024-04-05 12:54:40 -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
Gultask
94ea109858 fix(Scripts/BlackTemple): Illidan not accessing Akama's guid (#18665)
init
2024-04-03 21:30:41 +02:00
Gultask
dc7753b2b6 fix(Scripts/BlackTemple): Rewrite Shade of Akama (#18601)
* init

* akama

only generators left

* Update boss_shade_of_akama.cpp

* Update boss_shade_of_akama.cpp

* warnign

* OMFG

* akama generators

* more for generators

* done

* codestyle

* warnings

* illidan fix

Co-Authored-By: 天鹿 <18535853+pklloveyou@users.noreply.github.com>

* Update rev_1711048056647652400.sql

Co-Authored-By: 天鹿 <18535853+pklloveyou@users.noreply.github.com>

* a

Co-Authored-By: 天鹿 <18535853+pklloveyou@users.noreply.github.com>

* Update instance_black_temple.cpp

Co-Authored-By: 天鹿 <18535853+pklloveyou@users.noreply.github.com>

* Update rev_1711048056647652400.sql

Co-Authored-By: 天鹿 <18535853+pklloveyou@users.noreply.github.com>

* avoid collecting trash

Co-Authored-By: 天鹿 <18535853+pklloveyou@users.noreply.github.com>

* Update boss_illidan.cpp

Co-Authored-By: 天鹿 <18535853+pklloveyou@users.noreply.github.com>

* Update boss_shade_of_akama.cpp

Co-Authored-By: 天鹿 <18535853+pklloveyou@users.noreply.github.com>

* crashfix?

* takes too long to despawn

* maybe

* clear lists

---------

Co-authored-by: 天鹿 <18535853+pklloveyou@users.noreply.github.com>
2024-04-02 22:08:51 +02:00
Anton Popovichenko
28a64111fd fix(Scripts/TheEye): Fix crash in Kaelthas. (#18653)
* fix(Scripts/TheEye): Fix crash in Kaelthas.

* Remove whitespace
2024-04-02 21:00:53 +02:00
Gultask
9b6e07ec2d fix(Scripts/TheEye): Lord Sanguinar's Bellowing Roar timer (#18651)
Update boss_kaelthas.cpp
2024-04-02 12:28:07 -03:00
Dan
1e52f715d0 fix(Scripts/TheEye): fix targetting logic in Void Reaver (#18646)
* initial

this works way better

* prettier
2024-04-01 15:56:55 -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
102bf7c9c5 fix(Scripts/Hyjal): Shadowy Necromancers now use Unholy Frenzy + Skeleton mage abilities (#18640)
init
2024-03-31 13:59:27 -03:00
Dan
a62eef0dcf fix(DB/TheEye): make Thaladred walk (#18629)
* init

Co-Authored-By: amed80 <8395873+amed80@users.noreply.github.com>

* remove walk from script and walkspeed

---------

Co-authored-by: amed80 <8395873+amed80@users.noreply.github.com>
2024-03-30 19:18:09 -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