![]() |
|
Orbiter Lua Scripting Find support, share snippets and general discussion around using the Lua engine in Orbiter. |
![]() |
|
Thread Tools |
![]() |
#46 |
Addon Developer
![]() |
![]()
I tried replacing
Code:
hsmkthgrp = vi:create_thrustergroup({hsmkthr_0,hsmkthr_1},THGROUP.MAIN) Code:
htgtst = vi:get_thrustergrouphandle(THGROUP.MAIN) hsmkthgrp = vi:create_thrustergroup({hsmkthr_0,hsmkthr_1},htgtst) ![]() So I keep waiting for the statically linked dll's .I have a lot of hope on them. Last edited by BEEP; 12-14-2017 at 12:57 PM. |
![]() |
![]() |
![]() |
#48 |
Donator
![]() |
![]()
In case the statically-linked ones work, I would still recommend to install the runtimes:
Visual C++ Redistributable for Visual Studio 2015 (x86) ...or even better: Wait until Martin has uploaded a new BETA with the changes included ![]() Last edited by kuddel; 12-14-2017 at 08:41 PM. |
![]() |
![]() |
![]() |
#49 |
Addon Developer
![]() |
![]()
Thanks for all your efforts but...no....the statically linked dll's didn't work.
![]() As I said in an earlier post in this thread I already have the VC++ 2015 redist which was replaced as I installed VC++ 2017 ( so the version I have now is 14.10.25008 over the earlier 14.0.23026) Maybe if Martin compiles it in his environment.....???? Last edited by BEEP; 12-15-2017 at 05:21 PM. |
![]() |
![]() |
![]() |
#50 |
Donator
![]() |
![]() Quote:
Quote:
If you check your "Programs and Features", (filter by "Redistributable") you should see several versions. I for example have all these: 2005, 2008, 2010, 2012, 2013 & 2015 (as x86 and x64, though for Orbiter only the x86 versions are needed) Quote:
But I still think that something with your system is not right, although I can only be sure if someone else tried the Lua DLLs and they do work there. If you have the time (and disk space) I would still recommend a pristine new clear Orbiter install and check if my Lua DLLs work there. Installing the Visual C++ Redistributable for Visual Studio 2015 (x86) you did, right? |
![]() |
![]() |
![]() |
#51 |
Addon Developer
![]() |
![]() Quote:
Quote:
I do not know where to find "Programs and Features" in Windows XP I took a photo of my control panel software install/uninstall section so you can see for yourself. It seems that in some cases the program installs several versions but this didn't happen with VC 2015 which was replaced as I described earlier by the 2017 version. ![]() One thing that confirms that 2017 is treated as a newer version of 2015 is that when I tried to install 2015 again after 2017 it was refused as installing old over new as you can see by the installation log below: Code:
[0C58:0EE4][2017-12-17T20:07:11]i001: Burn v3.7.3813.0, Windows v5.1 (Build 2600: Service Pack 3), path: C:\Documents and Settings\Precious\Meus documentos\Downloads\Obiter Beta Textures\vc_redist.x86_2015_B.exe, cmdline: '' [0C58:0EE4][2017-12-17T20:07:11]i000: Setting string variable 'WixBundleLog' to value 'C:\DOCUME~1\Precious\CONFIG~1\Temp\dd_vcredist_x86_20171217200711.log' [0C58:0EE4][2017-12-17T20:07:11]i000: Setting string variable 'WixBundleOriginalSource' to value 'C:\Documents and Settings\Precious\Meus documentos\Downloads\Obiter Beta Textures\vc_redist.x86_2015_B.exe' [0C58:0EE4][2017-12-17T20:07:11]i000: Setting string variable 'WixBundleOriginalSourceFolder' to value 'C:\Documents and Settings\Precious\Meus documentos\Downloads\Obiter Beta Textures\' [0C58:0EE4][2017-12-17T20:07:12]i000: Setting string variable 'WixBundleName' to value 'Microsoft Visual C++ 2015 Redistributable (x86) - 14.0.23026' [0C58:0EE4][2017-12-17T20:07:12]i100: Detect begin, 10 packages [0C58:0EE4][2017-12-17T20:07:12]i000: Setting version variable 'windows_uCRT_DetectKey' to value '10.0.10586.15' [0C58:0EE4][2017-12-17T20:07:12]i000: Setting numeric variable 'windows_uCRT_DetectKeyExists' to value 1 [0C58:0EE4][2017-12-17T20:07:12]i102: Detected related bundle: {c239cea1-d49e-4e16-8e87-8c055765f7ec}, type: Upgrade, scope: PerMachine, version: 14.10.25008.0, operation: Downgrade [0C58:0EE4][2017-12-17T20:07:12]i108: Detected compatible package: vcRuntimeMinimum_x86, provider: Microsoft.VS.VC_RuntimeMinimumVSU_x86,v14, installed: {C6CDA568-CD91-3CA0-9EDE-DAD98A13D6E1}, version: 14.10.25008, chained: {A2563E55-3BEC-3828-8D67-E5E8B9E8B675} [0C58:0EE4][2017-12-17T20:07:12]i103: Detected related package: {C6CDA568-CD91-3CA0-9EDE-DAD98A13D6E1}, scope: PerMachine, version: 14.10.25008.0, language: 0 operation: Downgrade [0C58:0EE4][2017-12-17T20:07:12]i108: Detected compatible package: vcRuntimeAdditional_x86, provider: Microsoft.VS.VC_RuntimeAdditionalVSU_x86,v14, installed: {E6222D59-608C-3018-B86B-69BD241ACDE5}, version: 14.10.25008, chained: {BE960C1C-7BAD-3DE6-8B1A-2616FE532845} [0C58:0EE4][2017-12-17T20:07:12]i103: Detected related package: {E6222D59-608C-3018-B86B-69BD241ACDE5}, scope: PerMachine, version: 14.10.25008.0, language: 0 operation: Downgrade [0C58:0EE4][2017-12-17T20:07:12]i052: Condition '(windows_uCRT_DetectKeyExists AND windows_uCRT_DetectKey >= v10.0.10137.0)' evaluates to true. [0C58:0EE4][2017-12-17T20:07:12]i052: Condition '(windows_uCRT_DetectKeyExists AND windows_uCRT_DetectKey >= v10.0.10137.0)' evaluates to true. [0C58:0EE4][2017-12-17T20:07:12]i052: Condition '(windows_uCRT_DetectKeyExists AND windows_uCRT_DetectKey >= v10.0.10137.0)' evaluates to true. [0C58:0EE4][2017-12-17T20:07:12]i052: Condition '(windows_uCRT_DetectKeyExists AND windows_uCRT_DetectKey >= v10.0.10137.0)' evaluates to true. [0C58:0EE4][2017-12-17T20:07:12]i052: Condition '(windows_uCRT_DetectKeyExists AND windows_uCRT_DetectKey >= v10.0.10137.0)' evaluates to true. [0C58:0EE4][2017-12-17T20:07:12]i052: Condition '(windows_uCRT_DetectKeyExists AND windows_uCRT_DetectKey >= v10.0.10137.0)' evaluates to true. [0C58:0EE4][2017-12-17T20:07:12]i052: Condition '(windows_uCRT_DetectKeyExists AND windows_uCRT_DetectKey >= v10.0.10137.0)' evaluates to true. [0C58:0EE4][2017-12-17T20:07:12]i052: Condition '(windows_uCRT_DetectKeyExists AND windows_uCRT_DetectKey >= v10.0.10137.0)' evaluates to true. [0C58:0EE4][2017-12-17T20:07:12]i101: Detected package: vcRuntimeMinimum_x86, state: Obsolete, cached: None [0C58:0EE4][2017-12-17T20:07:12]i101: Detected package: vcRuntimeAdditional_x86, state: Obsolete, cached: None [0C58:0EE4][2017-12-17T20:07:12]i101: Detected package: Windows81_x86, state: Present, cached: None [0C58:0EE4][2017-12-17T20:07:12]i101: Detected package: Windows81_x64, state: Present, cached: None [0C58:0EE4][2017-12-17T20:07:12]i101: Detected package: Windows8_x86, state: Present, cached: None [0C58:0EE4][2017-12-17T20:07:12]i101: Detected package: Windows8_x64, state: Present, cached: None [0C58:0EE4][2017-12-17T20:07:12]i101: Detected package: Windows7_MSU_x86, state: Present, cached: None [0C58:0EE4][2017-12-17T20:07:12]i101: Detected package: Windows7_MSU_x64, state: Present, cached: None [0C58:0EE4][2017-12-17T20:07:12]i101: Detected package: WindowsVista_MSU_x86, state: Present, cached: None [0C58:0EE4][2017-12-17T20:07:12]i101: Detected package: WindowsVista_MSU_x64, state: Present, cached: None [0C58:0EE4][2017-12-17T20:07:12]i052: Condition 'VersionNT >= v6.0 OR (VersionNT = v5.1 AND ServicePackLevel >= 2) OR (VersionNT = v5.2 AND ServicePackLevel >= 1)' evaluates to true. [0C58:0EE4][2017-12-17T20:07:12]i199: Detect complete, result: 0x0 [0C58:0460][2017-12-17T20:07:18]e000: Error 0x80070666: Cannot install a product when a newer version is installed. ![]() Quote:
However my hopes and the better testing strategy now IMHO is to have Martin compilating your sources in his environment. Remember that his versions have been ( and still are) working for me so far which should stand on the behalf of my OS installation. Thanks for your attention and please be patient with me. I have long hours and many thousands of Lua code lines invested in this hobby. |
![]() |
![]() |
![]() |
#52 |
Donator
![]() |
![]() Quote:
Quote:
Quote:
What you might try is AIO runtimes which helped me once I had similar issues. On the page the download is kind of "hidden", but this link should get you there ![]() That tool worked fine with me, but I am not sure how well it behaves on XP. Quote:
By the way: Did you say, you have Visual Studio 2017 installed? In that case you can build the DLLs yourself on your machine. Any exception during a debug run in Visual Studio might shed some light into this issue. |
![]() |
![]() |
![]() |
#53 |
Addon Developer
![]() |
![]()
This was quite expected but I had to do it anyway.
Procedure: Testing v:create_thrustergroup(...) for statically linked Lua dll package within a "pristine" Obiter installation . Lua vessel .cfg used in test. 1. With r.73 distribution dlls : Works fine. 2. With new statically linked dlls : CRASHES. :-( |
![]() |
![]() |
![]() |
#54 |
Addon Developer
![]() |
![]()
Kuddel,
I'm thinking that maybe we'd better change the structure of this Lua section to work more like what's done in 'Site Support', keeping your Lua updates in this thread as sticky and specific for this purpose and having issues like v:create_thrustergroup(....) in their own separate threads under the categories 'Bugs','Tasks', 'Features', 'Discussions', 'Questions', 'Feedback'. What do you think? |
![]() |
![]() |
![]() |
#55 |
Donator
![]() |
![]()
I don't mind.
As it seems that we two are the only ones that reads this, we can also handle it here ![]() But do whatever feels right to you. We can always change if that new scheme doesn't work. BTW: I'm 4 weeks off on holidays, so my responses might be less frequent during that time. |
![]() |
![]() |
![]() |
#58 |
Beta Tester
![]() ![]() |
![]()
Can you guys give a minimal test for your beta DLL problem? I could try out some things on my end and perhaps give a confirmation one or the other way. As I've observed in the TransX development thread, the new beta seems to break binary compatibility a bit, so some addons need a recompile.
|
![]() |
![]() |
![]() |
#60 |
Addon Developer
![]() |
![]()
Friends,
Some serious personal problems will have me away fom simulation dreams for the time being so I'll not be around frequently and, unfortunately, won't be capable of following and cooperating with this development as I'd like. I'm much concerned with and fond of this project and as soon as I'm able to interact again I'll post here. Beep |
![]() |
![]() |
![]() |
|
Thread Tools | |
|
|
Quick Links | Need Help? |