Jump to content

[1.12.x] Smart Parts Continued


linuxgurugamer

Recommended Posts

  On 11/2/2016 at 6:47 PM, DStaal said:

I should note that my idea of 'extra range as an upgrade' I really mean less range: You start with fairly close, and upgrade to full 2km.

Expand  

Oh, that makes more sense.  But it wouldn't really need a new part, just additional range depending on the level of the tech tree.

I've added this to the issues on github

  On 11/2/2016 at 6:51 PM, Smart Parts Wanter said:

By the way here's an idea for a new part. Since we have CommNet now, there may be a part which gets triggered with the events of connecting or disconnecting from the server. As long as the vessel has enough energy of course.

Expand  

nice.  Added to issues on github.

Anyone up to making a part for this?

 

Edited by linuxgurugamer
Link to comment
Share on other sites

  • 4 weeks later...

yeah looks like the textures are actually materials in the model? you could clear all that out and use fstextureswitch or something similiar? 

 

so you are designing and testing the action groups and then trying to assign a controller to them right? i try to keep things really simple tank drains to 15percent stage using action group 4

Link to comment
Share on other sites

  On 11/2/2016 at 7:10 PM, linuxgurugamer said:

Anyone up to making a part for this?

Expand  

I can throw something together this evening, a discrete part in keeping with the others of this mod if you like? Although I suspect it would greatly from having a controllable emissive (think IndicatorLights, but tied into whatever code is required to show the part is connected/disconnected from the server).

Link to comment
Share on other sites

  On 11/29/2016 at 2:42 PM, steedcrugeon said:

I can throw something together this evening, a discrete part in keeping with the others of this mod if you like? Although I suspect it would greatly from having a controllable emissive (think IndicatorLights, but tied into whatever code is required to show the part is connected/disconnected from the server).

Expand  

That would be great.  Emissives are good too, just get me the model and textures, and tell me what the name of the emissive is.

Link to comment
Share on other sites

  On 11/29/2016 at 2:06 PM, linuxgurugamer said:
  On 11/29/2016 at 1:46 PM, santiagokof said:

 

Someone else is having difficulties using this mod with agm? In my case the group actions are not activated

Expand  

AGM?  Please post a log file

Expand  

And can you please be a little more specific?  For example, can you select an action group with the part and it isn't being activated?

 

Link to comment
Share on other sites

  On 11/29/2016 at 8:36 PM, linuxgurugamer said:

And can you please be a little more specific?  For example, can you select an action group with the part and it isn't being activated?

 

Expand  

 

  On 12/1/2016 at 2:18 PM, linuxgurugamer said:

I just tested the latest build with AGM, it looks fine.

Expand  

2lxjqbq.jpg

latest ver of agm and sp.

Link to comment
Share on other sites

  On 12/3/2016 at 10:54 PM, santiagokof said:
Expand  

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()

 

Link to comment
Share on other sites

  On 12/3/2016 at 11:21 PM, linuxgurugamer said:

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()

 

Thanks for the answer, although I do not know how to solve this problem. I'll have to stop using the mod until I know what to do with this. Thank you again.

Expand  

 

Link to comment
Share on other sites

  On 12/3/2016 at 11:21 PM, linuxgurugamer said:

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()

 

Thanks for the answer, although I do not know how to solve this problem. I'll have to stop using the mod until I know what to do with this. Thank you again.

Expand  

the fix for that problem, i leave it here for other people with the same prob.

 

Link to comment
Share on other sites

 

I leave you an idea for a possible optimization of the mod.

 

*Would it be possible to change the button transmit by one that opens a pop up with the list of actions groups available in the other vessel? Could, if the AGM is installed, retrieve the tags assigned to each AG?

*As a consistent idea, it would be great if sending and / or receiving a signal displayed a "Received, Running X Task" and "Incoming Transmission, Running X Task" onscreen legend. It would look great lol.

Link to comment
Share on other sites

  On 12/7/2016 at 4:40 AM, santiagokof said:

 

I leave you an idea for a possible optimization of the mod.

 

*Would it be possible to change the button transmit by one that opens a pop up with the list of actions groups available in the other vessel? Could, if the AGM is installed, retrieve the tags assigned to each AG?

*As a consistent idea, it would be great if sending and / or receiving a signal displayed a "Received, Running X Task" and "Incoming Transmission, Running X Task" onscreen legend. It would look great lol.

Expand  

That's not an optimization, it's a pretty sizable addition.

Link to comment
Share on other sites

  On 12/7/2016 at 9:54 PM, santiagokof said:

and very nice one xD

 

Think about it, That's worth it.

Expand  

Worth it for who?  Right now, not for me, since I have to code and test it.  Dealing with ships which aren't the active ship is a real PITA, and for now, I'll pass.

Maybe later, but not now.  Especially since I need to verify that all my mods still work in 1.2.2

Link to comment
Share on other sites

  On 12/7/2016 at 10:26 PM, linuxgurugamer said:

Worth it for who?  Right now, not for me, since I have to code and test it.  Dealing with ships which aren't the active ship is a real PITA, and for now, I'll pass.

Maybe later, but not now.  Especially since I need to verify that all my mods still work in 1.2.2

Expand  

 

It's true, I was selfish from that point of view. I hope to see more great things about you in the game. Fight!

Link to comment
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...