Retreat1970 wrote: ↑Sun May 28, 2023 11:42 pm
@alvek
Can you verify weapons are sounding on your end? I am getting no weapon sounds in 1.01 but when I revert back to 1.82 I do.
Also the issue I have with a shipset not loading as described in the refreshed mod thread seems to also be a problem with 1.01 and not 1.82.
Great work btw I like the load time reduction and the general quicker feel to large games.
There was some bugs with sounds and crashes in 1.01 and 1.00, wait for 1.03 to check again. Probably will finish 1.03 this week.
I will look into shipset problem, probably another thing I broken.
Today fixed error with loading DWUR and incorrect parsing of scaling and BaconSettings.txt.
Sound of explosion working but lasers and other looks like not. Tomorrow will look into where the problem is.
I have a lot of ideas but I don't want to write an essay of modifications I'd like to see. I'll just throw a few things out here and there and see if one sticks. Totally up to you.
1. I wish damage control could fix warp drives first. Sometimes they do, most times they don't.
2. If the research and intel centers could give a small bonus to research or spying for each building built I think they would be more useful.
Retreat1970 wrote: ↑Wed May 31, 2023 9:19 pm
I have a lot of ideas but I don't want to write an essay of modifications I'd like to see. I'll just throw a few things out here and there and see if one sticks. Totally up to you.
1. I wish damage control could fix warp drives first. Sometimes they do, most times they don't.
2. If the research and intel centers could give a small bonus to research or spying for each building built I think they would be more useful.
1.I think component repair order is same as component order in ship design. Will look into it, I already want to add some QoL features to ship design window.
2.Need to look at code, bonus formulas and think about possible ways to implement this idea. Pirate bonus on research already massive and adding more could be game breaking.
There is probably some QoL features in DW2 that I can add to DW:U, will look at some gameplay videos.
Version 1.03 https://shorturl.at/bzJ49
In-game hotkeys
Fixed image errors in history window
Fixed MiningShip using GasMiningShip image (BaconMod)
Construction ship queue editor
Some text position fixed in design window
Fixed BaconMod ignoring float value settings in BaconSettings.txt in case when current windows decimal separator is not dot (BaconMod)
Fixed sound bug
UPS counter
FYI Installed Expansion Mod 1.03. My weapons fire doesn't seem to be playing either. Explosions, music and other effects are good, but my weapons don't make sounds.
Installing ExpansionMod to vanilla game installation and running through the tutorials gives the error below. It's not always from the same tutorial so must be about game state initialization. I could start a normal game successfully but did not try 7 game starts in a row (like tutorials).
---------------------------
Error while starting a new game
---------------------------
There was an error while attempting to start a new game. If you are using a theme, please revert to the default Distant Worlds theme and try again
Error Details:
System.NullReferenceException: Object reference not set to an instance of an object.
at BaconDistantWorlds.BaconHabitat.ReviewPirateControl(Habitat planet, Double timePassed)
at DistantWorlds.Types.Habitat.DoTasks(DateTime time)
at DistantWorlds.Start.method_82(GalaxyShape galaxyShape_0, Int32 int_1, Int32 int_2, Boolean bool_5, Double double_1, Int32 int_3, Double double_2, Double double_3, Int32 int_4, Double double_4, Double double_5, Int32 int_5, Double double_6, EmpireStart empireStart_0, EmpireStartList empireStartList_0, VictoryConditions victoryConditions_0, EmpireVictoryConditions empireVictoryConditions_0, EmpireVictoryConditions empireVictoryConditions_1, Boolean bool_6, Boolean bool_7, GameStartResets gameStartResets_0)
---------------------------
OK
---------------------------
[04.06.2023]
Version 1.06 https://shorturl.at/fiHR0
Game start major speed improvement, load times on my PC with large graphic\content mod and clean game (BM - BaconMod, EM - ExpansionMod) :
System.AggregateException: One or more errors occurred. ---> System.AggregateException: One or more errors occurred. ---> System.NullReferenceException: Object reference not set to an instance of an object.
at System.Drawing.Bitmap..ctor(Image original)
at DistantWorlds.Main.<>c__DisplayClass1692_1.<LoadTroops>b__5()
at System.Threading.Tasks.Task.Execute()
--- End of inner exception stack trace ---
at System.Threading.Tasks.Task.WaitAll(Task[] tasks, Int32 millisecondsTimeout, CancellationToken cancellationToken)
at DistantWorlds.Main.LoadTroops(String string_30, String string_31, String string_32)
at System.Threading.Tasks.Parallel.<>c__DisplayClass4_0.<Invoke>b__0()
--- End of inner exception stack trace ---
at System.Threading.Tasks.Parallel.Invoke(ParallelOptions parallelOptions, Action[] actions)
at DistantWorlds.Main.MainInitImages()
at DistantWorlds.Main.MainInit(Int32 width, Int32 height, Boolean windowedMode)
at DistantWorlds.Main..ctor(Int32 width, Int32 height, Boolean windowedMode)
at DistantWorlds.Start.Start_Load(Object sender, EventArgs e)
at System.Windows.Forms.Form.OnLoad(EventArgs e)
at System.Windows.Forms.Form.SetVisibleCore(Boolean value)
at System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
at System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
at Class5.smethod_0()
---> (Inner Exception #0) System.AggregateException: One or more errors occurred. ---> System.NullReferenceException: Object reference not set to an instance of an object.
at System.Drawing.Bitmap..ctor(Image original)
at DistantWorlds.Main.<>c__DisplayClass1692_1.<LoadTroops>b__5()
at System.Threading.Tasks.Task.Execute()
--- End of inner exception stack trace ---
at System.Threading.Tasks.Task.WaitAll(Task[] tasks, Int32 millisecondsTimeout, CancellationToken cancellationToken)
at DistantWorlds.Main.LoadTroops(String string_30, String string_31, String string_32)
at System.Threading.Tasks.Parallel.<>c__DisplayClass4_0.<Invoke>b__0()
---> (Inner Exception #0) System.NullReferenceException: Object reference not set to an instance of an object.
at System.Drawing.Bitmap..ctor(Image original)
at DistantWorlds.Main.<>c__DisplayClass1692_1.<LoadTroops>b__5()
at System.Threading.Tasks.Task.Execute()<---
---> (Inner Exception #1) System.NullReferenceException: Object reference not set to an instance of an object.
at System.Drawing.Bitmap..ctor(Image original)
at DistantWorlds.Main.<>c__DisplayClass1692_1.<LoadTroops>b__5()
at System.Threading.Tasks.Task.Execute()<---
---> (Inner Exception #2) System.NullReferenceException: Object reference not set to an instance of an object.
at System.Drawing.Bitmap..ctor(Image original)
at DistantWorlds.Main.<>c__DisplayClass1692_1.<LoadTroops>b__5()
at System.Threading.Tasks.Task.Execute()<---
---> (Inner Exception #3) System.NullReferenceException: Object reference not set to an instance of an object.
at System.Drawing.Bitmap..ctor(Image original)
at DistantWorlds.Main.<>c__DisplayClass1692_1.<LoadTroops>b__5()
at System.Threading.Tasks.Task.Execute()<---
---> (Inner Exception #4) System.NullReferenceException: Object reference not set to an instance of an object.
at System.Drawing.Bitmap..ctor(Image original)
at DistantWorlds.Main.<>c__DisplayClass1692_1.<LoadTroops>b__5()
at System.Threading.Tasks.Task.Execute()<---
<---