Jump to content

[1.8.x] DMagic's Basic Mods - Basic Orbit 9.0 Basic DeltaV 6.0 [11-2-2019]


DMagic

Recommended Posts

@DMagic Great work!

@Basic Orbit: Maybe you can implement the following contents to Orbit-HUD?:

- orbital speed

- biome under vehicle

- height over planet category ("upper atmosphere", "space near", etc)

 

Thanks!

 

Alex

 

 

Edited by AlexO
Link to comment
Share on other sites

@Jognt Does the error in the VAB happen only when placing and removing the first part for a new vessel, or when placing and removing any part?

@AlexO I generally try (or tried, since so much has been added) to avoid showing duplicate information. Since the orbital velocity can already be shown on the nav ball I didn't add it, but I can see where you might want the nav ball to show something else and still see orbital velocity. And you can show orbital altitude, which is also shown on the main UI, so I guess it doesn't make much sense to exclude velocity displays, too.

The other two I specifically avoid since that is telling you information that stock KSP generally makes you work to find. The only way to show that information in stock is to run an experiment or use KerbNet with a biome scanning part, so I didn't like the idea of just showing that information right away. And I think SCANsat has a better system for biome anyway, that information is available once you've scanned the planet's biomes, which is what makes the most sense.

Link to comment
Share on other sites

18 minutes ago, DMagic said:

@Jognt Does the error in the VAB happen only when placing and removing the first part for a new vessel, or when placing and removing any part?

Good question. It did it 95% of the time for the first part. Removing it and placing a new first part would trigger it too (so first part, same ‘vessel’). Adding a second part I think didn’t trigger it, but honestly, it’s been a while. 

Edit: I removed Basic-dV back then and still get nullrefs when I EVA. So that one may not have been related to basic-dV. I’ll check later. 

Edited by Jognt
Link to comment
Share on other sites

Quote

The other two I specifically avoid since that is telling you information that stock KSP generally makes you work to find. The only way to show that information in stock is to run an experiment or use KerbNet with a biome scanning part, so I didn't like the idea of just showing that information right away. And I think SCANsat has a better system for biome anyway, that information is available once you've scanned the planet's biomes, which is what makes the most sense.


You're right, it makes more sense. I hadn't even thought about Scansat, thanks for the keyword. 

Edited by AlexO
Link to comment
Share on other sites

  • 4 weeks later...
  • 1 month later...
  • 3 weeks later...

Hi @DMagic,

 

Really thank you for making this great mod, it's much more helpful and performance friendly than original stage deltaV. However, I do find this mod is abit unstable when use together with Kerbal wind tunnel that sometimes crash the game when into or leave VAB/SPH and throw multiple exceptions in output.log. Also it blocked wind tunnel mod to display flight envelope for multi-mode engine properly. (panther & rapier)

The issue can simply replicated by build a craft with panther engine and go in/out VAB/SPH a couple of times while running basic deltaV and wind tunnel mod together.

Edited by ioulaum
Link to comment
Share on other sites

Feature request for Basic dV:

  • Numeric value instead or in addition to the logarithmic scale. For easy at-a-glance info;
  • Ability to set and lock a desired TWR;

I realize that the 2nd request is covered by ConstantTWR, however the existing UI for Basic dV lends itself to this purpose incredibly well. The bottom of the indicator could be turned into a square button for input and the slider could turn yellow/green for visual feedback. 

Link to comment
Share on other sites

  • 4 weeks later...

I think maybe it's not caused by Basic DeltaV but in 1.8.1 am seeing the following issues:

- Basic Delta-V display stops working (entire mod seemingly disappears at some point of my gameplay), KSP's maneuver node display defaults to 100000.0m/s, warp to node stops working.

- Occasional Crashes when entering VAB


Edit: Reinstalling basic dV doesn't fix it for the ship in question, but the mod keeps sticking around, throwing exceptions however.

 

[ERR 15:23:38.535] Exception handling event onDeltaVAppInfoItemsChanged in class StageGroup:System.NullReferenceException: Object reference not set to an instance of an object
  at KSP.UI.Screens.StageGroup.DeltaVCalcsCompleted () [0x0009f] in <9d71e4043e394d78a6cf9193ad011698>:0 
  at EventVoid.Fire () [0x00127] in <9d71e4043e394d78a6cf9193ad011698>:0 

[EXC 15:23:38.536] NullReferenceException: Object reference not set to an instance of an object
	KSP.UI.Screens.StageGroup.DeltaVCalcsCompleted () (at <9d71e4043e394d78a6cf9193ad011698>:0)
	EventVoid.Fire () (at <9d71e4043e394d78a6cf9193ad011698>:0)
	UnityEngine.Debug:LogException(Exception)
	EventVoid:Fire()
	BasicDeltaV.<WaitForPanelRefresh>d__10:MoveNext()
	UnityEngine.SetupCoroutine:InvokeMoveNext(IEnumerator, IntPtr)
