Penecruz / VAICOMPRO-Community

VAICOM PRO for DCS World
MIT License
163 stars 25 forks source link

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

Closed TBarina closed 8 months ago

TBarina commented 10 months 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 10 months ago

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

Penecruz commented 10 months 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 10 months ago

Many thanks

Penecruz commented 8 months ago

Removed in latest build 2.9.2.0