TOAW hangs after air-to-ship attack

This forum is for official support and troubleshooting FAQs.

Moderators: JAMiAM, ralphtricky

Post Reply
Martin_Goliath
Posts: 98
Joined: Fri Jul 27, 2007 3:54 pm

TOAW hangs after air-to-ship attack

Post by Martin_Goliath »


Hi all,

Oberst Klink and I are experiencing trouble in a game of CFNA. When loading the Axis turn, the Commonwealth player experiences a hangup. By experimenting, we have narrowed it down to air attacks against shipping: if the Axis player use his Stukas to sink a stack of ships, the hangup occurs during Commonwealth replacement phase. Any suggestions?

Martin
User avatar
Curtis Lemay
Posts: 15307
Joined: Fri Sep 17, 2004 3:12 pm
Location: Houston, TX

RE: TOAW hangs after air-to-ship attack

Post by Curtis Lemay »

ORIGINAL: MarGol


Hi all,

Oberst Klink and I are experiencing trouble in a game of CFNA. When loading the Axis turn, the Commonwealth player experiences a hangup. By experimenting, we have narrowed it down to air attacks against shipping: if the Axis player use his Stukas to sink a stack of ships, the hangup occurs during Commonwealth replacement phase. Any suggestions?

Martin

You're not waiting long enough.
My TOAW web site:

Bob Cross's TOAW Site
Oberst_Klink
Posts: 4922
Joined: Sun Feb 10, 2008 7:37 pm
Location: Germany
Contact:

RE: TOAW hangs after air-to-ship attack

Post by Oberst_Klink »

ORIGINAL: Curtis Lemay

ORIGINAL: MarGol


Hi all,

Oberst Klink and I are experiencing trouble in a game of CFNA. When loading the Axis turn, the Commonwealth player experiences a hangup. By experimenting, we have narrowed it down to air attacks against shipping: if the Axis player use his Stukas to sink a stack of ships, the hangup occurs during Commonwealth replacement phase. Any suggestions?

Martin

You're not waiting long enough.
In my case 8 hrs and a CPU load of 100% might have been ample enough... We double-checked it on both mine and MarGol's system... I'll email you the .PBL and the pw; see if your system can handle it? :/
My Blog & on Twitter.
Visit CS Legion on Twitter & Facebook for updates.
User avatar
sPzAbt653
Posts: 10158
Joined: Thu May 03, 2007 7:11 am
Location: east coast, usa

RE: TOAW hangs after air-to-ship attack

Post by sPzAbt653 »

I seem to remember another thread about this, but can't find it. It appears the hanging has something to do with checked each sea hex for replacements, which causes the game to hang for a looong time (in scenarios with many sea hexes).
User avatar
ralphtricky
Posts: 6675
Joined: Sun Jul 27, 2003 4:05 am
Location: Colorado Springs
Contact:

RE: TOAW hangs after air-to-ship attack

Post by ralphtricky »

ORIGINAL: Oberst_Klink
In my case 8 hrs and a CPU load of 100% might have been ample enough... We double-checked it on both mine and MarGol's system... I'll email you the .PBL and the pw; see if your system can handle it? :/
Can I get a pbl please? If it's reproducible, I should be able to figure out why it's happening.

ralphtrickey (at) operationalwarfare (dot) com

Thanks,
Ralph
Ralph Trickey
TOAW IV Programmer
Blog: http://operationalwarfare.com
---
My comments are my own, and do not represent the views of any other person or entity. Nothing that I say should be construed in any way as a promise of anything.
Martin_Goliath
Posts: 98
Joined: Fri Jul 27, 2007 3:54 pm

RE: TOAW hangs after air-to-ship attack

Post by Martin_Goliath »

Thanks for looking into this. File sent!

Martin
User avatar
ralphtricky
Posts: 6675
Joined: Sun Jul 27, 2003 4:05 am
Location: Colorado Springs
Contact:

RE: TOAW hangs after air-to-ship attack

Post by ralphtricky »

In case this happens to anyone else, the problem is simply that older computers with TOAW 3.4 can't handle scenarios like CFNA. It searches the whole map looking for a place to put a ship. It first looks in each hex to see if it's a sea hex, then looks for the nearest enemy unit. In CFNA, this can be pretty far away.

On a fast machine, it can take 5 minutes, and on a slow machine, it can apparently take over 8 hours. I'm looking into speeding it up for 3.5.

Ralph
Ralph Trickey
TOAW IV Programmer
Blog: http://operationalwarfare.com
---
My comments are my own, and do not represent the views of any other person or entity. Nothing that I say should be construed in any way as a promise of anything.
Martin_Goliath
Posts: 98
Joined: Fri Jul 27, 2007 3:54 pm

RE: TOAW hangs after air-to-ship attack

Post by Martin_Goliath »


So Bob was right, after all... At least this provides yet another reason for getting a new comp! Many thanks to Ralph for providing an explanation on how a seemingly inconspicuous difference can result in such a huge increase in execution time.
Oberst_Klink
Posts: 4922
Joined: Sun Feb 10, 2008 7:37 pm
Location: Germany
Contact:

RE: TOAW hangs after air-to-ship attack

Post by Oberst_Klink »

B*gger... So, a 2008 model of a N270 Atom CPU 1.6Ghz and 2GB RAM is called obsolete now? MarGol and I happily accept 'donation' of old crappy 3.6GHz Quad-Core CPU with 8GB RAM and a 1GB VID...:D

kLiNk, Oberst
My Blog & on Twitter.
Visit CS Legion on Twitter & Facebook for updates.
Post Reply

Return to “TOAW III Support”