Giter Club home page Giter Club logo

quickmods's People

Contributors

frankieorabona avatar hebarusan avatar linuxgurugamer avatar malahx avatar pap1723 avatar tivec avatar yalov avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

quickmods's Issues

ArgumentOutOfRangeException: Cannot be negative.

Quick Tools dont show up.
Kerbal Space Program - 1.2.1.1604 (WindowsPlayer x64)

Full Log: https://mega.nz/#!jhsTBKrb!Vkowwk86FrACfxcDHg8edeLsSgdZkGtZZ0Io5IRbhVc

ArgumentOutOfRangeException: Cannot be negative.
Parameter name: length
at System.String.Substring (Int32 startIndex, Int32 length) [0x00000] in :0
at QuickExit.QuickExit.get_relativePath () [0x00000] in :0
at QuickExit.QBlizzyToolbar..ctor () [0x00000] in :0
at QuickExit.QExit.Awake () [0x00000] in :0
UnityEngine.GameObject:Internal_AddComponentWithType(Type)
UnityEngine.GameObject:AddComponent(Type)
AddonLoader:StartAddon(LoadedAssembly, Type, KSPAddon, Startup)
AddonLoader:StartAddons(Startup)
AddonLoader:OnLevelLoaded(Int32)
AddonLoader:OnSceneLoaded(Scene, LoadSceneMode)
UnityEngine.SceneManagement.SceneManager:Internal_SceneLoaded(Scene, LoadSceneMode)

(Filename: Line: -1)

[AddonLoader]: Instantiating addon 'QGoTo' from assembly 'QuickGoTo'

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

ArgumentOutOfRangeException: Cannot be negative.
Parameter name: length
at System.String.Substring (Int32 startIndex, Int32 length) [0x00000] in :0
at QuickGoTo.QuickGoTo.get_relativePath () [0x00000] in :0
at QuickGoTo.QGoTo..ctor () [0x00000] in :0
UnityEngine.GameObject:Internal_AddComponentWithType(Type)
UnityEngine.GameObject:AddComponent(Type)
AddonLoader:StartAddon(LoadedAssembly, Type, KSPAddon, Startup)
AddonLoader:StartAddons(Startup)
AddonLoader:OnLevelLoaded(Int32)
AddonLoader:OnSceneLoaded(Scene, LoadSceneMode)
UnityEngine.SceneManagement.SceneManager:Internal_SceneLoaded(Scene, LoadSceneMode)

(Filename: Line: -1)

#QuickSearch is slow with heavy moded game

QuickSearch needs 5 to 10 seconds until search term input appears.

Maybe this can be speed up by waiting for the input and press of a search button or some type of caching?

#QuickMute instanced multitime

[LOG 11:38:18.350] [AddonLoader]: Instantiating addon 'QuickMute' from assembly 'QuickMute'
[LOG 11:38:18.354] QuickMute(QSettings)[1.20]: Settings Loaded
[LOG 11:38:18.355] QuickMute(QuickMute)[1.20]: Awake
[LOG 11:38:18.356] [AddonLoader]: Instantiating addon 'QKey' from assembly 'QuickMute'
[LOG 11:38:18.358] QuickMute(QuickMute)[1.20]: Awake
[LOG 11:38:18.359] [AddonLoader]: Instantiating addon 'QLang' from assembly 'QuickMute'
[LOG 11:38:18.360] QuickMute(QuickMute)[1.20]: Awake

#QuickHide can't pin [x] Science! buttons

[x] Science! use two buttons and it seems that QuickHide only see one which can't pin the stock toolbar.

Mod link: http://forum.kerbalspaceprogram.com/index.php?/topic/107661-k

How it adds applauncherbuttons:

Mod link: http://forum.kerbalspaceprogram.com/index.php?/topic/107661-k

How it adds applauncherbuttons:

  1. Event onGUIApplicationLauncherReady: https://github.com/thewebbooth/KSP-X-Science/blob/f24dce900621c8c4cd89fa9a91bc312edff700d3/X-Science/ScienceChecklistAddon.cs
    Load -> InitButtons -> AddButtons

  2. Object UnifiedButton: https://github.com/thewebbooth/KSP-X-Science/blob/master/X-Science/Buttons/UnifiedButton.cs
    Add -> InitializeButton

  3. Object AppLauncherButton: https://github.com/thewebbooth/KSP-X-Science/blob/master/X-Science/Buttons/AppLauncherButton.cs
    Add

Update to KSP 1.2.9

I've updated many mods without test, if it works, you can tell me ;)

QuickMute and QuickSearch have features in progress.
QuickExit needs a little work on dialog.

Correct the Lock GUI function

