Commit Graph

26576 Commits

Author SHA1 Message Date
94d0f7a286 Added faster linker 2024-09-05 19:55:58 -04:00
90f0b69df1 Added option for allowing modules to run their sql automatically in docker set ups 2024-09-02 23:53:46 -04:00
0bd54e0f91 Added conditional to auto update sql 2024-09-02 23:53:23 -04:00
79af68a33a Added module linking into dbimport tool 2024-09-02 23:52:59 -04:00
1321d61218 Added new options to vscode to make it later version of clang and c++ 2024-09-02 23:52:30 -04:00
911830c117 Added copy of modules to dbimport container 2024-09-02 23:48:49 -04:00
27614fd552 added custom docker build to github registry v0.3.1 2024-08-18 01:46:25 -04:00
9f1e0677a0 added additiona vscode settings 2024-08-18 01:45:55 -04:00
8990cd8f6c added docker build 2024-08-18 01:45:43 -04:00
07b33e00d7 Merge remote-tracking branch 'original/npcbots_3.3.5' into araxia-main 2024-08-16 17:53:59 -04:00
2485b6d671 Merge branch 'bot-improvements' into araxia-main 2024-08-16 17:47:17 -04:00
6174759625 Added modules to local mount 2024-08-16 17:25:17 -04:00
257feb6abb Changed loading so VSCode plays nicer with includes 2024-08-16 17:24:40 -04:00
21194680ae some custom settins for local development 2024-08-16 17:24:29 -04:00
77b302cb55 removed 2024-08-16 17:24:18 -04: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
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
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
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
atrapalis
c54569da87 feat(NpcBots/bot_ai): Change ranged bots to run to a tank or to their master when they have aggro (#7)
* feat(NpcBots/bot_ai): Changed ranged bots to run to a tank or to their master when they have aggro

* Tweaked the move position to be in a radius of +/- 1.5 from the target
2024-08-13 00:32:09 +00:00
trickerer
2a7b25daf1 NPCBots: Remove double blank line. Comment redundant code in bot_crypt_lord_ai.cpp
(cherry picked from commit cad74f678bab7e2743ccc1c01bf6167e7079f507)
2024-08-12 18:33:35 +07:00
trickerer
14a7d898e5 NPCBots: Fix a bug where Crypt Lord or Necromancer could try to cast corpse targeting spells on a despawned target 2024-08-12 18:26:05 +07:00
trickerer
09861a1e03 NPCBots: Add additional debug logging for the case when bots tries to case a spell on a DEAD (disappeared) target 2024-08-12 18:25:11 +07:00
trickerer
833fe2f653 NPCBots: Fix a bug where some channeled spells would not make bot stop movement to cast 2024-08-12 18:23:48 +07:00
trickerer
6d44ef1b1a NPCBots: Fix a minor bug where reducing bot's level would cause a temporary pet unsummon instead of a complete one 2024-08-12 18:21:50 +07:00
trickerer
7294e43816 NPCBots: Switch wand mode to 'only when not moving' 2024-08-12 18:11:14 +07:00
trickerer
a7a60654e3 NPCBots: Apply player-like damage from AP calculation only to bots instead of all creatures
(cherry picked from commit 9b71a34c40f767d36c6b0eb7ce58f7e676b753c6)

# Conflicts:
#	src/server/game/Entities/Unit/StatSystem.cpp
2024-08-12 13:39:07 +07:00
trickerer
8d85657ea4 NPCBots: Switch wandering bots spawning randomization to shuffle
(cherry picked from commit 02250f0b6030dae36e112699e58423a2cfc9274d)

# Conflicts:
#	src/server/game/AI/NpcBots/botdatamgr.cpp
2024-08-12 13:16:41 +07:00
trickerer
b252afc603 NPCBots: Fix a crash caused by logging out having hidden bot pet(s)
(cherry picked from commit b7f6bd5dcabec759f9d384899bdb7315da666268)

# Conflicts:
#	src/server/game/Entities/Creature/TemporarySummon.cpp
2024-08-11 08:39:27 +07:00
Github Actions
3d00d05f49 Merge 3.3.5 to npcbots_3.3.5 2024-08-09 21:27:36 +00:00
github-actions[bot]
ebc6218275 chore(DB): import pending files
Referenced commit(s): bb7765d91e
2024-08-08 23:13:30 +00:00
Kitzunu
bb7765d91e refactor(Core/World): Move SendGMText to ChatHandler and allow fmt (#19490)
* refactor(Core/World): Move SendGMText to WorldSession and allow `fmt`

- Move SendGMText from World to WorldSession

- Make SendGMText use fmt

- Make SendGMText parse acore_string entries

* Update cs_message.cpp

* tokenize the string only once

* Move to chathandler

* Update WorldSession.cpp

* make sure we have a session
2024-08-08 20:12:33 -03:00
trickerer
d36a1c038a NPCBots: Make bot spawns hidden by default (in config)
(cherry picked from commit 13825f7d2bfc75eb1b621b79aee37d4e0fc22e06)

# Conflicts:
#	src/server/worldserver/worldserver.conf.dist
2024-08-08 17:51:18 +07:00
Kitzunu
fdd8ff6e04 refactor(Deps/OpenSSL): Deprecate OpenSSL 1.x (#19452)
* EOL
2024-08-07 18:13:31 +02:00
Gultask
41366fcc69 fix(Scripts/ShadowmoonValley): Dragonmaw Races Reset (#19570)
* Update zone_shadowmoon_valley.cpp

* Update zone_shadowmoon_valley.cpp
2024-08-07 12:43:24 -03:00
trickerer
8a3800b46a NPCBots: Fix merge bugs from previous commits 2024-08-07 15:35:34 +07:00
trickerer
910d0d5ee2 NPCBots: Remove aura stacking rules hack for bots
(cherry picked from commit d1544cf04faadcc52b6f8ba5eea1d1829a87d2f5)

# Conflicts:
#	src/server/game/Spells/Auras/SpellAuras.cpp
2024-08-07 15:03:28 +07:00
trickerer
16b3d5d77c NPCBots: Addressing guid flood issue. Implement bot pet(s) saving during / restore after teleports. Do not unsummon pets when mounting / entering ground vehicles. Implement movement speed normalization for bot pets (the slowest pets will remain slow). Double timed summons duration. Reduce Dark Ranger's Black Arrow's damage bonus from spellpower to 150%, down from 200%. Increase maximum number of Necromancer's skeletons to 12, up from 6.
(cherry picked from commit 8d55c27daff91dd098f1f6027cf66160cab66152)

# Conflicts:
#	src/server/game/AI/NpcBots/bot_ai.cpp
#	src/server/game/AI/NpcBots/botspell.cpp
#	src/server/game/Entities/Unit/Unit.cpp
#	src/server/game/Movement/MovementGenerators/FollowMovementGenerator.cpp
2024-08-07 14:57:25 +07:00
github-actions[bot]
056fc2d563 chore(DB): import pending files
Referenced commit(s): c59effee89
2024-08-06 14:55:56 +00:00
Benjamin Jackson
c59effee89 fix(DB/Creature): Adjust various values of Black Temple creatures. (#19563)
* Init values.

* Convert to queries.

* Consolidate.
2024-08-06 11:55:01 -03:00
Gultask
09e77dfd1c fix(Scripts/BlackTemple): Mother Shahraz Periodic part 2 (#19561)
* init

* Update boss_mother_shahraz.cpp

* Update boss_mother_shahraz.cpp

* Update boss_mother_shahraz.cpp

* Update boss_mother_shahraz.cpp
2024-08-06 11:53:19 -03:00
Andrew
b8de917800 fix(Scripts/Hyjal): Anetheron dont sleep main tank (#19544)
* fix(Scripts/Hyjal): Anetheron dont sleep main tank

* Update boss_anetheron.cpp
2024-08-06 09:00:25 -03:00