Everything posted by TonyE
-
HCE Release Notes
HCE - 2025.018 - 2025-03-31 =========================== - Chg:33867 GE eff100 could have the next group to be checked as an invalid pointer if that group were destroyed within functions called by eff100 Annex_D. There may still be an edge case where this happens, that is if the topGroup is destroyed. (thanks donaldseadog) https://harpgamer.com/harpforum/topic/33867-game-crash-with-some-ac-shot-down/
-
Game crash with some AC shot down
HCE - 2025.018 - 2025-03-31 =========================== - Chg:33867 GE eff100 could have the next group to be checked as an invalid pointer if that group were destroyed within functions called by eff100 Annex_D. There may still be an edge case where this happens, that is if the topGroup is destroyed. (thanks donaldseadog) https://harpgamer.com/harpforum/topic/33867-game-crash-with-some-ac-shot-down/
- Weather
-
Game crash with some AC shot down
The assertion that is being triggered is effect4.c line 7014 which is checking that the next group to examine is a valid group and in this case it is not. A little background on assertions Assertions in C/C++ - GeeksforGeeks
-
Tracking munitions expended
This is magnificent Don!
-
Weather
Seasons are not in play and neither is the spherical Earth concept! The weather model thinks there are no timezones and the sun always rises at the same UTC no matter where you are on the planet, hence flat Earth. For navigation the Earth is spherical but flat Earth all the way for weather.
- Weather
-
Nuke AAMs crash game
whoo hoo, thanks Don for both reporting and testing the fix(es)!
-
HCE Release Notes
HCE - 2025.017 - 2025-03-16 =========================== - Chg:33838 GE StoreConsumed call has been moved into FireGuns. This should mean all gunfire is now tracked by StoreConsumed. (thanks donaldseadog) https://harpgamer.com/harpforum/topic/33838-exportdll-storeconsumed-not-called-for-some-ata-situations/ - Chg:33837 GE StoreConsumed call has been moved into FireGuns, before any target unit is freed. (thanks donaldseadog) https://harpgamer.com/harpforum/topic/33837-exportdll-storeconsumed-called-later-than-optimal-for-gunfire/ - Chg:33851 GE Nuke AirToAir missiles would crash the game in some cases where those missiles shoot down the entire targeted unit and/or group. Should be fixed now. (thanks donaldseadog) https://harpgamer.com/harpforum/topic/33851-nuke-aams-crash-game/ - Chg:33851 GE Nuke Unguided bombs would crash the game in debug builds due to an over-optimistic logging call. Should be fixed now. (thanks donaldseadog)
-
Nuke AAMs crash game
Thank you, also fixed in 2025.017 by getting rid of the missile-annex-specific debug logging and making it more generic for non-ANNEX_D ordnance.
-
Nuke AAMs crash game
Fix coded for 2025.017 - Chg:33851 GE Nuke AirToAir missiles would crash the game in some cases where those missiles shoot down the entire targeted unit and/or group. Should be fixed now. (thanks donaldseadog) https://harpgamer.com/harpforum/topic/33851-nuke-aams-crash-game/
-
Nuke AAMs crash game
Confirmed, surprisingly not in the StoreConsumed call so that's interesting.
-
running harpoon II on win 11
Since you have Ultimate, H3 version 3.6.3 in that package is a close analogue of Harpoon II (it is literally Harpoon II updated to work well on Windows). There are newer H3 versions in the Ultimate package which have both pros and cons as compared to 3.6.3. Then there is the Harpoon I/Classic line of games that is the other 'half' of the Ultimate edition package. That is what donaldseadog here is referring to.
-
ExportDLL StoreConsumed not called for some ATA situations
Bad title on this issue, it should have been StoreConsumed not called on some FireGuns situations. HCE - 2025.017 - 2025-0#-## =========================== - Chg:33838 GE StoreConsumed call has been moved into FireGuns. This should mean all gunfire is now tracked by StoreConsumed. (thanks donaldseadog) https://harpgamer.com/harpforum/topic/33838-exportdll-storeconsumed-not-called-for-some-ata-situations/
- ExportDLL StoreConsumed called later than optimal for gunfire
-
ExportDLL StoreConsumed not called for some ATA situations
StoreConsumed in Effects.c about line 727 is only being called if FireGuns returns true which is incorrect, StoreConsumed should be called no matter the return value of FireGuns. Also around Effects.c line 1055 Also around Effects.c line 1189
-
ExportDLL StoreConsumed called later than optimal for gunfire
The FireGuns function can result in units being freed from memory. In 2025.016, StoreConsumed is called after FireGuns so in situations where FireGuns shoots down all planes in a unit, StoreConsumed cannot report what unit the guns were being fired at. A fix would be to move the StoreConsumed calls into FireGuns instead of right after FireGuns. This is a different pattern than for other weapon types but would give a more useful result.
-
Popup window to select target is not visible
If you are handy with the registry you can delete the HKCU\SOFTWARE\Harpoon2002\Options key. Make sure you don't have the game running when you do that or the game will simply re-establish the unwanted values. Deleting that key will reset all of your game options and window sizes and positions. The problem you are facing is that the dialog you are after is being drawn off-screen so you can't see it to click on it. This procedure starts you fresh. Let us know if you need a more automated approach and I'll see about whipping something up.
-
Popup window to select target is not visible
Oh that's an old version! For newer versions there is a quick clear game options registry file https://harpgamer.com/harpforum/files/file/228-hce-clear-game-options-registry-settings/ but it won't work for HC Gold. If someone doesn't beat me to it, I'll send the registry key you'll want to clear to reset the window positions in the next few days.
-
HCE Release Notes
HCE - 2025.016 - 2025-03-02 =========================== - Chg:00000 GE Firing of all ANNEX_E weapons aka depth charges, etc. should now trigger ExportDLL StoreConsumed function. - Chg:00000 GE Firing of ANNEX_G1 weapons aka bombs should now trigger ExportDLL StoreConsumed function. (thanks donaldseadog) - Chg:00000 GE Firing of Air to Air guns should now trigger ExportDLL StoreConsumed function. The built-in ATA guns in pre-commondb BattleSets are tricky, they will come through with a firing unit, a target unit, and a quantity of 1 but no mount information. (thanks donaldseadog) - Chg:00000 GE Instrumented Combat3.c AreaDefense with StoreConsumed calls. - Chg:00000 SE UnitNew ExportDLL function fires now where it didn't before. - Chg:00000 SE UnitToGroup ExportDLL function fires now where it didn't before.
-
HCE Release Notes
HCE - 2025.015 - 2025-03-01 =========================== - Chg:00000 GE Some logging in Release builds has been inadvertently disabled since libge and libse came into being. They didn't have the LOGENABLE pre-processor define set which meant less logging to ge.log and se.log than desired.
-
HCE Release Notes
HCE - 2025.014 - 2025-03-01 =========================== - Chg:00000 GE Added NULL checks so that StoreConsumed shouldn't crash the game - Chg:00000 GE Updated SinkShip to pass the sinking unit's UUID in hopes of avoiding some situations where the wrong unit sinks. - Chg:00000 GE Updated ProcessSplitGroupEvent to pass the sinking unit's UUID.
-
HCE Release Notes
HCE - 2025.013 - 2025-02-28 =========================== - Chg:00000 GE Incremented DLL interface version to 43. - Chg:00000 GE Incomplete... ExportDLL StoreConsumed function added to inform ExportDLLs of weapons expenditure. - Chg:00000 GE Doesn't seem to work... ExportDLL added funcRef ZoomWindow that allows an ExportDLL to change the zoom level of Group or Unit window.
-
HCE Release Notes
HCE - 2025.012 - 2025-02-28 =========================== - Chg:00000 GE Fixed the Help\About box to show the 2022.027 credits tab, previously the code was incomplete. - Chg:00000 GE Incremented DLL interface version to 41. - Chg:00000 GE ExportDLL Staff function added to inform ExportDLLs of Staff Assistant calls and give an opportunity to replace the SA. function Staff(side: short; button: short; picnum: short; message: pchar; unit_involved: PHCUNIT; outcome: plong): CBOOL; export; cdecl; - Chg:00000 GE ExportDLL DLLInit added LosTable sending to allow modification of the LineOfSite table used by sensors. - Chg:00000 GE ExportDLL ZoomChanged procedure added to inform ExportDLLs of Group and Unit window zoom level changes. (thanks donaldseadog) procedure ZoomChanged(GroupZoom: short; UnitZoom: short); export; cdecl;
-
HCE Release Notes
HCE - 2025.011 - 2025-02-28 =========================== - Chg:32850 GE Non-air groups could have up to 30 minute delays in turning to an intercept course. Fixed by checking if a group has an intercept event during path navigation and if it does, recalculate the course much more often. (thanks donaldseadog) https://harpgamer.com/harpforum/topic/32850-delayed-turn-of-destroyer-to-engage-enemy/ - Chg:33573 GE Player was previously allowed to fire AAMs not capable of orbital altitude at enemy missiles at orbital altitude. CheckGroupWeapons now does an altitude check but only for missiles fired against missiles. Also applied these for Satellites. (thanks Enrique) https://harpgamer.com/harpforum/topic/33573-harriers-launching-aams-to-orbit/ - Chg:33224 SE Position dialog DIALOG316 when changing a group's position always showed East and North. Corrected. (thanks donaldseadog) https://harpgamer.com/harpforum/topic/33224-se-incorrect-label-for-west-longitudes/ - Chg:00000 SE Made the left mouse click Range and Bearing text at the bottom of the window show just like the GE by adding coordinates and water depth to the readout.