Jump to content

linuxgurugamer

Bug Hunter
  • Posts

    24,937
  • Joined

  • Last visited

Everything posted by linuxgurugamer

  1. That shouldn't be, if it's the wrong version, EEXR will just not do anything. Do you have anything else installed?
  2. That's not an optimization, it's a pretty sizable addition.
  3. The after is only for after a mod, final, while not recommended, is at the end
  4. Try this: @PART:HAS[@MODULE[ModuleEngines]]:FINAL { MODULE { name = SensiblePumps } }
  5. In the meantime, why don't you see if adding the AFTER would solve the problem?
  6. ok. I hope to be able to look at this in the next few days, in the middle of a major push at work and working on a large addition to an existing mod right now
  7. for testing purposes, can you be a bit more specific regarding the stock engines? ie: which engines it doesn't work?
  8. So if this is just a continuation of the Science Funding mod, why not keep the name?
  9. You don't need to use it. Most active mod makers do care, and respond. In this case, Ven is moving on, and isn't that active any more. Your attitude is the type which makes mod makers lose interest and move on. And following up to your last post, not everyone uses or knows about github.
  10. KW is due for a massive update soon, which will solve a lot of that. Please list the mods that you know of, and i'll look at the configs
  11. Update the first post I'm pretty sure the IVA is initially hard-coded, which is why it can't be fixed in a more permanent manner
  12. @RealGecko I'm looking into a CKAn problem. Does Simpleconstructionconflict with EPL, or should the full EPL be installed, overriding the EPL dlls you include?
  13. Just opened a new issue on github: https://github.com/ChrisAdderley/MkIVSystem/issues/27 Apparently on this part, at least one of the attachnodes has a size which comes back as -1, which was causing an exception in The Janitor's Closet. The number seems wrong, it shouldn't be negative.
  14. So I got the answer finally, at least for the GUI elements. The following is getting me the correct information: camera = UIMasterController.Instance.appCanvas.worldCamera; Vector3 screenPos = camera.WorldToScreenPoint(button.transform.position);
  15. Looked promising, but no go. So, I use the following code to get the correct camera: Camera cam; if (HighLogic.LoadedSceneIsEditor) cam = EditorLogic.fetch.editorCamera; else if (HighLogic.LoadedSceneIsFlight) cam = FlightCamera.fetch.mainCamera; else cam = Camera.main; and then this: Vector3 screenPos = camera.WorldToScreenPoint(button.transform.position); Debug.Log("target location is " + screenPos.x.ToString() + ", " + screenPos.y.ToString()); var mouse = Input.mousePosition; Debug.Log("mouse position: " + mouse.x.ToString() + ", " + mouse.y.ToString() + ", " + mouse.z.ToString()); button is set when I add the button to the app toolbar. and the values I get are nowhere near what the mouse position is: mouse position: 1477, 25, 0 location is 313.2482, -684.1502 The mouse is on top of the button when I click it, and at that moment I get the coordinates
  16. I need to get the on-screen x,y coordinates of an object. Right now it's a toolbar button, but later other stuff. So for now, talking about ApplicationLauncherButton, I get the button when it's clicked. But so far, I haven't been able to find anything (transforms, etc) which are remotely close to what the onscreen location is. I know the approximate onscreen location from the mouse, I can get the mouse location using Input.mousePosition, and the Vector3 which is returned gives the x,y location. I've tried using the following, with no success: button.sprite.transform.position button.position button.GetAnchor() button.GetAnchorTopRight() button.GetAnchorUL() button.GetAnchorUR() button.transform.position doesn't give anything close. Suggestions?
  17. You need to contact the AGX author, since that is where the exceptions are.
  18. Well, thanks for the log file. I wonder, did you look at it? Lots and lots of exceptions, in almost everything you have except Smart Parts. Very specifically, your AGX problem is probably related to the following error: NullReferenceException: Object reference not set to an instance of an object at ActionGroupsExtended.AGXOtherVessel.LoadGuiNames (System.String loadNames) [0x00000] in <filename unknown>:0 at ActionGroupsExtended.AGXOtherVessel..ctor (UInt32 FlightID) [0x00000] in <filename unknown>:0 at ActionGroupsExtended.AGExtExternal.AGX2VslToggleGroup (UInt32 FlightID, Int32 group) [0x00000] in <filename unknown>:0 at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (object,object[],System.Exception&) at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in <filename unknown>:0 Rethrow as TargetInvocationException: Exception has been thrown by the target of an invocation. at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in <filename unknown>:0 at System.MonoType.InvokeMember (System.String name, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object target, System.Object[] args, System.Reflection.ParameterModifier[] modifiers, System.Globalization.CultureInfo culture, System.String[] namedParameters) [0x00000] in <filename unknown>:0 at System.Type.InvokeMember (System.String name, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object target, System.Object[] args) [0x00000] in <filename unknown>:0 at Lib.AGXInterface.AGX2VslToggleGroup (UInt32 FlightID, Int32 group) [0x00000] in <filename unknown>:0 at Lib.Helper.fireEvent (.Part p, Int32 eventID, Int32 AGXgroup) [0x00000] in <filename unknown>:0 at Lib.RadioControl.receiveCommand (Lib.RadioControl sender, Int32 group, Int32 transmitChannel, Int32 agxGroup) [0x00000] in <filename unknown>:0 at Lib.RadioControl.transmitCommand (Single groupID, Single agxGroupNumB) [0x00000] in <filename unknown>:0 at Lib.RadioControl.transmit_GUI () [0x00000] in <filename unknown>:0 at BaseEvent.Invoke () [0x00000] in <filename unknown>:0 at UIPartActionButton.OnClick () [0x00000] in <filename unknown>:0 at UnityEngine.Events.InvokableCall.Invoke (System.Object[] args) [0x00000] in <filename unknown>:0 at UnityEngine.Events.InvokableCallList.Invoke (System.Object[] parameters) [0x00000] in <filename unknown>:0 at UnityEngine.Events.UnityEventBase.Invoke (System.Object[] parameters) [0x00000] in <filename unknown>:0 at UnityEngine.Events.UnityEvent.Invoke () [0x00000] in <filename unknown>:0 at UnityEngine.UI.Button.Press () [0x00000] in <filename unknown>:0 at UnityEngine.UI.Button.OnPointerClick (UnityEngine.EventSystems.PointerEventData eventData) [0x00000] in <filename unknown>:0 at UnityEngine.EventSystems.ExecuteEvents.Execute (IPointerClickHandler handler, UnityEngine.EventSystems.BaseEventData eventData) [0x00000] in <filename unknown>:0 at UnityEngine.EventSystems.ExecuteEvents.Execute[IPointerClickHandler] (UnityEngine.GameObject target, UnityEngine.EventSystems.BaseEventData eventData, UnityEngine.EventSystems.EventFunction`1 functor) [0x00000] in <filename unknown>:0 UnityEngine.DebugLogHandler:Internal_LogException(Exception, Object) UnityEngine.DebugLogHandler:LogException(Exception, Object) UnityEngine.Logger:LogException(Exception, Object) UnityEngine.Debug:LogException(Exception) UnityEngine.EventSystems.ExecuteEvents:Execute(GameObject, BaseEventData, EventFunction`1) UnityEngine.EventSystems.StandaloneInputModule:ProcessMousePress(MouseButtonEventData) UnityEngine.EventSystems.StandaloneInputModule:ProcessMouseEvent(Int32) UnityEngine.EventSystems.StandaloneInputModule:ProcessMouseEvent() UnityEngine.EventSystems.StandaloneInputModule:Process() UnityEngine.EventSystems.EventSystem:Update()
  19. Wow, that's a really nice picture. Totally useless! I need a log file, which you STILL haven't posted.
×
×
  • Create New...