Yunfan Li
5910866362
Calculation of the power of items with random properties ( #1312 )
...
* Score calculation of item random property
* Equip auto repair on repop
* Item random property calculation
* Random Property calculation
2025-05-20 23:24:33 +08:00
Not
43b0852438
Update ChatHelper.cpp, Replace sprintf with snprintf ( #1278 )
...
Use snprintf instead of sprintf for item color formatting to prevent buffer overflows and to silence warnings in macOS versions.
2025-05-09 22:01:21 +08:00
SaW
9fbf60d812
Resolve most warnings - PlayerbotAI ( #1025 )
...
Resolve most warnings - PlayerbotAI
---------
Co-authored-by: blinkysc <37940565+blinkysc@users.noreply.github.com >
2025-03-01 14:19:07 +01:00
Yunfan Li
9ff0e8e94d
ChatHelper link localization ( #1036 )
2025-03-01 11:18:05 +08:00
EricksOliveira
72debb6e83
Fix Crash q [ link item ]
...
This PR adds a null pointer check to the ChatHelper::FormatQuest function to avoid a crash that occurred when trying to format a null quest. The crash occurred when the quest pointer was nullptr and the code tried to access the GetQuestId(), GetQuestLevel() and GetTitle() methods.
Changes:
Added a nullptr check to the beginning of the ChatHelper::FormatQuest function.
Return of a standard error message ("Invalid quest") if the quest is null.
Impact:
Prevents crashes when formatting null quests.
Improves bot system stability when dealing with invalid quests.
2024-10-19 09:55:27 -03:00
antony
79fa75e150
Optimised ExtractAllQuestIds ExtractAllItemIds
2024-09-05 10:35:20 +02: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
79d0f3fd28
Refactoring bot chat and sayaction caused by group crash <NOT FINISHED>
2024-07-31 22:39:59 +02:00
antony
f96f909b6e
Rework in progress crash chat botgroup
2024-07-31 17:25:07 +02:00
Atidot3
00844985eb
Fix chain link broken (random) unknown + dbc local enus force in some case (spell / chathelper etc)
2024-07-27 14:39:30 +02:00
Yunfan Li
966c8e652b
[Crash fix] Fix format item crash
2024-07-26 12:45:24 +08:00
Yunfan Li
ed80744891
[Command] Language locale check
2024-07-24 20:46:20 +08:00
yang
3fb3610ad3
[optimization] Fixed several compilation warnings
2024-05-29 20:23:08 +08:00
郑佩茹
b2821d7f3a
Rewrite bot texts
2022-09-26 17:20:59 -06:00
UltraNix
b952636f0d
Big update.
2022-03-12 22:27:09 +01:00