Mod Scenario - If you load it twice you get an error

Technical support requests for Capitalism Lab
Post Reply
User avatar
Stylesjl
Mod Expert
Mod Expert
Posts: 889
Joined: Sun Oct 29, 2023 4:01 am
Location: Sydney, Australia
Has thanked: 63 times
Been thanked: 82 times

Mod Scenario - If you load it twice you get an error

Post by Stylesjl »

I just downloaded this mod:
viewtopic.php?p=43804

And I noticed that if I do the following I get an error:

- Load the mod scenario The Coffee Shop
- Quit to main menu
- Load the same scenario again.

You get this error:
ScriptError.png
ScriptError.png (121.2 KiB) Viewed 989 times
Reason why the error happens is that the mod is being unloaded for some reason on the second attempt.

Error file text:

Code: Select all

Script file: MOD\Coffee Shop changes\SCENARIO\Coffee Shop changes.txt
Error: the following lines cannot be recognized by the script system.
line 137: Costa Products
Version being used:
11.0.23
alpha117
Mod Contributor
Mod Contributor
Posts: 219
Joined: Thu Apr 28, 2016 5:20 pm
Has thanked: 20 times
Been thanked: 3 times

Re: Mod Scenario - If you load it twice you get an error

Post by alpha117 »

Confirmed same issue here.....never tested that bit!!
User avatar
David
Community and Marketing Manager at Enlight
Posts: 10420
Joined: Sat Jul 03, 2010 1:42 pm
Has thanked: 78 times
Been thanked: 223 times

Re: Mod Scenario - If you load it twice you get an error

Post by David »

Please test v11.0.24 and check if it fixes this.
User avatar
Stylesjl
Mod Expert
Mod Expert
Posts: 889
Joined: Sun Oct 29, 2023 4:01 am
Location: Sydney, Australia
Has thanked: 63 times
Been thanked: 82 times

Re: Mod Scenario - If you load it twice you get an error

Post by Stylesjl »

I just tested it and the problem is not fixed (same mod).
User avatar
David
Community and Marketing Manager at Enlight
Posts: 10420
Joined: Sat Jul 03, 2010 1:42 pm
Has thanked: 78 times
Been thanked: 223 times

Re: Mod Scenario - If you load it twice you get an error

Post by David »

The new patch v11.0.25 fixes this bug and has been tested with the Coffee mod scenario.
User avatar
Stylesjl
Mod Expert
Mod Expert
Posts: 889
Joined: Sun Oct 29, 2023 4:01 am
Location: Sydney, Australia
Has thanked: 63 times
Been thanked: 82 times

Re: Mod Scenario - If you load it twice you get an error

Post by Stylesjl »

This is definitely fixed now.
Post Reply