Commit Graph

797 Commits

Author SHA1 Message Date
Bobblybook
3aa43cbb3c UP and CoS dungeons
- Utgarde Pinnacle implementation
- Culling of Stratholme implementation
- Added additional value ("nearest hostile npcs") needed to expose some hidden trigger-type npc units (eg. frost breath on Skadi fight in UP)
2024-11-03 21:19:04 +08:00
chris
07da4ad959 date: 2024-10-30
fos bronjahm v1
2024-10-30 17:03:46 +08:00
Yunfan Li
47544bf910 Merge pull request #618 from avirar/armor_token_usage
Armor token usage
2024-10-21 11:11:09 +08:00
Yunfan Li
05961546fd Merge pull request #625 from Bobblybook/master
Dungeon code cleanup
2024-10-21 11:02:35 +08:00
avirar
a3101cccb3 Merge branch 'liyunfan1223:master' into armor_token_usage 2024-10-21 10:22:55 +11:00
Jelly
be8f529fc2 Update Items Eligible for Professions
Adds several items and cases for Skinning, Mining, Blacksmithing.
2024-10-20 16:24:00 -05:00
Bobblybook
edcf90f4e8 Update HallsOfStoneActions.cpp 2024-10-20 16:40:10 +11:00
Bobblybook
219b4f91b7 Merge branch 'master' of https://github.com/Bobblybook/mod-playerbots 2024-10-20 16:18:27 +11:00
Bobblybook
a8842b61c5 Update UtgardeKeepTriggers.h 2024-10-20 16:17:57 +11:00
Bobblybook
d6293042ef Merge branch 'master' into master 2024-10-20 16:10:18 +11:00
Bobblybook
66b199e795 Update NexusActions.cpp
Remove reference to boss distance
2024-10-20 16:08:20 +11:00
Bobblybook
159cd1ad71 Reapply "Dungeon code cleanup"
This reverts commit 3f7f306124.
2024-10-20 15:59:42 +11:00
Bobblybook
f912c5df22 Merge pull request #622 from Bobblybook/master
Preferred mount selection for bots
2024-10-20 15:59:18 +11:00
Bobblybook
3f7f306124 Revert "Dungeon code cleanup"
This reverts commit d0a9e98801.
2024-10-20 15:58:14 +11:00
Bobblybook
d0a9e98801 Dungeon code cleanup
Consistent code, easier to read logic flow and some missing nullptr checks
2024-10-20 15:49:10 +11:00
avirar
30c36ccbf2 Update LootRollAction.cpp
Removed spaces
2024-10-20 09:38:05 +11:00
EricksOliveira
8ac7d58230 Fix Crash The Nexux
Log Crash: 00007FF7750C05ED  00000028A47FEA10  FirebombSpreadAction::Execute+1AD  E:\Server\Heroes_Azeroth\modules\mod-playerbots\src\strategy\dungeons\wotlk\nexus\NexusActions.cpp line 58

This PR fixes a possible crash in the FirebombSpreadAction::Execute function, located in the NexusActions.cpp file, which occurred due to the lack of checking for null pointers when accessing group members.

Main changes: Added a null pointer check to ensure botAI->GetUnit(member) returns a valid unit before calling functions like GetExactDist2d and MoveAway.
If botAI->GetUnit(member) returns nullptr, execution ignores the specific member, avoiding access to an invalid pointer that could cause a server crash.
2024-10-19 14:29:44 -03:00
Bobblybook
a430786133 Reapply "Preferred mount selection for bots"
This reverts commit eb5dd450cd.
2024-10-19 22:44:11 +11:00
Bobblybook
b97b6775da Merge pull request #621 from Bobblybook/master
Winged Steed of the Ebon Blade northrend fix
2024-10-19 22:43:12 +11:00
Bobblybook
eb5dd450cd Revert "Preferred mount selection for bots"
This reverts commit 312c661311.
2024-10-19 22:42:21 +11:00
Bobblybook
312c661311 Preferred mount selection for bots
Added a new table to store user-specified mount ids.
Can specify flying and ground mounts for a character which will prioritise that mount. If multiple entries, a random entry will be selected from that list.

Currently no way to add entries other than manual DB editing, but can be developed into a whisper command pretty easily.

This should gracefully fail (if no entries exist for the character, or the db table does not exist) and fallback to the default random selection as usual.
2024-10-19 22:40:26 +11:00
Bobblybook
1165442505 Winged Steed of the Ebon Blade northrend fix
Winged Steed of the Ebon Blade gets incorrectly categorised as a ground mount, causes issues and bots will not be able to ground mount if they have this mount in the account spellbook.

