Sgementation violation - FAILED (draw_convoy_paths_on_map_surface) (Full Version)

All Forums >> [New Releases from Matrix Games] >> Strategic Command Series >> Strategic Command WWII: World at War >> Tech Support


Elessar2 -> Sgementation violation - FAILED (draw_convoy_paths_on_map_surface) (7/27/2021 12:22:55 AM)

For my Pacific Scenario, I've been trying to reverse engineer various scripts based on how they look in other (default) scenarios. The error (ctd) only occurs after I hit the end turn button (on the Axis turn); narrowed the problem down to any or all of the convoys going to the UK.

But my UK is a small isolated snippet of SE England in the extreme NE corner of the map (in Canada), due to space limitations. I noticed that (in the Euro vanilla scenarios) they have "split" convoys for both Saudi Arabia as well as Egypt & some other countries (convoy leaves the map on one mapside hex then reappears in the Atlantic).

After beating my head against the wall trying to track the problem down, after deleting all of the UK-bound convoys the error disappeared. I then wondered if the issue is that the exit and entry hexes in the vanillas have the same Y value, while in mine they do not (mine all exit the W side of the map, west of India, and re-enter east of England on the E side of the map), or if the error is due to some other (unknown) issue or bug.


[For those whop have been waiting for this scenario-once I squash this issue I'll be doing my final playtest before I release my first public beta]

Hubert Cater -> RE: Sgementation violation - FAILED (draw_convoy_paths_on_map_surface) (7/27/2021 3:36:40 PM)

Hi Elessar2,

Sorry to hear about the trouble and the only way for me to really know what might be happening would be to have a copy of your customized campaign, the scripts, and a saved turn where the error is repeatable. This would help me see the exact issue in the code when it crashes as I run it through my development environment.

Please send to and you can use WeTransfer if this helps to send the larger files.


Hubert Cater -> RE: Sgementation violation - FAILED (draw_convoy_paths_on_map_surface) (7/27/2021 3:50:17 PM)

I just ran a quick test and having a split convoy, going east west or west east, along the vertical map edges at any y position (even if different) seems to work on my end. Likely you've discovered some other rare issue that I'd be happy to trace with the right files and correct for the next update.

Elessar2 -> RE: Sgementation violation - FAILED (draw_convoy_paths_on_map_surface) (7/27/2021 6:11:05 PM)

Okeley dokely. The other possible issue is the convoy trying to route through either a small (sea) island which might be controlled by another power (or by the dreaded "neutral" country). I went through and thought I rerouted everything to avoid such issues, but I might have missed some.

Page: [1]

Valid CSS!

Forum Software © ASPPlayground.NET Advanced Edition 2.4.5 ANSI