Penecruz / VAICOMPRO-Community

VAICOM PRO for DCS World
MIT License
164 stars 27 forks source link

[BUG] Communications menu keybinds don't work with vaicom #112

Closed nd1312 closed 8 months ago

nd1312 commented 11 months ago

Describe the bug When vaicom is installed, the communications menu commands don't work anymore

To Reproduce Install vaicom, open comms menu, use the bound menu keys

Expected behavior The commands (next, previous, etc.) should highlight the selected comms command

Additional context dcs.log shows: RadioCommandDialogsPanel.toPrevMenuItem error: attempt to index local 'self' (a nil value)

After uninstalling vaicom and removing all remaining lua files, it works again

rcflyinghokie commented 11 months ago

Command menu works just fine for me with vaicom running, I am unable to reproduce

nd1312 commented 11 months ago

Interesting.. So as I said it worked again after uninstalling vaicom.
Now I tried re-installing it, and it stopped working again. (Vaicom itself does work though, but i'd like to be able to navigate the comms menu by myself as well)

Here's a more complete log:


2023-11-30 15:48:24.653 ERROR   Lua::Config (Main): Call error LuaExportBeforeNextFrame:[string "C:\Users\Andi\Saved Games\DCS.openbeta\Scripts\VAICOMPRO\VAICOMPRO.export.lua"]:61: attempt to call method 'Alt' (a nil value)
stack traceback:
    [C]: in function 'Alt'
    [string "C:\Users\Andi\Saved Games\DCS.openbeta\Scripts\VAICOMPRO\VAICOMPRO.export.lua"]:61: in function 'BeforeNextFrame'
    [string "C:\Users\Andi\Saved Games\DCS.openbeta\Scripts\VAICOMPRO\VAICOMPRO.export.lua"]:110: in function <[string "C:\Users\Andi\Saved Games\DCS.openbeta\Scripts\VAICOMPRO\VAICOMPRO.export.lua"]:109>.
2023-11-30 15:48:29.328 WARNING LOG (32600): 3 duplicate message(s) skipped.
2023-11-30 15:48:29.328 ERROR   WRADIO (Main): CommandDialogsPanel: RadioCommandDialogsPanel.toNextMenuItem error [string "./Scripts/UI/RadioCommandDialogPanel/CommandDialogsPanel.lua"]:524: attempt to index local 'self' (a nil value)
stack traceback:
    [C]: ?
    [string "./Scripts/UI/RadioCommandDialogPanel/CommandDialogsPanel.lua"]:524: in function <[string "./Scripts/UI/RadioCommandDialogPanel/CommandDialogsPanel.lua"]:523>
2023-11-30 15:48:29.358 ERROR   Lua::Config (Main): Call error LuaExportBeforeNextFrame:[string "C:\Users\Andi\Saved Games\DCS.openbeta\Scripts\VAICOMPRO\VAICOMPRO.export.lua"]:61: attempt to call method 'Alt' (a nil value)
stack traceback:
    [C]: in function 'Alt'
    [string "C:\Users\Andi\Saved Games\DCS.openbeta\Scripts\VAICOMPRO\VAICOMPRO.export.lua"]:61: in function 'BeforeNextFrame'
    [string "C:\Users\Andi\Saved Games\DCS.openbeta\Scripts\VAICOMPRO\VAICOMPRO.export.lua"]:110: in function <[string "C:\Users\Andi\Saved Games\DCS.openbeta\Scripts\VAICOMPRO\VAICOMPRO.export.lua"]:109>.
2023-11-30 15:48:30.061 ERROR   WRADIO (Main): CommandDialogsPanel: RadioCommandDialogsPanel.toPrevMenuItem error [string "./Scripts/UI/RadioCommandDialogPanel/CommandDialogsPanel.lua"]:528: attempt to index local 'self' (a nil value)
stack traceback:
    [C]: ?
    [string "./Scripts/UI/RadioCommandDialogPanel/CommandDialogsPanel.lua"]:528: in function <[string "./Scripts/UI/RadioCommandDialogPanel/CommandDialogsPanel.lua"]:527>
2023-11-30 15:48:30.111 ERROR   Lua::Config (Main): Call error LuaExportBeforeNextFrame:[string "C:\Users\Andi\Saved Games\DCS.openbeta\Scripts\VAICOMPRO\VAICOMPRO.export.lua"]:61: attempt to call method 'Alt' (a nil value)
stack traceback:
    [C]: in function 'Alt'
    [string "C:\Users\Andi\Saved Games\DCS.openbeta\Scripts\VAICOMPRO\VAICOMPRO.export.lua"]:61: in function 'BeforeNextFrame'
    [string "C:\Users\Andi\Saved Games\DCS.openbeta\Scripts\VAICOMPRO\VAICOMPRO.export.lua"]:110: in function <[string "C:\Users\Andi\Saved Games\DCS.openbeta\Scripts\VAICOMPRO\VAICOMPRO.export.lua"]:109>.
2023-11-30 15:48:57.170 WARNING LOG (32600): 3 duplicate message(s) skipped.
2023-11-30 15:48:57.170 ERROR_ONCE DX11BACKEND (24924): texture 'mig-29_tex04_spec' not found. Asked from ''
2023-11-30 15:48:57.210 ERROR_ONCE DX11BACKEND (20116): texture 'mig-29_metal_spec' not found. Asked from ''
2023-11-30 15:48:57.210 ERROR_ONCE DX11BACKEND (20116): texture 'mig-29_nose_spec' not found. Asked from ''
2023-11-30 15:48:57.217 ERROR_ONCE DX11BACKEND (24924): texture 'mig-29_tex03_spec' not found. Asked from ''
2023-11-30 15:48:57.719 ERROR   Lua::Config (Main): Call error LuaExportBeforeNextFrame:[string "C:\Users\Andi\Saved Games\DCS.openbeta\Scripts\VAICOMPRO\VAICOMPRO.export.lua"]:61: attempt to call method 'Alt' (a nil value)
stack traceback:
    [C]: in function 'Alt'
    [string "C:\Users\Andi\Saved Games\DCS.openbeta\Scripts\VAICOMPRO\VAICOMPRO.export.lua"]:61: in function 'BeforeNextFrame'
    [string "C:\Users\Andi\Saved Games\DCS.openbeta\Scripts\VAICOMPRO\VAICOMPRO.export.lua"]:110: in function <[string "C:\Users\Andi\Saved Games\DCS.openbeta\Scripts\VAICOMPRO\VAICOMPRO.export.lua"]:109>.
2023-11-30 15:49:10.718 WARNING LOG (32600): 2 duplicate message(s) skipped.
2023-11-30 15:49:10.718 ERROR   WRADIO (Main): CommandDialogsPanel: RadioCommandDialogsPanel.toNextMenuItem error [string "./Scripts/UI/RadioCommandDialogPanel/CommandDialogsPanel.lua"]:524: attempt to index local 'self' (a nil value)
stack traceback:
    [C]: ?
    [string "./Scripts/UI/RadioCommandDialogPanel/CommandDialogsPanel.lua"]:524: in function <[string "./Scripts/UI/RadioCommandDialogPanel/CommandDialogsPanel.lua"]:523>
2023-11-30 15:49:11.467 WARNING LOG (32600): 1 duplicate message(s) skipped.
2023-11-30 15:49:11.467 ERROR   WRADIO (Main): CommandDialogsPanel: RadioCommandDialogsPanel.toPrevMenuItem error [string "./Scripts/UI/RadioCommandDialogPanel/CommandDialogsPanel.lua"]:528: attempt to index local 'self' (a nil value)
stack traceback:
    [C]: ?
    [string "./Scripts/UI/RadioCommandDialogPanel/CommandDialogsPanel.lua"]:528: in function <[string "./Scripts/UI/RadioCommandDialogPanel/CommandDialogsPanel.lua"]:527>
2023-11-30 15:49:11.739 ERROR   WRADIO (Main): CommandDialogsPanel: RadioCommandDialogsPanel.toNextMenuItem error [string "./Scripts/UI/RadioCommandDialogPanel/CommandDialogsPanel.lua"]:524: attempt to index local 'self' (a nil value)
stack traceback:
    [C]: ?
    [string "./Scripts/UI/RadioCommandDialogPanel/CommandDialogsPanel.lua"]:524: in function <[string "./Scripts/UI/RadioCommandDialogPanel/CommandDialogsPanel.lua"]:523>
2023-11-30 15:49:20.173 WARNING LOG (32600): 1 duplicate message(s) skipped.
2023-11-30 15:49:20.173 ERROR   Lua::Config (Main): Call error LuaExportBeforeNextFrame:[string "C:\Users\Andi\Saved Games\DCS.openbeta\Scripts\VAICOMPRO\VAICOMPRO.export.lua"]:61: attempt to call method 'Alt' (a nil value)
stack traceback:
    [C]: in function 'Alt'
    [string "C:\Users\Andi\Saved Games\DCS.openbeta\Scripts\VAICOMPRO\VAICOMPRO.export.lua"]:61: in function 'BeforeNextFrame'
    [string "C:\Users\Andi\Saved Games\DCS.openbeta\Scripts\VAICOMPRO\VAICOMPRO.export.lua"]:110: in function <[string "C:\Users\Andi\Saved Games\DCS.openbeta\Scripts\VAICOMPRO\VAICOMPRO.export.lua"]:109>.
2023-11-30 15:49:20.759 ERROR   WRADIO (Main): CommandDialogsPanel: RadioCommandDialogsPanel.toPrevMenuItem error [string "./Scripts/UI/RadioCommandDialogPanel/CommandDialogsPanel.lua"]:528: attempt to index local 'self' (a nil value)
stack traceback:
    [C]: ?
    [string "./Scripts/UI/RadioCommandDialogPanel/CommandDialogsPanel.lua"]:528: in function <[string "./Scripts/UI/RadioCommandDialogPanel/CommandDialogsPanel.lua"]:527>
2023-11-30 15:49:20.783 ERROR   Lua::Config (Main): Call error LuaExportBeforeNextFrame:[string "C:\Users\Andi\Saved Games\DCS.openbeta\Scripts\VAICOMPRO\VAICOMPRO.export.lua"]:61: attempt to call method 'Alt' (a nil value)
stack traceback:
    [C]: in function 'Alt'
    [string "C:\Users\Andi\Saved Games\DCS.openbeta\Scripts\VAICOMPRO\VAICOMPRO.export.lua"]:61: in function 'BeforeNextFrame'
    [string "C:\Users\Andi\Saved Games\DCS.openbeta\Scripts\VAICOMPRO\VAICOMPRO.export.lua"]:110: in function <[string "C:\Users\Andi\Saved Games\DCS.openbeta\Scripts\VAICOMPRO\VAICOMPRO.export.lua"]:109>.
2023-11-30 15:49:22.481 WARNING LOG (32600): 2 duplicate message(s) skipped.
2023-11-30 15:49:22.481 ERROR   WRADIO (Main): CommandDialogsPanel: RadioCommandDialogsPanel.toPrevMenu error [string "./Scripts/UI/RadioCommandDialogPanel/CommandDialogsPanel.lua"]:536: attempt to index local 'self' (a nil value)
stack traceback:
    [C]: ?
    [string "./Scripts/UI/RadioCommandDialogPanel/CommandDialogsPanel.lua"]:536: in function <[string "./Scripts/UI/RadioCommandDialogPanel/CommandDialogsPanel.lua"]:535>
2023-11-30 15:49:22.521 ERROR   Lua::Config (Main): Call error LuaExportBeforeNextFrame:[string "C:\Users\Andi\Saved Games\DCS.openbeta\Scripts\VAICOMPRO\VAICOMPRO.export.lua"]:61: attempt to call method 'Alt' (a nil value)
stack traceback:
    [C]: in function 'Alt'
    [string "C:\Users\Andi\Saved Games\DCS.openbeta\Scripts\VAICOMPRO\VAICOMPRO.export.lua"]:61: in function 'BeforeNextFrame'
    [string "C:\Users\Andi\Saved Games\DCS.openbeta\Scripts\VAICOMPRO\VAICOMPRO.export.lua"]:110: in function <[string "C:\Users\Andi\Saved Games\DCS.openbeta\Scripts\VAICOMPRO\VAICOMPRO.export.lua"]:109>.```
Penecruz commented 8 months ago

Fixed in 2.9.2.3

Thanks for the report.