Coder Social home page Coder Social logo

Comments (4)

NathanKell avatar NathanKell commented on July 29, 2024

Output log from after right clicking?

Sent by my thumbs, slowly.
On Jul 16, 2014 12:27 AM, "Paul Fenwick" [email protected] wrote:

This may have nothing to do with RO.

I've managed to get a MOL Science lab (FASAGeminiMOLSci) into orbit. But
not only does it have no right-click menu, but right-clicking on it seems
to then remove my ability to right-click on anything unless I change scenes
to the space centre and back.

I know it's supposed to act as a mobile processing lab, but with a
buggy right-click menu that's not working too well. I can't spot anything
in RO that might cause this, but thought I should check first before I go
hunting down how to submit FASA bug reports.

(Possible cause could be that it contains two ModuleScienceContainers,
or this could be something completely different instead!)

Many thanks,

~ pjf


Reply to this email directly or view it on GitHub
https://github.com/NathanKell/RealismOverhaul/issues/19.

from realismoverhaul.

pjf avatar pjf commented on July 29, 2024

I really should know to include such things by now. Alas, the exception isn't obviously from any mod at all:

NullReferenceException: Object reference not set to an instance of an object
  at ModuleScienceLab.updateModuleUI () [0x00000] in <filename unknown>:0 
  at ModuleScienceLab.onPartActionUI (.Part p) [0x00000] in <filename unknown>:0 
  at EventData`1[Part].Fire (.Part data) [0x00000] in <filename unknown>:0 
  at UIPartActionWindow.CreatePartList () [0x00000] in <filename unknown>:0 
  at UIPartActionWindow.Setup (.Part part, DisplayType type, UI_Scene scene) [0x00000] in <filename unknown>:0 
  at UIPartActionController.CreatePartUI (.Part part, DisplayType type, UI_Scene scene) [0x00000] in <filename unknown>:0 
  at UIPartActionController.SelectPart (.Part part, Boolean allowMultiple) [0x00000] in <filename unknown>:0 
  at UIPartActionController.HandleMouseClick (UnityEngine.Camera cam, Boolean allowMultiple) [0x00000] in <filename unknown>:0 
  at UIPartActionController+    .MoveNext () [0x00000] in <filename unknown>:0 
UnityEngine.MonoBehaviour:StartCoroutine_Auto(IEnumerator)
UnityEngine.MonoBehaviour:StartCoroutine(IEnumerator)
UIPartActionController:TrySelect(Camera, Boolean)
UIPartActionController:UpdateFlight()
UIPartActionController:Update()

(Filename:  Line: 4294967295)

Likewise I can try removing the second science container to see if that changes anything.

Mainly I was here in case there was an "oh yeah!" moment, because that seems to be 80% likely whenever I report a bug here. :D

~ pjf

from realismoverhaul.

NathanKell avatar NathanKell commented on July 29, 2024

Ok, toss the ModuleScienceLab from it (write an MM patch that does !MODULE[that]:FINAL {} ) and name it ztest.cfg and put it in a folder called ztest in GameData. That should run after everything else. If there's still a ScienceLab on it ingame, then two were added and that was the bug; if not, then there's some interaction.

from realismoverhaul.

pjf avatar pjf commented on July 29, 2024

Huzzah! It's a bug in FASA! ModuleScienceLab has a containerModuleIndex = 0 line in it, but the first module is not a ScienceContainer, and so the whole thing dies.

Rearranging the modules in Gemini_MOL_Sci.cfg so the first one is a science container fixes this.

Closing this bug and reporting on the FASA thread. :)

from realismoverhaul.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.