Penecruz / VAICOMPRO-Community

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

Alt and FLush methods called in VAICOMPRO.export.lua are not implemented #109

Closed TBarina closed 11 months ago

TBarina commented 1 year ago

In dcs.log there appear several error messages like these:

ERROR Lua::Config (Main): Call error LuaExportBeforeNextFrame:[string "C:\Users\tbari\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\tbari\Saved Games\DCS.openbeta\Scripts\VAICOMPRO\VAICOMPRO.export.lua"]:61: in function 'BeforeNextFrame'

Lua::Config (Main): Call error LuaExportAfterNextFrame:[string "C:\Users\tbari\Saved Games\DCS.openbeta\Scripts\VAICOMPRO\VAICOMPRO.export.lua"]:72: attempt to call method 'Flush' (a nil value) stack traceback: [C]: in function 'Flush' [string "C:\Users\tbari\Saved Games\DCS.openbeta\Scripts\VAICOMPRO\VAICOMPRO.export.lua"]:72: in function 'AfterNextFrame'

It seems like Methods Alt and FLush are not implemented.

I remmed out those calls and errors don't appear any more but I'm not sure this is the right way. Thanks

rcflyinghokie commented 1 year ago

Please edit your title to be more descriptive than "bug"

Penecruz commented 1 year ago

Thanks, they are a left over from the previous implementation prior to the DX loop. Will look to find the calls and remove them. You can ignore the error for now.

TBarina commented 1 year ago

Many thanks

Penecruz commented 11 months ago

Removed in latest build 2.9.2.0