Jump to content

Grigetio

Members
  • Posts

    39
  • Joined

  • Last visited

Reputation

66 Excellent

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. I'm still looking at it in 1.7.3, but I now have both KSP installs kind of borked somehow, and am doing some rebuilds. What I do know is that update() is being called directly, before start() or awake(), and start() is where we init the lightsettings.
  2. Edit2: Found(?) the culprit at the bottom of the post. Edit: More Debug info at bottom of post. Replying to my earlier post regarding the log spam. I am running 1.7.3, 200+ mods, so not sure what is causing it, but the relevant section is below. Pretty sure it's due to another mod's interaction. I'm not looking at you to dig into it. With the release of 1.8 I have VS fired up and am in full debug mod. Relevant log below. The exception at the end just keeps spamming the log file. I have some possible culprits in mind but don't want to go around naming names prematurely. --------------------------- [LOG 20:17:26.569] PartLoader: Part 'KerbetrotterLtd/FelineUtilityRover/Parts/Payload/ServiceBay/Lynx_ServiceBay' has no database record. Creating. [LOG 20:17:26.581] DragCubeSystem: Creating drag cubes for part 'Lynx.ServiceBay' [LOG 20:17:26.638] PartLoader: Compiling Part 'KerbetrotterLtd/FelineUtilityRover/Parts/Resources/Drill_rear/Lynx_DrillRear' [LOG 20:17:26.687] enabling TSMD..model (UnityEngine.Transform) updateMode: False [ERR 20:17:26.687] Material doesn't have a texture property '_Emissive' [LOG 20:17:26.687] enabling TSMD..model (UnityEngine.Transform) updateMode: False [LOG 20:17:26.688] enabling TSMD..model (UnityEngine.Transform) updateMode: False [LOG 20:17:26.688] enabling TSMD..model (UnityEngine.Transform) updateMode: False [LOG 20:17:26.688] enabling TSMD..model (UnityEngine.Transform) updateMode: False [LOG 20:17:26.688] enabling TSMD..model (UnityEngine.Transform) updateMode: False [LOG 20:17:26.688] enabling TSMD..model (UnityEngine.Transform) updateMode: False [LOG 20:17:26.689] enabling TSMD..model (UnityEngine.Transform) updateMode: False [ERR 20:17:26.689] Material doesn't have a texture property '_BumpMap' [EXC 20:17:26.704] NullReferenceException: Object reference not set to an instance of an object PartModule.Awake () UnityEngine.GameObject:AddComponent(Type) Part:AddModule(String, Boolean) Part:AddModule(ConfigNode, Boolean) PartLoader:ParsePart(UrlConfig, ConfigNode) <CompileParts>c__Iterator1:MoveNext() UnityEngine.SetupCoroutine:InvokeMoveNext(IEnumerator, IntPtr) [ERR 20:17:26.704] PartLoader: Encountered exception during compilation. System.NullReferenceException: Object reference not set to an instance of an object at PartModule.ApplyUpgradeNode (System.Collections.Generic.List`1 appliedUps, .ConfigNode node, Boolean doLoad) [0x00000] in <filename unknown>:0 at PartModule.Load (.ConfigNode node) [0x00000] in <filename unknown>:0 at Part.AddModule (.ConfigNode node, Boolean forceAwake) [0x00000] in <filename unknown>:0 at PartLoader.ParsePart (.UrlConfig urlConfig, .ConfigNode node) [0x00000] in <filename unknown>:0 at PartLoader+<CompileParts>c__Iterator1.MoveNext () [0x00000] in <filename unknown>:0 [ERR 20:17:26.704] PartCompiler: Cannot compile part [LOG 20:17:26.704] PartLoader: Compiling Part 'KerbetrotterLtd/FelineUtilityRover/Parts/Resources/ISRU/Lynx_ISRU' [LOG 20:17:26.757] enabling TSMD..model (UnityEngine.Transform) updateMode: False [ERR 20:17:26.757] Material doesn't have a texture property '_Emissive' [LOG 20:17:26.757] enabling TSMD..model (UnityEngine.Transform) updateMode: False [LOG 20:17:26.758] enabling TSMD..model (UnityEngine.Transform) updateMode: False [ERR 20:17:26.758] Material doesn't have a texture property '_Emissive' [LOG 20:17:26.758] enabling TSMD..model (UnityEngine.Transform) updateMode: False [LOG 20:17:26.758] enabling TSMD..model (UnityEngine.Transform) updateMode: False [LOG 20:17:26.758] enabling TSMD..model (UnityEngine.Transform) updateMode: False [LOG 20:17:26.758] enabling TSMD..model (UnityEngine.Transform) updateMode: False [LOG 20:17:26.759] enabling TSMD..model (UnityEngine.Transform) updateMode: False [LOG 20:17:26.801] PartLoader: Part 'KerbetrotterLtd/FelineUtilityRover/Parts/Resources/ISRU/Lynx_ISRU' has no database record. Creating. [LOG 20:17:26.815] DragCubeSystem: Creating drag cubes for part 'Lynx.ISRU' [EXC 20:17:26.835] NullReferenceException: Object reference not set to an instance of an object PartLoader.GetDatabaseConfig (.Part p) PartLoader.GetDatabaseConfig (.Part p, System.String nodeName) DragCubeSystem.LoadDragCubes (.Part p) Part+<Start>c__Iterator0.MoveNext () UnityEngine.SetupCoroutine.InvokeMoveNext (IEnumerator enumerator, IntPtr returnValueAddress) [EXC 20:17:26.880] NullReferenceException: Object reference not set to an instance of an object KerbetrotterTools.ModuleKerbetrotterMultiLight.updateLights (Single state) KerbetrotterTools.ModuleKerbetrotterMultiLight.Update () [EXC 20:17:26.923] NullReferenceException: Object reference not set to an instance of an object KerbetrotterTools.ModuleKerbetrotterMultiLight.updateLights (Single state) KerbetrotterTools.ModuleKerbetrotterMultiLight.Update () [EXC 20:17:26.944] NullReferenceException: Object reference not set to an instance of an object KerbetrotterTools.ModuleKerbetrotterMultiLight.updateLights (Single state) KerbetrotterTools.ModuleKerbetrotterMultiLight.Update () Edit: Debug build info. [EXC 21:02:30.412] NullReferenceException: Object reference not set to an instance of an object KerbetrotterTools.ModuleKerbetrotterMultiLight.updateLights (Single state) (at F:/Modding/ksp/Unowned/FelineUtilityRovers-master/FelineUtilityRovers/Sources/Plugin/KerbetrotterTools/Misc/Visual/ModuleKerbetrotterMultiLight.cs:147) KerbetrotterTools.ModuleKerbetrotterMultiLight.Update () (at F:/Modding/ksp/Unowned/FelineUtilityRovers-master/FelineUtilityRovers/Sources/Plugin/KerbetrotterTools/Misc/Visual/ModuleKerbetrotterMultiLight.cs:60) -------------- -- lightSettings is null for some reason private void updateLights(float state) { //when the active model changes if (oldModelNum != numModel) { for (int i = 0; i < lightSettings.Count; i++) { if (i == numModel) { ------------------- Edit2: Getting closer. [LOG 22:13:10.762] PartLoader: Compiling Part 'KerbetrotterLtd/FelineUtilityRover/Parts/Control/Cockpit/Lynx_Cockpit' [LOG 22:13:10.833] FailureModule.OnLoad [LOG 22:13:10.837] FailureModule.OnLoad [EXC 22:13:10.845] UnityException: get_dataPath is not allowed to be called from a MonoBehaviour constructor (or instance field initializer), call it in Awake or Start instead. Called from MonoBehaviour 'ModuleCrewIndicatorToggle' on game object 'K2Pod'. See "Script Serialization" page in the Unity Manual for further details. KSP.IO.IOUtils.get_PluginRootPath () KSP.IO.IOUtils.GetFilePathFor (System.Type T, System.String file, .Vessel flight) KSP.IO.PluginConfiguration.CreateForType[ModuleControllableEmissive] (.Vessel flight) IndicatorLights.Configuration..cctor ()
  3. I volunteer for stunt four. Downloading now. Edit: I can get most of it to build, but I'm not sure of the proper branch for the KSPAPI stuff, and that leads to a whole other can of worms. Also, the tweakscale project files appear to reference projects which I don't see on github.
  4. You probably need to download mono. Having said that, what you really want is Unity (and the proper version) https://unity3d.com/unity/whats-new/2019.2.2 Edit: the Unity install installs Unity tools for VS, which is what you want and need. You will still develop in VS, but unity install will give you the proper dev environment. See these two threads:
  5. I know you were a member of the press. I've read every word you've written over the last 24 hours. Since you were a member of the press you can certainly understand parody (a la Adam Schiff). Perhaps not. Anyone can read your posts. You told an author you had big plans, therefore you would make your own repo private. That one example smacks of everything I summed up in my parody. For all your greatness, your overwhelming tone-deafness just kills it for me. I bid you adieu, your highness.
  6. It's unfortunate you think I am lying. I can't provide quotes, but suffice to say your tone from the beginning has been more than holier than thou. Your intentions were good, your actions less so. And I read all your notes. Saw your checkins. It was not going well for you. If there was one thing I'd follow up on, it would be your linux comments and no one ever taking the time to ping. How many hundreds of arguments just like this exist in the usenet archives? Really? You want to claim that people just pick up old code and no one's feelings ever get hurt or, on the other hand, _extreme_ miscommunication? I will take that bet, right here, right now.
  7. Galileo summed up some of my thinking on this. The dev in question for scatterer has been working on it for literally years. It's not his job, and I'm sure there are plenty of lessons to be learned if he really wanted to rewrite it, but it works. I don't think he should have to log into the forums every day and say hi to ensure people know he is around. If you had literally pinged with an '@' like @R-T-B , then I'm sure he would have pinged you back within a week. I'm sure he is well aware that KSP is at 1.8, that Unity has been upgraded, and that he has 'work' to do. Also, had you pinged him, and given him maybe an hour, and then hosted a temporary working .dll I think things would have turned out differently. Then you 'fixed' a bug. That has been around for years. I chuckled. You tested it for 5 mins, declared it fixed, and released it. At this point, I think we're still good. Thanks for fixing the bug. However.... then you mentioned all the plans you had, and all the things you were going to do with the project, and that it had been abandoned and was now yours. At this point we have crossed a line or two. The number one being you didn't even ping the guy, or give him time to get off the toilet. Then, after that, you claimed several other projects as yours. I chuckled again. Not only did you take over a mod you had no ethical license to, you bit off more than you could chew. Scatterer itself was not release ready. Now, I have over 200 mods I run with. When updates come out I usually start with visual mods, or end with visual mods, due to the nature of chasing stuff around due to having to get all the configs just right. Scatterer is unique in more than one respect. What it adds is awesome, but of little functional value. What it can screw up vs. the reward... is just not worth it, especially when you start trying to symlink configs. The configs are hard enough to deal with as is, let alone adding symlinks. And this is before changing actual namespaces in the code. It's not so much that scatterer breaks things in and of itself, it's that then people start tinkering perfectly valid configs, and then the poo just starts rolling down the hill. Throw in a little module manager action and we end up with a pretty big turd. There are so many mods right now that need attention due to the nature of this update. Many of which truly do need some love. Just give someone a week to respond next time. Edit: I'm not trying to flame you. I saw your repository. Open up CKAN and look at all the cool excrements that is labeled somewhere between 1.0 and 1.4 and hasn't been updated in... forever. Look at said mods forum posts where people ask if it works and results are mixed. I would love to see your skillset used on some of those mods.
  8. My purple problem was particular to my person. Toolbar couldn't find the texture, but that was because I was running a directory deeper than normal, so no worries there. Everything appears to work with the icons now, with the code I checked in.
  9. Windows 10, Nvidia, Intel I do have some graphics wonkiness (in the toolbar right now, purple box) which I haven't looked at at least in terms of the image itself. Maybe I'll poke around since I have it open. Regardless, I think there is an issue in KSP 1.8. The KSP method I commented out just returned null, no matter what I did with the images. I have no idea what they're doing under the hood. Of course I'm not a graphics expert either. Having said that, I am curious about my purple button. Edit: I do remember the purple button was there before, and then 'fixed' somewhere along the line. Weird.
  10. @Steven Mading I've created a pull request to fix the loading of the DDS textures for 1.8 (and all other versions I presume). At least that part will work . P.S. Yes it was under my other pseudonym.
  11. Good to know. I'm still flying around in the atmosphere for this save, and my clouds are still there. So it didn't break anything I can see, which is all I care about for now. It will be a while before I get there. Does it play nice with Research Bodies?
  12. False alarm maybe. I may have already pruned/fixed whatever was causing my problems yesterday. I'll keep an eye out.
  13. I have the log spam. New install for 1.7, literally hundreds of mods. I will track it down for you or I will not play 1.7. And I will play 1.7.
×
×
  • Create New...