Jump to content

[1.9.x] Too Many Orbits


Recommended Posts

forum user @knowbuddy write this neat little mod to hide the orbits in the mapview of vessels and planets.  He is no longer doing KSP and was happy to have me adopt it.  Original thread is here: https://forum.kerbalspaceprogram.com/index.php?/topic/159930-141-toomanyorbits-v112/

 

TooManyOrbits

Have you launched so many vessels that Kerbin looks like the Flying Spaghetti Monster?
Setting up maneuvers is harder than it should be because there are just too many orbit lines?
Then this mod is for you.

TooManyOrbits lets you hide vessels and celestial body orbits and icons with the press of a single button.

New Dependencies

BQBtvjk.jpg

 

Download from SpaceDock

CKAN-listed-blue.png SpaceDock-listed-orange.png MIT license Source

Edited by linuxgurugamer
Link to post
Share on other sites
21 hours ago, Gargamel said:

www.ModAdoptersAnonymus.org

You might want to look at sitting in on a meeting or twenty. 

Thanks again for all your work LGG. 

 Not going to happen. Will be getting about 10 more over the next couple of weeks.

Link to post
Share on other sites
  • 4 weeks later...
On 10/13/2018 at 4:09 AM, Drew Kerman said:

would it be possible to select what orbits of system bodies (not user vessels) you'd like to hide?

Nope, not at this time.  This is a simple mod, adding too much will make it.a complicated mod

Link to post
Share on other sites
  • 3 weeks later...

Since I installed latest TooManyOrbits 1.1.3.2 for KSP 1.5.1 I don't see the toolbar icon (stock) any more - and I found this in the log several times:

NullReferenceException: Object reference not set to an instance of an object
  at KSP.UI.Screens.EditorActionGroups.ConstructGroupActionList () [0x00000] in <filename unknown>:0 
  at KSP.UI.Screens.EditorActionGroups.ConstructGroupList () [0x00000] in <filename unknown>:0 
  at KSP.UI.Screens.EditorActionGroups.ClearSelection (Boolean reconstruct) [0x00000] in <filename unknown>:0 
  at ClickThroughFix.CBTMonitor.Update () [0x00000] in <filename unknown>:0 
 
(Filename:  Line: -1)

 

and these even many more:

GUIContent is null. Use GUIContent.none.
 
(Filename:  Line: 32)

 

Link to post
Share on other sites

@Gordon Dry it's quite safe to assume that the toolbar icon works. That isn't really hard of a thing to test when LGG made the 1.5.x update. So it's a conflict or install issue of some sort. Given how many mods LGG manages you really should give him some extra help. Pinpoint the conflict or at least post the full log. I know you're an experienced KSP user so sorry if that all sounded patronizing but... I know you're an experienced KSP user :P

Link to post
Share on other sites
2 minutes ago, Vince_K said:

i am in 1.5 and this mod don't work for me...Version 1.1.3.2 no icone and nothing happend when i hit F8.  https://www.dropbox.com/s/16vmi6rm0dzizaa/KSP.log?dl=0

I need to update the OP, sorry.

You need to install the ToolbarController and ClickThroughBlocker

Link to post
Share on other sites
  • 9 months later...

Hey Linux, I just noticed that this mod is producing a lot of Log Spam and not sure if its necessary or not, around 90 or so lines a second:

