Commit Graph

14714 Commits

Author SHA1 Message Date
73c68d4d59 Fix some issues with the boss_four_horsemen raid code 2024-08-18 17:32:36 -04:00
e65196b085 Merge of npcbots into playerbots 2024-08-18 13:29:48 -04:00
7859b7c1b8 Merge branch 'master' of github.com:azerothcore/azerothcore-wotlk into Playerbot 2024-08-18 13:22:33 -04:00
d022cd6fb4 Merge branch 'master' of github.com:azerothcore/azerothcore-wotlk into npcbots_3.3.5 2024-08-18 13:21:53 -04:00
Grimdhex
a0689fb4ef fix(Dep/Boost): corrects a warning about path changes in boost process (#19629) 2024-08-18 13:39:06 +02:00
Kitzunu
e33a56d89b fix(Core/Creature): Nullcheck for questgreeting greeting (#19669)
* fix(Core/Creature): Nullcheck for questgreeting greeting

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

* Update GossipDef.cpp
2024-08-18 06:41:18 -03:00
Andrew
167e06e287 fix(Scripts/BlackTemple): Gathios Judgment spell should consume seals (#19640) 2024-08-18 05:57:32 -03:00
sudlud
adc9f4e7ab fix(Core/Spell): check for player before dereferencing (#19666) 2024-08-18 05:57:02 -03:00
Mike Delago
af1a6f3521 apps(docker): Fix Warnings in Dockerfile (#19537) 2024-08-18 06:17:30 +02:00
Benjamin Jackson
adff3c3846 fix(Core/Spells): Revert ownership and follow logic adjustment for guardian summons. (#19664)
Revert "fix(Core/Spells): Adjust ownership and follow logic for guardian summ…"

This reverts commit cc2ef9d6dd.
2024-08-17 20:29:21 -03:00
Marcus Schommer
a691ad3f4d chore(APPS/installer): Detection of BSD* OS (#19285)
Installer output is wrong for BSD*.
"acore.sh install-deps" says "This platform is not supported"
should be "BSD is not supported yet"
2024-08-17 20:27:36 +02:00
github-actions[bot]
6e3dba840e chore(DB): import pending files
Referenced commit(s): 682c053416
2024-08-17 18:22:13 +00:00
Andrew
50b7de64e3 fix(DB/Creature): Remove Veras Darkshadow stun immunity (#19642)
fix(DB/Creature): Remove Veras stun immunity
2024-08-17 20:21:55 +02:00
github-actions[bot]
682c053416 chore(DB): import pending files
Referenced commit(s): 29f528cb4f
2024-08-17 18:21:17 +00:00
Andrew
1c8576ff15 fix(DB/Creature): Gathios the Shatterer taunt immunity (#19639) 2024-08-17 20:20:35 +02:00
github-actions[bot]
29f528cb4f chore(DB): import pending files
Referenced commit(s): 4d2284cecb
2024-08-17 18:20:24 +00:00
Andrew
4d2284cecb fix(DB/Creature): High Nethermancer Zerevor taunt & interrupt immunity (#19646) 2024-08-17 20:19:32 +02:00
trickerer
8b0b463de8 Merge branch '3.3.5' into npcbots_3.3.5 2024-08-17 07:03:11 +07:00
Anton Popovichenko
3c4086a5a0 fix(CI/MacOS): Fix macOS mysql setup. (#19634)
* fix(CI/MacOS): Try to fix macOS mysql setup.

* Update ci-compile.sh

* More debug code

* Mooooore debug

* Moooooorreee

* Moooooooooooorereerererer

* m o r e debug

* more debug

* more

* More debug

* 9.0.1.reinstall??? we already had mysql?

* debug

* Debug

* Are we happy now?

* No? And what about now?!

* Adn now?

* Yes, we are happy 😎
2024-08-16 05:07:41 -03:00
trickerer
f3444970c2 NPCBots: Fix a crash where attacked ranged bot could try to run towards a out of world target
(cherry picked from commit d04ddd3ab28e4375923d8a8be45ec11c7cc97747)
2024-08-16 15:03:04 +07:00
Grimdhex
5cbe485785 fix(Core/PlayerUpdates): incorrect backslash in a debug_log (#19630) 2024-08-15 18:44:07 -03:00
Grimdhex
9dc20bc261 fix(Core/Entities): crash fix cause by a pointer change in #19622 (#19633)
* fix(Core/Entities): crash fix cause by a pointer change in #19622

* fix blank space for codestyle check
2024-08-15 16:28:50 -03:00
Grimdhex
7457aef78d refactor(Core/Entities): Cleanup Unit header file (#19622)
* move several enum definitions in a new files

* move more things

* remove the include comment

* move the related code to CharmInfo in this own file

*original idea of Ovahlord

Co-Authored-By: Ovahlord <18347559+Ovahlord@users.noreply.github.com>

* fix clang build errors and few blank lines

* missing forward declaration

* new tentative to fix gcc/clang build

* add several include could be necessary for gcc/clang compilation

* .

* revert some include since the last AC update

* fix some loop inconsistencies

* align all enums in UnitDefine.h

---------

Co-authored-by: Ovahlord <18347559+Ovahlord@users.noreply.github.com>
2024-08-15 05:12:44 -03:00
trickerer
8c9ae31adb NPCBots: Do not set 'player controlled' flag on pets / totems
(cherry picked from commit 26d0c7199f8818fb043e8e8c068cfd0543647850)
2024-08-15 10:49:33 +07:00
Andrew
1565758da4 Revert "chore(Script/Misc): cleanup" (#19627)
Revert "chore(Script/Misc): cleanup (#19619)"

This reverts commit 7ff8f72397.
2024-08-15 05:43:11 +02:00
Kitzunu
7ff8f72397 chore(Script/Misc): cleanup (#19619)
* chore(Script/Misc): cleanup

* more cleanup

* cleanup
2024-08-14 16:29:50 -03:00
Kitzunu
030716421f feat(Core/LFG): Option to disable deserter (#19618)
* feat(Core/LFG): Option to disable deserter

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

* Update IWorld.h
2024-08-14 09:19:56 -03:00
trickerer
f019bf9d4c NPCBots: Add .npcbot free command to forcefully cancel player's ownership over the bot (all gear is returned to the player), can be used on inactive bot
(cherry picked from commit 9c3bf9aa71ea3afa180f87967c88f12ef1afaedc)

# Conflicts:
#	data/sql/custom/db_world/2024_08_15_00_command.sql
#	src/server/game/AI/NpcBots/botcommands.cpp
2024-08-14 14:27:06 +07:00
trickerer
e730b6f17f NPCBots: Convert bot npc_text table strings used by ChatHandler to fmt 2024-08-14 12:00:44 +07:00
trickerer
c48cad436e NPCBots: Implement account level bots limit. New config param: NpcBot.MaxBotsPerAccount
(cherry picked from commit c2e3a588756e4cdb2365a51f571509a0d5e9eda7)

# Conflicts:
#	data/sql/custom/db_world/2024_08_14_00_npc_text.sql
#	src/server/worldserver/worldserver.conf.dist
2024-08-14 11:59:38 +07:00
github-actions[bot]
db148bec25 chore(DB): import pending files
Referenced commit(s): 2e02c76399
2024-08-13 19:10:31 +00:00
Kitzunu
2e02c76399 fix(Core/Creature): quest_greeting_locale (#19615)
* fix(Core/Creature): quest_greeting_locale

* closes https://github.com/azerothcore/azerothcore-wotlk/issues/14845
2024-08-13 21:09:36 +02:00
github-actions[bot]
7fbc655da6 chore(DB): import pending files
Referenced commit(s): 4b63aa9015
2024-08-13 17:54:13 +00:00
Kitzunu
4b63aa9015 feat(DB/Module): introduce module_string table (#19475) 2024-08-13 19:53:16 +02:00
Benjamin Jackson
67010623a0 fix(Core): Adjustments to summoning ritual object handling. (#19600)
* Init.

* Allow self-summoning.

* Revert unintended change.

Self-summoning still works fine without this being removed, I see no harm in putting it back.
2024-08-13 12:12:05 -03:00
Saqra1
ad411b49b7 fix(Core/Spell) Ritual spells cooldown on cancel (#19604)
762f78b313

Co-authored-by: killerwife <killerwife@gmail.com>
2024-08-13 12:05:12 -03:00
github-actions[bot]
c33e30f75a chore(DB): import pending files
Referenced commit(s): c8be582f81
2024-08-13 14:57:39 +00:00
Benjamin Jackson
c8be582f81 fix(Scripts): Rewrite Level 70 Elite Tauren Chieftain. (#19546)
* Init.

* Despawn music doodad.

* Add conditions behind events invoking performances.

* Update music doodad intervals.

55639.

* Add condition for BRD performance.

Ensures that manual performance and event performance do not overlap.

* Add scripting for Shattrath Saul.

* Add scripts for Silvermoon band members.

All verified in Cata Classic 55639.

* Whoops.

* Styling, initial Blastbolt scripting.

I don't know how to handle the roadies yet. Ugh.

* Whoops.

* Bad event param.

* Remove drumset respawn from action list.

* Update Shattrath Saul's Perry Gatner scripting.

* Ugh.

Hate SAI.
2024-08-13 11:56:43 -03:00
Francesco Borzì
80fea23d5c docs: small improvements to the AUTHORS page (#19545)
* docs: small improvements to the AUTHORS page

* Update AUTHORS
2024-08-13 11:55:18 -03:00
Saqra1
ed824de7b8 fix(Core): Ritual animations (#19602)
Channel the same spell as the original caster when clicking on a ritual
portal, but ignore the effects of the spell.

Co-authored-by: killerwife <killerwife@gmail.com>
2024-08-13 11:54:17 -03:00
Benjamin Jackson
cc2ef9d6dd fix(Core/Spells): Adjust ownership and follow logic for guardian summons. (#19599)
* Init.

* Remove totem ownership transfer.
2024-08-13 11:53:43 -03:00
Benjamin Jackson
35b551c0da fix(Core/SpellInfo): Disallow damage scaling trigger spells to get scaled twice. (#19605)
* Init.

* Deleted the wrong one.

* Add double scaling check.

* Whitespace.
2024-08-13 11:53:14 -03:00
Grimdhex
14a7840578 fix(Shared/Socket): incorrect nodiscard flag (#19612)
fix(Build/Socket): incorrect nodiscard flag
2024-08-13 11:52:44 -03:00
trickerer
1f850c2259 NPCBots: Revert (mostly) pet temporary unsummoning. Increase timed summons duration for free bots 2024-08-13 16:05:24 +07:00
trickerer
872c62d3ef NPCBots: Do not error on spline validation of unit if it's completely unable to move 2024-08-13 15:50:19 +07:00
trickerer
4f0f2b99aa NPCBots: Remove accidental git-subrepo folder 2024-08-13 10:50:07 +07:00
trickerer
56c353b488 NPCBots: Ensure bot pets out of world have some map to perform a final cleanup in before a complete remove 2024-08-13 10:49:42 +07:00
trickerer
ac314b2bdb NPCBots: Crypt Lord: Unsummon everything on death since pets can't attack if bot is dead (NYI) 2024-08-13 10:48:22 +07:00
trickerer
57a98e1b6a NPCBots: Improve c54569da87: only for hired bots, only move towards alive targets, try to pick a random tank with DPS role enabled, only when target can move, fix missing z coord calculation, fix codestyle 2024-08-13 10:47:13 +07:00
trickerer
fddf3cbe00 NPCBots: Add missing OnBeforeLootMoney() script hook in _autoLootCreatureGold() 2024-08-13 07:52:18 +07:00