New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Conflict between CBA_Events and CBA_Help prevents mission from loading #244

Closed
commy2 opened this Issue Jan 21, 2016 · 1 comment

Comments

Projects
None yet
1 participant
@commy2
Contributor

commy2 commented Jan 21, 2016

CBA_fnc_readKeyFromConfig is intended to work with number entries (https://github.com/CBATeam/CBA_A3/blob/master/addons/events/fnc_readKeyFromConfig.sqf#L27), but the help module (https://github.com/CBATeam/CBA_A3/blob/master/addons/help/XEH_preClientInit.sqf#L62-L90) conflicts with that preventing the mission to start, because it assumes all entries of the sub classes in CfgSettings\CBA\Events\ are classes themselves.

Error message:
'action1/' is not a class ('key' accessed)

class CfgSettings {
    class CBA {
        class Events {
            class TestAddon {
                action1 = 15; // tab

                class action2 { // ctrl T
                    key = 20;
                    shift = 0;
                    ctrl = 1;
                    alt = 0;
                };
            };
        };
    };
};

@commy2 commy2 added the Bug label Jan 21, 2016

@commy2 commy2 self-assigned this Jan 21, 2016

@commy2 commy2 added the Keybinding label Feb 11, 2016

@commy2

This comment has been minimized.

Show comment
Hide comment
@commy2

commy2 Feb 18, 2016

Contributor
a1 = ["TestAddon", "action1", { systemChat str _this }] call CBA_fnc_addKeyHandlerFromConfig
a2 = ["TestAddon", "action2", { systemChat str _this }] call CBA_fnc_addKeyHandlerFromConfig
Contributor

commy2 commented Feb 18, 2016

a1 = ["TestAddon", "action1", { systemChat str _this }] call CBA_fnc_addKeyHandlerFromConfig
a2 = ["TestAddon", "action2", { systemChat str _this }] call CBA_fnc_addKeyHandlerFromConfig

@commy2 commy2 added this to the 2.3.1 milestone Feb 18, 2016

Killswitch00 added a commit that referenced this issue Feb 20, 2016

Merge pull request #265 from CBATeam/fixhelpmodule
improve / fix help module, fix #258 and #244
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment