Jump to content

[1.12.x] Hide Empty Tech Tree Nodes (for modded tech trees) v1.3.2


ev0

Recommended Posts

HETTN is getting exceptions which causes different tech trees from working properly.

Log file:  https://www.dropbox.com/s/ptf2g60gb04jlp3/HETTN.zip?dl=0

 

Log snippits which show the error:

132419 [HETTN] Using tech tree path: GameData\ModuleManager.TechTree 
132422 Exception handling event OnTechTreeSpawn in class ChangeTechTreeVisuals:System.NullReferenceException: Object reference not set to an instance of an object
132423   at KSP.UI.Screens.RDNode.DrawArrow (UnityEngine.Material mat) [0x00019] in <cd473063d3a2482f8d93d388d0c95035>:0 
132424   at KSP.UI.Screens.RDNode.ShowArrows (System.Boolean show, UnityEngine.Material mat, System.Collections.Generic.List`1[T] list) [0x0001b] in <cd473063d3a2482f8d93d388d0c95035>:0 
132425   at KSP.UI.Screens.RDNode.InitializeArrows () [0x00023] in <cd473063d3a2482f8d93d388d0c95035>:0 
132426   at KSP.UI.Screens.RDNode.Setup () [0x00194] in <cd473063d3a2482f8d93d388d0c95035>:0 
132427   at KSP.UI.Screens.RDNode.Start () [0x00000] in <cd473063d3a2482f8d93d388d0c95035>:0 
132428   at HideEmptyTechTreeNodes.ChangeTechTreeVisuals.Preload () [0x00087] in <795de9ae66fe4739afbc9c1bda6f0e9d>:0 
132429   at HideEmptyTechTreeNodes.ChangeTechTreeVisuals.onTechTreeSpawn (KSP.UI.Screens.RDTechTree rdTechTree) [0x00029] in <795de9ae66fe4739afbc9c1bda6f0e9d>:0 
132430   at EventData`1[T].Fire (T data) [0x000b0] in <cd473063d3a2482f8d93d388d0c95035>:0  

 

Link to comment
Share on other sites

1 hour ago, linuxgurugamer said:

HETTN is getting exceptions which causes different tech trees from working properly.

Log file:  https://www.dropbox.com/s/ptf2g60gb04jlp3/HETTN.zip?dl=0

 

Log snippits which show the error:

132419 [HETTN] Using tech tree path: GameData\ModuleManager.TechTree 
132422 Exception handling event OnTechTreeSpawn in class ChangeTechTreeVisuals:System.NullReferenceException: Object reference not set to an instance of an object
132423   at KSP.UI.Screens.RDNode.DrawArrow (UnityEngine.Material mat) [0x00019] in <cd473063d3a2482f8d93d388d0c95035>:0 
132424   at KSP.UI.Screens.RDNode.ShowArrows (System.Boolean show, UnityEngine.Material mat, System.Collections.Generic.List`1[T] list) [0x0001b] in <cd473063d3a2482f8d93d388d0c95035>:0 
132425   at KSP.UI.Screens.RDNode.InitializeArrows () [0x00023] in <cd473063d3a2482f8d93d388d0c95035>:0 
132426   at KSP.UI.Screens.RDNode.Setup () [0x00194] in <cd473063d3a2482f8d93d388d0c95035>:0 
132427   at KSP.UI.Screens.RDNode.Start () [0x00000] in <cd473063d3a2482f8d93d388d0c95035>:0 
132428   at HideEmptyTechTreeNodes.ChangeTechTreeVisuals.Preload () [0x00087] in <795de9ae66fe4739afbc9c1bda6f0e9d>:0 
132429   at HideEmptyTechTreeNodes.ChangeTechTreeVisuals.onTechTreeSpawn (KSP.UI.Screens.RDTechTree rdTechTree) [0x00029] in <795de9ae66fe4739afbc9c1bda6f0e9d>:0 
132430   at EventData`1[T].Fire (T data) [0x000b0] in <cd473063d3a2482f8d93d388d0c95035>:0  

 

Thanks, I'll take a look. They updated the tech tree load logic in one of the 10.X versions which might be the cause of this error, since I haven't made an update to handle the new load logic. I'll have to make a final update for 12.X.

Link to comment
Share on other sites

2 hours ago, ev0 said:

Thanks, I'll take a look. They updated the tech tree load logic in one of the 10.X versions which might be the cause of this error, since I haven't made an update to handle the new load logic. I'll have to make a final update for 12.X.

Great.  It totally screwed up my career, until I figured out it was this mod.  Could you do me a favor and ping me when it's fixed?

Also, as an FYI, not sure if it matters, I was using the Tetrix Tech Tree

 

Thanks

Edited by linuxgurugamer
Link to comment
Share on other sites

On 8/9/2021 at 5:47 AM, linuxgurugamer said:

Great.  It totally screwed up my career, until I figured out it was this mod.  Could you do me a favor and ping me when it's fixed?

Also, as an FYI, not sure if it matters, I was using the Tetrix Tech Tree

 

Thanks

I also would like to know if Tetrix is supported, any clue if this problem is easily fixed? ill wait with starting my new carreer until then. Thanks!

Link to comment
Share on other sites

3 hours ago, Kerdel said:

I also would like to know if Tetrix is supported, any clue if this problem is easily fixed? ill wait with starting my new carreer until then. Thanks!

There was a bug that pops up with Tetrix that I was not handling. There is a pre-release up on GitHub where you can try the fix (see main page for GitHub link)

Link to comment
Share on other sites

 

4 hours ago, linuxgurugamer said:

Problem was caused by Tetrix, he has a fix in beta right now

 

52 minutes ago, ev0 said:

There was a bug that pops up with Tetrix that I was not handling. There is a pre-release up on GitHub where you can try the fix (see main page for GitHub link)

Thanks both! If i use the pre release, can I safely update the mod when it comes out while in the middle of my career?

Removing manual install and adding using ckan when it comes out is fine?

Edited by Kerdel
Link to comment
Share on other sites

  • 5 months later...
21 hours ago, TV4Fun said:

Does anyone know if this is compatible with 1.12 or if there's a suitable replacement?

Whoops, yes it should work. But there is also a pre-release on Github that fixes a bug seen with Tetrix. I'll update that one to the current release version when I have a few minutes.

Link to comment
Share on other sites

  • 2 months later...

Doesn't work for me. I have this modlist:
 

Alternate Resource Panel (AlternateResourcePanel 1:v2.11.0.0)
ASET Agency (ASETAgency 1.0)
ASET Avionics (ASETAvionics 2.1)
ASET Props (ASETProps 1.5)
AT Utils (AT-Utils v1.10.1)
B9 Part Switch (B9PartSwitch v2.20.0)
Better Load Save Game Renewed (BetterLoadSaveGame 2.5.3.4)
BetterBurnTime (BetterBurnTime 1.10)
BetterCrewAssignment (BetterCrewAssignment 1.4.1)
Breaking Ground (BreakingGround-DLC 1.7.1)
Camera Focus Changer (CameraFocusChanger 1:1.1.0.2)
ClickThrough Blocker (ClickThroughBlocker 1:0.1.10.17)
Community Category Kit (CommunityCategoryKit v5.2.0.0)
Community Resource Pack (CommunityResourcePack 1.4.2)
Community Tech Tree (CommunityTechTree 1:3.4.4)
Configurable Containers (ConfigurableContainers 2.6.2.1)
Connected Living Space (ConnectedLivingSpace v2.0.2.0)
Contract Configurator (ContractConfigurator 1.30.5)
Docking Port Alignment Indicator (DockingPortAlignmentIndicator 6.10.0.0)
Easy Vessel Switch (EVS) (EasyVesselSwitch 2.3)
Editor Extensions Redux (EditorExtensionsRedux 3.4.3.5)
Environmental Visual Enhancements - Stock Planet Config files (EnvironmentalVisualEnhancements-HR 2:EVE-1.2.2-1)
Environmental Visual Enhancements Redux (EnvironmentalVisualEnhancements 3:1.11.6.1)
Ferram Aerospace Research Continued (FerramAerospaceResearchContinued 3:0.16.0.5)
FuseBox Continued (FuseBoxContinued 0.1.17.2)
GravityTurn Continued (GravityTurnContinued 3:1.8.2.2)
Hangar Grid Regridded (HangarGrid 1:0.0.4.1)
Hide Empty Tech Tree Nodes (HideEmptyTechNodes 1.2.0)
Hot Spot (HotSpot 0.9.0)
Internal RCS (InternalRCS 1.3)
JSI Advanced Transparent Pods (JSIAdvancedTransparentPods V0.1.24.0)
Kerbal Alarm Clock (KerbalAlarmClock v3.14.0.0)
Kerbal Attachment System (KAS 1.10)
Kerbal Changelog (KerbalChangelog v1.4.2)
Kerbal Engineer Redux (KerbalEngineerRedux 1.1.9.0)
Kerbal Inventory System (KIS 1.29)
Kerbal Inventory System - No Fun (KerbalInventorySystemNoFun 1:0.1.11.0)
Kerbal Joint Reinforcement - Next (KerbalJointReinforcementNext v4.1.19)
Kerbal Reusability Expansion (SpaceXLegs 2.9.2)
KSP AVC (KSP-AVC 1.4.1.9)
KSP Rescue Pod Fix (KSPRescuePodFix 1.6.4.14)
Making History (MakingHistory-DLC 1.12.1)
ModularFlightIntegrator (ModularFlightIntegrator 1.2.10.0)
Module Manager (ModuleManager 4.2.1)
Near Future IVA Props (NearFutureProps 1:0.7.1)
Part Angle Display Continued (PADContinued 0.4.1.1)
Part Commander Continued (PartCommanderCont 1.1.6.3)
PlanetShine (PlanetShine 0.2.6.6)
PlanetShine - Default configuration (PlanetShine-Config-Default 0.2.6.6)
Procedural Fairings (ProceduralFairings 1:v6.2)
RasterPropMonitor (RasterPropMonitor 1:v0.31.6)
RasterPropMonitor Core (RasterPropMonitor-Core 1:v0.31.6)
RCS Build Aid (RCSBuildAid v1.0.6)
Real Plume (RealPlume 2:v13.3.2)
Real Plume - Stock Configs (RealPlume-StockConfigs v4.0.8)
RealChute Parachute Systems (RealChute v1.4.8.3)
SCANsat (SCANsat v20.4)
Scatterer (Scatterer 3:v0.0835)
Scatterer Default Config (Scatterer-config 3:v0.0835)
Scatterer Sunflare (Scatterer-sunflare 3:v0.0835)
SmokeScreen - Extended FX Plugin (SmokeScreen 2.8.14.0)
SpaceTux Library (SpaceTuxLibrary 0.0.8.4)
StageRecovery (StageRecovery 1.9.5.4)
Stockalike Station Parts Expansion Redux (StationPartsExpansionRedux 2.0.6)
Stockalike Station Parts Expansion Redux - Internal Spaces (StationPartsExpansionRedux-IVAs 2.0.6)
Surface Mounted Lights (surfacelights 1.19)
TAC Fuel Balancer (TacFuelBalancer v2.21.5.2)
The Janitor's Closet (JanitorsCloset 0.3.7.8)
Toolbar (Toolbar 1:1.8.0.8)
Toolbar Controller (ToolbarController 1:0.1.9.6)
Tracking Station Evolved (TrackingStationEvolved 7.0)
Trajectories (Trajectories v2.4.3)
TriggerAu Flags (TriggerAu-Flags v2.11.0.0)
VABReorienter (VABReorienter 1.2)
Waypoint Manager (WaypointManager 2.8.3.3)
Zero MiniAVC (ZeroMiniAVC 1:1.1.2.4)

Is there any conflict i don't see?

Link to comment
Share on other sites

On 4/30/2022 at 2:40 PM, EstebanLB said:

<snip>

Nothing in that list stands out to me. Could you provide the game logs? If you could help out, in the game options for this mod there's an option to enable extra debug logging. If you enable that before you load your game, then it should give me more information on what went wrong.

Link to comment
Share on other sites

On 5/1/2022 at 8:00 PM, ev0 said:

Nothing in that list stands out to me. Could you provide the game logs? If you could help out, in the game options for this mod there's an option to enable extra debug logging. If you enable that before you load your game, then it should give me more information on what went wrong.

I removed the comunity tech tree as it's not really needed for my mod list. Thanks anyways!

Link to comment
Share on other sites

On 2/6/2022 at 11:07 PM, ev0 said:

Whoops, yes it should work. But there is also a pre-release on Github that fixes a bug seen with Tetrix. I'll update that one to the current release version when I have a few minutes.

Any chance of getting this released?  I just ran into the problem with CTT as well, the fix on Github works

Link to comment
Share on other sites

KSP 1.12.3 Release (HETTN v1.3.2)

  • Fixed dictionary key-value error when trying to use a key that doesn't exist (for TETRIX Tech Tree)

Published the pre-release that was on GitHub. I would have done this a few days earlier, but SpaceDock had some server issues when I was trying to recover my account password.

Link to comment
Share on other sites

  • 2 years later...
  • 2 months later...
  • 4 weeks later...
  • 2 weeks later...
On 10/5/2024 at 2:10 PM, epicpupster239 said:

I'm personally getting issues with tetrix still, something about duplicate ids and the tech tree looking all scrunched up. i.e., overlapping nodes

I'll look into this to see if I can help on the Tetrix side of things.

I should have taken this mod into account with the ANGLECAN Achievement Tree.  I need to see if I can force nodes to stay visible somehow.

Link to comment
Share on other sites

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...