Matrix Games Forums

Forums  Register  Login  Photo Gallery  Member List  Search  Calendars  FAQ 

My Profile  Inbox  Address Book  My Subscription  My Forums  Log Out

Calculation of submarine range

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

Logged in as: Guest
Users viewing this topic: none
  Printable Version
All Forums >> [Classic (Free) Games] >> Pacific War: The Matrix Edition >> Calculation of submarine range Page: [1]
Message << Older Topic   Newer Topic >>
Calculation of submarine range - 11/27/2018 10:47:18 AM   

Posts: 133
Joined: 11/30/2002
From: Mallorca, Spain
Status: offline
I've returned to play PACWAR after a very long time, and was relearning some things.

One of the parts I needed to remember was submarine war. I know the range to port is important for the efficacy of the group, but what I'm not sure is how is that ranged calculated. Take a look at that screenshot:

The group featured is 2 hexes East of Singapore, yet the range to home port (Colombo) is calculated as 6 hexes when it should be something like 20. I've also noticed the opposite, subs being based on Java Sea close to home port in Northern Australia showing ranges in excess of 60...

Am I missing something not stated in the manual or in the patch notes? I've been looking around all docs I could find and this forum, but not much was found.

< Message edited by JapLance -- 11/27/2018 11:04:03 AM >


Greetings from Spain.
Post #: 1
RE: Calculation of submarine range - 11/27/2018 11:34:19 AM   

Posts: 165
Joined: 8/4/2011
Status: offline
Like much else in the game, this feature is probably broken. Don't get me wrong, I love pacwar and I think it's a classic, but it's also a bit of a mess internally and hasn't been actively worked on for more than 20 years.

I have to say though, I wish WitP was closer to this level of playability. I own WitpAE, but find it irritating beyond belief due to the UI. It simply should not be so difficult to e.g. order some ships to go somewhere and load a unit onto them, at the grand strategic scale. Armed forces have staffs for this sort of thing--much less unreasonable in pacwar.

As Allies I wouldn't worry too much about the alleged range of your SS, base them pretty much anywhere safe and stick em around the main convoy areas, and you'll clean up mucho shipping. Coastal SS are fairly useless for both sides AFAICT (soon spotted and attacked and/or neutralised usually), but the ocean going SS for both are reasonably effective--Allies extremely so from mid 1943 or so, JA decreasingly so from that time, which is reasonable.

SS range perhaps seems to matter more for the Japs, but I have no scientific reason to think this, it's only an impression from playing the game a fair bit back in the day. It may have more to do with the supply state of their base, but who knows eh?? However if that's the case then perhaps make sure there are LCU and air in a sub base to make sure there are plenty of supplies and fuel. The supply convoy algorithm seems to 'forget' about otherwise empty bases from time to time and they run down to nothing. Again, just an impression...

(in reply to JapLance)
Post #: 2
Actually, it has been worked on - 11/27/2018 7:19:53 PM   


Posts: 190
Joined: 7/19/2014
From: Kyiv, Ukraine
Status: offline

hasn't been actively worked on for more than 20 years.

Actually, it has been and still is worked on. (by me, among other people)
Did you check this thread? It contains a link to our website, 'Pacific War Update'. The site has moved to another platform recently and has a new address. Otherwise, everything else is mostly unchanged.
Progress has been quite slow since last year, but it's there.

JapLance, oh right. This annoying bug. Yes, Pacwar submarines still have this problem to deal with. I think I'll be able to spare some time in 2019 to fix it once and for all. (and likely also fix a couple of other bugs)

(in reply to mrchuck)
Post #: 3
RE: Actually, it has been worked on - 11/29/2018 8:42:56 AM   

Posts: 133
Joined: 11/30/2002
From: Mallorca, Spain
Status: offline
Thank you. So it's not a somewhat obscure mechanic but a bug.

Well, then there's nothing I can do about it...


Greetings from Spain.

(in reply to Istfemer)
Post #: 4
RE: Actually, it has been worked on - 11/30/2018 12:29:50 AM   
Hattori Hanzo

Posts: 723
Joined: 3/21/2011
From: Okinawa
Status: offline
..apart from waiting for IstFemer to "vaporize" that annoying Sub-Bug..

(in reply to JapLance)
Post #: 5
RE: Actually, it has been worked on - 12/4/2018 10:33:57 PM   
Rich Dionne


Posts: 436
Joined: 7/11/2000
Status: offline
Yes, as Istfemer mentions, we're still working on this. I've been working on the EXE quite heavily the last month. This little burst of interest inspired me to look for the submarine patrol range bug. After a bit of head banging, I was able to find and fix it. It's actually in 2 different places, same bug, from the original game version. In loading the submarines home port, the code takes the home port byte and converts it to a 2-byte word using the assembly statement "cbw". This works as long as the base number is below 123, if not, it converts into a negative number which screws up the retrieval of the port X and Y coordinates. This is why the distance looks OK some of time, other times way off. I was able to change the code to mov ah, 0; and voila, all fixed!

Now, how to get this latest version to you guys. The version I have will probably only work with the OBC41 file, which I've modified, and it's still a work in progress. But it would be nice to get something out so you could see the latest developments. I'll see if I can put something together for this weekend.



(in reply to Hattori Hanzo)
Post #: 6
RE: Actually, it has been worked on - 12/5/2018 10:52:04 AM   

Posts: 133
Joined: 11/30/2002
From: Mallorca, Spain
Status: offline
That's great news.

To all of you still working in this glorious oldie


Greetings from Spain.

(in reply to Rich Dionne)
Post #: 7
Page:   [1]
All Forums >> [Classic (Free) Games] >> Pacific War: The Matrix Edition >> Calculation of submarine range 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