Matrix Games Forums

Forums  Register  Login  Photo Gallery  Member List  Search  Calendars  FAQ 

My Profile  Inbox  Address Book  My Subscription  My Forums  Log Out

[LOGGED] Pathfinding still broken

 
View related threads: (in this forum | in all forums)

Logged in as: Guest
Users viewing this topic: none
  Printable Version
All Forums >> [New Releases from Matrix Games] >> Command: Modern Operations series >> Tech Support >> [LOGGED] Pathfinding still broken Page: [1]
Login
Message << Older Topic   Newer Topic >>
[LOGGED] Pathfinding still broken - 10/29/2021 11:09:14 AM   
jarraya

 

Posts: 321
Joined: 9/10/2007
Status: offline
Even after the latest patch I find that pathfinding is very broken. Issuing a straight line order of more than a few kms almost always results in the AI doing some crazy dotted line path to the final location. If you trace along the intended path the water depth is always deep enough for the ship.

Adding to this above, have attached a save file where one of the ships is stuck on something and just won't go anywhere, then the AI tries to pathfind?

Can this please be fixed as it is forcing a high level of micromanagement.

Build 1147.34

Attachment (1)

< Message edited by SteveMcClaire -- 10/29/2021 7:41:53 PM >
Post #: 1
RE: [LOGGED] Pathfinding still broken - 10/29/2021 7:42:04 PM   
SteveMcClaire

 

Posts: 4472
Joined: 11/19/2007
Status: offline
Logged for investigation.

(in reply to jarraya)
Post #: 2
RE: [LOGGED] Pathfinding still broken - 10/30/2021 8:35:08 AM   
goldfinger35


Posts: 142
Joined: 1/1/2009
Status: offline
True, example:






Attachment (1)

(in reply to SteveMcClaire)
Post #: 3
RE: [LOGGED] Pathfinding still broken - 11/1/2021 8:53:35 PM   
SteveMcClaire

 

Posts: 4472
Joined: 11/19/2007
Status: offline
Hi jarraya, thanks for the report.

I am unable to reproduce the problem on my machine -- when I run the saved game the ships both follow their plotted course as expected. I assume the issue was with the USS Beford since it's doing 0.6kts initially in the saved game?

For those encountering these issues:

Does this problem happen consistently, every time you try to plot a course? Intermittently? Is it something that doesn't happen for a time but then becomes consistent at some point during the scenario?

It sounds like there may be an issue with terrain elevation caching / retrieval, making the game think your ships need to navigate around land when they do not. Is there any other relatively high-resource-use software running at the time the problem crops up? Windows update or anti-virus scanning, or something like that? What sort of CPU does your machine have?

Thanks for any additional information you can provide.


(in reply to jarraya)
Post #: 4
RE: [LOGGED] Pathfinding still broken - 11/2/2021 5:51:45 AM   
morphin

 

Posts: 572
Joined: 4/26/2002
From: Switzerland
Status: offline
Hi
I have this on almost every scenario that i play, but not on every plot. Workaround is to plot a course that is only a few nm. I have quite often error in the exeptoinlog.txt, but i don't think it correlates timely with the change of the course. I have similar observations with land course plotting. It would be interesting if others has also errors in the execptionlog.txt (this file is found in the cmo/logs directory)

The behaviour is only for land and sea units, for AC i havent seen this

Here an example log from my actual scenario "Operation Eagle guardian"

Attachment (1)

< Message edited by morphin -- 11/2/2021 5:55:07 AM >

(in reply to SteveMcClaire)
Post #: 5
RE: [LOGGED] Pathfinding still broken - 11/2/2021 5:57:05 AM   
morphin

 

Posts: 572
Joined: 4/26/2002
From: Switzerland
Status: offline

Please see this thread also:
https://www.matrixgames.com/forums/tm.asp?m=4933666
Thank's

(in reply to morphin)
Post #: 6
RE: [LOGGED] Pathfinding still broken - 11/2/2021 3:59:33 PM   
goldfinger35


Posts: 142
Joined: 1/1/2009
Status: offline

quote:

ORIGINAL: SteveMcClaire

Does this problem happen consistently, every time you try to plot a course? Intermittently? Is it something that doesn't happen for a time but then becomes consistent at some point during the scenario?




No, it does not happen consistently. It happens intermittently. It is something that doesn't happen for a time but then becomes consistent at some point during the scenario.



quote:

