CTD in game with custom user SP scenario.

A new scenario/battle editor is in development and should be following hot on the heels of Waterloo - any questions can go here.
52ndOx
Reactions:
Posts: 134
Joined: Tue Jul 09, 2019 12:00 am

CTD in game with custom user SP scenario.

Post 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?
Biondo
Reactions:
Posts: 111
Joined: Wed Apr 13, 2016 9:26 pm

Re: CTD in game with custom user SP scenario.

Post 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
52ndOx
Reactions:
Posts: 134
Joined: Tue Jul 09, 2019 12:00 am

Re: CTD in game with custom user SP scenario.

Post 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
Attachments
sdk190722b.zip
(3.49 KiB) Downloaded 20 times
Last edited by 52ndOx on Tue Jul 23, 2019 12:07 am, edited 1 time in total.
Reason: Added archive
Biondo
Reactions:
Posts: 111
Joined: Wed Apr 13, 2016 9:26 pm

Re: CTD in game with custom user SP scenario.

Post 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
52ndOx
Reactions:
Posts: 134
Joined: Tue Jul 09, 2019 12:00 am

Re: CTD in game with custom user SP scenario.

Post 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?
Last edited by 52ndOx on Wed Jul 24, 2019 2:52 am, edited 1 time in total.
Biondo
Reactions:
Posts: 111
Joined: Wed Apr 13, 2016 9:26 pm

Re: CTD in game with custom user SP scenario.

Post 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
User avatar
RebBugler
Reactions:
Posts: 4238
Joined: Sun Aug 03, 2008 12:51 am
Location: Ouachita Mountains, Arkansas

Re: CTD in game with custom user SP scenario.

Post 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
Attachments
SowScenarioEditor.zip
(2.4 MiB) Downloaded 17 times
Bugles & Flags Gettysburg - Toolbar, Flags, Scenarios, and More...
52ndOx
Reactions:
Posts: 134
Joined: Tue Jul 09, 2019 12:00 am

Re: CTD in game with custom user SP scenario.

Post 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:
Last edited by 52ndOx on Wed Jul 24, 2019 8:18 pm, edited 1 time in total.
52ndOx
Reactions:
Posts: 134
Joined: Tue Jul 09, 2019 12:00 am

Re: CTD in game with custom user SP scenario.

Post 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?
Last edited by 52ndOx on Fri Jul 26, 2019 7:11 am, edited 1 time in total.
User avatar
RebBugler
Reactions:
Posts: 4238
Joined: Sun Aug 03, 2008 12:51 am
Location: Ouachita Mountains, Arkansas

Re: CTD in game with custom user SP scenario.

Post 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.
Bugles & Flags Gettysburg - Toolbar, Flags, Scenarios, and More...
Post Reply