Mircea TheHonestCTO
2e49d6aca9
fix: skip pass and priority pass if hero is not valid anymore to as extra checks for lost heroes
2025-09-04 00:56:36 +02:00
Mircea TheHonestCTO
7a40981a95
overall refactoring, HeroPtr adjustments, AiNodeStorage remove unnecessary callback
2025-09-04 00:07:12 +02:00
Mircea TheHonestCTO
19076ee29d
fix AINodeStorage::calculateChainInfo using invalid/unverified/lost heroes which lead to multiple issues down the line in makeTurn
2025-09-04 00:03:42 +02:00
Mircea TheHonestCTO
47edbb7825
fix Cannot get object with id %d. Object was removed. Game crashing if AI loses a hero in a fight where humans don't see the map
2025-09-02 11:08:31 +02:00
Mircea TheHonestCTO
13bd7ed8f4
WIP remove thread_local CCallback in HeroPtr
2025-09-01 04:49:21 +02:00
Mircea TheHonestCTO
5a8ffdeb8b
Merge branch 'develop' into feature/nullkiller2
2025-09-01 04:26:01 +02:00
Mircea TheHonestCTO
fa677eb243
WIP remove thread_local CCallback * ccTl
2025-08-30 20:15:03 +02:00
Ivan Savenko
589c5a8989
Merge pull request #5563 from kambala-decapitator/conan-v2
...
migrate to Conan v2
2025-08-30 21:09:18 +03:00
Mircea TheHonestCTO
e2c80f03a1
remove thread_local AIGateway * aiGwTl
2025-08-30 18:10:33 +02:00
Mircea TheHonestCTO
3aedb44280
todo to investigate
2025-08-30 12:10:34 +02:00
Mircea TheHonestCTO
ebdd044838
delete unused code
2025-08-30 08:51:44 +02:00
Mircea TheHonestCTO
d081c6c54e
nothing to trigger CI/CD again, dummy download failure in the last run
2025-08-30 08:44:54 +02:00
Mircea TheHonestCTO
9994bf035e
Merge branch 'develop' into feature/nullkiller2
2025-08-30 08:07:44 +02:00
Mircea TheHonestCTO
9698c58c0a
comment out SetGlobalState logs for now, left for local inspection
2025-08-30 07:59:05 +02:00
Mircea TheHonestCTO
1e2ed620f7
thread local refactoring
2025-08-30 07:27:07 +02:00
Mircea TheHonestCTO
deeb995d77
cleanup unnecessary AIGateway reference in CGoal.h
2025-08-30 07:13:46 +02:00
Mircea TheHonestCTO
e5724578b5
cleanup
2025-08-30 07:04:23 +02:00
Mircea TheHonestCTO
98e0a3de6e
revert fix for nullptr w NK2AI_TRACE_LEVEL due to thread local issues
2025-08-30 06:55:30 +02:00
Mircea TheHonestCTO
12076a03fd
NK2AI_TRACE_LEVEL 0 -> 2 because it should be safe now after the thread local fix
2025-08-30 06:53:26 +02:00
Mircea TheHonestCTO
1b0b15063f
fix nullptr thread_local gw and cc: introduce SET_GLOBAL_STATE_TBB for tbb:parallel_for
2025-08-30 06:52:48 +02:00
Andrey Filipenkov
a3f08c2217
[conan] add MSVC support
...
also removes all mentions of vcpkg and cross-building from Linux
2025-08-28 16:05:11 +03:00
Mircea TheHonestCTO
0fc166b404
fix: simplify NK2AI_TRACE_LEVEL 2 to avoid crash on some maps
2025-08-28 01:52:55 +02:00
Mircea TheHonestCTO
38e1122cd7
BuildAnalyzer.cpp fix addBuildingToBuild after cleanup
2025-08-27 04:12:54 +02:00
Mircea TheHonestCTO
7c64d2a93e
move *TRACE_LEVEL to 0
2025-08-25 19:59:41 +02:00
Mircea TheHonestCTO
3905b2ec1c
maximum logging for BattleAI, NK and NK2
2025-08-25 18:24:56 +02:00
Mircea TheHonestCTO
b1621cdf29
rename nkai-settings.json into nk2ai-settings.json for Nullkiller2
2025-08-24 23:39:34 +02:00
Mircea TheHonestCTO
dba7ddfba6
fix 1 #include towards Nullkiller when in NK2AI
2025-08-24 23:33:04 +02:00
Mircea TheHonestCTO
3cd4d11447
revert 2 extra renames done by IDE
2025-08-24 22:39:19 +02:00
Mircea TheHonestCTO
d113bc28d9
AINodeStorage.h NKAI #define to NK2AI
2025-08-24 22:35:27 +02:00
Mircea TheHonestCTO
54b3d17bcf
AINodeStorage.h NKAI #define to NK2AI
2025-08-24 21:15:34 +02:00
Opuszek
10a4a3adee
Fixes build warning in Potential Targets
2025-08-24 14:42:42 +02:00
Mircea TheHonestCTO
44ef0c02ef
fix nullkiller2 .cpp includes for testing
2025-08-24 13:43:28 +02:00
Mircea TheHonestCTO
58543f23cf
refactoring RecruitHeroBehavior + test sample; renamed more Nullkiller variables consistently
2025-08-24 09:12:34 +02:00
Mircea TheHonestCTO
f7f09ff325
simplification: remove nullkiller->dangerHitMap->updateHitMap() from RecruitHeroBehavior, BuyArmyBehavior and BuildingBehavior. Now it's called only once before getting into those decomposers;
...
simplification: remove partialUpdate bool from Nullkiller:updateState as it depends on pathfinderInvalidated anyway;
restructure goal/RecruitHeroBehavior to allow easier testing
2025-08-20 03:08:02 +02:00
Mircea TheHonestCTO
faedb7212b
Merge branch 'develop' into feature/nullkiller2
2025-08-20 01:50:35 +02:00
Mircea TheHonestCTO
188a0ebfd8
temporarily activate tracing logs
2025-08-19 23:08:14 +02:00
Mircea TheHonestCTO
2dbfb8e06d
revert StdInc include in BuildAnalyzer.cpp which was reported by CLion as unused
2025-08-19 22:43:29 +02:00
Mircea TheHonestCTO
eb471ba01d
put trace if back
2025-08-19 19:29:28 +02:00
Mircea TheHonestCTO
373a540d7c
nullkiller 1: goals/Build and GatherArmy as they weren't used, dead code
2025-08-18 16:57:45 +02:00
Mircea TheHonestCTO
daf24de3e9
better resources and mines gathering; include TODOs for all the things that need to be investigated
2025-08-17 16:20:25 +02:00
Mircea TheHonestCTO
8789f83a90
maxRoamingHeroesPerTown as configuration
2025-08-17 14:12:38 +02:00
Mircea TheHonestCTO
d2d7bba02e
maxRoamingHeroesPerTown as configuration
2025-08-17 14:11:12 +02:00
Mircea TheHonestCTO
3d94d652db
Nullkiller AIGateway.cpp consistent and independent thread names, similar to Nullkiller2
2025-08-17 14:04:31 +02:00
Mircea TheHonestCTO
c22a248c21
revert heroes count as on develop
2025-08-17 13:36:46 +02:00
Mircea TheHonestCTO
004e514fbc
revert Nullkiller to develop code
2025-08-17 12:55:18 +02:00
Mircea TheHonestCTO
2223f38c1e
revert Nullkiller to develop code
2025-08-17 12:52:00 +02:00
Mircea TheHonestCTO
adde7caf00
revert Nullkiller to develop code
2025-08-17 12:51:18 +02:00
Mircea TheHonestCTO
5c604ec57a
minor comments and todo
2025-08-17 12:41:26 +02:00
Mircea TheHonestCTO
a4a9927e9e
more cc renaming; BuildingID get level index and upgrades; Creatures renaming
2025-08-17 12:24:35 +02:00
Mircea TheHonestCTO
bf3d5627e0
Bring back cbc in CAdventureAI and rename the rest to cc
2025-08-16 20:17:18 +02:00