Commit Graph

19 Commits

Author SHA1 Message Date
Yunfan Li
feda619066 Engine optimization for better performance and mem usage (#1462)
* Optimize loot

* World channel talk

* General improvement

* Engine rebuild for performance and memory usage

* Fix crash with AutoDoQuest = 0
2025-07-25 12:11:03 +02:00
Type1Error
97f582b9b1 Fix bot chest looting exploits in ICC and Halls of Stone (#1280)
- Prevent bots from looting Gunship Armory chest in ICC before the event ends (#1162)
- Fix bots being able to loot Tribunal Cache in Halls of Stone multiple times (#1200)
- Ensure bots do not attempt to loot Deathbringer's Cache in ICC before it is available

Three chests (Gunship Armory, Tribunal Cache, Deathbringer's Cache) were tested and now behave as expected: bots will not approach or attempt to loot chests while they are unlootable, even if players move close to them.

Closes #1162, #1200
2025-05-10 13:45:58 +02:00
Yunfan Li
38912d4a8a Auto do quest feature (new rpg strategy) (#1034)
* New rpg startup speed up and refactor

* New rpg do quest

* Fix invalid height in quest poi

* Add quest accept and reward limitation

* New rpg quest improvement

* Organize quest log, reward quests and fix grind target

* Quest dropped statistic and remove redundant code

* Decrease grind relevance lower than loot

* Fix new rpg drop quest

* Go to reward quest instead of innkeeper when quest completed

* Fix incorrect logic in do quest reward

* Fix reset quests in factory

* Fix crash on grind target value

Co-authored-by: SaW <swerkhoven@outlook.com>

* Fix a minor error in DoCompletedQuest

* Let bots get rid of impossible quests faster

* Increase loot fluency (especially for caster)

* Remove seasonal quests from auto accept

* Enhance quest accept condition check

* Add questgiver check (limit acceptation of quest 7946)

* Questgiver check and localization

* Near npc fix

* Fix quest item report

* Add lowPriorityQuest set for quests can not be done

* Improve gameobjects loot

* Do complete quest

* FIx move far to teleport check

* Accept or reward quest from game objects

* Fix possible crash in rpg game objects

* Fix ChooseNpcOrGameObjectToInteract crash

---------

Co-authored-by: SaW <swerkhoven@outlook.com>
2025-03-14 21:31:33 +08:00
avirar
0c8785d8d1 Resolved issues with herb gathering (#926)
* Check game objects loot tables and determine if loot is valid

* Removed LOS checks since they already occur and removed enemy near node check

* Dismount if mounted, decresed interaction distance, added looting delay

* Decreased interaction distance

* oops, wrong file

* Check game objects loot tables and determine if loot is valid
2025-01-30 00:29:17 +01: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
Yunfan Li
53611c9040 Run clang-format 2024-08-04 10:23:36 +08:00
Revision
e3b942cee3 Fix another instance of the wrong guid being assigned 2024-07-29 15:01:56 +02:00
Revision
5d64cd04dc Fix bots looting quest objects 2024-07-28 04:00:51 +02:00
Revision
838bfe333d Fix: Updated to work with newer commits of AzerothCore 2024-07-22 00:39:06 +02:00
Yunfan Li
3abce62bba [Performance] Look object stack 2024-06-24 00:21:59 +08:00
Yunfan Li
aaa33d8243 Fix possible crash 2024-05-06 21:56:02 +08:00
Yunfan Li
4007ce2692 crash fix trial 2023-12-17 00:50:46 +08:00
Yunfan Li
5e14f2f26d sync with azerothcore 2023-12-12 21:03:53 +08:00
Yunfan Li
9efec9b325 fix loot 2023-08-28 17:29:14 +08:00
郑佩茹
29ecbcddb2 Fix bots not looting non-quest items 2023-03-23 09:13:13 -06:00
Alvin Zhu
dfcf27aac8 fix crash null QuestItemList 2023-03-22 16:28:14 +08:00
郑佩茹
584658c557 Check loot for quest when looting items 2023-03-21 13:06:00 -06:00
郑佩茹
0f5f588879 Allow looting some quest objects that have herbalism in code 2022-09-22 17:41:55 -06:00
UltraNix
b952636f0d Big update. 2022-03-12 22:27:09 +01:00