Spoiler
[LOG 19:17:12.022] [TooManyOrbits] Draw, m_minimized: False
[LOG 19:17:12.023] [TooManyOrbits] Draw, m_minimized: False
[LOG 19:17:12.031] [TooManyOrbits] Draw, m_minimized: False
[LOG 19:17:12.032] [TooManyOrbits] Draw, m_minimized: False
[LOG 19:17:12.033] [TooManyOrbits] Draw, m_minimized: False
[LOG 19:17:12.033] [TooManyOrbits] Draw, m_minimized: False
[LOG 19:17:12.052] [TooManyOrbits] Draw, m_minimized: False
[LOG 19:17:12.053] [TooManyOrbits] Draw, m_minimized: False
[LOG 19:17:12.066] [TooManyOrbits] Draw, m_minimized: False
[LOG 19:17:12.067] [TooManyOrbits] Draw, m_minimized: False
[LOG 19:17:12.085] [TooManyOrbits] Draw, m_minimized: False
[LOG 19:17:12.086] [TooManyOrbits] Draw, m_minimized: False
[LOG 19:17:12.100] [TooManyOrbits] Draw, m_minimized: False
[LOG 19:17:12.101] [TooManyOrbits] Draw, m_minimized: False
[LOG 19:17:12.120] [TooManyOrbits] Draw, m_minimized: False
[LOG 19:17:12.120] [TooManyOrbits] Draw, m_minimized: False
[LOG 19:17:12.129] [TooManyOrbits] Draw, m_minimized: False
[LOG 19:17:12.130] [TooManyOrbits] Draw, m_minimized: False
[LOG 19:17:12.149] [TooManyOrbits] Draw, m_minimized: False
[LOG 19:17:12.150] [TooManyOrbits] Draw, m_minimized: False
[LOG 19:17:12.163] [TooManyOrbits] Draw, m_minimized: False
[LOG 19:17:12.164] [TooManyOrbits] Draw, m_minimized: False
[LOG 19:17:12.182] [TooManyOrbits] Draw, m_minimized: False
[LOG 19:17:12.183] [TooManyOrbits] Draw, m_minimized: False
[LOG 19:17:12.192] [TooManyOrbits] Draw, m_minimized: False
[LOG 19:17:12.193] [TooManyOrbits] Draw, m_minimized: False
[LOG 19:17:12.211] [TooManyOrbits] Draw, m_minimized: False
[LOG 19:17:12.212] [TooManyOrbits] Draw, m_minimized: False
[LOG 19:17:12.226] [TooManyOrbits] Draw, m_minimized: False
[LOG 19:17:12.227] [TooManyOrbits] Draw, m_minimized: False
[LOG 19:17:12.245] [TooManyOrbits] Draw, m_minimized: False
[LOG 19:17:12.246] [TooManyOrbits] Draw, m_minimized: False
[LOG 19:17:12.258] [TooManyOrbits] Draw, m_minimized: False
[LOG 19:17:12.259] [TooManyOrbits] Draw, m_minimized: False
[LOG 19:17:12.277] [TooManyOrbits] Draw, m_minimized: False
[LOG 19:17:12.278] [TooManyOrbits] Draw, m_minimized: False
[LOG 19:17:12.286] [TooManyOrbits] Draw, m_minimized: False
[LOG 19:17:12.287] [TooManyOrbits] Draw, m_minimized: False
[LOG 19:17:12.304] [TooManyOrbits] Draw, m_minimized: False
[LOG 19:17:12.305] [TooManyOrbits] Draw, m_minimized: False
[LOG 19:17:12.319] [TooManyOrbits] Draw, m_minimized: False
[LOG 19:17:12.320] [TooManyOrbits] Draw, m_minimized: False
[LOG 19:17:12.338] [TooManyOrbits] Draw, m_minimized: False
[LOG 19:17:12.339] [TooManyOrbits] Draw, m_minimized: False
[LOG 19:17:12.347] [TooManyOrbits] Draw, m_minimized: False
[LOG 19:17:12.348] [TooManyOrbits] Draw, m_minimized: False
[LOG 19:17:12.366] [TooManyOrbits] Draw, m_minimized: False
[LOG 19:17:12.366] [TooManyOrbits] Draw, m_minimized: False
[LOG 19:17:12.398] [TooManyOrbits] Draw, m_minimized: False
[LOG 19:17:12.399] [TooManyOrbits] Draw, m_minimized: False
[LOG 19:17:12.425] [TooManyOrbits] Draw, m_minimized: False
[LOG 19:17:12.426] [TooManyOrbits] Draw, m_minimized: False
[LOG 19:17:12.458] [TooManyOrbits] Draw, m_minimized: False
[LOG 19:17:12.459] [TooManyOrbits] Draw, m_minimized: False
[LOG 19:17:12.487] [TooManyOrbits] Draw, m_minimized: False
[LOG 19:17:12.488] [TooManyOrbits] Draw, m_minimized: False
[LOG 19:17:12.528] [TooManyOrbits] Draw, m_minimized: False
[LOG 19:17:12.529] [TooManyOrbits] Draw, m_minimized: False
[LOG 19:17:12.560] [TooManyOrbits] Draw, m_minimized: False
[LOG 19:17:12.561] [TooManyOrbits] Draw, m_minimized: False
[LOG 19:17:12.586] [TooManyOrbits] Draw, m_minimized: False
[LOG 19:17:12.587] [TooManyOrbits] Draw, m_minimized: False
[LOG 19:17:12.618] [TooManyOrbits] Draw, m_minimized: False
[LOG 19:17:12.619] [TooManyOrbits] Draw, m_minimized: False
[LOG 19:17:12.644] [TooManyOrbits] Draw, m_minimized: False
[LOG 19:17:12.645] [TooManyOrbits] Draw, m_minimized: False
[LOG 19:17:12.677] [TooManyOrbits] Draw, m_minimized: False
[LOG 19:17:12.678] [TooManyOrbits] Draw, m_minimized: False
[LOG 19:17:12.704] [TooManyOrbits] Draw, m_minimized: False
[LOG 19:17:12.705] [TooManyOrbits] Draw, m_minimized: False
[LOG 19:17:12.735] [TooManyOrbits] Draw, m_minimized: False
[LOG 19:17:12.736] [TooManyOrbits] Draw, m_minimized: False
[LOG 19:17:12.763] [TooManyOrbits] Draw, m_minimized: False
[LOG 19:17:12.763] [TooManyOrbits] Draw, m_minimized: False
[LOG 19:17:12.788] [TooManyOrbits] Draw, m_minimized: False
[LOG 19:17:12.789] [TooManyOrbits] Draw, m_minimized: False
[LOG 19:17:12.820] [TooManyOrbits] Draw, m_minimized: False
[LOG 19:17:12.821] [TooManyOrbits] Draw, m_minimized: False
[LOG 19:17:12.847] [TooManyOrbits] Draw, m_minimized: False
[LOG 19:17:12.848] [TooManyOrbits] Draw, m_minimized: False
[LOG 19:17:12.878] [TooManyOrbits] Draw, m_minimized: False
[LOG 19:17:12.879] [TooManyOrbits] Draw, m_minimized: False
[LOG 19:17:12.905] [TooManyOrbits] Draw, m_minimized: False
[LOG 19:17:12.906] [TooManyOrbits] Draw, m_minimized: False
[LOG 19:17:12.937] [TooManyOrbits] Draw, m_minimized: False
[LOG 19:17:12.938] [TooManyOrbits] Draw, m_minimized: False
[LOG 19:17:12.965] [TooManyOrbits] Draw, m_minimized: False
[LOG 19:17:12.966] [TooManyOrbits] Draw, m_minimized: False

 

