Mnemonic Posted March 5, 2007 Author Share Posted March 5, 2007 :) to Grump, please, try to start LOVP again, and then send me your Error.log (locates in your LockOn1.1\Temp directory) Link to comment Share on other sites More sharing options...
walternowi Posted March 5, 2007 Share Posted March 5, 2007 Hmm... strange... 1 - Are you shure you extract INI file at the same directory that .exe? 2 - Send me to private message your "Error.log". It in the "LockOn1.1\Temp\" directory... 3 - what windows do you have? 1. Yes, the INI file is in the same directory as the EXE file. I even tried to place all the LOVP files and the PIC sub-directory in my LockOn directory. 2. I am in the office at the moment. I will send you the Error.log when I get home tonight. 3. I am running windows XP pro SP2. The main screen (19") resolution is at 1280 x 1024, and the 8" touchscreen is at 800 x 600. The same problem was encountered if I used 1280 x 1024 resolutions for both screens. Thanks again for your effort. :thumbup: Intel Xeon E5-1650 v2 ASUS Sabertooth X79 4 x 4GB Crucial Ballistix VLP PC3-12800 ASUS Cerberus GTX 1070 Ti 8 Gb Seasonic Platinum 860W Thrustmaster Cougar Uber II Nxt CH Products PT/TQ/MFP Slaw Pedals TrackIR 5 Link to comment Share on other sites More sharing options...
walternowi Posted March 5, 2007 Share Posted March 5, 2007 let me test it on my game PC at home when I can ... Great work Zorlac! Looking forward to your testing results and the instructions for making this work with TouchBuddy. :thumbup: Nowi Intel Xeon E5-1650 v2 ASUS Sabertooth X79 4 x 4GB Crucial Ballistix VLP PC3-12800 ASUS Cerberus GTX 1070 Ti 8 Gb Seasonic Platinum 860W Thrustmaster Cougar Uber II Nxt CH Products PT/TQ/MFP Slaw Pedals TrackIR 5 Link to comment Share on other sites More sharing options...
Mnemonic Posted March 5, 2007 Author Share Posted March 5, 2007 to walternowi - waiting for Error.log :) (please, send me config.lua too) Link to comment Share on other sites More sharing options...
walternowi Posted March 6, 2007 Share Posted March 6, 2007 to walternowi - waiting for Error.log :) (please, send me config.lua too) Attached are the error.log and config.lua files. Thanks :) NowiError.zip Intel Xeon E5-1650 v2 ASUS Sabertooth X79 4 x 4GB Crucial Ballistix VLP PC3-12800 ASUS Cerberus GTX 1070 Ti 8 Gb Seasonic Platinum 860W Thrustmaster Cougar Uber II Nxt CH Products PT/TQ/MFP Slaw Pedals TrackIR 5 Link to comment Share on other sites More sharing options...
G3 Posted March 7, 2007 Share Posted March 7, 2007 following this thread with much anticipation: getting the same disconnection as walternowi. long list in error file: LuaExport::LuaExportAfterNextFrame: closed LuaExport::LuaExportAfterNextFrame: closed LuaExport::LuaExportAfterNextFrame: closed LuaExport::LuaExportAfterNextFrame: closed LuaExport::LuaExportAfterNextFrame: closed LuaExport::LuaExportAfterNextFrame: closed LuaExport::LuaExportStop: closed copied over files to appropriate folder, disabled firewalls. starting up the game and vp in correct order, all is good until S key is pressed. then lua says its closed? ps: my error log and config are same as walternowi's must be something different in our setups, mine i s a pretty basic install? Link to comment Share on other sites More sharing options...
Mnemonic Posted March 7, 2007 Author Share Posted March 7, 2007 hmm... 1 - Are you use downloaded LockOn version, or Disc-version? 2 - Do you have in LockOn directory - luaSocket.dll file? (sure - you have, but please look) 3 - LOVP cannot recognize one or couple of parameters that sended by Lua-script :(.... (or something else) 4 - At few days I'l try to create some debug-version of LockOn VP, maybe it clear the situation.... Link to comment Share on other sites More sharing options...
walternowi Posted March 7, 2007 Share Posted March 7, 2007 hmm... 1 - Are you use downloaded LockOn version, or Disc-version? 2 - Do you have in LockOn directory - luaSocket.dll file? (sure - you have, but please look) 3 - LOVP cannot recognize one or couple of parameters that sended by Lua-script :(.... (or something else) 4 - At few days I'l try to create some debug-version of LockOn VP, maybe it clear the situation.... 1 - Disc version, bought from Naturalpoint. 2 - Yes, the dll file is in there. Thanks again for your effort. :beer: Intel Xeon E5-1650 v2 ASUS Sabertooth X79 4 x 4GB Crucial Ballistix VLP PC3-12800 ASUS Cerberus GTX 1070 Ti 8 Gb Seasonic Platinum 860W Thrustmaster Cougar Uber II Nxt CH Products PT/TQ/MFP Slaw Pedals TrackIR 5 Link to comment Share on other sites More sharing options...
Mnemonic Posted March 7, 2007 Author Share Posted March 7, 2007 Ok... I'll post debug-version soon, think we will catch this bug :) 1 Link to comment Share on other sites More sharing options...
Renato71 Posted March 8, 2007 Share Posted March 8, 2007 Hi, Great work Mnemonic! I've just tested it and it works fine on all RU machines :) My configuration: - Win 2003 - Lock On FC - Russian CD version - Radeon X700 Pro (second monitor on DVI via VGA adaptor) No problems at all, layout fine from start. I have two questions for you: 1. Any idea how to export dato to external device (ie, homebuilt cockpit)? 2. Any idea how to export other cockpit functions, like warning lights and RWR? Also, where can one find a full list of LUA export commands? On main lockon site, under LUA, there is a list of examples, but I cannot find exports for warning lights and RWR. I'm selling MiG-21 activation key. Also selling Suncom F-15E Talon HOTAS with MIDI connectors, several sets. Contact via PM. Link to comment Share on other sites More sharing options...
zorlac Posted March 8, 2007 Share Posted March 8, 2007 The export is still pretty limited for a whole load of things :( Warning lights - LoGetMCPState() Radar Threats - LoGetTWSInfo() EDIT: The full list of available functions are documented in your lockon\Config\export\export.lua file Link to comment Share on other sites More sharing options...
Renato71 Posted March 8, 2007 Share Posted March 8, 2007 The export is still pretty limited for a whole load of things :( Warning lights - LoGetMCPState() Radar Threats - LoGetTWSInfo() EDIT: The full list of available functions are documented in your lockon\Config\export\export.lua file I kinda suspected that these two are in question. But waht kind of output they provide? Table? Any info on that? Any ideo how to implement hardwer for external devices, like in MSFS? For that one you can find numerous variations and examples, but not for LO :cry: BR I'm selling MiG-21 activation key. Also selling Suncom F-15E Talon HOTAS with MIDI connectors, several sets. Contact via PM. Link to comment Share on other sites More sharing options...
Mnemonic Posted March 8, 2007 Author Share Posted March 8, 2007 From export.lua: -------------------------------------------------------- --For MCP LoGetMCPState() -- (args - 0, results - 1 (table of key(string).value(boolean)) returned table keys for LoGetMCPState(): "LeftEngineFailure" "RightEngineFailure" "HydraulicsFailure" "ACSFailure" "AutopilotFailure" "AutopilotOn" "MasterWarning" "LeftTailPlaneFailure" "RightTailPlaneFailure" "LeftAileronFailure" "RightAileronFailure" "CanopyOpen" "CannonFailure" "StallSignalization" "LeftMainPumpFailure" "RightMainPumpFailure" "LeftWingPumpFailure" "RightWingPumpFailure" "RadarFailure" "EOSFailure" "MLWSFailure" "RWSFailure" "ECMFailure" "GearFailure" "MFDFailure" "HUDFailure" "HelmetFailure" "FuelTankDamage" --For TWS / RWR LoGetTWSInfo() -- return Threat Warning System status (result the table ) result_of_LoGetTWSInfo = { Mode = , -- current mode (0 - all ,1 - lock only,2 - launch only Emitters = {table of emitters} } emitter_table = { ID =, -- world ID Type = {level1,level2,level3,level4}, -- world database classification of emitter Power =, -- power of signal Azimuth =, Priority =,-- priority of emitter (int) SignalType =, -- string with vlues: "scan" ,"lock", "missile_radio_guided","track_while_scan"; } -------------------------------------------------------- Realization of warning lights in VP are planning for next version! About TWS I'm thinking too :) And about hardware devices. I and my friend V.Antipov are trying to connect real aircraft devices (from Mig-21) to computer, and VirtualPanel planned to control them. But then we realize that it's too hard, and too expensive (big transformators, selsin control schemes, expensive DAC). Easiest way - to view devices on second screen (maybe masked for real-dashboard). If we find any low-cost aircraft-gauge-smulation devices, that have lo-voltage and simple construction, only then we will try to connect it again. Link to comment Share on other sites More sharing options...
Renato71 Posted March 8, 2007 Share Posted March 8, 2007 Thanks! I saw LoGetMCPState list, that kinda give me the idea to ask (for confirmation). I've ovelooked on LoGetTWSInfo - will try something on that. Or wait for you? :music_whistling: Anyway, you manga, you read my mind - I also have few original devices, hehehe. Hence the question. Using original instruments in their original form is not possible. Only thing that you can use is their "natural beauty", ie mask and dials and such. You have to build completely new mechanism. You basically need some servo that will turn the dial. Additionally you have to calibrate it. Such stuff is very common with MSFS community (google on fs simpit or cockpit). But they devised many fsupic interfaces (fsupic is same as lua for MSFS), mainly some PIC-based boards connected to parallel or serial port or similiar. Recently they started with USB interfaces. So, what we need is hardware interface that is able to convert lua export into digital and/or analogue signals. Homemade boards of that kind should not cost more than 50-100 USD. Servos could come from old floppy or hard drives (step motors - could be tweaked to work as servo, thou even a stepper could be usefull). Never give, never surrender! I can be done, just gotta dig out how. I'll look more on hardware interfaces that work with lua. BR I'm selling MiG-21 activation key. Also selling Suncom F-15E Talon HOTAS with MIDI connectors, several sets. Contact via PM. Link to comment Share on other sites More sharing options...
Mnemonic Posted March 8, 2007 Author Share Posted March 8, 2007 Thanks! I saw LoGetMCPState list, that kinda give me the idea to ask (for confirmation). I've ovelooked on LoGetTWSInfo - will try something on that. Or wait for you? :music_whistling: As you want :) I'm planning to add TWS too. Never give, never surrender! I can be done, just gotta dig out how. I'll look more on hardware interfaces that work with lua. Thanks! Hmm.... it's interesting, I will think of it ;) maybe I'l try to create in VP some USB interfaces, but not now :) And now... To Walternowi and ggg87 Here is the some kind of debug VP version: http://max.in.ua/vp/LOVP_Debug_01.zip extract EXE end place it into the VP directory, start LOVP_Debug_01.exe, then start LockOn... (maybe it works) Try to fly, and then copy the text that may-be appear in white field on top of VP window. Then post this info here :music_whistling: Thanks again! Link to comment Share on other sites More sharing options...
walternowi Posted March 8, 2007 Share Posted March 8, 2007 Mnemonic, Thanks for the update. I will give you feedback as soon as I have a chance to fly tonight (after the kids are asleep). S! Nowi Intel Xeon E5-1650 v2 ASUS Sabertooth X79 4 x 4GB Crucial Ballistix VLP PC3-12800 ASUS Cerberus GTX 1070 Ti 8 Gb Seasonic Platinum 860W Thrustmaster Cougar Uber II Nxt CH Products PT/TQ/MFP Slaw Pedals TrackIR 5 Link to comment Share on other sites More sharing options...
Grump Posted March 8, 2007 Share Posted March 8, 2007 I tried the new debug and this is what appeared in the white box after I pressed 'S' to start the game. As usual it showed disconnected. Hope this helps. <S> 0,00 210,96 259,72 1,53 1,00 0,00 4087,89 3002,19 0,03 0,00 5,50 0,80 0,00 0,00 5,50 -56970,00 4085,70 3029,00 -56970,53 4087,89 3029,07 0,00 0,00 0,00 67,50 67,50 320,00 320,00 4700,00 0,00 Link to comment Share on other sites More sharing options...
Mnemonic Posted March 9, 2007 Author Share Posted March 9, 2007 Thanks! Link to comment Share on other sites More sharing options...
walternowi Posted March 9, 2007 Share Posted March 9, 2007 Mnemonic, Thanks for the update. I will give you feedback as soon as I have a chance to fly tonight (after the kids are asleep). S! Nowi Mnemonic, After I press "S" to start the mission, the numbers that appear are: 0,00 222,78 259,72 1,44 1,00 0,00 3042,19 3002, 19 0,03 0,00 1,57 0,79 0,00 0,00 1,57 79999,00 3040, 00 -42000,00 799998,4 Here is a screenshot: Hope this helps. Nowi Intel Xeon E5-1650 v2 ASUS Sabertooth X79 4 x 4GB Crucial Ballistix VLP PC3-12800 ASUS Cerberus GTX 1070 Ti 8 Gb Seasonic Platinum 860W Thrustmaster Cougar Uber II Nxt CH Products PT/TQ/MFP Slaw Pedals TrackIR 5 Link to comment Share on other sites More sharing options...
Mnemonic Posted March 9, 2007 Author Share Posted March 9, 2007 Oh... is there a "space" symbol between "3002," and "19" ? Link to comment Share on other sites More sharing options...
Mnemonic Posted March 9, 2007 Author Share Posted March 9, 2007 Hm... Walternowi, sorry that I'm created "to small" field, but in text that you copy - not enough numbers... Ok, friends, thanks for information. First impression - LockOn gives all needed info. But why VP close connection?... I'l try to investigate this, maybe needed some other test.... P.S. Please check your Firewall settings. Link to comment Share on other sites More sharing options...
walternowi Posted March 9, 2007 Share Posted March 9, 2007 Hm... Walternowi, sorry that I'm created "to small" field, but in text that you copy - not enough numbers... Ok, friends, thanks for information. First impression - LockOn gives all needed info. But why VP close connection?... I'l try to investigate this, maybe needed some other test.... P.S. Please check your Firewall settings. Sorry, I did not realize that. I will copy the whole string and posted here tonight. Also, what about the firewall settings. What do you need to see? Intel Xeon E5-1650 v2 ASUS Sabertooth X79 4 x 4GB Crucial Ballistix VLP PC3-12800 ASUS Cerberus GTX 1070 Ti 8 Gb Seasonic Platinum 860W Thrustmaster Cougar Uber II Nxt CH Products PT/TQ/MFP Slaw Pedals TrackIR 5 Link to comment Share on other sites More sharing options...
Mnemonic Posted March 9, 2007 Author Share Posted March 9, 2007 Virtual Panel must be allowed to use network... thats all Link to comment Share on other sites More sharing options...
walternowi Posted March 10, 2007 Share Posted March 10, 2007 Hm... Walternowi, sorry that I'm created "to small" field, but in text that you copy - not enough numbers... Ok, friends, thanks for information. First impression - LockOn gives all needed info. But why VP close connection?... I'l try to investigate this, maybe needed some other test.... P.S. Please check your Firewall settings. Mnemonic, Here is the entire string: 0,00 222,78 259,72 1,44 1,00 0,00 3042,19 3002,19 0,03 0,00 1,57 0,79 0,00 0,00 1,57 79999,00 3040,00 -42000,00 79998,47 3042,19 -41999,96 0,00 0,00 0,00 67,50 67,50 320,00 320,00 5640,00 0,00 I check my Firewall settings and LOVP has access defined under the exceptions. Thanks again. Nowi Intel Xeon E5-1650 v2 ASUS Sabertooth X79 4 x 4GB Crucial Ballistix VLP PC3-12800 ASUS Cerberus GTX 1070 Ti 8 Gb Seasonic Platinum 860W Thrustmaster Cougar Uber II Nxt CH Products PT/TQ/MFP Slaw Pedals TrackIR 5 Link to comment Share on other sites More sharing options...
Mnemonic Posted March 10, 2007 Author Share Posted March 10, 2007 ok... And thank you ) Link to comment Share on other sites More sharing options...
Recommended Posts