ralian / eai

Enfusion Artifical Intelligence for DayZ and future Bohemia Interactive games.
Apache License 2.0
68 stars 27 forks source link

Radial Menu Not Working with 1.15 #26

Open Whatsacode opened 2 years ago

Whatsacode commented 2 years ago

Each time while accessing Debug Radial Menu using "T" after setting as Admin.

SCRIPT : eAI: Debug menu request SCRIPT : Access granted to 76561197960816921 (MattLovesGamez) SCRIPT : eAI: Debug menu request SCRIPT : Access granted to 76561197960816921 (MattLovesGamez) SCRIPT : eAI: Debug menu request SCRIPT : Access granted to 76561197960816921 (MattLovesGamez)

B-Dholyspirit commented 2 years ago

Debug Radial Menu doesn't show on my ExpansionnHard.namalsk and I am set as Admin inside SC/eAI/eAIadmins.json

Kazna22 commented 2 years ago

Also 1.15 and have: SCRIPT : eAI: Debug menu request SCRIPT : Access granted to 76561197960XXXXX Maybe is any solution?

stephanepapin commented 2 years ago

Same here, my config files in attachment AI_init.c.txt eAIAdmins.json.txt eAISettings.json.txt init.c.txt

Mindgames21 commented 2 years ago

Same.

aventum commented 2 years ago

Same issue here

ev1lbunny commented 2 years ago

its looking like its changes that bohemia made to the gfx overaly hooks. as the game csript thinks its rendering the overlay / gestures window .. but its just not showing... I am havign a quick poke about and look. see if its a quick fix or not . if it is i will push changes. but i havnt mucked about with custom gfx overlays before . so it might get fixed before i suss it out

I think its having issue adding the catagories to the existing gestures wheel . as the gestures wheel still loads normally. but its not able / seemingly not able to update the wheels contents with the new catagories. altho there are no errors happening in the logs that i can see

    //============================================
    // Gestures
    //============================================
    protected void RefreshGestures(eAICommandCategories category_id = -1)
    {
        //create gestures content (widgets) based on categories
        if (category_id > -1)
        {
            GetGestureItems(m_GestureItems, category_id);
        }
        else
        {
            GetGestureItems(m_GestureItems, eAICommandCategories.CATEGORIES);
        }

        CreateGestureContent();

        UpdateToolbar();
    }

its been a while since i wrote c though... and i am having to lookup all the bohemia api/sdk calls by docs as i not an actual dayz modder.. just a normal dev as a day job

If i get chance i might have a play and see if i can just piggyback the menu items into the existing misc catagory just to see if it works. but modding games is a bit out of my depth here. lol esp in C

ev1lbunny commented 2 years ago

will update once i have checked / pulled it over and seen if it works. but there are some significant reworks to radial menus in the experimental branch. so will see if i can cherry pick the commits from there to a fork for testing