Please let me know if you need anything, specifically, to help diagnose the issue if you look into this further. :D 

Link to post
Share on other sites
11 hours ago, Poodmund said:

Hey Linux, I just noticed that this mod is producing a lot of Log Spam and not sure if its necessary or not, around 90 or so lines a second:

  Reveal hidden contents

[LOG 19:17:12.022] [TooManyOrbits] Draw, m_minimized: False
[LOG 19:17:12.023] [TooManyOrbits] Draw, m_minimized: False
[LOG 19:17:12.031] [TooManyOrbits] Draw, m_minimized: False
[LOG 19:17:12.032] [TooManyOrbits] Draw, m_minimized: False
[LOG 19:17:12.033] [TooManyOrbits] Draw, m_minimized: False
[LOG 19:17:12.033] [TooManyOrbits] Draw, m_minimized: False
[LOG 19:17:12.052] [TooManyOrbits] Draw, m_minimized: False
[LOG 19:17:12.053] [TooManyOrbits] Draw, m_minimized: False
[LOG 19:17:12.066] [TooManyOrbits] Draw, m_minimized: False
[LOG 19:17:12.067] [TooManyOrbits] Draw, m_minimized: False
[LOG 19:17:12.085] [TooManyOrbits] Draw, m_minimized: False
[LOG 19:17:12.086] [TooManyOrbits] Draw, m_minimized: False
[LOG 19:17:12.100] [TooManyOrbits] Draw, m_minimized: False
[LOG 19:17:12.101] [TooManyOrbits] Draw, m_minimized: False
[LOG 19:17:12.120] [TooManyOrbits] Draw, m_minimized: False
[LOG 19:17:12.120] [TooManyOrbits] Draw, m_minimized: False
[LOG 19:17:12.129] [TooManyOrbits] Draw, m_minimized: False
[LOG 19:17:12.130] [TooManyOrbits] Draw, m_minimized: False
[LOG 19:17:12.149] [TooManyOrbits] Draw, m_minimized: False
[LOG 19:17:12.150] [TooManyOrbits] Draw, m_minimized: False
[LOG 19:17:12.163] [TooManyOrbits] Draw, m_minimized: False
[LOG 19:17:12.164] [TooManyOrbits] Draw, m_minimized: False
[LOG 19:17:12.182] [TooManyOrbits] Draw, m_minimized: False
[LOG 19:17:12.183] [TooManyOrbits] Draw, m_minimized: False
[LOG 19:17:12.192] [TooManyOrbits] Draw, m_minimized: False
[LOG 19:17:12.193] [TooManyOrbits] Draw, m_minimized: False
[LOG 19:17:12.211] [TooManyOrbits] Draw, m_minimized: False
[LOG 19:17:12.212] [TooManyOrbits] Draw, m_minimized: False
[LOG 19:17:12.226] [TooManyOrbits] Draw, m_minimized: False
[LOG 19:17:12.227] [TooManyOrbits] Draw, m_minimized: False
[LOG 19:17:12.245] [TooManyOrbits] Draw, m_minimized: False
[LOG 19:17:12.246] [TooManyOrbits] Draw, m_minimized: False
[LOG 19:17:12.258] [TooManyOrbits] Draw, m_minimized: False
[LOG 19:17:12.259] [TooManyOrbits] Draw, m_minimized: False
[LOG 19:17:12.277] [TooManyOrbits] Draw, m_minimized: False
[LOG 19:17:12.278] [TooManyOrbits] Draw, m_minimized: False
[LOG 19:17:12.286] [TooManyOrbits] Draw, m_minimized: False
[LOG 19:17:12.287] [TooManyOrbits] Draw, m_minimized: False
[LOG 19:17:12.304] [TooManyOrbits] Draw, m_minimized: False
[LOG 19:17:12.305] [TooManyOrbits] Draw, m_minimized: False
[LOG 19:17:12.319] [TooManyOrbits] Draw, m_minimized: False
[LOG 19:17:12.320] [TooManyOrbits] Draw, m_minimized: False
[LOG 19:17:12.338] [TooManyOrbits] Draw, m_minimized: False
[LOG 19:17:12.339] [TooManyOrbits] Draw, m_minimized: False
[LOG 19:17:12.347] [TooManyOrbits] Draw, m_minimized: False
[LOG 19:17:12.348] [TooManyOrbits] Draw, m_minimized: False
[LOG 19:17:12.366] [TooManyOrbits] Draw, m_minimized: False
[LOG 19:17:12.366] [TooManyOrbits] Draw, m_minimized: False
[LOG 19:17:12.398] [TooManyOrbits] Draw, m_minimized: False
[LOG 19:17:12.399] [TooManyOrbits] Draw, m_minimized: False
[LOG 19:17:12.425] [TooManyOrbits] Draw, m_minimized: False
[LOG 19:17:12.426] [TooManyOrbits] Draw, m_minimized: False
[LOG 19:17:12.458] [TooManyOrbits] Draw, m_minimized: False
[LOG 19:17:12.459] [TooManyOrbits] Draw, m_minimized: False
[LOG 19:17:12.487] [TooManyOrbits] Draw, m_minimized: False
[LOG 19:17:12.488] [TooManyOrbits] Draw, m_minimized: False
[LOG 19:17:12.528] [TooManyOrbits] Draw, m_minimized: False
[LOG 19:17:12.529] [TooManyOrbits] Draw, m_minimized: False
[LOG 19:17:12.560] [TooManyOrbits] Draw, m_minimized: False
[LOG 19:17:12.561] [TooManyOrbits] Draw, m_minimized: False
[LOG 19:17:12.586] [TooManyOrbits] Draw, m_minimized: False
[LOG 19:17:12.587] [TooManyOrbits] Draw, m_minimized: False
[LOG 19:17:12.618] [TooManyOrbits] Draw, m_minimized: False
[LOG 19:17:12.619] [TooManyOrbits] Draw, m_minimized: False
[LOG 19:17:12.644] [TooManyOrbits] Draw, m_minimized: False
[LOG 19:17:12.645] [TooManyOrbits] Draw, m_minimized: False
[LOG 19:17:12.677] [TooManyOrbits] Draw, m_minimized: False
[LOG 19:17:12.678] [TooManyOrbits] Draw, m_minimized: False
[LOG 19:17:12.704] [TooManyOrbits] Draw, m_minimized: False
[LOG 19:17:12.705] [TooManyOrbits] Draw, m_minimized: False
[LOG 19:17:12.735] [TooManyOrbits] Draw, m_minimized: False
[LOG 19:17:12.736] [TooManyOrbits] Draw, m_minimized: False
[LOG 19:17:12.763] [TooManyOrbits] Draw, m_minimized: False
[LOG 19:17:12.763] [TooManyOrbits] Draw, m_minimized: False
[LOG 19:17:12.788] [TooManyOrbits] Draw, m_minimized: False
[LOG 19:17:12.789] [TooManyOrbits] Draw, m_minimized: False
[LOG 19:17:12.820] [TooManyOrbits] Draw, m_minimized: False
[LOG 19:17:12.821] [TooManyOrbits] Draw, m_minimized: False
[LOG 19:17:12.847] [TooManyOrbits] Draw, m_minimized: False
[LOG 19:17:12.848] [TooManyOrbits] Draw, m_minimized: False
[LOG 19:17:12.878] [TooManyOrbits] Draw, m_minimized: False
[LOG 19:17:12.879] [TooManyOrbits] Draw, m_minimized: False
[LOG 19:17:12.905] [TooManyOrbits] Draw, m_minimized: False
[LOG 19:17:12.906] [TooManyOrbits] Draw, m_minimized: False
[LOG 19:17:12.937] [TooManyOrbits] Draw, m_minimized: False
[LOG 19:17:12.938] [TooManyOrbits] Draw, m_minimized: False
[LOG 19:17:12.965] [TooManyOrbits] Draw, m_minimized: False
[LOG 19:17:12.966] [TooManyOrbits] Draw, m_minimized: False

 