There may by other scaling mounts that have the same issue, either we blacklist them all or figure out a way to correctly read them as flyers.
2024-10-19 18:16:44 +11:00
bash
742199b1de Merge pull request #612 from EricksOliveira/patch-4
Fix Bug Bot blocked in PT
2024-10-19 07:19:17 +02:00
Revision
68c5d9124d Merge pull request #615 from Bobblybook/master
Halls of Lightning implementation
2024-10-19 03:03:52 +02:00
avirar
472050abd9 Update LootRollAction.cpp
Added logic for bots to roll need/greed on armor tokens based on class.
2024-10-19 11:43:51 +11:00
Bobblybook
66b7a3852d HoL updates 2024-10-18 20:57:48 +11:00
Bobblybook
f6987a80a5 Halls of Lightning implementation
Halls of Lightning implementation
2024-10-18 20:42:36 +11:00
avirar
4981f46aee Update LootRollAction.cpp
Added logic so bots will only roll need on usable class armor tokens. The tokens/items are classed as MISC > JUNK oddly, code simply checks if the bots class is part of the bitmask of classes for the item, and the item is EPIC. This catches all the tokens I've tested so far.
2024-10-18 12:24:23 +11:00
EricksOliveira
037258fb1a Fix Bug Bot blocked in PT
After leaving PT, the Bot was stuck in a Group, stopped and without receiving invites from other players. Ideally, use the LeaveGroupOnLogout.Enabled = 1 setting in Worldserver.conf so that after the player leaves the game, the Bots are not stuck in Raid.
2024-10-17 21:19:00 -03:00
avirar
efd204bbbe Update LootRollAction.h
Declared CanBotUseToken
2024-10-18 10:08:00 +11:00
avirar
38a5ff778a Update LootRollAction.cpp
Added logic for class/armour token usage.
2024-10-18 10:06:41 +11:00
bash
12be2c9971 Revert "Rewrote scaling, moving away from cmangos solutions"
This reverts commit 62aef235d1.
2024-10-17 17:52:05 +00:00
Yunfan Li
ca9bfc4b9c Merge pull request #605 from Bobblybook/master
Halls of Stone implementation
2024-10-17 11:25:39 +08:00
Bobblybook
70c9bdbd9d Halls of Stone implementation 2024-10-15 22:40:47 +11:00
Yunfan Li
58abb0d9ce Merge pull request #597 from avirar/clean_quest_log
CleanQuestLog Updated
2024-10-14 18:22:36 +08:00
EricksOliveira
db395ae13c Fix LFG Join bug
This PR adjusts the execution priority of bot actions in Dungeon Finder (DF), modifying the relevance logic to make responses faster. The relevance calculation formula was changed in RpgAction::SetNextRpgAction to reduce the delay between activating actions, especially to improve the acceptance time of bots in DF queues. With these changes, bots now accept vacancies in a more agile and efficient way, optimizing overall response time.
2024-10-13 20:17:18 -03:00
bash
62aef235d1 Rewrote scaling, moving away from cmangos solutions 2024-10-13 22:05:39 +00:00
Bobblybook
651c5cdfb0 Merge pull request #599 from Bobblybook/master
Gundrak implementation
2024-10-13 23:58:11 +11:00
Bobblybook
608f9d1a68 Gundrak implementation
EASY one for once
2024-10-13 21:21:40 +11:00
avirar
ef7d5d9255 Merge branch 'liyunfan1223:master' into clean_quest_log 2024-10-13 10:50:33 +11:00
Yunfan Li
c0dbdf00f8 Merge pull request #596 from Bobblybook/master
Dragon flanking & Violet Hold implementation
2024-10-12 23:44:49 +08:00
Bobblybook
23237d27e4 Update VioletHoldTriggers.h 2024-10-12 23:58:49 +11:00
Bobblybook
5e4764ee9c Comment cleanup 2024-10-12 23:57:42 +11:00
Bobblybook
7b9da575ef Violet Hold implementation
Violet Hold implementation
Consortium guy is missing, will revisit once I reach heroics so I can code it properly
2024-10-12 23:52:40 +11:00
Bobblybook
b526a07303 Generalise dragon flanking action 2024-10-12 23:51:00 +11:00
avirar
98c084680c Update DropQuestAction.cpp
Bots were not dropping trivial quests. Initially let them keep quests in progress, but their logs were still very full.
2024-10-12 17:50:42 +11:00
bash
158d923c15 Autoscale latency modifier 2024-10-11 21:20:43 +00:00
Bobblybook
161a29657b corrections 2024-10-11 23:40:06 +11:00
Bobblybook
1a47bf429b DTK Implementation
DTK Implementation
2024-10-11 20:57:58 +11:00
Bobblybook
16ea1777f4 Old Kingdom implementation
Ahn'kahet: The Old Kingdom bot AI
2024-10-08 22:35:16 +11:00