Commit Graph

32 Commits

Author SHA1 Message Date
zeb139
bf56154eee Add weighted bot to banker teleport logic and config (#1615)
* add weighted bot to banker teleport logic and config

* moved banker location lookup tables to top of file
2025-09-06 16:10:56 +02:00
NoxMax
db7a17ffde Fix: Properly track RNDbot and AddClass accounts, and login faction balance issue (#1434)
* AssignAccountTypes & AddRandomBots

Fix: Properly track RNDbot and AddClass accounts, and login faction balance issue

* code style edits

* fix addclass init on first build of playerbots_account_type
2025-07-27 14:13:20 +08:00
Yunfan Li
4a00c954ed RPG update travel flight status (#1445) 2025-07-23 23:37:41 +08:00
kadeshar
c24b7a7bb3 - Added disabled without real player feature (#1335) 2025-05-24 20:51:44 +08:00
Paolo
7737f9ab72 Add additional trading options (#1186)
* Add addclass bots to trading list, differentiate between buying and selling.

* typos

* Try calling playerguid

* point IsAddclassBot to IsRandomBot

* typo

* Fix through IsAddClassbot

* Working Version

* Minor typos.
2025-04-17 11:52:14 +08:00
Yunfan Li
19447c3914 Enable new rpg strategy by default (#1192)
* Add RandomBotMinLevelChance

* Save mana only for healer

* Disable addclass dk for low level player

* Target selection and debuff cast with less players in group

* Change default rpg strategy and bots count in config

* Logs clean up

* Improve init=auto

* Remove login logs after initialization

* Rndbots stats for quest

* Prediction chase in reach combat

* Poor & Normal items ensurence for init=auto
2025-04-11 20:31:38 +08: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
Yunfan Li
14bdc0ec5a Always allow addclass bots login and init (#946)
* Change the way to check addclass bots and allow adding them by characters name

* Always addclass bots login and init

* Comments and message
2025-02-05 12:56:37 +08:00
Yunfan Li
e571694a88 Reset added rndbots on server restart to automatically apply configuration changes (#913)
* Refactor RandomPlayerbotMgr and delete add value on restart server

* Remove reset tips in conf file
2025-01-26 12:06:29 +01:00
Yunfan Li
98701a6f66 Modify starter position (add flightmaster) 2024-12-08 15:47:34 +08:00
Yunfan
bb3328670b Remove redundant logs (set to debug level) 2024-12-02 11:42:31 +08:00
Yunfan Li
0fd894176b [New Rpg] New rpg start up (add GO_GRIND and NEAR_RANDOM status) 2024-11-30 23:48:29 +08:00
bash
a7bcdad65c [performance] bots scale idle fix (#678)
* [performance] bots scale idle fix

* [performance] featureset
2024-11-05 16:05:05 +01:00
bash
8a9c25c72c [performance] initialize server and bots fase 2024-10-29 10:57:26 +00:00
bash
3cd68c6dec [performance] new baseline (#644) 2024-10-29 01:15:26 +01:00
bash
12be2c9971 Revert "Rewrote scaling, moving away from cmangos solutions"
This reverts commit 62aef235d1.
2024-10-17 17:52:05 +00:00
bash
62aef235d1 Rewrote scaling, moving away from cmangos solutions 2024-10-13 22:05:39 +00:00
Yunfan Li
3f9165a714 Fix addclass 2024-09-01 14:09:35 +08:00
Yunfan Li
f804ba2d65 Speed up addclass with pre calculation 2024-08-31 19:58:28 +08:00
Christoph Wilk
4d5dd0e2fc Performance Monitor Improvements:
1. Added command for runtime toggle
2. Changed where tick time is captured to properly capture per-tick statistics (matching cmangos playerbots)
2024-08-13 17:38:57 +09:00
Yunfan Li
53611c9040 Run clang-format 2024-08-04 10:23:36 +08:00
CrypticAvacado
804c3adbd3 Fix formatting and use correct value data type 2024-07-29 20:45:00 +12:00
CrypticAvacado
f1114d71d2 Fix rated arena and battleground bot autojoining 2024-07-29 04:53:25 +12:00
Brian Oost
3879b5116e Add performance tuning
Add a diff with and without player in server. The server will tune bot activity to reach the desired server tick speed (in ms), as what CMaNGOS' playerbots are using.

ce4bd79d2d is used as a reference.
2024-05-27 23:30:06 +02:00
Yunfan Li
917e55c92a rndbot teleport to city 2023-10-27 21:54:35 +08:00
Yunfan Li
55fe060e2c rewrite locsPerLevelCache sql 2023-08-08 17:08:12 +08:00
Yunfan Li
46b94824e4 miscs: movement, coredump fix, rndbot 2023-08-02 16:16:56 +08:00
Yunfan Li
0969db4c89 feat: rndbot teleport, grind, stuck problem etc. 2023-08-01 23:21:06 +08:00
Yunfan Li
5d570a81a0 feat: fix initialization 2023-05-27 13:59:37 +08:00
郑佩茹
b2821d7f3a Rewrite bot texts 2022-09-26 17:20:59 -06:00
郑佩茹
9d37ba972a Allow Randombot to teleport to grind spot on randomize 2022-05-23 10:31:12 -06:00
UltraNix
b952636f0d Big update. 2022-03-12 22:27:09 +01:00