Page 1 of 1

Editor can't draw convoys

Posted: Sat May 14, 2022 11:12 am
by El_Condoro
I have been working on this map for years and I wanted to make it impossible to block map edge ports that were used for convoys, so I placed islands around them. The convoys drew on the map and I was able to save and play the map but I noticed those convoys that I had modified were not drawing on the map until the first waypoint.

Going back into the editor to have a look, I can no longer open the map getting the following message:
FAILED(draw_convoy_paths_on_map_surface): Segmentation violation

Is there a way to fix this?

I backed up the files but they were the most recent files and so the error is in them, too. I will be keeping 2 or 3 backup versions from here on. :oops:

Re: Editor can't draw convoys

Posted: Sat May 14, 2022 9:08 pm
by BillRunacre
Opening up the script file via Windows Explorer and removing the relevant convoy scripts might enable you to be able open the campaign in the editor again.

Typically you can find modded campaigns here:

C:\Users\[User Name]\Documents\My Games\Strategic Command WWII - War In Europe\Campaigns

Re: Editor can't draw convoys

Posted: Sat May 14, 2022 10:37 pm
by El_Condoro
Sadly not. Still won't open.

My understanding is that the convoy.txt (and other scripts) gets 'baked into' the CGN when it is saved in the editor and it seems that the CGN is the problem. Can the CGN be edited - if I can find the offending code and remove it?

Re: Editor can't draw convoys

Posted: Mon May 16, 2022 1:05 pm
by Hubert Cater
I should be able to fix this for you, can you send me the campaign, and subfolders to support@furysoftware.com?

Re: Editor can't draw convoys

Posted: Mon May 16, 2022 1:45 pm
by El_Condoro
Thanks very much, Hubert.

I have sent a folder link to the email address. Hopefully, it's all OK.

Re: Editor can't draw convoys

Posted: Tue May 17, 2022 3:52 pm
by Hubert Cater
I should have a fix for you, I'll send you a PM shortly

Re: Editor can't draw convoys

Posted: Tue May 17, 2022 5:40 pm
by Hubert Cater
Sent over a campaign you should be able to load via the email you used to send me the files, hope this helps :)

Re: Editor can't draw convoys

Posted: Wed May 18, 2022 9:27 am
by El_Condoro
Sure did. Thanks for the help! Much appreciated.