EricksOliveira
5c16e14d57
Fix Crash SayToChannel ( #666 )
...
Additional checks for null pointers to ensure that the Channel and ChannelMgr objects are correctly initialized before accessing them.
Validation of empty strings to avoid problems when checking the channel name (channel->GetName()).
Implemented mutex (std::lock_guard) around access to SocialMgr to avoid race conditions, improving security in multi-threaded operations.
2024-11-03 13:15:03 +01:00
bash
dc55bdd8dc
disabled smartscale by default for now ( #663 )
...
* disabled smartscale by default for now
* disabled smartscale by default for now
2024-11-01 22:03:04 +01:00
Bobblybook
b6f26d36c4
Merge pull request #662 from Bobblybook/master
...
Oculus crash fix
2024-11-01 19:33:14 +11:00
Bobblybook
fb2391d4ce
Oculus crash fix
...
Master nullptr check
2024-11-01 17:47:51 +11:00
Bobblybook
fd2c3b08c5
Merge pull request #659 from Bobblybook/master
...
Fix healer and tank multiplier on Krikthir
2024-10-31 23:15:30 +11:00
Bobblybook
9ca93855fe
Fix healer and tank multiplier on Krikthir
2024-10-31 22:13:05 +11:00
Yunfan Li
655095c8da
Merge pull request #657 from liyunfan1223/sync_241030
...
[Sync] Core sync 20241030
2024-10-30 21:43:16 +08:00
Yunfan Li
2cedf3f05b
[Sync] Core sync 20241030
2024-10-30 21:10:43 +08:00
chris
07da4ad959
date: 2024-10-30
...
fos bronjahm v1
2024-10-30 17:03:46 +08:00
Revision
67c1cccaec
Merge pull request #656 from hermensbas/feature/performance_old_broken_calc_breaks_functionalitiy
...
[performance] bots kept idle always instead only during server/bots initialization as side-effect of another bug
2024-10-30 05:08:25 +01:00
bash
645bc4948e
[performance] side-effect of other bug causes to stay inactive when botAmount min/max not equal
2024-10-30 01:49:42 +00:00
bash
e66475c3e0
[performance] Added additional circle of life, 600 yards ( #655 )
2024-10-29 23:32:16 +01:00
bash
b83cdf2057
[performance] server_and_bot_init_phase_patch2 ( #653 )
2024-10-29 14:26:18 +01:00
bash
76994ae3c0
[performance] server_and_bot_init_phase_patch1 ( #652 )
2024-10-29 13:08:46 +01:00
Bobblybook
d9a61a79fd
Merge pull request #648 from Bobblybook/master
...
Limit JC jeweler's gems to 3
2024-10-29 22:27:42 +11:00
bash
3f242945fe
Merge pull request #651 from hermensbas/feature/performance_server_and_bot_init_phase
...
[performance] server and bots init fase
2024-10-29 12:13:57 +01:00
bash
8a9c25c72c
[performance] initialize server and bots fase
2024-10-29 10:57:26 +00:00
Bobblybook
756dcbaa84
Limit JC jeweler's gems to 3
...
If bot has jewelcrafting, enforce limit of 3 of any type of jeweler's gems when autogearing/gemming
2024-10-29 20:41:22 +11:00
bash
3cd68c6dec
[performance] new baseline ( #644 )
2024-10-29 01:15:26 +01:00
Revision
b061f0016c
Fix new compiler errors ( #645 )
...
* Add missing include
* Move include
2024-10-29 01:02:30 +01:00
Revision
e82eb3a5a7
Merge pull request #642 from Bobblybook/master
...
Oculus implementation
2024-10-27 02:19:11 +02:00
Bobblybook
9f273791a7
Oculus implementation
2024-10-27 02:20:04 +11:00
bash
4219c397c1
Merge pull request #634 from noisiver/fix-trivial-level
...
Fix the level when a quest becomes trivial (grey/gray)
2024-10-23 21:42:18 +02:00
Revision
a2f78542a4
Fix the level when a quest becomes trivial (grey/gray)
2024-10-23 00:18:44 +02:00
bash
599c26bc2e
Merge pull request #631 from avirar/AvoidShadowCrashAction_crashfix
...
Update OldKingdomActions.cpp
2024-10-21 20:37:07 +02:00
bash
eed4339ec1
Merge pull request #632 from Bobblybook/master
...
Utgarde Pinnacle, CoS & additional value entry
2024-10-21 20:35:59 +02:00
Bobblybook
f09531775a
Typo
2024-10-21 22:33:24 +11:00
Bobblybook
c788e96828
UP and CoS dungeons
...
- Utgarde Pinnacle implementation
- Culling of Stratholme implementation
- Added additional value ("nearest hostile npcs") needed to expose some hidden trigger-type npc units (eg. frost breath on Skadi fight in UP)
2024-10-21 22:29:03 +11:00
avirar
6c1ddd3b77
Update OldKingdomActions.cpp
...
Null checks added
2024-10-21 14:42:32 +11:00
Yunfan Li
47544bf910
Merge pull request #618 from avirar/armor_token_usage
...
Armor token usage
2024-10-21 11:11:09 +08:00
Yunfan Li
05961546fd
Merge pull request #625 from Bobblybook/master
...
Dungeon code cleanup
2024-10-21 11:02:35 +08:00
Yunfan Li
72936ceab1
Merge pull request #630 from Jellypowered/mining-skinning
...
Update Items Eligible for Professions
2024-10-21 11:02:23 +08:00
avirar
a3101cccb3
Merge branch 'liyunfan1223:master' into armor_token_usage
2024-10-21 10:22:55 +11: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
bash
b234824867
Merge pull request #627 from EricksOliveira/patch-1
...
Fix Logs LOG_ERROR for LOG_DEBUG
2024-10-20 17:53:49 +02:00
EricksOliveira
c8dd44fe93
Fix Logs LOG_ERROR for LOG_DEBUG
2024-10-20 11:46:16 -03:00
Bobblybook
edcf90f4e8
Update HallsOfStoneActions.cpp
2024-10-20 16:40:10 +11:00
Bobblybook
219b4f91b7
Merge branch 'master' of https://github.com/Bobblybook/mod-playerbots
2024-10-20 16:18:27 +11:00
Bobblybook
a8842b61c5
Update UtgardeKeepTriggers.h
2024-10-20 16:17:57 +11:00
Bobblybook
d6293042ef
Merge branch 'master' into master
2024-10-20 16:10:18 +11:00
Bobblybook
66b199e795
Update NexusActions.cpp
...
Remove reference to boss distance
2024-10-20 16:08:20 +11:00
Bobblybook
159cd1ad71
Reapply "Dungeon code cleanup"
...
This reverts commit 3f7f306124 .
2024-10-20 15:59:42 +11:00
Bobblybook
f912c5df22
Merge pull request #622 from Bobblybook/master
...
Preferred mount selection for bots
2024-10-20 15:59:18 +11:00
Bobblybook
3f7f306124
Revert "Dungeon code cleanup"
...
This reverts commit d0a9e98801 .
2024-10-20 15:58:14 +11:00
Bobblybook
d0a9e98801
Dungeon code cleanup
...
Consistent code, easier to read logic flow and some missing nullptr checks
2024-10-20 15:49:10 +11:00
avirar
30c36ccbf2
Update LootRollAction.cpp
...
Removed spaces
2024-10-20 09:38:05 +11:00
Revision
23ed033307
Merge pull request #624 from EricksOliveira/patch-7
...
Fix Crash The Nexux
2024-10-19 22:14:01 +02:00
Revision
b6ab4219d0
Merge pull request #623 from EricksOliveira/patch-6
...
Fix Crash q [ link item ]
2024-10-19 19:49:04 +02:00
EricksOliveira
8ac7d58230
Fix Crash The Nexux
...
Log Crash: 00007FF7750C05ED 00000028A47FEA10 FirebombSpreadAction::Execute+1AD E:\Server\Heroes_Azeroth\modules\mod-playerbots\src\strategy\dungeons\wotlk\nexus\NexusActions.cpp line 58
This PR fixes a possible crash in the FirebombSpreadAction::Execute function, located in the NexusActions.cpp file, which occurred due to the lack of checking for null pointers when accessing group members.
Main changes: Added a null pointer check to ensure botAI->GetUnit(member) returns a valid unit before calling functions like GetExactDist2d and MoveAway.
If botAI->GetUnit(member) returns nullptr, execution ignores the specific member, avoiding access to an invalid pointer that could cause a server crash.
2024-10-19 14:29:44 -03: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