ORIGINAL: morphin
I have this on almost every scenario that i play, but not on every plot. Workaround is to plot a course that is only a few nm. The behaviour is only for land and sea units, for AC i havent seen this


Exactly. It happens with land units, subs and ships, not planes.


Also, please check my thread about this problem: https://www.matrixgames.com/forums/tm.asp?m=5085852


(in reply to SteveMcClaire)
Post #: 7
RE: [LOGGED] Pathfinding still broken - 11/2/2021 4:20:41 PM   
thewood1

 

Posts: 6529
Joined: 11/27/2005
Status: offline
This seems like it must happen with combinations of machines, scenarios, and other system-related parameters. I have a high-end laptop and a Surface. I don't have this issue showing up much on either. Every now and then, in close to shore paths or around piers, I see it, but it usually resolves itself. I'm going to see if I can break it under controlled conditions.

_____________________________

You are like puss filled boil on nice of ass of bikini model. You are nasty to everybody but then try to sweeten things up with a nice post somewhere else. That's nice but you're still a boil on a beautiful thing! - BDukes

(in reply to goldfinger35)
Post #: 8
RE: [LOGGED] Pathfinding still broken - 11/2/2021 7:14:20 PM   
SteveMcClaire

 

Posts: 4472
Joined: 11/19/2007
Status: offline
Thanks morphin. The out of memory exceptions in that log are happening when the game is trying to save the scenario (probably during an autosave.) So it is not directly related to the path finding issue.

If the scenario is big enough that it's running you out of memory, that /could/ be causing issue with the path finder being unable to fetch terrain data, and thus pathing using incorrect elevation/depth values. If that were the case we'd be seeing out of memory exceptions in the actual elevation-fetching code, however. Since we don't, it's impossible to say for certain whether those exceptions are related or not.

Just as a test, could you disable autosaves (in the game options) and try to see if that has any effect on how often you see the pathing issues?

< Message edited by SteveMcClaire -- 11/2/2021 7:15:33 PM >

(in reply to morphin)
Post #: 9
RE: [LOGGED] Pathfinding still broken - 11/2/2021 7:37:43 PM   
SteveMcClaire

 

Posts: 4472
Joined: 11/19/2007
Status: offline
Hi goldfinger35 -- thanks for the information.

I took a look at the first example in the thread you linked and the pathfinder is kicking in because there are islands in the way. Turn off the Sentinel-2 map and turn on BMG / coastlines and you'll see them. Apparently the Sentinel-2 image doesn't have much coverage away from the coastline in this area. I didn't go further into your thread as I could not tell at a glance where the other examples where on the earth.

The pathfinder will be invoked whenever the sim finds a major obstacle in the direct path to the next waypoint. Attached is an example image that illustrates this -- in the first case the pathfinder will run, but in the second two it will not. Hope that helps.





Attachment (1)

(in reply to goldfinger35)
Post #: 10
RE: [FIXED] Pathfinding still broken - 11/4/2021 8:20:51 PM   
SteveMcClaire

 

Posts: 4472
Joined: 11/19/2007
Status: offline
I've implemented a fix for an unexpected diversion / pathing issue. I suspect this is what was causing the issue you were seeing, but it is possible that it was not. Please let me know if the problem presists in the next update.

(in reply to jarraya)
Post #: 11
RE: [FIXED] Pathfinding still broken - 11/6/2021 11:48:23 AM   
goldfinger35


Posts: 142
Joined: 1/1/2009
Status: offline
Thank you, Steve. Turning off the Sentinel-2 map and turning on BMG showed the island which was in the way. Zooming out with Sentinel also works (island borders are than shown in yellow).

(in reply to SteveMcClaire)
Post #: 12
RE: [FIXED] Pathfinding still broken - 11/6/2021 12:14:05 PM   
goldfinger35


Posts: 142
Joined: 1/1/2009
Status: offline
Steve, if you have time, please check this exampke from Goodnight Irene scenario:
CTF-150 is stuck with message "waiting for pathfinder-generated course"



Attachment (1)

(in reply to goldfinger35)
Post #: 13
RE: [FIXED] Pathfinding still broken - 11/6/2021 12:15:08 PM   
goldfinger35


Posts: 142
Joined: 1/1/2009
Status: offline
And here is a pic:





Attachment (1)

(in reply to goldfinger35)
Post #: 14
RE: [LOGGED] Pathfinding still broken - 11/8/2021 2:30:20 PM   
jarraya

 

