Git Product home page Git Product logo

illusionmoddingapi's People

Contributors

deathweasel1337 avatar gebo1 avatar idonthaveidea avatar jalil49 avatar jojorne avatar keelhauled avatar kokaiinum avatar manlymarco avatar mantas-2155x avatar orangespork avatar rikkibalboa avatar sauceke avatar starstormhun avatar takahiro0327 avatar thojmr avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

illusionmoddingapi's Issues

Character checkbox state not cleared

Recently updated to AIAPI version 1.10 and I have a problem with the character loading/saving activity.

If I follow these steps:

  1. Load star card uncheck character box. Save card = no star
  2. Load star card check character box. Save card = star
  3. Load star card uncheck character box. Save card = STAR <-----Here be the bug
    If I exit the editor and come back in, it is still in that state. Only way for me to get back to the unchecked character box = no star is to fully exit and re-enter the game.

I believe there is a variable or buffer that saves the state of the various settings designated by the checkboxes. If I load a character with all boxes checked, this populates all of the variables/buffers. If I then load another character and UNcheck one of the boxes (character data in my case) the buffer is not cleared and the data from the previous character is still in the buffer. The result is that the save from card 2 has the character data from card 1.

About the ui of SubCategories (AI)

When the scrollbar display, the MakerButton, MakerRadioButtons and maybe something else will be cut a little at the right side.
Also can MakerRadioButtons just show the buttons rather combine with the setting name like the original game?

[KK] GameAPI still not working in VR (?)

I still can't get OnStartH to get triggered by VR events. This fix doesn't seem to be patching the correct methods. I think AccessTools.Method needs to be given the type as well as the method name.

Also, VRHScene doesn't extend HSceneProc in KK, so I doubt the fix could be this easy. A lot of fields present in HSceneProc are missing from VRHScene, and some fields that they do share have different access levels. Don't see a trivial conversion from one to the other so that you could pass it to OnStartH with its current signature.

ReloadCustomInterface fires too early (KK)

Fired after character or coordinate is loaded in maker, after all controllers had their events fired. This event is only fired when inside the character maker. Use this to update values of custom controls. EventArgs can be either KKAPI.Chara.CharaReloadEventArgs or KKAPI.Chara.CoordinateEventArgs depending on why the reload happened.

From my understanding this event should fire once a coordinate is loaded, but running into an issue where I get an error because there are not enough accessory slots available when this fired.

"accessoryIndex has to be between 0 and AccessoriesApi.GetCvsAccessoryCount() - 1"

suggestion: adding a coroutine to check the CVS count and the expected count
idea

if (ReloadCustomInterface != null)
{
    WeakKeyDictionary<ChaFile, MoreAccessories.CharAdditionalData> _accessoriesByChar = (WeakKeyDictionary<ChaFile, MoreAccessories.CharAdditionalData>)Traverse.Create(MoreAccessories._self).Field("_accessoriesByChar").GetValue();
    if (_accessoriesByChar.TryGetValue(ChaFileControl, out MoreAccessories.CharAdditionalData data) == false)
    {
        data = new MoreAccessories.CharAdditionalData();
        _accessoriesByChar.Add(ChaFileControl, data);
    }
    int ACCData = 20+data.nowAccessories.Count;
    
    while (AccessoriesApi.GetCvsAccessoryCount() < ACCData)
    {
        yield return 0;
    }

    foreach (var handler in ReloadCustomInterface.GetInvocationList())
    {
        try
        {
            ((EventHandler)handler).Invoke(KoikatuAPI.Instance, args);
        }
        catch (Exception e)
        {
            KoikatuAPI.Logger.LogError(e);
        }
    }
}

Api conflictions causing white screen on start

I'm new to honey select two and I've come across an issue where I apparently need two conflicting modding APIs. In order to use the majority of mods for HS2 I need the HS2 API. However, for the almost necessary mod [Uncensor Selector] I apparently need the KK API and if I have two of them in the plugin file the game stops loading and produces an indefinite white screen on startup. How do I use both, or alternatively what else could be going wrong that I could fix.

HS2API crashes and meet white screen

After update api, I met crashes. The output.log may show where the bug occurs:"[Error :Null Checks] Swallowing exception to prevent game crash!
System.NullReferenceException: Object reference not set to an instance of an object
at KK_Plugins.InvisibleBody+Hooks.InitShapeFace (AIChara.ChaControl __instance) [0x00006] in <5c4443eac967498687303f21b6ae8da9>:0
at (wrapper dynamic-method) AIChara.ChaControl.DMDAIChara.ChaControl::InitShapeFace(AIChara.ChaControl,UnityEngine.Transform,string,string,string)
at AIChara.ChaControl+d__477.MoveNext () [0x00331] in :0
at IllusionFixes.NullChecks+<g__EatExceptionWrapper|5_0>d.MoveNext () [0x00019] in :0"

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.