Commit Graph

2071 Commits

Author SHA1 Message Date
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
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
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
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
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
Dan
02cf369fe2 fix(Scripts/Hyjal): Archimonde refactored (#18594)
* wip

* wippers

* more wip

* wip314

* some work

* lesgo

* summonlist fixed

* I need glasses

* open from draft PR

* some fixes

* unused
2024-03-26 22:37:00 -03:00
Dan
16f220253a fix(Scripts/SSC): make adds reset when one leaves the room (#18614)
* init

* Update boss_fathomlord_karathress.cpp
2024-03-26 18:23:29 -03:00
Dan
3ea02712d4 fix(Scripts/TheEye): make Void Reaver abilities ignore LOS (#18613)
* initial

* Update SpellInfoCorrections.cpp

* Update SpellInfoCorrections.cpp

* cast on nearby target on spellcastfail
2024-03-26 18:23:02 -03:00
chaosua
4e95c9e006 (Instance/Culling of Stratholme/Trial of Crusader) removed duplicated gossip_menus, fixed hardcoded texts (#18516)
* (Instance/Culling of Stratholme) removed duplicated gossip_menus, fixed hardcoded texts

* Update culling_of_stratholme.sql

* Update culling_of_stratholme.sql

* (Instance/TrialOfTheCrusader) fixed hardcoded text from Jaraxxus text line
boss_twin_valkyr: removed unnececarry random txt line select (already exist groupid 6 id 0 and 1 in creature_text)
added ruRU locale for Acidmaw and Dreadscale GroupID 2

* move sqls

* Update culling_of_stratholme.sql

* Update data/sql/updates/pending_db_world/culling_of_stratholme.sql

Co-authored-by: Benjamin Jackson <38561765+heyitsbench@users.noreply.github.com>

* Update culling_of_stratholme.sql

* update naming of variables to better understand the sequence of events

* Change locale attribute to Locale

I'm not 100% sure, but since in Linux, uppercase and lowercase letters represent different values, I think that's why it doesn't pass the tests. In Windows nothing happens, but in Linux there are 2 different attributes.

* strange MySQL in Linux

* Update trial_of_crusader.sql

* updated sequence of txt lines with cityman before Malganis appear according to @Trinitycore enum RPEventLines2
combine all SQL in 1 file

---------

Co-authored-by: Benjamin Jackson <38561765+heyitsbench@users.noreply.github.com>
Co-authored-by: Walter Pagani <paganiwalter@gmail.com>
2024-03-24 16:47:34 +01:00
Gultask
a7761597ba fix(Scripts/HyjalSummit): Frost Wyrms casting wrong spell (#18603)
lmaaaooo

Co-authored-by: Dan <83884799+elthehablo@users.noreply.github.com>
2024-03-22 21:42:42 +01:00
Gultask
58eb83c74e fix(Scripts/HyjalSummit): Don't reset trash counter on scheduled waves (#18604)
* Update instance_hyjal.cpp

* Update instance_hyjal.cpp
2024-03-22 17:39:12 -03:00
Andrew
79df83ec0c fix(Scripts/TheEye): Alar dont take 2% damage during dive bomb (#18599) 2024-03-21 16:27:51 -03:00
Dan
482f4c94ff fix(Scripts/TheEye): make sure schedules are cancelled when advisors die in p1 (#18592)
init
2024-03-21 06:21:53 -03:00
Andrew
1198766afa fix(Scripts/TheEye): Make Solarian visible on phase transition (#18585) 2024-03-20 17:37:42 +01:00
Andrew
f567283f2b fix(Scripts/Mechanar): Fix Ranging Flames should choose a new target … (#18586)
fix(Scripts/Mechanar): Fix Ranging Flames should choose a new target on evade
2024-03-20 17:36:58 +01:00
Andrew
b0a7f19f34 fix(Scripts/TheEye): Fix Ember of Alar ember blast percent damage (#18588) 2024-03-20 17:36:13 +01:00
Dan
c71f196591 fix(Scripts/TheEye): fix MC overlap (#18584)
init
2024-03-19 23:46:13 +01:00
Stefano Borzì
ec1b2f7a28 fix(Scripts/HyjalSummit): Rewrite Battle for Mount Hyjal (#18512)
* arrays

* summon_groups

* part 2 lesgooo

* holy frick it works???

* drafted

* forgot to add co-author

Co-Authored-By: Saltgurka <22568446+saltgurka@users.noreply.github.com>

* thrall & tyrande

* Update hyjal.cpp

* trash

* winterchill & anetheron

* kazrogal & azgalor

* Update rev_1708737709108426300.sql

* entrance rp and scourge base

* it worked thank you nyeriah and ayamiss the hunter from AQ20 cause I remembered that it had a similar mechanic and i went to check how to deal with it. did you know ayamiss was my turning point in my emulation "career"? it was a very interesting fight and i spent many hours researching it, leading to my discovery into how the swarmers work, if i did it nowadays i'd have found out immediately but it was a journey nonetheless

Co-Authored-By: Andrew <47818697+Nyeriah@users.noreply.github.com>

* Update rev_1708737709108426300.sql

* no gem farming!

* infernals

* leftovers

* doors

* archimonde

* Update rev_1708737709108426300.sql

* jaina didnt reset gossip flag its over

* crashfix

Co-Authored-By: Andrew <47818697+Nyeriah@users.noreply.github.com>

* Update instance_hyjal.cpp

* no more dberrors

* fix archimonde model and size

scale was set to 0.4, also fixed the speed and attack time, as well as adding model info

* Update rev_1708737709108426300.sql

* Update rev_1708737709108426300.sql

* more stuff

* Update data/sql/updates/pending_db_world/rev_1708737709108426300.sql

* fix: warning

* fix: warning

* buildfix

don't need to assign anything, as long as it doesn't return null we're good

* buildfix

infernal has no DoAction behaviour so it's fine

* Update data/sql/updates/pending_db_world/rev_1708737709108426300.sql

* Update data/sql/updates/pending_db_world/rev_1708737709108426300.sql

* yay

Co-Authored-By: Dan <83884799+elthehablo@users.noreply.github.com>

* a

* looks nicer, less updates overall

* crashfix?

messy code gomenasai 🙇

* hide undesirables >:(

* Update instance_hyjal.cpp

Co-Authored-By: Anton Popovichenko <walkline.ua@gmail.com>

---------

Co-authored-by: Gultask <sagemochi@hotmail.com>
Co-authored-by: Saltgurka <22568446+saltgurka@users.noreply.github.com>
Co-authored-by: Andrew <47818697+Nyeriah@users.noreply.github.com>
Co-authored-by: Gultask <100873791+Gultask@users.noreply.github.com>
Co-authored-by: Dan <83884799+elthehablo@users.noreply.github.com>
Co-authored-by: Anton Popovichenko <walkline.ua@gmail.com>
2024-03-19 21:49:28 +01:00
Dan
8faaa77319 fix(Scripts/TheEye): fix Kael progress bug and some other issues (#18580)
* init

* some fixes
2024-03-18 22:04:49 +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
Andrew
452ca39249 fix(Scripts/Commands): Fix crash when using additem from console (#18559) 2024-03-16 04:56:42 -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
Dan
a21ba7afc2 fix(Scripts/TheEye): another Al'ar hotfix (#18554)
init
2024-03-15 01:05:50 -03:00
Dan
e0bc7d73dd fix(Scripts/TheEye): make sure Al'ar doesn't schedule abilities multiple times (#18553)
* init

* fix
2024-03-14 06:12:02 -03:00
Dan
28ea5ca879 fix(Scripts/TheEye): maybe fix Al'ar transition (#18552)
initial
2024-03-13 20:53:17 +01: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
Dan
6a58e611ed fix(Scripts/TheEye): remove auras from Solarian on invisiblity and sniffed spell (#18544)
* init

* add sniffed spell and remove auras on invisible

* prevent true beam being cast on players
2024-03-13 03:42:07 -03:00
Dan
6b5289f373 fix(Scripts/TheEye): allow Solarian to cast on pets/totems (#18539)
init
2024-03-12 06:46:12 -03:00
Dan
a7026e7e39 fix(Scripts/TheEye): make sure Al'ar doesn't cast anything during rebirt + phoenix spawning (#18540)
* init

* more

* uh
2024-03-12 06:44:55 -03:00
Andrew
3a87b5a85e fix(Scripts/TempestKeep): Kael pyroblast target only main target (#18531) 2024-03-12 00:14:00 +01:00
Dan
3f700645bd fix(Scripts/TheEye): boss boundaries and Kael door (#18517) 2024-03-10 09:26:00 -03:00
Benjamin Jackson
a9b3f01579 fix(Scripts/Karazhan): Correct chess piece gossip faction check. (#18513)
Correct chess piece gossip faction check.

Co-authored-by: 天鹿 <18535853+pklloveyou@users.noreply.github.com>
2024-03-09 18:46:19 -03:00
Dan
db7475f4f5 fix(Scripts/TheEye): ensure Ember of Al'ar always spawn in the right spot (#18511)
init
2024-03-09 11:08:23 -03:00
Alethrion
ab2f527248 fix(Scripts/Karazhan): Chess Event Cross Faction (#18478)
Chess_Event_Cross_Faction
2024-03-09 09:31:30 -03:00