Jump to content

[Minimum KSP version 1.11] Easy Vessel Switch (EVS) v2.3


IgorZ

Recommended Posts

  On 5/7/2017 at 10:04 PM, IgorZ said:

I need more details. How exactly does it stop working? Does it start work if you exit to the main menu and then load the game back? Or you need to restart the game application to have the EVS working? Also, I need the logs right after the problem happen (KSP.log file from the game's folder root).

Expand  

I'm unable to use EVS, like the option isn't there anymore until i restart the game. I can provide you the logs, but I will need to encounter the problem again =)

Link to comment
Share on other sites

  On 5/8/2017 at 6:47 PM, Thertor said:

I'm unable to use EVS, like the option isn't there anymore until i restart the game. I can provide you the logs, but I will need to encounter the problem again =)

Expand  

Btw, what machine and OS do you use? Laptops and iOS are known to have issues with the ALT key, and it's on the Unity level - EVS cannot fix it. If you have this issue too frequently try rebinding EVS modifier to something different from the ALT key.

Link to comment
Share on other sites

  On 5/8/2017 at 7:38 PM, IgorZ said:

Btw, what machine and OS do you use? Laptops and iOS are known to have issues with the ALT key, and it's on the Unity level - EVS cannot fix it. If you have this issue too frequently try rebinding EVS modifier to something different from the ALT key.

Expand  

I have a custom built pc running Windows 10, might be the keyboard as I have had some minor issues with the ALT-key before.

Link to comment
Share on other sites

There is a minor (almost microscopic :wink: ) annoyance that I have with EVS:

When I alt-tab out of the game, then I go back into the game, EVS acts as if I am holding down the Alt-Key (highliting vessels under the mouse, showing vessel info), when I am not. The workaround is to just tap they Alt key.

This is super low priority obviously, but I was wondering if it could be fixed if it were a fairly simple thing?

Link to comment
Share on other sites

  On 5/15/2017 at 1:50 PM, Kobymaru said:

There is a minor (almost microscopic :wink: ) annoyance that I have with EVS:

When I alt-tab out of the game, then I go back into the game, EVS acts as if I am holding down the Alt-Key (highliting vessels under the mouse, showing vessel info), when I am not. The workaround is to just tap they Alt key.

This is super low priority obviously, but I was wondering if it could be fixed if it were a fairly simple thing?

Expand  

How to reproduce it? In all the scenarios that came into my mind I end up in the game with the ALT pressed, and EVS works fine on the key release.

However, I managed to catch the opposite scenario: switch from the game with Alt+Tab and then return back by just clicking the app in the taskbar. In this use case I return back into the game with the ALT released but EVS keeps thinking that the modifier is pressed. That's indeed a bug.

Link to comment
Share on other sites

  On 5/15/2017 at 6:44 PM, IgorZ said:

How to reproduce it? In all the scenarios that came into my mind I end up in the game with the ALT pressed, and EVS works fine on the key release.

However, I managed to catch the opposite scenario: switch from the game with Alt+Tab and then return back by just clicking the app in the taskbar. In this use case I return back into the game with the ALT released but EVS keeps thinking that the modifier is pressed. That's indeed a bug.

Expand  

This is how I can reproduce it:

  1. Press Alt-Tab, you are now in Windows Desktop
  2. Press Alt-Tab until KSP is selected or KSP is selected in the task bar
  3. Observe that the mouse behaves as if Alt was still held down (displays "currently selected" with the ship info)

Thanks for opening the bug but don't sweat it, it's very low priority due to the simple workaround :wink:

Link to comment
Share on other sites

  On 5/15/2017 at 7:50 PM, Kobymaru said:

This is how I can reproduce it:

  1. Press Alt-Tab, you are now in Windows Desktop
  2. Press Alt-Tab until KSP is selected or KSP is selected in the task bar
  3. Observe that the mouse behaves as if Alt was still held down (displays "currently selected" with the ship info)

Thanks for opening the bug but don't sweat it, it's very low priority due to the simple workaround :wink:

Expand  

That isn't EVS's fault.  Try the same thing in the VAB with no mods and you'll see the same behavior - it acts as if Alt is still pressed.

Link to comment
Share on other sites

  On 5/23/2017 at 7:32 AM, hab136 said:

That isn't EVS's fault.  Try the same thing in the VAB with no mods and you'll see the same behavior - it acts as if Alt is still pressed.

Expand  

It's a Unity issue. To be more specific, they don't detect the context switch when handling the Input.GetKeyUp() event. However, it can be mitigated by a workaround. I'll release a fix within a week or two (it's a core library fix, there are other changes pending).

Link to comment
Share on other sites

  On 5/26/2017 at 7:39 AM, maja said:

Just heads up. There is a wrong link on the GitHub page in the text " This is not a mod release. In order to install the mod into your game, read the instructions on the forum. ". This link leads to your surface mounted lights.

Expand  

Good catch, thanks! I've fixed it.

Link to comment
Share on other sites

  On 5/26/2017 at 8:08 AM, Murdabenne said:

Is this backward compatible with KSP ver 1.2.2? I ask because I'm staying with that KSP until all my "vital" mods update 

Expand  

