12240 Commits

Author SHA1 Message Date
EmperorPinguin
d42525f27d
Update NextTurnAutomation.kt (#13777) 2025-08-06 22:24:46 +03:00
Md. Touhidur Rahman
9216c13df8
refactor user agent (#13775)
* refactor user agent

* use `userAgent()` method to set user agent

* add param `fallbackStr`
2025-08-06 22:24:39 +03:00
EmperorPinguin
876dffe4c5
Update TradeEvaluation.kt (#13770) 2025-08-06 22:24:29 +03:00
EmperorPinguin
b772639ae2
Update WorkerAutomation.kt (#13771) 2025-08-06 22:24:21 +03:00
Md. Touhidur Rahman
7c20885ac7
refactor IDChecker methods to return null instead of exceptions (#13755) 2025-08-06 22:24:13 +03:00
Md. Touhidur Rahman
8f57a480a6
fix errors in gradle 9 (#13780) 2025-08-06 22:23:39 +03:00
yairm210
9d8f2a1814 Fixed spy surveillance progressing tech stealing when no techs are available to steal 2025-08-06 22:21:10 +03:00
yairm210
5c09f1b743 chore(purity): Espionage 2025-08-06 17:46:47 +03:00
yairm210
666c2056f3 Bugfix: Building 'improvement to create' no longer cached across rulesets 2025-08-06 09:55:52 +03:00
yairm210
da908106de chore(purity): Managers 1 2025-08-06 09:50:47 +03:00
yairm210
e3599e4591 chore(purity): Autosuggested, removed more localstate 2025-08-05 09:13:05 +03:00
yairm210
33cd9821d0 chore(purity): MovementCost 2025-08-05 08:28:07 +03:00
yairm210
1af400bd1e chore(purity): DeclareWarPlanEvaluator 2025-08-05 08:18:22 +03:00
yairm210
edaf2d979e chore(purity): More @LocalState removals 2025-08-05 08:15:36 +03:00
yairm210
68894cdac5 chore(purity): Replace extra @LocalState with declaring that the classes are well known local state classes 2025-08-05 08:12:21 +03:00
yairm210
152acba973 chore(purity): Many autodetected functions and friends 2 2025-08-05 00:09:36 +03:00
yairm210
c8893723bf chore(purity): Many autodetected functions and friends 2025-08-04 23:54:58 +03:00
yairm210
04b7f350bd chore(purity): Many autodetected functions 2025-08-04 18:30:18 +03:00
yairm210
e8e02a367d chore(purity): UniqueValidator 2 2025-08-03 23:16:06 +03:00
yairm210
3735364d81 chore(purity): UniqueValidator 1 2025-08-03 23:11:42 +03:00
yairm210
5a583fd3e8 Mkdocs: include site url 2025-08-03 10:17:19 +03:00
yairm210
e6e7a21123 4.17.11-patch1 4.17.11-patch1 2025-08-02 21:07:40 +00:00
Yair Morgenstern
9f19048351
Revert "can settle" changes (#13763)
* Revert unique validator changes

* Revert "Updated canBeSettled to be able to settle water mountain tiles (#13717)"

This reverts commit cfc640d0eefc2a621193cbcf9ce8520688c6a9af.
2025-08-03 00:07:30 +03:00
yairm210
4fb9efd237 Fixed city states getting all techs when only 1 major civ remains 2025-08-02 23:45:05 +03:00
yairm210
3220d3c52b chore(purity): UniqueValidator 2025-08-01 16:05:04 +03:00
yairm210
d074612c0d chore(purity): BattleDamage 2025-08-01 15:52:45 +03:00
yairm210
d26a38a77d 4.17.11 4.17.11 2025-08-01 13:23:20 +03:00
Yair Morgenstern
702a132bfa
Version rollout (#13754)
* Bump version and create initial changelog entry

* The Fully Translated Vietnamese Unciv  (#13753)

* small-vietnamese-patch 5 

- update on some of the cities' name and civs. 
- leaders' dialogue too

* Update Vietnamese.properties

* Update Vietnamese.properties

* Update Vietnamese.properties

* Update Vietnamese.properties

* Update Vietnamese.properties

* Update Vietnamese.properties 

dude

* Update Vietnamese.properties

* Update Vietnamese.properties

should I do the tutorial as well?

* Update Vietnamese.properties #number

* Update Vietnamese.properties

* Update Vietnamese.properties

* Update Vietnamese.properties

* Update Vietnamese.properties

* Update completionPercentages.properties

* Update Vietnamese.properties

* Update Vietnamese.properties

* Update Vietnamese.properties

* Update Vietnamese.properties

* Update Vietnamese.properties

* Update Vietnamese.properties

* Update Japanese.properties (#13749)

* Update Japanese.properties

* Translate cities and spies

* Update Indonesian.properties (#13743)

* Update Indonesian.properties

Small grammatical error fixes.

* Update Indonesian.properties

* Update Galician.properties (#13740)

---------

Co-authored-by: yairm210 <yairm210@users.noreply.github.com>
Co-authored-by: perfectoast <duynamdo000@gmail.com>
Co-authored-by: cknight828 <128895471+cknight828@users.noreply.github.com>
Co-authored-by: X2003 <158255876+Xenia2003@users.noreply.github.com>
Co-authored-by: ninjum <138787523+ninjum@users.noreply.github.com>
2025-08-01 13:19:34 +03:00
Rob Loach
265198e1fa
Fix Ancient Ruin benefit on higher difficulties (#13748) 2025-08-01 13:12:37 +03:00
Md. Touhidur Rahman
3b93e22ad5
Only bring forth AuthPopup if server explicitly returns 401 (#13747) 2025-08-01 13:12:29 +03:00
General_E
cfc640d0ee
Updated canBeSettled to be able to settle water mountain tiles (#13717)
* Update for PR

* Added doc to ConditionalInTiles

* update

* cut down on the code update
2025-08-01 13:12:21 +03:00
Md. Touhidur Rahman
95eb97d517
Goodies before chat retention & UncivServer.jar Chat Session Management fixes (#13735)
* add `String.isUUID()` and game `gameId` in Chat nullable

* refactor `String.isUUID()`

* use `java.util.UUID` for better validation

* use `UUID` as `ChatStore` key

* make `gameId` nullable only for responses

* fix reversed logics

* introduce `isValidPlayerUuid()` and `isValidGameUuid()`

* fix `WebSocketSessionManager` session management

* refactor & simplify `UncivServer.jar`

* make `gameIdToChat` a `synchronizedMap`

* make `checkAndReturnUuiId()` nullable

* remove redundant imports

* revert `IDChecker` changes
2025-08-01 13:11:37 +03:00
yairm210
01a4025287 chore(purity): TileImprovement 2025-07-31 18:21:04 +03:00
yairm210
f45fe20ab0 chore(purity): Unique.kt 2025-07-31 15:45:00 +03:00
yairm210
c5922e2373 chore(purity): Remove all possible suppressions 2025-07-31 13:51:40 +03:00
yairm210
58ac1204d8 chore(purity): Countables 2 2025-07-31 09:17:19 +03:00
yairm210
e9ee616c1f chore(purity): Remove more suppressions 2025-07-30 20:41:34 +03:00
yairm210
141a4d17bf chore(purity): conditionalApplies 2025-07-30 16:08:29 +03:00
yairm210
7f033fa3c1 chore(purity): eliminate suppressions 2025-07-29 18:18:25 +03:00
yairm210
5cda15ff3c chore(purity): eliminate suppressions 2025-07-29 18:12:09 +03:00
yairm210
ba6b20925e 4.17.10 4.17.10 2025-07-29 16:58:22 +03:00
yairm210
d5fcc58c93 Fix mods in savefiles that are - delimited instead of space delimited
Useful for debugging player sent saves
2025-07-29 16:56:52 +03:00
Yair Morgenstern
21e6427f3e
Version rollout (#13738)
* Bump version and create initial changelog entry

* Update Brazilian_Portuguese.properties (#13736)

* Update German translation (#13728)

* Update French.properties (#13727)

* Update Indonesian.properties (#13721)

* Update Italian.properties (#13715)

* Update Simplified_Chinese.properties (#13702)

* Update Simplified_Chinese.properties

* Update Simplified_Chinese.properties

---------

Co-authored-by: yairm210 <yairm210@users.noreply.github.com>
Co-authored-by: Vitor Gabriel <59321138+Ranbut@users.noreply.github.com>
Co-authored-by: mape6 <mape6@posteo.de>
Co-authored-by: Ouaz <Ouaz@users.noreply.github.com>
Co-authored-by: X2003 <158255876+Xenia2003@users.noreply.github.com>
Co-authored-by: Giuseppe D'Addio <41149920+Smashfanful@users.noreply.github.com>
Co-authored-by: AutumnPizazz <114050365+AutumnPizazz@users.noreply.github.com>
2025-07-29 16:51:04 +03:00
EmperorPinguin
7afb3db4cd
AI: exclude great general from escort logic (#13726)
* AI: exclude great general from escort logic

* Update UnitAutomation.kt

* Update UnitAutomation.kt

* Update UnitAutomation.kt

* Update UnitAutomation.kt
2025-07-29 16:17:26 +03:00
EmperorPinguin
5e89e60442
Update MotivationToAttackAutomation.kt (#13724) 2025-07-29 16:17:13 +03:00
EmperorPinguin
648b0998c0
AI: better utilization of promoted units (#13737)
* AI: better utilization of promoted units

This won 54.5% in a duel of 400 games, not sure if that's significant enough. https://discord.com/channels/586194543280390151/1306726293102006453/1399500567021096960

* Update NextTurnAutomation.kt
2025-07-29 16:16:55 +03:00
EmperorPinguin
ce07a68dc8
AI: lower treshold for minimum acceptable newcity tile (#13730)
https://discord.com/channels/586194543280390151/1306726293102006453/1399334242009219123
2025-07-29 16:16:45 +03:00
EmperorPinguin
869e874ff5
Update Automation.kt (#13725) 2025-07-29 16:16:36 +03:00
Rob Loach
a645e2d010
Add unit action icons for triggerables (#13719)
* Add unit action icons for triggerables

* Apply suggestion from @RobLoach

* Apply suggestion from @RobLoach

* Add Technology icons

* Avoid the use of magic numbers

* Pass the icon size through

* Add stat icons
2025-07-29 16:16:26 +03:00
yairm210
1ef77b5e47 Fix crash when opening victory screen on the first turn 2025-07-29 15:06:28 +03:00