Page 1 of 2

CTD in game with custom user SP scenario.

Posted: Mon Jul 22, 2019 11:28 pm
by 52ndOx
Hi

I downloaded and installed what I think is the latest SDK (v2.0.0.45).
This includes a scenario editor (mine has a pdf manual v1_01)

I made a simple brigade scenario with a simple battle script along the lines of the example in the manual, and saved it as a user scenario.

The editor runs with no issue, and I can load my scenario, and things seem to work for a while, but after maybe 10-15 minutes SOWWL exits directly to desktop.
There are no errors listed in either SOWWL or ScenarioEditor logs, or in the editor itself.

I am a complete novice with this software, and have probably screwed up. But has anyone actually successfully created user scenarios with this version of the editor? Or with the older one which is also available? Or is it a lost cause?

Re: CTD in game with custom user SP scenario.

Posted: Mon Jul 22, 2019 11:44 pm
by Biondo
Hi,

I used it a lot for create mp scenarios and our group is still using it

Are you using any mod? Could you forward your scenario so we can take a look at it?

Cheers

Re: CTD in game with custom user SP scenario.

Posted: Tue Jul 23, 2019 12:04 am
by 52ndOx
I made the mod originally with Grog V8.3, then tried without to see if it was that causing the crash. No other mods.

It is my first attempt so very basic. How might I forward it if someone would be so kind to have a look?
Can I attach here as a zip? If so are all the scenario files needed?

Thanks!
The attachment sdk190722b.zip is no longer available

Re: CTD in game with custom user SP scenario.

Posted: Tue Jul 23, 2019 10:16 pm
by Biondo
Hi

Checked the scenario and it seems ok. The only thing is the use of time var for endscenario command which I never seen but this is not the cause of the crash.

I created your same scenario with no mods activated then I activated again the grog toolbar and I noticed no more crash. Try if it works for you too

Re: CTD in game with custom user SP scenario.

Posted: Wed Jul 24, 2019 2:51 am
by 52ndOx
@Biondo Thanks for looking.

I get a crash even when creating and then running with no mods. After random time.
Which version of the editor do you use?

Re: CTD in game with custom user SP scenario.

Posted: Wed Jul 24, 2019 5:28 am
by Biondo
Mine is version 1.0.0.16678

Yes, just tried again and I had crash too.

I tried to change other parameters with no luck

Re: CTD in game with custom user SP scenario.

Posted: Wed Jul 24, 2019 6:22 am
by RebBugler
I copied this version over from my last computer and it opens with my new rig. I suggest copying it to a new SDK folder (rename previous) and launching it from there. All I know is it opens without crashing, I didn't go beyond that.
The attachment SowScenarioEditor.zip is no longer available

Re: CTD in game with custom user SP scenario.

Posted: Wed Jul 24, 2019 2:38 pm
by 52ndOx
@Biondo There is something the program doesn't like. Thanks for looking anyway.

@RebBugler Thanks to you too, but its not the editor that is crashing, it's a simple scenario produced by it. Runs for a while then gives up.
(It is @RALB who has problems opening the editor in a different thread).


Update 1:
It looks like if I take my commander to the rear I can complete the scenario.
Is it possible that the crash is caused by player death that is not handled in the battlecsript?
If so, what is required, immortal status in a brigade scenario?, or an event coded for player death?, or something else?

Sorry for so many questions :P

Update 2:
Its not player death.

Could it be something to do with this?
00:00:00 Loading Graphics
00:00:00 ERROR: unknown packed sprite WI01L
00:00:00 ERROR: unknown packed sprite WI02L
00:00:00 ERROR: unknown packed sprite HI02ML
00:00:00 ERROR: unknown packed sprite HI01L
00:00:00 ERROR: unknown packed sprite AI01L
00:00:00 ERROR: unknown packed sprite FRI02L
Update 3:
Nope. not that either. Other scenarios that don't crash have this error in the log too.
I also tried a different map. Same result. Random crash during combat. :huh:

Re: CTD in game with custom user SP scenario.

Posted: Fri Jul 26, 2019 3:46 am
by 52ndOx
I have now run my simple scenario, and a similar one, successfully a few times without a crash.

The only change I added was division and corps level commanders for both sides, after I saw that that other scenarios always include them.

As it is a brigade level scenario, I am not sure why this should make a difference, but it seems to. (The example in the documentation doesn't include them) :huh:

I will now try to develop some more ambitious ones and see how it goes. :blink:

Another question!
In the longer term I would like to build a map or two.
I haven't gone into it yet. Are there sufficient resources in the SDK?

Re: CTD in game with custom user SP scenario.

Posted: Fri Jul 26, 2019 12:20 pm
by RebBugler
I have now run my simple scenario, and a similar one, successfully a few times without a crash.

The only change I added was division and corps level commanders for both sides, after I saw that that other scenarios always include them.

As it is a brigade level scenario, I am not sure why this should make a difference, but it seems to. (The example in the documentation doesn't include them) :huh:

I will now try to develop some more ambitious ones and see how it goes. :blink:

Another question!
In the longer term I would like to build a map or two.
I haven't gone into it yet. Are there sufficient resources in the SDK?
Yeah, upper level commanders are needed for brigade level scenarios. I'm surprised that you didn't need the Army level commander also. I always assumed that any scenario had to follow and include the OOB echelon structure.

All the map tools are complete as far as I know. The hard part is figuring them out, least for me. Still, you'll get help from the folks that have figured out map making, ask away. Maybe I'll learn something too. :)

Glad you're sticking around and especially, getting into modding.