Matrix Games Forums

Forums  Register  Login  Photo Gallery  Member List  Search  Calendars  FAQ 

My Profile  Inbox  Address Book  My Subscription  My Forums  Log Out

Segmentation violation when removing a major

 
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] >> Strategic Command Series >> Strategic Command WWII War in Europe >> Tech Support >> Segmentation violation when removing a major Page: [1]
Login
Message << Older Topic   Newer Topic >>
Segmentation violation when removing a major - 1/15/2022 2:47:27 PM   
The Land

 

Posts: 857
Score: 0
Joined: 2/19/2010
Status: offline
Hello - I am getting a "segmentation violation" error followed by a crash when attempting to remove a major from the list of majors. The country is Yugoslavia and it's 9th on the list of major power, with the "Axis" (ie Warsaw Pact) list starting at no 7.

_____________________________

1985 Red Storm mod - Beta testing!

Always wanted to play a "Cold War goes hot" scenario? Come and join in!
Post #: 1
RE: Segmentation violation when removing a major - 1/16/2022 1:26:05 PM   
The Land

 

Posts: 857
Score: 0
Joined: 2/19/2010
Status: offline
Also, creating new majors in the editor has unexpected effects on units.

1) Altering the order of majors in the list changes the belligerences, and this can affect OOBs - I found the USA and UK deployments in Germany vanished because certain majors lost belligerence, so it was no longer valid for their units to be on another country's territory.

2) It also affects the nationality of units loaded onto amphibious transports. In my scenario setup I have several AVLs of Russian Special Forces units. Now I have altered the list of majors, the units loaded on to AVLs have turned into Turkish units.




_____________________________

1985 Red Storm mod - Beta testing!

Always wanted to play a "Cold War goes hot" scenario? Come and join in!

(in reply to The Land)
Post #: 2
RE: Segmentation violation when removing a major - 1/19/2022 6:38:18 PM   
Hubert Cater

 

Posts: 5199
Score: 2
Joined: 7/22/2013
Status: offline
Hi The Land,

Could you send me a link to the latest version of your campaign with exact instructions on how to repeat the segmentation error?

I should be able to quickly sort it out for you.

1) and 2) I'll add these to my list of things to fix as well, thanks for pointing them out.

Hubert

_____________________________


(in reply to The Land)
Post #: 3
RE: Segmentation violation when removing a major - 1/19/2022 6:44:35 PM   
Hubert Cater

 

Posts: 5199
Score: 2
Joined: 7/22/2013
Status: offline
For 1) can you confirm it was just a change in the order of the MAJOR ID list and not a movement of a major to the minor column or vice versa? I just ask since it looks like the belligerence status check should only be checking when it is the latter set of checks etc.

Thanks,
Hubert

_____________________________


(in reply to Hubert Cater)
Post #: 4
RE: Segmentation violation when removing a major - 1/19/2022 7:55:31 PM   
The Land

 

Posts: 857
Score: 0
Joined: 2/19/2010
Status: offline

quote:

ORIGINAL: Hubert Cater

Hi The Land,

Could you send me a link to the latest version of your campaign with exact instructions on how to repeat the segmentation error?


PM sent!

_____________________________

1985 Red Storm mod - Beta testing!

Always wanted to play a "Cold War goes hot" scenario? Come and join in!

(in reply to Hubert Cater)
Post #: 5
RE: Segmentation violation when removing a major - 1/19/2022 7:57:17 PM   
The Land

 

Posts: 857
Score: 0
Joined: 2/19/2010
Status: offline

quote:

ORIGINAL: Hubert Cater

For 1) can you confirm it was just a change in the order of the MAJOR ID list and not a movement of a major to the minor column or vice versa? I just ask since it looks like the belligerence status check should only be checking when it is the latter set of checks etc.


Yes, I can confirm re-ordering doesn't have any impact, I think it's connected with adding a major and then re-ordering subsequently.


_____________________________

1985 Red Storm mod - Beta testing!

Always wanted to play a "Cold War goes hot" scenario? Come and join in!

(in reply to Hubert Cater)
Post #: 6
RE: Segmentation violation when removing a major - 1/20/2022 9:48:20 PM   
Hubert Cater

 

Posts: 5199
Score: 2
Joined: 7/22/2013
Status: offline
Thanks and I have fixed the issue with Yugoslavia.

If you are able to repeat the issue on the adding of a major and re-ordering that would be great as I am unable to do so. Other than if I reordered an Allied to an Axis and vice versa, then it could happen as it would want to check for valid belligerents in that case etc.

_____________________________


(in reply to The Land)
Post #: 7
RE: Segmentation violation when removing a major - 1/21/2022 8:29:10 AM   
The Land

 

Posts: 857
Score: 0
Joined: 2/19/2010
Status: offline

quote:

ORIGINAL: Hubert Cater

Thanks and I have fixed the issue with Yugoslavia.

If you are able to repeat the issue on the adding of a major and re-ordering that would be great as I am unable to do so. Other than if I reordered an Allied to an Axis and vice versa, then it could happen as it would want to check for valid belligerents in that case etc.


I think re-ordering between factions is probably what caused the issue. I added Italy, Turkey and Yugoslavia and then had to shuffle them between Axis and Allied parts of the list.

Also, I have thought about it more and I think I need to retain Yugoslavia as a major - sorry! (If I don't, its tech levels won't come out right if it enters the war.)


_____________________________

1985 Red Storm mod - Beta testing!

Always wanted to play a "Cold War goes hot" scenario? Come and join in!

(in reply to Hubert Cater)
Post #: 8
RE: Segmentation violation when removing a major - 1/21/2022 3:35:47 PM   
Hubert Cater

 

Posts: 5199
Score: 2
Joined: 7/22/2013
Status: offline
No problem at all as it was still something to fix. Thanks for the extra info as well


_____________________________


(in reply to The Land)
Post #: 9
Page:   [1]
All Forums >> [New Releases from Matrix Games] >> Strategic Command Series >> Strategic Command WWII War in Europe >> Tech Support >> Segmentation violation when removing a major 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.375