Commit Graph

79 Commits

Author SHA1 Message Date
EricksOliveira
c8dd44fe93 Fix Logs LOG_ERROR for LOG_DEBUG 2024-10-20 11:46:16 -03:00
EricksOliveira
65b6e15ea1 Fix Crash - OnBotLogin
1. Improvements in error handling: Added detailed logs for cases where botAI or master are null, allowing better failure tracking.

2. Additional null pointer checks: Added checks to ensure that the botAI and master are valid before performing actions dependent on these objects, preventing potential crashes.

3. Optimization in bot login logic: Revised the bot input flow to ensure it is added to the group appropriately depending on its relationship to the master.
Added logic for handling different types of groups (raid, LFG, etc.), including the possibility of automatic conversion to raid if necessary.
2024-10-18 09:27:46 -03:00
Yunfan Li
8d524cdaf0 [Combat formation] Compatible with naxx and avoid aoe 2024-09-26 20:01:10 +08:00
Yunfan Li
311bdbd91b Serveral crashes fix 2024-09-07 12:08:38 +08:00
Yunfan Li
406949f6dd Misdirection and tricks of the trade 2024-09-04 20:08:44 +08:00
Yunfan Li
484a2ae458 Item usage and equip initialization 2024-09-04 18:08:19 +08:00
Yunfan Li
f804ba2d65 Speed up addclass with pre calculation 2024-08-31 19:58:28 +08:00
Yunfan Li
6d9aba4066 SaveToDB in randomize 2024-08-20 00:34:35 +08:00
Yunfan Li
e983f9be00 [Crash fix] Duplicate loading bot 2024-08-19 23:31:32 +08:00
Atidot3
25b010dd1e Merge code line 2024-08-04 12:04:06 +02:00
Yunfan Li
53611c9040 Run clang-format 2024-08-04 10:23:36 +08:00
Atidot3
ab4e3c2c45 Last fixes on chat + database incorrect charset 2024-08-01 18:58:41 +02:00
Atidot3
79d0f3fd28 Refactoring bot chat and sayaction caused by group crash <NOT FINISHED> 2024-07-31 22:39:59 +02:00
Atidot3
06a63aa730 fix current_zone_name incorrect values + refactoring guild broadcast simplier + refactoring randomTalk to actually use area / zone general etc 2024-07-28 18:42:51 +02:00
Atidot3
d21d1e9b68 Suggest dungeon implementation + log action unknown to help debug 2024-07-27 10:13:33 +02:00
Atidot3
916a0002e8 Fix crash 2024-07-25 17:56:53 +02:00
Atidote
1d5c670081 Merge branch 'liyunfan1223:master' into locale_fix 2024-07-25 17:02:33 +02:00
Yunfan Li
9830992000 [Console] Fix .playerbot bot console message 2024-07-25 21:25:18 +08:00
antony
21a6628161 French + locale dbc use fix 2024-07-25 13:56:42 +02:00
Yunfan Li
5c7fb89591 Merge branch 'master' into self-command 2024-07-22 09:08:29 +08:00
Revision
838bfe333d Fix: Updated to work with newer commits of AzerothCore 2024-07-22 00:39:06 +02:00
Yunfan Li
dd942bf449 Addclass command account id check 2024-07-21 23:04:16 +08:00
Yunfan Li
cdd4ab7080 [Command] Fix self command 2024-07-21 22:14:15 +08:00
Yunfan Li
fce0f431e1 [Command] Enable to cancel self command 2024-07-21 22:14:15 +08:00
Yunfan Li
9dc494f407 [Configuration] Max added bot 2024-07-18 23:32:39 +08:00
Yunfan Li
6dd5494cfd [Initialization] Disable init command during combat 2024-07-13 21:42:47 +08:00
Yunfan Li
3881d7054b [Crash fix] Fix crash caused by duplicate login 2024-07-13 11:39:47 +08:00
Yunfan Li
c63ee90cb2 [Crash fix] Duplicate bots login 2024-07-07 13:10:50 +08:00
yang
ee481440c2 [feat] Added the function to manually clear raids states of shared bot. 2024-07-06 16:24:57 +08:00
Yunfan Li
3556a38dcd [Initialization] Ammo init 2024-06-28 20:14:22 +08:00
Yunfan Li
7395acb660 [Configuration] Random bots fixed level 2024-06-27 23:39:54 +08:00
yang
9ee873f57a [Optimization] Optimize quests initialization code. 2024-05-25 17:02:53 +08:00
Yunfan Li
2ca686fc9a [Command] Command autogear 2024-05-12 00:22:13 +08:00
Yunfan Li
b474dc44bb Performance optim 2024-04-11 11:02:42 +08:00
Oiuv
429bce3080 add config for another player's character as bot 2024-03-31 23:57:17 +08:00
Oiuv
4f15d6e0ff fix GM only bug when AiPlayerbot.AddClassCommand=0 2023-12-29 21:24:40 +08:00
Yunfan Li
cf4f2d7309 reduce memory leak 2023-12-17 20:37:05 +08:00
Yunfan Li
45aadb75ec crash fix 3 2023-12-17 10:11:55 +08:00
Yunfan Li
dbbfc4e754 crash fix 2 2023-12-17 10:08:03 +08:00
Yunfan Li
4007ce2692 crash fix trial 2023-12-17 00:50:46 +08:00
Yunfan Li
a63c6b6709 smarter dps target and tank target 2023-10-22 01:27:37 +08:00
Yunfan Li
417c5bbc93 dps estimation 2023-10-10 23:23:52 +08:00
Yunfan Li
451ec93e92 better initself 2023-10-08 23:43:51 +08:00
Yunfan Li
03ff8431b4 init=auto when bot's level > master's 2023-10-08 20:30:34 +08:00
Yunfan Li
4e56008b61 more configurations 2023-10-07 22:12:02 +08:00
Yunfan Li
e75a824a85 topN GetMixedGearScore 2023-10-05 01:37:47 +08:00
Yunfan Li
ac6f7a1e98 init=auto 2023-10-05 00:59:08 +08:00
Yunfan Li
9575ca222b fix crash caused by bot logout (maybe) 2023-09-04 13:02:32 +08:00
Yunfan Li
bb1ea0c395 naxxramas gluth 2023-09-03 17:52:44 +08:00
Yunfan Li
0be6cc11aa miscs 2023-09-03 14:36:40 +08:00