Please let me know if you need anything, specifically, to help diagnose the issue if you look into this further. :D 

Probably some leftover debug statements, i'll get it cleaned up.

Thanks

New release, 1.1.5.1

  • Fixed log spam
Link to post
Share on other sites

Okay, I found another bug. When you dock something together, Too Many Orbits stops working as intended. When you hit F8 to disable orbits it does indeed disable them, but only until you exit the map mode. When you open the map mode again, orbits are enabled (even though when you press F8 again it says "orbits shown", so they are supposed to be hidden) and it throws a nullref in the console. After this happens, it enables the F8 button in flight scene, but that doesn't do anything by the look of it. And for some reason it input locks buttons C and V when it breaks. You can't press them until you clear input locks. The only way to fix the whole issue is to restart the game, I think. But it will happen again when you dock something. 

This is what NREs look like:

Spoiler

[EXC 06:05:05.618] NullReferenceException
    TooManyOrbits.TooManyOrbitsCoreModule.OnEnterMapView ()
    MapView.enterMapView ()
    MapView.EnterMapView ()
    MapView.Update ()

[EXC 06:05:21.561] NullReferenceException
    TooManyOrbits.TooManyOrbitsCoreModule.OnExitMapView ()
    MapView.exitMapView ()
    MapView.ExitMapView ()
    MapView.Update ()

 

