Page 20 of 24

Re: Hierarchy Module Document

Posted: Fri Aug 29, 2025 1:56 am
by Curtis Lemay
Now I re-launch the game and load the saved game file. The overrides have been forgotten!

Re: Hierarchy Module Document

Posted: Fri Aug 29, 2025 1:57 am
by Curtis Lemay
But here is after the fix: After doing the same as before the fix, now the loaded game has the overrides preserved!

Re: Hierarchy Module Document

Posted: Fri Aug 29, 2025 1:58 am
by Curtis Lemay
Here are the next Legacy Bugs to be tackled (in blue):

Edit: I added Legacy Bug #30.

Re: Hierarchy Module Document

Posted: Fri Aug 29, 2025 6:58 pm
by Lobster
Curtis Lemay wrote: Thu Jul 31, 2025 10:12 pm OK, I'm going to have to punt on Legacy Bug #16. When I try to trace it out of a function I get "No Symbols Loaded" message shown. (Can't trace out of a function).

And I can't find what calls the function with the "find all references" tool. It's hidden somewhere.
So stepping through it line by line it still refuses to show itself? It is annoying. Fortunately the unit that is being worked on can be clicked to take you back where you want to be but still...

Re: Hierarchy Module Document

Posted: Fri Aug 29, 2025 7:01 pm
by Curtis Lemay
Lobster wrote: Fri Aug 29, 2025 6:58 pm
Curtis Lemay wrote: Thu Jul 31, 2025 10:12 pm OK, I'm going to have to punt on Legacy Bug #16. When I try to trace it out of a function I get "No Symbols Loaded" message shown. (Can't trace out of a function).

And I can't find what calls the function with the "find all references" tool. It's hidden somewhere.
So stepping through it line by line it still refuses to show itself? It is annoying. Fortunately the unit that is being worked on can be clicked to take you back where you want to be but still...
I end up in a dead end that I noted in this post:

https://forums.matrixgames.com/viewtopi ... 5#p5235215

Re: Hierarchy Module Document

Posted: Sat Aug 30, 2025 12:09 pm
by Lobster
Curtis Lemay wrote: Fri Aug 29, 2025 7:01 pm
Lobster wrote: Fri Aug 29, 2025 6:58 pm
Curtis Lemay wrote: Thu Jul 31, 2025 10:12 pm OK, I'm going to have to punt on Legacy Bug #16. When I try to trace it out of a function I get "No Symbols Loaded" message shown. (Can't trace out of a function).

And I can't find what calls the function with the "find all references" tool. It's hidden somewhere.
So stepping through it line by line it still refuses to show itself? It is annoying. Fortunately the unit that is being worked on can be clicked to take you back where you want to be but still...
I end up in a dead end that I noted in this post:

https://forums.matrixgames.com/viewtopi ... 5#p5235215
So maybe, instead of crashing the game, which is what you would think would happen, the program simply jumps to the next line in sequence? It's not random because it does the exact same thing every time. It's acting like it's trying to go to a location out of bounds of the actual map. I've seen scenarios that, when they start, you are taken to what seems to be the last unit deployed somewhere in Norway even though it's a scenario in Russia. It has something to do with the deployment routine. This is where a 'crew' comes in handy to do the grunt work.

Re: Hierarchy Module Document

Posted: Sat Aug 30, 2025 4:16 pm
by Curtis Lemay
Lobster wrote: Sat Aug 30, 2025 12:09 pm
Curtis Lemay wrote: Fri Aug 29, 2025 7:01 pm
Lobster wrote: Fri Aug 29, 2025 6:58 pm

So stepping through it line by line it still refuses to show itself? It is annoying. Fortunately the unit that is being worked on can be clicked to take you back where you want to be but still...
I end up in a dead end that I noted in this post:

https://forums.matrixgames.com/viewtopi ... 5#p5235215
So maybe, instead of crashing the game, which is what you would think would happen, the program simply jumps to the next line in sequence? It's not random because it does the exact same thing every time. It's acting like it's trying to go to a location out of bounds of the actual map. I've seen scenarios that, when they start, you are taken to what seems to be the last unit deployed somewhere in Norway even though it's a scenario in Russia. It has something to do with the deployment routine. This is where a 'crew' comes in handy to do the grunt work.
Of course the program itself goes to the next line in sequence. My point is that I can't get the debugger to take that step. The debugger won't trace any further.