[ERR 15:23:38.536] Exception handling event onDeltaVAppInfoItemsChanged in class StageGroup:System.NullReferenceException: Object reference not set to an instance of an object
  at KSP.UI.Screens.StageGroup.DeltaVCalcsCompleted () [0x0009f] in <9d71e4043e394d78a6cf9193ad011698>:0 
  at EventVoid.Fire () [0x00127] in <9d71e4043e394d78a6cf9193ad011698>:0 

[EXC 15:23:38.537] NullReferenceException: Object reference not set to an instance of an object
	KSP.UI.Screens.StageGroup.DeltaVCalcsCompleted () (at <9d71e4043e394d78a6cf9193ad011698>:0)
	EventVoid.Fire () (at <9d71e4043e394d78a6cf9193ad011698>:0)
	UnityEngine.Debug:LogException(Exception)
	EventVoid:Fire()
	BasicDeltaV.<WaitForPanelRefresh>d__10:MoveNext()
	UnityEngine.SetupCoroutine:InvokeMoveNext(IEnumerator, IntPtr)
[ERR 15:23:38.538] Exception handling event onDeltaVAppInfoItemsChanged in class StageGroup:System.NullReferenceException: Object reference not set to an instance of an object
  at KSP.UI.Screens.StageGroup.DeltaVCalcsCompleted () [0x0009f] in <9d71e4043e394d78a6cf9193ad011698>:0 
  at EventVoid.Fire () [0x00127] in <9d71e4043e394d78a6cf9193ad011698>:0 

[EXC 15:23:38.538] NullReferenceException: Object reference not set to an instance of an object
	KSP.UI.Screens.StageGroup.DeltaVCalcsCompleted () (at <9d71e4043e394d78a6cf9193ad011698>:0)
	EventVoid.Fire () (at <9d71e4043e394d78a6cf9193ad011698>:0)
	UnityEngine.Debug:LogException(Exception)
	EventVoid:Fire()
	BasicDeltaV.<WaitForPanelRefresh>d__10:MoveNext()
	UnityEngine.SetupCoroutine:InvokeMoveNext(IEnumerator, IntPtr)
[ERR 15:23:38.538] Exception handling event onDeltaVAppInfoItemsChanged in class StageGroup:System.NullReferenceException: Object reference not set to an instance of an object
  at KSP.UI.Screens.StageGroup.DeltaVCalcsCompleted () [0x0009f] in <9d71e4043e394d78a6cf9193ad011698>:0 
  at EventVoid.Fire () [0x00127] in <9d71e4043e394d78a6cf9193ad011698>:0 

[EXC 15:23:38.539] NullReferenceException: Object reference not set to an instance of an object
	KSP.UI.Screens.StageGroup.DeltaVCalcsCompleted () (at <9d71e4043e394d78a6cf9193ad011698>:0)
	EventVoid.Fire () (at <9d71e4043e394d78a6cf9193ad011698>:0)
	UnityEngine.Debug:LogException(Exception)
	EventVoid:Fire()
	BasicDeltaV.<WaitForPanelRefresh>d__10:MoveNext()
	UnityEngine.SetupCoroutine:InvokeMoveNext(IEnumerator, IntPtr)





 

Edited by Thygrrr
Link to comment
Share on other sites

  • 3 months later...

This was thrown after removing a tank in the editor, noting else... i tried it this mod as the only installed same thing. this is on 1.9.X

 

Spoiler

[EXC 18:44:23.561] NullReferenceException
    BasicDeltaV.BasicDeltaV.DeactivateEditorDeltaV () (at <525e35ee461f4b5493e3cf383474cefc>:0)
    BasicDeltaV.BasicDeltaV+<WaitForEditorShip>d__85.MoveNext () (at <525e35ee461f4b5493e3cf383474cefc>:0)
    UnityEngine.SetupCoroutine.InvokeMoveNext (System.Collections.IEnumerator enumerator, System.IntPtr returnValueAddress) (at <5aeafee3fea24f37abd1315553f2cfa6>:0)
    UnityEngine.DebugLogHandler:LogException(Exception, Object)
    ModuleManager.UnityLogHandle.InterceptLogHandler:LogException(Exception, Object)
    UnityEngine.Debug:CallOverridenDebugHandler(Exception, Object)

 

Link to comment
Share on other sites

  • 2 months later...

Hey @DMagic,

with much regret I had to uninstall the Basic dv mod, as I can't move parts between stages.

Steps to reproduce (KSP 1.9.1, Bdv 6.0):

Imagine a lander just landed at Duna, now all stageable parts - chutes, engines - are in stage zero.

