Commit Graph

4421 Commits

Author SHA1 Message Date
天鹿
f2b3e51c11 fix(scripts/SerpentShrine): #17918 Errors generated (#17939)
* Add files via upload

* Update boss_lurker_below.cpp

* Update instance_serpent_shrine.cpp

* Update SerpentShrine.sql

* Update SerpentShrine.sql

* Update SerpentShrine.sql

* Add files via upload

* Update instance_serpent_shrine.cpp

* Update serpent_shrine.h

* Update instance_serpent_shrine.cpp
2023-12-07 21:22:07 +01:00
Winfidonarleyan
6faa364ad8 fix(Game/Scripting): add loading missing lfg scripts (#17949) 2023-12-06 16:21:46 -03:00
Andrew
28591caaf8 refactor(Scripts/SerpetnshrineCavern): Clear up unused variables (#17934) 2023-12-03 18:04:25 -03:00
Andrew
0fa6a67815 feat(Core/Scripting): Implement AfterInstanceGameObjectCreate() global hook (#17935) 2023-12-03 18:04:16 -03:00
pedrohfm9
0e04fc2061 fix(Scripts/HellfirePeninsula): fix quest 9410 a spirit guide (#17925) 2023-12-03 13:32:36 -03:00
pedrohfm9
df5d618130 fix(Script/Stormpeaks) fix quest 12862 and 13060 When All Else Fails (#17916)
* fix(DB/Creature): Grunda Bronzewing is now mounted

Grunda Bronzewing is now mounted

* Update Fix-Grunda Bronzewing in Honor Hold is not riding on a golden gryphon.sql

Grunda Bronzewing is now mounted

* Rename Fix-Grunda Bronzewing in Honor Hold is not riding on a golden gryphon.sql to Fix-Grunda.sql

Grunda Bronzewing is now mounted

* Delete Fix-Grunda.sql

* Create fix_quest_12862_13060.sql

* Update zone_storm_peaks.cpp

* Update zone_storm_peaks.cpp

* Update zone_storm_peaks.cpp

* Update zone_storm_peaks.cpp

* Update zone_storm_peaks.cpp

* clean up redundancy

* Update fix_quest_12862_13060.sql

* Update zone_storm_peaks.cpp

* Update src/server/scripts/Northrend/zone_storm_peaks.cpp

* Update zone_storm_peaks.cpp

* fix_quest_12862_13060.sql

* delay spell cast by 1 sec

* Update zone_storm_peaks.cpp

---------

Co-authored-by: Skjalf <47818697+Nyeriah@users.noreply.github.com>
2023-12-03 13:11:28 -03:00
Andrew
755d439896 fix(Scripts/AlteracValley): Balinda Stoneheart (#17933)
* fix(Scripts/AlteracValley): Balinda Stoneheart

- Convert to taskscheduler
- Use proper spell to summon elemental
- Move elemental to SAI
- Now uses Iceblock

partial cherry pick of 93a01b6d50
2023-12-03 10:35:44 -03:00
Kitzunu
4fb0464b60 fix(Core/Quest): Throw error if quest_template RewardItemId is not se… (#17924)
fix(Core/Quest): Throw error if quest_template RewardItemId is not set in order

* closes https://github.com/azerothcore/azerothcore-wotlk/issues/17740
2023-12-03 13:38:51 +01:00
Kitzunu
d0f10a12c0 feat(Scripts/Commands): introduce go creature name (#17910)
* feat(Scripts/Commands): introduce go creature name

* closes https://github.com/azerothcore/azerothcore-wotlk/issues/2315

* Since new command handler the old "go creature" dont take name as argument

* Update cs_go.cpp

* this could be null... so let's avoid stupid crashes

* we only need the first result if there are multiple

* Update cs_go.cpp

* Update rev_1701381015172273800.sql
2023-12-03 02:57:41 +01:00
Winfidonarleyan
eb1ecc38a5 feat(Core/Scripting): move all script objects to separated files (#17860)
* feat(Core/Scripts): move all script objects to separated files

* Apply 5bfeabde81

* try gcc build

* again
2023-12-02 21:13:20 +01:00
Kitzunu
eb663a436a fix(Scripts/Command): Allow player name/guid in additem (#17915)
* fix(Scripts/Command): Allow player name/guid in additem

* build?

* Revert "build?"

This reverts commit 3f37456f1d41a0db0bae45801c6f90e72ce19292.

* Update cs_misc.cpp

* console isnt a player
2023-12-02 19:59:09 +01:00
Kitzunu
db4b0b0d3d feat(Core/ChatHandler): Add SendErrorMessage helper (#17919)
* feat(Core/Chat): Add SendErrorMessage helper

* lost boy
2023-12-02 19:25:32 +01:00
Kitzunu
5bfeabde81 chore(Core/Misc): rename spellInfo pointers (#17914)
* Rename all
2023-12-02 06:03:15 -03:00
Tristan 'Natrist' Cormier
8eed7ee531 fix(Core/Channel): potential nullptr reference in Channel::SetOwner() (#17906) 2023-11-30 16:25:01 -03:00
Kitzunu
c1a12a64ee fix(Script/Commands): Make sure learn all lang also give you the skill (#17902) 2023-11-29 22:26:40 +01:00
Andrew
4552e89bfd refactor(Scripts/MagisterTerrace): Update Vexallus script (#17892)
* refactor(Scripts/MagisterTerrace): Update Vexallus script

* Update src/server/scripts/EasternKingdoms/MagistersTerrace/boss_vexallus.cpp
2023-11-29 20:34:11 +01:00
Kitzunu
635288b5c5 fix(Scripts/Commands): Display GUID on gob info (#17900)
* fix(Scripts/Commands): Display GUID on gob info

* close https://github.com/azerothcore/azerothcore-wotlk/issues/8129

* Update cs_gobject.cpp
2023-11-29 20:14:58 +01:00
Kitzunu
e8336919f9 fix(Scripts/Command): ticket comment should allow input (#17891)
fix(Scripts/Command): gm comment should allow input

* closes https://github.com/azerothcore/azerothcore-wotlk/issues/17877
2023-11-29 09:38:03 -03:00
Tristan 'Natrist' Cormier
4c94f62144 chore(Core/Account): move AccountMgr::IsGMAccount() to class WorldSession (#17845) 2023-11-28 21:44:48 +01:00
Gultask
d3bef76fae fix(Scripts/Darkshore): Rabid Thistle Bear spawning with StandState Dead (#17875) 2023-11-26 21:22:58 -03:00
Kitzunu
ef1b3c2ea0 chore(Core/Misc): Clean up workarounds (#17870)
* Clean advstd to use std c++20 features
* Use ABORT instead of std::abort

Co-authored-by: Shauren <shauren.trinity@gmail.com>
2023-11-27 00:07:39 +01:00
Gultask
abf85fb44f fix(Scripts/Quest): Correct respawn logic for Isla Starmane and Rin'ji (#17874)
* Create rev_1694739263824086500.sql

* init

* 2
2023-11-27 00:04:47 +01:00
Andrew
daec8345e0 refactor(Scripts/BlackTemple): Modernize Najentus boss script (#17871)
* refactor(Scripts/BlackTemple): Modernize Najentus boss script

* fix build

* Update ScriptedCreature.h
2023-11-26 23:47:15 +01:00
Andrew
c9b42d6d6c chore(Scripts/BlackTemple): Update Akama, Supremus, Gorefiend and Naj… (#17867)
chore(Scripts/BlackTemple): Update Akama, Supremus, Gorefiend and Najentus to new register method
2023-11-26 20:35:16 +01:00
Kitzunu
f440a7479f fix(Core/Groups): Create the group at first invite (#17869)
* cherry-pick commit (132538db1d)
* cherry-pick commit (250e8d998b)
* part https://github.com/azerothcore/azerothcore-wotlk/issues/11070

Co-authored-by: Treeston <14020072+Treeston@users.noreply.github.com>
2023-11-26 20:34:45 +01:00
Kitzunu
911f07c906 fix(Core/Spells): Haunted should not be right-clickable (#17864)
fix(Core/Spells): Haunted

https://github.com/azerothcore/azerothcore-wotlk/issues/16248
2023-11-26 17:50:32 +01:00
AG
f7d7c4feb7 fix(Core/Creature): Improve chase movement (#17557)
* Update TargetedMovementGenerator.cpp

* Adding Ovahlord as co-author

TIL: you can assign multiple authors to a commit 😛
Co-Authored-By: Ovahlord <18347559+ovahlord@users.noreply.github.com>

* Remove unused variable

* Undo some changes

---------

Co-authored-by: Ovahlord <18347559+ovahlord@users.noreply.github.com>
2023-11-26 17:09:24 +01:00
Andrew
76a2bbfef0 fix(Scripts/Commands): Use the argument parser to parse guild names (#17863) 2023-11-26 16:59:58 +01:00
KJack
b7f7a7c731 fix(Core/Creature): Make Respawn() respect conditions and linked respawns (#17597) 2023-11-26 08:48:58 -03:00
Winfidonarleyan
be147b2c71 chore(Shared/Network): make all pointers to std::unique_ptr (#17787)
chore(Shared/Network): using smart pointers instead of native ptr's
2023-11-25 19:23:52 +01:00
Kitzunu
23606bcba0 chore(Core/Player): codestyle (#17841) 2023-11-24 16:52:36 +01:00
Tristan 'Natrist' Cormier
86d704a514 chore(Core/Chat): add Channel::ShouldAnnouncePlayer() method (#17819) 2023-11-24 09:03:30 -03:00
Dan
d4931755ea fix(Scripts/Commands): make sure no invalid IDs can be passed in map creation for .go xyz (#17836)
* handle wrong ID

* remove enum

* white line at end

got removed for some reason idk

* a tab
2023-11-24 01:20:09 +01:00
pedrohfm9
c02cccb87c fix(Scripts/SholazarBasin) update the code to ensure the vehicle catches fire (#17833)
* fix(DB/Creature): Grunda Bronzewing is now mounted

Grunda Bronzewing is now mounted

* Update Fix-Grunda Bronzewing in Honor Hold is not riding on a golden gryphon.sql

Grunda Bronzewing is now mounted

* Rename Fix-Grunda Bronzewing in Honor Hold is not riding on a golden gryphon.sql to Fix-Grunda.sql

Grunda Bronzewing is now mounted

* Delete Fix-Grunda.sql

* Update zone_sholazar_basin.cpp

* Update zone_sholazar_basin.cpp
2023-11-23 22:51:14 +01:00
pedrohfm9
1850c974a4 fix(Core/Spells): Fix aura interruption flags for Scarlet Raven Priest Image for quest A Fall From Grace (#17828)
* Update src/server/game/Spells/SpellInfoCorrections.cpp

---------

Co-authored-by: Andrew <47818697+Nyeriah@users.noreply.github.com>
2023-11-23 07:29:45 -03:00
Andrew
b65e67b8bd chore(Core/World): Fix typo in the previous commit (#17826) 2023-11-22 21:00:16 +01:00
Andrew
70e5851c8a feat(Core/Battleground): Add config to allow giving points at level 7… (#17821)
* feat(Core/Battleground): Add config to allow giving points at level 70 RBG

* update

* Update Battleground.h
2023-11-22 20:10:22 +01:00
Andrew
d838cad171 refactor(Scripts/Botanica): Update Laj's script after latest changes (#17814) 2023-11-21 07:53:17 +01:00
KJack
42ec86680c fix(Scripts/RuinsOfAhnQiraj): Andorov does not respawn after being killed (#17788) 2023-11-20 21:18:13 -03:00
Andrew
59e9451c3c feat(Core/AI): Implement ScheduleTimedEvent() helper (#17813) 2023-11-20 20:36:15 -03:00
Dan
47752b1b5a fix(Scripts/TheEye): adjust Solarian timers based on sniffs (#17812) 2023-11-20 19:20:48 -03:00
Andrew
0fe18f7c6b fix(Scripts/ThousandNeedles): Improve the handling of quest 5151 (Hyp… (#17811) 2023-11-20 18:14:43 -03:00
Dan
db44d7a35a fix(DB/Creature): make sure Enchanted Elementals always walk and not run towards Lady Vashj (#17809)
initial
2023-11-20 16:54:13 -03:00
Andrew
e3a7613f56 fix(Core/Creature): Move DespawnOnEvade() respawn handling to map level (#17806) 2023-11-20 12:18:48 -03:00
qwe900
e8ccda12e4 fix(Scripts/ICC/Sindragosa) Airphase should not be forced after 50s if already in p2 (under 35%) (#17722)
* Update boss_sindragosa.cpp

* Update boss_sindragosa.cpp
2023-11-20 13:48:45 +01:00
Andrew
7795dc4379 fix(Scripts/SSC): Script Hydross OOC event (#17804)
* fix(Scripts/SSC): Script Hydross OOC event

* Update rev_1700448248255858600.sql

* Update boss_hydross_the_unstable.cpp

* Update rev_1700448248255858600.sql
2023-11-20 10:46:38 +01:00
avarishd
d5f03f0ef4 fix(Core/Spells): Spotlight having a duration (#17799) 2023-11-20 08:38:59 +01:00
KJack
48271945d0 feat (core/cs): Make .go xyz ignore non-numeric data to improve copy-paste usability (#17772)
* Flexible `.go xyz` working well with existing syntax order.

* Make `.go xyz` ignore non-numeric characters

* Support values separated by something other than a space.

* Use current player orientation instead of `0.0f`

* Rename `inputCoords` to `args` per request.
2023-11-19 22:43:48 +01:00
Dan
a286bc55bd fix(Scripts/Commands): guild commands revert back to using guild names in quotes (#17798)
* initial

* remove tabs
2023-11-19 16:04:46 +01:00
sudlud
09d9a0b73f fix(Scripts/Midsummer): AuraEffectRemoveFn -> AuraEffectApplyFn (#17793) 2023-11-19 13:28:38 +01:00