Re: Hierarchy Module Document

Posted: Sun Aug 31, 2025 11:54 am
by Lobster
Because it's reached the end of the function and there isn't an instruction to tell it where to go? I don't know. I don't have the code. I can only guess. :lol:

Re: Hierarchy Module Document

Posted: Sun Aug 31, 2025 7:43 pm
by Curtis Lemay
I finished the easy additional feature #5:

Re: Hierarchy Module Document

Posted: Sun Aug 31, 2025 7:44 pm
by Curtis Lemay
Here it is before the change. Advanced Rules could be changed during Hot Seat games:

Re: Hierarchy Module Document

Posted: Sun Aug 31, 2025 7:45 pm
by Curtis Lemay
Here it is after the change. Now Advanced Rules cannot be changed in Hot Seat games (like in PBEM games):

Re: Hierarchy Module Document

Posted: Sun Sep 07, 2025 10:06 pm
by Curtis Lemay
I've effected new additional features 2, 4, and 5 (Mud Accumulation Factor, Player Option for new disengagement rules, and Rule Overrides added to the scenario file). Note that I added a need for an Event Effect for the new Mud Accumulation Factor (like for all other scenario parameters). Note that the Mud Accumulation Factor, the Disengagement Rules Player Option, and the Rule Overrides have all been added to the scenario (and therefore game turn) files.

Re: Hierarchy Module Document

Posted: Sun Sep 07, 2025 10:11 pm
by Curtis Lemay
There is a new scenario parameter called Mud Accumulation Factor. When I revised mud accumulation to be proportionate to turn interval, I realized that that rate may not exactly match designer wishes. This new parameter enables designers to tailor mud accumulation rates to their desires.

If you'll recall earlier, I showed an example of mud accumulation when the turn interval was 1 hour (see here: https://forums.matrixgames.com/viewtopi ... 6#p5237096). Mud accumulation was very slow. Now I use that same test scenario, but with the new mud accumulation factor set to x100. The resulting mud accumulation shown below is far heavier than in the earlier test:

Re: Hierarchy Module Document

Posted: Sun Sep 07, 2025 10:13 pm
by Curtis Lemay
Now for another example from the other extreme: Annual turns. Note that there is some issue that limits annual turns to three (I'll have to investigate that later). But the accumulation without a factor is quite heavy:

Re: Hierarchy Module Document

Posted: Sun Sep 07, 2025 10:14 pm
by Curtis Lemay
But here it is with the factor set to 0.01 (divide by 100). Much less:

Re: Hierarchy Module Document

Posted: Sun Sep 07, 2025 10:15 pm
by Curtis Lemay
I've even left in the option to set the factor to x0. Now there is no accumulation at all:

Re: Hierarchy Module Document

Posted: Sun Sep 07, 2025 10:18 pm
by Curtis Lemay
Now for the Player Option to limit HQ and Artillery disengagement ability. My theory is that such units should be able to escape engagement themselves (they are in the rear and, in a real-time world, would escape any breakthroughs) but could not be used to "rescue" front-line defenders.

This shot is of the test scenario's initial situation. Note that the defenders have foot units and are beset by motorized enemies:

Re: Hierarchy Module Document

Posted: Sun Sep 07, 2025 10:19 pm
by Curtis Lemay
First, the new option is OFF (this is how it has always been):

Re: Hierarchy Module Document

Posted: Sun Sep 07, 2025 10:21 pm
by Curtis Lemay
Using the HQ and Artillery units of the defenders, their engaged units all escape (with many rescued by the HQ and Artillery elements):

Re: Hierarchy Module Document

Posted: Sun Sep 07, 2025 10:22 pm
by Curtis Lemay
But now, the new option is ON. Now the HQ and Artillery elements only have special disengagement ability if they haven't yet been moved: