Commit Graph

466 Commits

Author SHA1 Message Date
Revision
afa32e8e51 Fix the level when a quest becomes trivial (grey/gray) 2024-11-03 21:19:04 +08:00
avirar
a3101cccb3 Merge branch 'liyunfan1223:master' into armor_token_usage 2024-10-21 10:22:55 +11:00
Bobblybook
f912c5df22 Merge pull request #622 from Bobblybook/master
Preferred mount selection for bots
2024-10-20 15:59:18 +11:00
avirar
30c36ccbf2 Update LootRollAction.cpp
Removed spaces
2024-10-20 09:38:05 +11: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
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
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
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
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
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
Yunfan Li
eb0d222598 [Spell] Dont interrupt spell on drop target 2024-10-06 12:46:37 +08:00
Yunfan Li
21e17e163b [Spell] Healer spell enhancement 2024-10-04 20:48:29 +08:00
Yunfan Li
ff68a92fe9 [Movement] Modify combat reach calculation 2024-10-04 14:14:16 +08:00
bash
7b50803a25 CRLF replaced with LF 2024-10-03 07:54:41 +00:00
avirar
ddbe4362d9 Update OpenItemAction.h 2024-10-03 13:39:28 +10:00
avirar
ec7132bc3e Update ChatActionContext.h
Removed the s
2024-10-03 13:14:13 +10:00
avirar
e7e42a0845 Merge branch 'liyunfan1223:master' into master 2024-10-03 12:44:24 +10:00
avirar
53fca2b78b Update ChatActionContext.h
Added OpenItem chat handler
2024-10-03 12:38:58 +10:00
avirar
900b4c48b0 Update TeleportAction.cpp
Add alternative method for finding and using portals. Works with  first boss of Sunwell Plateau, Kalecgos, using the Spectral Rifts.
2024-10-03 12:37:12 +10:00
avirar
1f1dc1cdc8 Update and rename OpenItemAction_v2.cpp to OpenItemAction.cpp 2024-10-03 12:30:20 +10:00
avirar
b91f6a8e15 Add files via upload 2024-10-03 12:28:44 +10:00
EricksOliveira
06c168d0f3 Update QueryQuestAction.cpp
Crash Fix
2024-10-02 21:49:31 -03:00
Yunfan Li
773bb7c43d [Combat formation] Fix leftover code 2024-09-27 00:22:27 +08:00
Yunfan Li
5b8d8fbf6e [Tank target] Improve position 2024-09-26 20:02:37 +08:00
Yunfan Li
8d524cdaf0 [Combat formation] Compatible with naxx and avoid aoe 2024-09-26 20:01:10 +08:00
Yunfan Li
2756664b77 [Tank face] Improve angle calculation 2024-09-24 20:34:18 +08:00
Yunfan Li
eea652f5d5 Tank face and dps behind 2024-09-24 11:46:39 +08:00
Yunfan Li
b87ca9da4c Icecrown gunship strategy 2024-09-23 14:00:24 +08:00
Yunfan Li
68bf09c425 Disable test items 2024-09-18 22:16:18 +08:00
Yunfan Li
25c46037cd Reset prioritized targets 2024-09-10 20:45:46 +08:00
Yunfan Li
bca621a883 Disable pet taunt 2024-09-10 11:52:22 +08:00
Yunfan Li
2a0bae60c8 Quest auto pick "yes" 2024-09-08 12:53:21 +08:00
Yunfan Li
4de02481be Avoid aoe max radius and whitelist 2024-09-08 12:53:08 +08:00
Yunfan Li
311bdbd91b Serveral crashes fix 2024-09-07 12:08:38 +08:00
Yunfan Li
8f3fc36688 Merge branch 'master' into equip_init 2024-09-07 11:52:45 +08:00
Yunfan Li
1b7f94d503 Merge pull request #508 from atidot3/extractregexfix
Optimised ExtractAllQuestIds ExtractAllItemIds
2024-09-07 00:38:51 +08:00
Yunfan Li
f20d3aea6c Unholy dk 2024-09-06 20:29:56 +08:00