Edited by dok_377
Added NREs text.
Link to post
Share on other sites

Also, I found these ones in the output_log, maybe it could be useful.

Spoiler

NullReferenceException
  at (wrapper managed-to-native) UnityEngine.Behaviour:set_enabled (bool)
  at TooManyOrbits.TooManyOrbitsCoreModule.OnEnterMapView () [0x00000] in <filename unknown>:0 
  at (wrapper delegate-invoke) Callback:invoke_void__this__ ()
  at (wrapper delegate-invoke) Callback:invoke_void__this__ ()
  at (wrapper delegate-invoke) Callback:invoke_void__this__ ()
  at (wrapper delegate-invoke) Callback:invoke_void__this__ ()
  at (wrapper delegate-invoke) Callback:invoke_void__this__ ()
  at (wrapper delegate-invoke) Callback:invoke_void__this__ ()
  at (wrapper delegate-invoke) Callback:invoke_void__this__ ()
  at (wrapper delegate-invoke) Callback:invoke_void__this__ ()
  at MapView.enterMapView () [0x00000] in <filename unknown>:0 
  at MapView.EnterMapView () [0x00000] in <filename unknown>:0 
  at MapView.Update () [0x00000] in <filename unknown>:0 
 
(Filename:  Line: -1)

NullReferenceException
  at (wrapper managed-to-native) UnityEngine.Behaviour:set_enabled (bool)
  at TooManyOrbits.TooManyOrbitsCoreModule.OnExitMapView () [0x00000] in <filename unknown>:0 
  at (wrapper delegate-invoke) Callback:invoke_void__this__ ()
  at (wrapper delegate-invoke) Callback:invoke_void__this__ ()
  at (wrapper delegate-invoke) Callback:invoke_void__this__ ()
  at (wrapper delegate-invoke) Callback:invoke_void__this__ ()
  at (wrapper delegate-invoke) Callback:invoke_void__this__ ()
  at (wrapper delegate-invoke) Callback:invoke_void__this__ ()
  at (wrapper delegate-invoke) Callback:invoke_void__this__ ()
  at (wrapper delegate-invoke) Callback:invoke_void__this__ ()
  at MapView.exitMapView () [0x00000] in <filename unknown>:0 
  at MapView.ExitMapView () [0x00000] in <filename unknown>:0 
  at MapView.Update () [0x00000] in <filename unknown>:0 
 
(Filename:  Line: -1)

I can upload the whole thing somewhere if needed. 

Edited by dok_377
Link to post
Share on other sites
  • 1 month later...
12 hours ago, Dafni said:

Anybody had a chance yet to test this mod in 1.8.1? Just curious.

I'll probably have some time to test it myself on the weekend.

Works fine. Apart from the already known issues I stated earlier nothing has changed. 

Link to post
Share on other sites

And again this [snip]:
cTjD4pL.jpg

aka.

Incorrect Too Many Orbits Installation: Too Many Orbits has been installed incorrectly and will not function properly. All files should be located in KSP/GameData/TooManyOrbits/QuickStart/Plugins. Do not move any files from inside that folder.

Incorrect path(s):
GameData\TooManyOrbits\Plugins\TooManyOrbits.dll
 
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 35)

 

Could it perhaps be, that's just as simple as this?

The full path got empty spaces:
e:\Spiele\Kerbal Space Program\GameData\TooManyOrbits\Plugins\TooManyOrbits.dll

Same issue as in KCT.

Edited by Snark
Redacted by moderator
Link to post
Share on other sites
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...