1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-08-08 22:26:51 +02:00
Commit Graph

19048 Commits

Author SHA1 Message Date
b0c66ae69b Completely erase old cache on mod repo checkout
This allows to remove any outdated data that might be present:
- mods removed from repository
- mods that came from no longer used repository
- fields that were removed from mod.json's
2024-12-14 14:34:15 +00:00
b39e8dc1ef Merge pull request #5021 from Xilmi/develop
Fix for AI not defending in some cases
2024-12-14 16:33:17 +02:00
65c73051c6 fine adjust 2024-12-14 15:04:16 +01:00
5c4f59546c update german qt 2024-12-14 14:36:42 +01:00
3b442bc4e4 update german 2024-12-14 14:36:09 +01:00
5ff834aac2 Remove debug-outputs
Debug-outputs removed
2024-12-13 22:13:27 +01:00
33f5b473b3 Defender should not run off for troop-delivery
Fixed a rare case in which a town-defender could become an indirect part of a troop-delivery-task by doing a sub-task like capturing a shipyard that takes less than 1 turn but leaves him out in the open.
2024-12-13 21:50:45 +01:00
d0c99423a3 Merge remote-tracking branch 'upstream/beta' into develop 2024-12-13 12:31:51 +01:00
79fb5faa2e Fixed a freeze
It was happening when all slots were full but no unit even needed disbanding because the unit to be bought is part of the units that are inside of the existing slots.

(This commit contains excessive debugging but I don't want to remove it just yet incase another issue pops up.)
2024-12-13 12:23:13 +01:00
fac18d953e Fixed and improved disband-logic
The score for buying army now scales with the cost of that army.
The cost of the units that need to be disbanded in order to hire the new units is subtracted from the army-hiring-score so the AI will prefer hiring armies where the amount of troops to disband is low or non-existent.
Fixed a bug that also disbanded troops when there still were free slots available.
2024-12-13 00:09:10 +01:00
2ad9038709 AI can now disband units that block slots for buying better units
When the AI cannot buy units in a city because all slots are blocked and the units in the slot are cheaper than the units it wants to buy, the AI will now get rid of the units that block that slot in order to be able to buy the better units.
2024-12-12 20:06:33 +01:00
6536c9a18e Satisfy SonarCube 2024-12-12 14:58:29 +01:00
59497db428 Fixed isEnemy becoming true for things it shouldn't
Not sure whether it actually impacts behavior but better fix it either way.
2024-12-12 13:40:50 +01:00
1cfbd3b2da Merge pull request #5065 from IvanSavenko/launcher_ui
Launcher changes from Discord suggestions
2024-12-12 13:46:37 +02:00
1033fcd1d1 Launcher changes from Discord suggestions
- new "Game" tab on the left is now top-most tab, insted of bottom-most
- moved start game / start editor buttons to the right
- Update information is now right-most column in start game tab
- extended columns in start game tab all the way to bottom
- Changed "Installing chronicles" to "Installing Heroes Chronicles" in
translations
- Fixed plural form for English translation of artifacts transfer
- Added clear text button to mod name filter
2024-12-12 11:41:00 +00:00
8c84846812 Merge pull request #5063 from GeorgeK1ng/beta
Updated Czech translation
2024-12-12 13:37:59 +02:00
5560467cc4 Merge pull request #5061 from IvanSavenko/bugfixing_beta
Fixes for issues found in current beta
2024-12-12 13:37:46 +02:00
1223639cef Merge pull request #5069 from Laserlicht/video_fix
Video fix with subtitles
2024-12-12 13:37:22 +02:00
f6b1aea5a7 Merge pull request #5062 from Laserlicht/launcher_fix
Launcher fix
2024-12-12 13:37:05 +02:00
5e71aa4bf1 Update czech.ts 2024-12-12 11:51:57 +01:00
32d85ce6ff Fix for retreating-behavior generally not working
Fixed that armyInvolvement was only filled in when the action involved a target to interact with rather than just a tile.
Since armyInvolvement was used for scoring actions such as retreating towards the closest town, this caused the AI to never retreat to their towns when they were supposed to.
2024-12-12 11:07:56 +01:00
a29f455625 fix video crash with subtitles 2024-12-11 21:31:00 +01:00
9144f98952 Fix incorrect missing video files diagnostics on polish version 2024-12-11 19:46:03 +00:00
e752a26fd8 Enable Chronicles on importing 2024-12-11 19:45:36 +00:00
347efa98a0 Introduced new priority-tiers for handling attacking and gathering near enemies that are really far away
So that the AI won't become too passive on giant maps.
2024-12-11 14:47:08 +01:00
650db73300 Ignore all ExceuteHeroChain-tasks with 0 movement-cost
These can happen when an enemy spawns ontop of an AI-hero. If the action would win, it wouldn't be executed anyways. So now AI does the next best thing instead, which likely what it wanted to do anyways.
2024-12-11 13:05:51 +01:00
922d467d77 replace boost with qt (fix android crash) 2024-12-11 01:13:06 +01:00
7cc5c06d2a fix fileuri error on android 2024-12-11 01:12:43 +01:00
7929905914 Updated Czech translation 2024-12-10 22:46:05 +01:00
ec7cd6ba0e Updated Czech translation 2024-12-10 22:45:32 +01:00
dbd4f5b48e fix drag & drop 2024-12-10 22:38:58 +01:00
f0bf6eb808 improved manual install process 2024-12-10 22:28:11 +01:00
f70e4556e1 Updated Czech translation 2024-12-10 22:17:09 +01:00
ae5f29c884 document 2017 gog hashes 2024-12-10 21:11:45 +01:00
eab6de4686 Fixed an issue that could cause the AI to skip almost their entire turn
If the best Task is to recruit a hero this now triggers pathfinding again as the newly bought hero may impair other heroe's paths.
2024-12-10 19:21:23 +01:00
71553783e6 Merge remote-tracking branch 'upstream/beta' into develop 2024-12-10 18:37:47 +01:00
0842ada1c7 Quick fix for xbrz scaling artifacts on window borders 2024-12-10 14:20:55 +00:00
d7d60bf61b Fix installing mods from outside of mod view only installing mod
dependencies, and not actual requested mod
2024-12-10 13:59:29 +00:00
4682ae537d Prefer local mod data, unless repository has newer mod 2024-12-10 13:53:49 +00:00
13497b5fa5 Block install / update buttons for mods that are being downloaded 2024-12-10 13:38:13 +00:00
bcada0eeed Correctly block mod enable button for mods with missing dependencies 2024-12-10 13:37:36 +00:00
b0d8068493 fix "transport artifact" victory condition triggering as
victory for human players even when artifact was transported by enemy AI
if "standard victory" is also enabled
2024-12-10 12:58:52 +00:00
641c59a1a9 Quick workaround for constantly switching input mode 2024-12-10 12:02:08 +00:00
cf08b8bf50 Fix game not ending on victory of allied human players in hotseat 2024-12-10 12:02:07 +00:00
3d7178dcef Merge pull request #5000 from IvanSavenko/start_game_tab
Add Start Game page to launcher with preset management
2024-12-10 14:01:16 +02:00
56c53a983d Regenerated translations 2024-12-10 11:29:47 +00:00
5d9e1483e0 Fix translation of mod types on localization change 2024-12-10 11:29:08 +00:00
274ed05827 Fix build 2024-12-10 11:29:08 +00:00
0fde7942d2 Implemented preset management for Start Game tab 2024-12-10 11:29:08 +00:00
277adab03f Replace unnecessary buttons with labels 2024-12-10 11:29:08 +00:00