Skip to content

Commit

Permalink
Fix unable to receive diplomacy call. Release 0.95.260
Browse files Browse the repository at this point in the history
Resolves #1184
  • Loading branch information
akarnokd committed Nov 3, 2024
1 parent ae571a3 commit 7934488
Show file tree
Hide file tree
Showing 5 changed files with 20 additions and 16 deletions.
Binary file added install/open-ig-0.95.260.jar
Binary file not shown.
22 changes: 11 additions & 11 deletions open-ig-config.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@
<comment>Open Imperium Galactica Configuration</comment>
<entry key="fileName">open-ig-config.xml</entry>
<entry key="tileCacheBuildingLimit">10</entry>
<entry key="researchMoneyPercent">2000</entry>
<entry key="researchMoneyPercent">1000</entry>
<entry key="language">hu</entry>
<entry key="videoVolume">100</entry>
<entry key="videoVolume">75</entry>
<entry key="showBuildingName">true</entry>
<entry key="continuousMoney">false</entry>
<entry key="tileCacheBaseLimit">-10</entry>
Expand All @@ -17,12 +17,12 @@
<entry key="height">882</entry>
<entry key="muteMusic">false</entry>
<entry key="reequipTanks">true</entry>
<entry key="timestep">50</entry>
<entry key="scaleAllScreens">false</entry>
<entry key="timestep">30</entry>
<entry key="scaleAllScreens">true</entry>
<entry key="aiGroundAttackMixed">true</entry>
<entry key="showStarmapScroll">true</entry>
<entry key="maximized">true</entry>
<entry key="classicControls">false</entry>
<entry key="classicControls">true</entry>
<entry key="allowWeather">false</entry>
<entry key="fullScreen">false</entry>
<entry key="uiScale">100</entry>
Expand All @@ -34,19 +34,19 @@
<entry key="left">253</entry>
<entry key="aiAllowBuildingUpgrades">false</entry>
<entry key="tileCacheSize">0</entry>
<entry key="autoBuildLimit">50000</entry>
<entry key="autoBuildLimit">0</entry>
<entry key="movieScale">true</entry>
<entry key="currentProfile">2</entry>
<entry key="currentProfile">default</entry>
<entry key="joinPort">13951</entry>
<entry key="autoRepair">true</entry>
<entry key="musicVolume">100</entry>
<entry key="musicVolume">80</entry>
<entry key="satelliteDeploy">false</entry>
<entry key="animateInventory">false</entry>
<entry key="animateInventory">true</entry>
<entry key="showStarmapMinimap">true</entry>
<entry key="buttonSounds">true</entry>
<entry key="autoDisplayObjectives">true</entry>
<entry key="muteVideo">false</entry>
<entry key="autoRepairLimit">50000</entry>
<entry key="autoRepairLimit">1045000</entry>
<entry key="showTooltips">true</entry>
<entry key="disableD3D">false</entry>
<entry key="joinPorts-count">0</entry>
Expand All @@ -59,7 +59,7 @@
<entry key="targetSpecificRockets">false</entry>
<entry key="hostPort">13951</entry>
<entry key="subtitles">true</entry>
<entry key="effectVolume">100</entry>
<entry key="effectVolume">75</entry>
<entry key="reequipBombs">true</entry>
<entry key="autoBuildEconomyFirst">true</entry>
<entry key="quickRNP">true</entry>
Expand Down
2 changes: 1 addition & 1 deletion src/hu/openig/model/Configuration.java
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
*/
public class Configuration {
/** The version string. */
public static final String VERSION = "0.95.259";
public static final String VERSION = "0.95.260";
/** Annotation for indicating load/save a field. */
@Retention(RetentionPolicy.RUNTIME)
@interface LoadSave { }
Expand Down
5 changes: 3 additions & 2 deletions src/hu/openig/screen/items/DiplomacyScreen.java
Original file line number Diff line number Diff line change
Expand Up @@ -747,14 +747,15 @@ void updateRaces() {
oi1.enabled = false;
boolean active = !p2.isDefeated();
if (active) {
if (player().offers.containsKey(p2.id)) {
boolean hasOffer = player().offers.containsKey(p2.id);
if (hasOffer) {
oi1.label = "!" + p2.shortName;
} else {
oi1.label = " " + p2.shortName;
}
oi1.userObject = p2;

oi1.enabled = rel.full && last < now - limit;
oi1.enabled = rel.full && (hasOffer || last < now - limit);

if (oi1.enabled && rel.wontTalk()) {
rel.wontTalk(false);
Expand Down
7 changes: 5 additions & 2 deletions update.xml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
<desc lang='en'>The launcher&#39;s main file</desc>
</file>
</module>
<module id='Game' version='0.95.259'>
<module id='Game' version='0.95.260'>
<general url='https://github.com/akarnokd/open-ig'>
<desc lang='hu'>
Az Open Imperium Galactica játék.
Expand All @@ -42,6 +42,9 @@
<desc lang='es'>Bugfixes</desc>
</notes>
<release-details>
<entry version='0.95.260' date='2024-11-03'>
<item category='Diplomacy' issue='1184'>Fix for receiving a diplomatic call being non-interactable at times.</item>
</entry>
<entry version='0.95.259' date='2024-10-13'>
<item category='Campaign' issue='1181'>Play music again after finishing the main campaign and selecting continue.</item>
<item category='Skirmish,Groundwar'>Fix deployment exclusion locations not scaling with the planet in skirmish.</item>
Expand Down Expand Up @@ -344,7 +347,7 @@
<item category='AI'>Fixed AI unable to build a power plant if the missing energy was above the capacity of available power plant types.</item>
</entry>
</release-details>
<file url='https://github.com/akarnokd/open-ig/raw/master/install/open-ig-0.95.259.jar' sha1='1CA475E91FFD68A9D0DBC2CBFC5CC04C96419E20'/>
<file url='https://github.com/akarnokd/open-ig/raw/master/install/open-ig-0.95.260.jar' sha1='9F1DF3ACEDB1334F37C4CAE13E41CC2C4CECD389'/>
<file url='https://github.com/akarnokd/open-ig/raw/master/install/open-ig-upgrade-20240930a2.zip' sha1='BCB4BE3242EF22AD050903FEDC9A48F515C95416'/>
<file url='https://github.com/akarnokd/open-ig/raw/master/install/open-ig-images-20240930a.zip' sha1='09EA802D35E9A124B1A1761CBBB8D8F8C8D06E77'/>
<file url='https://github.com/akarnokd/open-ig/raw/master/open-ig-splash.png' sha1='52b83dbe118575c7dd3dd6c8c41d0446c32dee45'/>
Expand Down

0 comments on commit 7934488

Please sign in to comment.