Stellaris

Stellaris

Legendary Worlds 3.10
thx1134games  [developer] 27 Nov, 2022 @ 9:07am
Bug reports
Please place any errors of other bugs in this thread.
< >
Showing 1-15 of 21 comments
thx1134games  [developer] 29 Nov, 2022 @ 11:13pm 
In testing this morning, there are still over 1000 errors on startup caused by the Legendary Worlds Extended (Lege) being partly integrated into Legendary Worlds (Legw)

Fortuitously the Stellaris game engine is robust and resolves these errors with no impact to the game....
BUT
The errors slow the loading of the game down. And if your like me and have over 10 mods running, each mod that throws out errors like this add a few seconds each. the load screen can go from seconds down to minutes.

Once I have separated the Lege code out of Legw, I can work on both improving / adding features to Legw, and get Lege up to version 3.6.
doctornull 3 Dec, 2022 @ 10:18am 
[13:15:52][trigger_impl.cpp:1190]: Script Error: Invalid context switch [from] from Dar Majedonis [ship], file: events/legw_ship_events.txt line: 422, Scope: type=ship id=3855 random={ 0 3303225190 } random_allowed=yes from={ type=planet id=4294967295 random={ 0 668029763 } random_allowed=yes } [13:15:52][trigger_impl.cpp:1190]: Script Error: Invalid context switch [from] from Dar Majedonis [ship], file: events/legw_ship_events.txt line: 528, Scope: type=ship id=3855 random={ 0 3303225190 } random_allowed=yes from={ type=planet id=4294967295 random={ 0 668029763 } random_allowed=yes } [13:15:52][trigger_impl.cpp:1190]: Script Error: Invalid context switch [from] from Dar Majedonis [ship], file: events/legw_ship_events.txt line: 634, Scope: type=ship id=3855 random={ 0 3303225190 } random_allowed=yes from={ type=planet id=4294967295 random={ 0 668029763 } random_allowed=yes } [13:15:52][trigger_impl.cpp:1190]: Script Error: Invalid context switch [from] from Dar Majedonis [ship], file: events/legw_ship_events.txt line: 819, Scope: type=ship id=3855 random={ 0 3303225190 } random_allowed=yes from={ type=planet id=4294967295 random={ 0 668029763 } random_allowed=yes } [13:15:52][trigger_impl.cpp:1190]: Script Error: Invalid context switch [from] from Dar Majedonis [ship], file: events/legw_ship_events.txt line: 916, Scope: type=ship id=3855 random={ 0 3303225190 } random_allowed=yes from={ type=planet id=4294967295 random={ 0 668029763 } random_allowed=yes } [13:15:52][trigger_impl.cpp:1190]: Script Error: Invalid context switch [from] from Dar Majedonis [ship], file: events/legw_color.txt line: 12, Scope: type=ship id=3855 random={ 0 3303225190 } random_allowed=yes from={ type=planet id=4294967295 random={ 0 668029763 } random_allowed=yes } [13:15:52][trigger_impl.cpp:1190]: Script Error: Invalid context switch [from] from Dar Majedonis [ship], file: events/legw_color.txt line: 35, Scope: type=ship id=3855 random={ 0 3303225190 } random_allowed=yes from={ type=planet id=4294967295 random={ 0 668029763 } random_allowed=yes }

Got a bunch of these before a crash-to-desktop.
doctornull 3 Dec, 2022 @ 12:36pm 
The crash was unrelated to this mod -- it came from a science ship surveying a planet which got Colossus'd away -- due to a different mod.
CaptainArchmage 3 Jan, 2023 @ 3:49am 
Regards the localization file, it's stopped reading so origins are coming out as legw_lucky_start_NAME. I think this is to do with the encoding of the .yml file (has to be UTF8-BOM if I remember rightly).
Last edited by CaptainArchmage; 3 Jan, 2023 @ 3:49am
thx1134games  [developer] 4 Jan, 2023 @ 12:20am 
I had the same error with the YAML. In working through the problem, I found it was caused by the sqllight backend of Stellaris. Follow the instructions on the wiki to clear you mod cache and it will resolve the problem. https://stellaris.paradoxwikis.com/Modding#Purging_all_mods
CaptainArchmage 10 Jan, 2023 @ 9:25pm 
Originally posted by thx1134games:
I had the same error with the YAML. In working through the problem, I found it was caused by the sqllight backend of Stellaris. Follow the instructions on the wiki to clear you mod cache and it will resolve the problem. https://stellaris.paradoxwikis.com/Modding#Purging_all_mods