After my engineer repacked the chutes, I thought to make separate stages again with the engines being stage one, the chutes stage zero.
While I could create, though not delete, another stage, I could not move any parts to the new create stage.

Any idea what's wrong?

Thanks again for your many great mods and the endless hours of work, hope to hear from you soon :) .

 

Link to comment
Share on other sites

  • 1 month later...

FYI I am seeing this pop up in the log files, 1.9.1

BASIC DELTA V

[LOG 21:35:55.757] Load(Texture): BasicDeltaV/Resources/TWRGauge
[WRN 21:35:55.760] Texture resolution is not valid for compression: 'D:\Games\Steam\steamapps\common\Kerbal Space Program\GameData\BasicDeltaV\Resources\TWRGauge.png' - consider changing the image's width and height to enable compression
[LOG 21:35:55.760] Load(Texture): 
Orbit/Resources/AppIcon
[WRN 21:35:55.762] Texture resolution

[EXC 23:00:22.355] NullReferenceException
    BasicDeltaV.BasicDeltaV.DeactivateEditorDeltaV () (at <525e35ee461f4b5493e3cf383474cefc>:0)
    BasicDeltaV.BasicDeltaV+<WaitForEditorShip>d__85.MoveNext () (at <525e35ee461f4b5493e3cf383474cefc>:0)
    UnityEngine.SetupCoroutine.InvokeMoveNext (System.Collections.IEnumerator enumerator, System.IntPtr returnValueAddress) (at <5aeafee3fea24f37abd1315553f2cfa6>:0)
    UnityEngine.DebugLogHandler:LogException(Exception, Object)
    ModuleManager.UnityLogHandle.InterceptLogHandler:LogException(Exception, Object)
    UnityEngine.Debug:CallOverridenDebugHandler(Exception, Object)

[LOG 00:42:22.588] BasicDeltaV -> SimManager.StartSimulation() // Object reference not set to an instance of an object
[LOG 00:42:22.588] BasicDeltaV ->   at BasicDeltaV.Simulation.SimManager.StartSimulation () [0x00054] in <525e35ee461f4b5493e3cf383474cefc>:0 

 

BASIC ORBIT

[ERR 21:33:56.621] ADDON BINDER: Cannot resolve assembly: BasicOrbit.Unity, Culture=neutral, PublicKeyToken=null[ERR 21:33:56.621] ADDON BINDER: Cannot resolve assembly: BasicOrbit.Unity, Culture=neutral, PublicKeyToken=null

[LOG 21:35:55.760] Load(Texture): BasicOrbit/Resources/AppIcon
[WRN 21:35:55.762] Texture resolution is not valid for compression: 'D:\Games\Steam\steamapps\common\Kerbal Space Program\GameData\BasicOrbit\Resources\AppIcon.png' - consider changing the image's width and height to enable compression

 

 

Edited by KIMCHI
Link to comment
Share on other sites

@KIMCHI Thanks for the notice. The texture warnings just indicate that the texture can't be compressed, so it takes up a little more space in memory, but these are tiny textures so it doesn't really matter.

 

Does the NRE from Basic dV pop up repeatedly, or just once? There are some issues with it works that sometimes causes these one-time errors to pop up that I need to look into.

 

The other error for Basic Orbit should be an easy fix, though I'm not sure if it actually affects anything, I've seen happen in other places before.

Link to comment
Share on other sites

  • 4 weeks later...
On 7/3/2020 at 10:08 PM, DMagic said:

Does the NRE from Basic dV pop up repeatedly, or just once? There are some issues with it works that sometimes causes these one-time errors to pop up that I need to look into.

I see these NREs when switching to a Kerbal on EVA (just once per switch, so not impacting the game)

Spoiler

NullReferenceException: Object reference not set to an instance of an object
  at KSP.UI.Screens.StageGroup.DeltaVCalcsCompleted () [0x0009f] in <c168e21ec56346b082f89043e76162e1>:0 
  at EventVoid.Fire () [0x00127] in <c168e21ec56346b082f89043e76162e1>:0 
UnityEngine.DebugLogHandler:Internal_LogException(Exception, Object)
UnityEngine.DebugLogHandler:LogException(Exception, Object)
ModuleManager.UnityLogHandle.InterceptLogHandler:LogException(Exception, Object)
UnityEngine.Logger:LogException(Exception, Object)
UnityEngine.Debug:LogException(Exception)
EventVoid:Fire()
BasicDeltaV.<WaitForPanelRefresh>d__10:MoveNext()
UnityEngine.SetupCoroutine:InvokeMoveNext(IEnumerator, IntPtr)

 

KSP.log here: https://pastebin.com/KS52BhGj

Link to comment
Share on other sites

  • 1 year later...
This thread is quite old. Please consider starting a new thread rather than reviving this one.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...