On many QuickMods, the Lock GUI function do nothing.

  • QuickBrake
  • QuickContracts
  • QuickCursorHider
  • QuickExit
  • QuickFineControl
  • QuickGoTo
  • QuickHide
  • QuickIVA
  • QuickMute
  • QuickRevert
  • QuickSAS
  • QuickSearch

#QuickGoTo errors with the Unity smoke style

`NullReferenceException: Object reference not set to an instance of an object
at UnityEngine.GUILayoutEntry.ApplyStyleSettings (UnityEngine.GUIStyle style) [0x00000] in :0
at UnityEngine.GUILayoutGroup.ApplyStyleSettings (UnityEngine.GUIStyle style) [0x00000] in :0
at UnityEngine.GUILayoutEntry.set_style (UnityEngine.GUIStyle value) [0x00000] in :0
at UnityEngine.GUILayoutUtility.BeginWindow (Int32 windowID, UnityEngine.GUIStyle style, UnityEngine.GUILayoutOption[] options) [0x00000] in :0
at UnityEngine.GUI.CallWindowDelegate (UnityEngine.WindowFunction func, Int32 id, UnityEngine.GUISkin _skin, Int32 forceRect, Single width, Single height, UnityEngine.GUIStyle style) [0x00000] in :0

(Filename: Line: -1)

ArgumentException: Getting control 0's position in a group with only 0 controls when doing Repaint
Aborting
at UnityEngine.GUILayoutGroup.GetNext () [0x00000] in :0
at UnityEngine.GUILayoutUtility.BeginLayoutGroup (UnityEngine.GUIStyle style, UnityEngine.GUILayoutOption[] options, System.Type layoutType) [0x00000] in :0
at UnityEngine.GUILayout.BeginVertical (UnityEngine.GUIContent content, UnityEngine.GUIStyle style, UnityEngine.GUILayoutOption[] options) [0x00000] in :0
at UnityEngine.GUILayout.BeginVertical (UnityEngine.GUILayoutOption[] options) [0x00000] in :0
at QuickGoTo.QGoTo.DrawGoTo (Int32 id) [0x00000] in :0
at UnityEngine.GUILayout+LayoutedWindow.DoWindow (Int32 windowID) [0x00000] in :0
at UnityEngine.GUI.CallWindowDelegate (UnityEngine.WindowFunction func, Int32 id, UnityEngine.GUISkin _skin, Int32 forceRect, Single width, Single height, UnityEngine.GUIStyle style) [0x00000] in :0`

#QuickIVA NullReferenceException

QuickIVA(QStockToolbar)[1.21]: Destroy

NullReferenceException: Object reference not set to an instance of an object
at QuickIVA.QIVA.VesselHasCrewAlive (.Vessel vessel, .Kerbal& first, System.Boolean& crewAreLoaded) [0x00000] in :0
at QuickIVA.QIVA+c__Iterator2.MoveNext () [0x00000] in :0
at UnityEngine.SetupCoroutine.InvokeMoveNext (IEnumerator enumerator, IntPtr returnValueAddress) [0x00000] in :0

Line 41208

output_log.txt

#QuickHide hide not all [x] Science! buttons

[x] Science! use two buttons and it seems that QuickHide only see one which made issue with hide mods button

Mod link: http://forum.kerbalspaceprogram.com/index.php?/topic/107661-k

How it adds applauncherbuttons:

  1. Event onGUIApplicationLauncherReady: https://github.com/thewebbooth/KSP-X-Science/blob/f24dce900621c8c4cd89fa9a91bc312edff700d3/X-Science/ScienceChecklistAddon.cs
    Load -> InitButtons -> AddButtons

  2. Object UnifiedButton: https://github.com/thewebbooth/KSP-X-Science/blob/master/X-Science/Buttons/UnifiedButton.cs
    Add -> InitializeButton

  3. Object AppLauncherButton: https://github.com/thewebbooth/KSP-X-Science/blob/master/X-Science/Buttons/AppLauncherButton.cs
    Add

QuickBrake - NotSupportedException on GUI show

Environment: Win10 x86-64, KSP 1.2.0.1586

I wrote several pages with researched links, code samples, etc last night - GitHub 500'd every time I tried to post it, looks like they had a little hiccup according to the status site. Apologies for how slapdash this might seem - The AssemblyLoader class in Unity libraries is trying to use Reflection on a dynamic assembly, which is resulting in a NotSupportedException

I am working on a fix, didn't want to PR anything until I understood all angles of the issue. So far I am changing ToolbarWrapper.getType to be safer about the way it tries to use reflection features.

Do a find for QuickBrake through this logfile to see the progression: KSP.log.gz

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.