Thanks, I checked the .yml file and there entries are actually missing from there (it's legw_ancient_start_NAME and legw_ancient_start_DESC). Everything else actually loads fine.

Same for the legw_lucky_start_DESC and NAME and legw_next_start_DESC and NAME) which are missing.

Sorry I did not check that earlier.
Last edited by CaptainArchmage; 10 Jan, 2023 @ 9:26pm
doctornull 23 Jan, 2023 @ 10:32am 
Sometimes I get the Legendary Heavy Industry deposit on a Shattered Ring segment:

https://i.imgur.com/zcV9MXK.jpg

This is from custom systems which have an empty Shattered Ring, not vanilla.

The modifier and deposits don't seem to have an effect on this colony type.
Arkenor 23 Jan, 2023 @ 3:21pm 
Got a crash I can't get past where this is the last thing in the error log:

[22:47:31][effect_impl.cpp:327]: Script Error: Invalid context switch [fromfrom] from Keepers of Ave'brenn [country], file: events/legw_script.txt line: 51, Scope: type=country id=28 random={ 0 3108603715 } random_allowed=yes from={ type=megastructure id=872 random={ 0 1793496726 } random_allowed=yes from={ type=galactic_object id=4294967295 random={ 0 802446234 } random_allowed=yes from={ type=fleet id=3565 random={ 0 1633410200 } random_allowed=yes } } }


The last bit where it's looking for a fleet seems a bit odd for something involving deciding if a megastructure is going to be legendary.
Last edited by Arkenor; 23 Jan, 2023 @ 3:26pm
Arkenor 24 Jan, 2023 @ 1:49am 
Removing the section in zzzz_legw_on_actions.txt that called that event stopped the crash, so it was definitely the responsible mod.
thx1134games  [developer] 25 Jan, 2023 @ 1:37pm 
@Arkenor Thanks for the detailed report, I will correct this and update.
thx1134games  [developer] 26 Jan, 2023 @ 9:36am 
Triggered by building an Orbital Habitat.
# A Megastructure has been built
# Root = Country
# From = Megastructure
# FromFrom = System
# FromFromFrom = Fleet

Starting at line 97 of zzzz_legw_on_actions.txt
on_megastructure_built = { events = { legw_script.2 # habitats event # legw_color.2 # orange color } }

Starting on line 44 of legw_script.txt

#Started from on_actions by megastructure built/upgraded country_event = { id = legw_script.2 hide_window = yes is_triggered_only = yes immediate = { fromfrom = { #this system every_system_planet = { if = { limit = { legw_megaplanet = yes NOT = { has_planet_flag = "legw_no_megabuff" } } legw_add_mega_all = yes # Chance to get legendary megastructure } planet_event = { id = legw_color.2 days = 1 } # color planet, if legendary } } } }

The code looks good, and my experience has been that the event fires consistently as I have captured legw habitats and had the attribute added on ones I have built. The Broken Clock system has had legw habitats on several occasions as well.

I suspect you have some corruption in he SQLLight due to the mods updating over time.

Try doing the process to clear and reload the mods from the Stellaris Wiki modding page.
dodskrigaren 22 Mar, 2023 @ 6:59am 
The Ancient Start origin seems to be bugged. The tomb world spawns, and about a month of game time later, it's districts get reset to a different outlay of districts.
thx1134games  [developer] 22 Mar, 2023 @ 8:29am 
Thank you for the info, I will start a game using the Ancient Start and see if I can identify the problem.
thx1134games  [developer] 22 Mar, 2023 @ 5:18pm 
@dodskrigaren: I was not able to reproduce the error. My suspect was that both Legendary Worlds and Gullie's run a script on the 5th and 10th day of the first month of the game that resets some worlds. Legendary Worlds has a flag to avoid stepping on worlds altered by Guillie's mod.
Perhaps you are running another mod, and if I test with that mod I can see the issues and set a flag for that mod?
dodskrigaren 22 Mar, 2023 @ 5:24pm 
It happens when Legendary Worlds is the only active mod in Irony. No patches or anything, just the one mod.
< >
Showing 1-15 of 21 comments
Per page: 1530 50