As far as I can tell you can freely use EVS 1.2.* in the both versions. The only thing that will be bothering you is a MiniAVC warning, but you can just disable it in the XML. However, I didn't do a thorough testing, so not guarantee.

Link to comment
Share on other sites

Hi I have some trouble with your Mod.

So I'm using KSP 1.2.2.1622 (because other mods I'm using aren't compatible with 1.3) and I'm using you're 1.2.0 version of the mod (not the 1.2.0.0) because when I use this version the mod don't work/isn't recognized by the game. And very often the game crashes and I receive this log right before it crashed all the time:

  Quote

(Filename: C:/buildslave/unity/build/artifacts/generated/common/runtime/UnityEngineDebugBindings.gen.cpp Line: 42)

UnloadTime: 35.969543 ms
[AddonLoader]: Instantiating addon 'UISoundPlayer' from assembly 'KSPDev_Utils.0.19.0'
 
(Filename: C:/buildslave/unity/build/artifacts/generated/common/runtime/UnityEngineDebugBindings.gen.cpp Line: 42)

[UIMasterController]: HideUI
 
(Filename: C:/buildslave/unity/build/artifacts/generated/common/runtime/UnityEngineDebugBindings.gen.cpp Line: 42)

Crash!!!

Expand  

And the 'KSPDev_Utils.0.19.0' is a .dll from your mod so I wanted to know if I (or you) can fix it so it won't crash anymore

Link to comment
Share on other sites

  On 6/2/2017 at 1:13 PM, maxdergottlicher said:

Hi I have some trouble with your Mod.

So I'm using KSP 1.2.2.1622 (because other mods I'm using aren't compatible with 1.3) and I'm using you're 1.2.0 version of the mod (not the 1.2.0.0) because when I use this version the mod don't work/isn't recognized by the game. And very often the game crashes and I receive this log right before it crashed all the time:

And the 'KSPDev_Utils.0.19.0' is a .dll from your mod so I wanted to know if I (or you) can fix it so it won't crash anymore

Expand  

When the crash happens some logs data gets lost due to the file caching. I.e. what you see as the last record can be not actually the last record. EVS 1.2 was never crashing the game before, and I don't believe it could start doing it with no reason. Try removing all the other mods and see if the situation changes. At the very least check the versions of KIS and KAS and ensure that they are of the previous versions that are compatible with KSP 1.2. There was an issue with CKAN which resulted in installing new version over an old KSP game.

Link to comment
Share on other sites

  On 6/2/2017 at 6:11 PM, IgorZ said:

When the crash happens some logs data gets lost due to the file caching. I.e. what you see as the last record can be not actually the last record. EVS 1.2 was never crashing the game before, and I don't believe it could start doing it with no reason. Try removing all the other mods and see if the situation changes. At the very least check the versions of KIS and KAS and ensure that they are of the previous versions that are compatible with KSP 1.2. There was an issue with CKAN which resulted in installing new version over an old KSP game.

Expand  

I haven't KIS or KAS installed should I install the mods?

Link to comment
Share on other sites

  On 6/2/2017 at 6:23 PM, maxdergottlicher said:

I haven't KIS or KAS installed should I install the mods?

Expand  

If you don't have them then don't bother. Just try to run EVS on a pristine game setup. If it crashes again, please, provide the logs from KSP.log file (it lives in the game's root folder).

Link to comment
Share on other sites

  On 6/4/2017 at 8:01 AM, IgorZ said:

Can you, please, grab the KSP.log file for this issue?

Expand  

I was going to ask if it was not included in the crash dump. But I looked in my folders and found KSP.log and realized that it is very different from the log file that is in the crash dump. Unfortunately I did not keep that installation. I only saved the crash dump and then deleted the whole installation. I did not know about KSP.log until now. :(

But no worries, I can go ahead and reproduce once more.

Edit: Here you go!

Edited by canisin
Link to comment
Share on other sites

I confirm RcsSound-EasyVesselSwitch compability bug.

My ksp.log

  Reveal hidden contents

 

Link to comment
Share on other sites

In fact, I was able to crash the game without EVS:

  1. Make a simple craft with RCS thrusters (e.g. RV-105).
  2. Deploy it on the launch pad.
  3. Hover mouse over the thruster part.
  4. Crash!

It seems RcsSounds does something really wrong to the part renderers, and when the part's highlighter tries to start the game crashes. EVS triggers this issue only because it highlights the whole vessel on a scene load (i.e. the broken highlighter kicks in immediately on load). That said, this issue is not EVS related.

Edited by IgorZ
Link to comment
Share on other sites

  On 6/4/2017 at 9:53 PM, IgorZ said:

Did you, guys, try using these two mods together in KSP 1.2? Were they working?

Expand  

I used both RCSSound and EVS in my earlier KSP1.1.* builds, but not in KSP1.2.* so I did not know... :blush:

  On 6/4/2017 at 10:43 PM, IgorZ said:

It seems RcsSounds does something really wrong to the part renderers, and when the part's highlighter tries to start the game crashes. EVS triggers this issue only because it highlights the whole vessel on a scene load (i.e. the broken highlighter kicks in immediately on load). That said, this issue is not EVS related.

Expand  

Yeah. RCS Sound is pleasant but EVS is essential, so it was a pretty easy choise what needs to be deleted :)

Edited by ZobrAA
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...