Posts: 321
Joined: 9/10/2007
Status: offline
Apologies for the late reply. The situation is as others have described:
- happens intermittently but on most scenarios.
- I don't think it has to do with processor or pc - I have a very fast pc Intel(R) Core(TM) i9-9900K CPU @ 3.60GHz 3.60 GHz with 16GB RAM and no virus scanner or other major process running when I play CMO.
- This pathfinding issue appears on all scenarios, not just the one I reported (Red Tide).

Thanks for looking at it.

(in reply to SteveMcClaire)
Post #: 15
RE: [LOGGED] Pathfinding still broken - 11/8/2021 2:31:03 PM   
Dimitris

 

Posts: 13282
Joined: 7/31/2005
Status: offline
Can you give it a try with B1147.35 ?

_____________________________


(in reply to jarraya)
Post #: 16
RE: [LOGGED] Pathfinding still broken - 11/15/2021 6:30:20 AM   
Dimitris

 

Posts: 13282
Joined: 7/31/2005
Status: offline
ping

_____________________________


(in reply to Dimitris)
Post #: 17
RE: [LOGGED] Pathfinding still broken - 11/15/2021 4:06:48 PM   
goldfinger35


Posts: 142
Joined: 1/1/2009
Status: offline
I am still playing complicated Gunners scenario with multiple exclusion zones and many units and sofar it looks ok with minor problems.
Quick test in Live: Pole positions shows mostly correct pathfinding, but SSN 21 USS Seawolf has some problems (see attachment)

Attachment (1)

< Message edited by goldfinger35 -- 11/15/2021 4:07:53 PM >

(in reply to Dimitris)
Post #: 18
RE: [LOGGED] Pathfinding still broken - 11/17/2021 8:36:32 PM   
DWReese

 

Posts: 1824
Joined: 3/21/2014
From: Miami, Florida
Status: offline
Steve,

I have used a test-created scenario for a while which allows me to test several different attacks at the same time. All of them worked perfectly in release 34 and before. Beginning with 35, a path issue developed. #36 also behaves like #35.

Specifically, I have an attack (Striker 123) that the path needs to actually plot and zig zag around some nav zones. The program will initially give you the message that it can't plot a path and that it was working on it. Release #34 eventually (within a minute) figures it out and it worked fine. Beginning with release #35, it could no longer figure it out, and the strike never takes off. #36 is the same as #35.

If you manually launch the aircraft using #35 or #36, the strike flies forward until it reaches the nav zone and then it bounces off of it and repeatedly tries it again and again, without ever figuring it out.

Release #34 was much better than #35 or #36.

I have included the scenario. Watch the Striker 123 mission to see what I am talking about. Use #34 and then #36 and you will see the difference.



Attachment (1)

(in reply to SteveMcClaire)
Post #: 19
RE: [LOGGED] Pathfinding still broken - 12/13/2021 3:47:27 PM   
DWReese

 

Posts: 1824
Joined: 3/21/2014
From: Miami, Florida
Status: offline
As a follow up, version 37 is much more restrictive in trying to find a path from a base to a target for aircraft than Version 34.

Version 34 was really good. It might have taken about 30 seconds, but Version 34 was able to figure out an alternative when the path wasn't simply a straight line.

In the example that I previously provided, Version 34 was even able to make multiple (as in 2 or more) path changes to get to its target. That was quite impressive.

Version 37, on the other hand, is quite limited. Unless you are dealing with an almost straight line, Version 37 can't figure it out.

(Note: Versions 35 and 36 came out so fast that I didn't really get a chance to test them.)

In my opinion, I would rather have the Version 34 portion of the code back, rather than the existing version 37, when it comes to being able to formulate a path to a target for an aircraft.

(in reply to DWReese)
Post #: 20
RE: [LOGGED] Pathfinding still broken - 12/14/2021 5:10:43 AM   
Dimitris

 

Posts: 13282
Joined: 7/31/2005
Status: offline


_____________________________


(in reply to DWReese)
Post #: 21
RE: [LOGGED] Pathfinding still broken - 12/21/2021 8:17:08 AM   
jannas34

 

Posts: 76
Joined: 1/9/2020
Status: offline
LOL devs cant fix an issue, user is the bad guy

(in reply to Dimitris)
Post #: 22
Page:   [1]
All Forums >> [New Releases from Matrix Games] >> Command: Modern Operations series >> Tech Support >> [LOGGED] Pathfinding still broken Page: [1]
Jump to:





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts


Forum Software © ASPPlayground.NET Advanced Edition 2.4.5 ANSI

1.270