• ORBITER-FORUM will be temporarily closed at 2026-07-23 18:00 UTC while we complete some OF maintenance tasks. The amount of downtime is expected to take up to one hour, but probably less.

Search results

  1. johnnymanly

    Question C++ to Lua conversion

    Yes, I saw them once I got going. Thanks again for having a look and all your work on Lua for Orbiter.(y)
  2. johnnymanly

    Question C++ to Lua conversion

    Thanks Gondos, that's it.
  3. johnnymanly

    Question C++ to Lua conversion

    I'm just learning Lua and I tried to convert this C++ code int i; for (i = 0; i < 6; i++) { oapiVCRegisterArea (MFD1_LBUTTON1+i, PANEL_REDRAW_NEVER, PANEL_MOUSE_LBDOWN); oapiVCSetAreaClickmode_Spherical(MFD1_LBUTTON1+i, _V(-0.31, 0.0547 - (i * 0.0245)...
  4. johnnymanly

    Question what does "vessel:get_rawstatus(1)" return?

    You're right. I misread the documentation.
  5. johnnymanly

    Question what does "vessel:get_rawstatus(1)" return?

    I'm running an Oct. 6 build and I'm having some unexpected behavior. local vs = vi:get_rawstatus(1) local t = vs:get() t.rpos = {x=0,y=0,z=-9.62} vs:set(t) oapi.create_vessel("OmegaBooster", "OmegaBooster", vs) Throws the created vessel into space. vrot and arot seem to work as...
  6. johnnymanly

    Orbiter compile error *SOLVED*

    Compiled 2024-rc2 instead of Orbiter-latest and it built fine.
  7. johnnymanly

    Orbiter compile error *SOLVED*

    I was trying to create a new project using existing code which I now realize is incorrect. Configuring it properly it stops at the warning: Severity Code Description Project File Line Suppression State Warning mesh contains no groups...
  8. johnnymanly

    Orbiter compile error *SOLVED*

    I'm trying to compile Orbiter-latest on Windows 10 using vs2022. I'm getting the error "can't find the include file P_.h" According to Windows search P_.h doesn't exist on my computer. Does anyone know what provides it?
  9. johnnymanly

    Question what does "vessel:get_rawstatus(1)" return?

    Very good. Thanks for looking at it.
  10. johnnymanly

    Back playing Orbiter after a good while

    Welcome back.:)
  11. johnnymanly

    Problem OpenOrbiter2024 Testphase User Issues

    When resuming a scenario by clicking on "Current state" Orbiter log gets filled with 000069.413: D3D9ERROR: D:\a\orbiter\orbiter\OVP\D3D9Client\Scene.cpp Line:1249 Error:-2005530516 pDevice->Clear(0, NULL, D3DCLEAR_TARGET | D3DCLEAR_ZBUFFER | D3DCLEAR_STENCIL, 0, 1.0f, 0L) 000069.414: D3D9ERROR...
  12. johnnymanly

    Hardware Orbiter log errors

    This happens on Windows 10 with Orbiter 240704 and on Arch Linux/Wine with Orbiter 2024-RC2. Both use built in D3D9 client. I guess I should post this in a more relevant part of the forum. Here's the log from RC2 anyway: 000049.612: **** Creating simulation session 000049.647: D3D9: [DirectX 9...
  13. johnnymanly

    Hardware Orbiter log errors

    2024-RC2 Sorry I should have mentioned.
  14. johnnymanly

    Question what does "vessel:get_rawstatus(1)" return?

    Yes, I thought that was it but I still get attempt to call method 'get' (a nil value)
  15. johnnymanly

    Question what does "vessel:get_rawstatus(1)" return?

    I get the idea of what you're saying but I'm missing the details. To my inexperienced mind a practical use of that code would be: local vs = vi:get_rawstatus(1) local t = vs.get() t.rpos = {x=0,y=0,z=-9.62} vs.set(t) oapi.create_vessel("OmegaBooster", "OmegaBooster", vs) But that's not correct...
  16. johnnymanly

    Hardware Orbiter log errors

    When I click on "Current state" scenarios my log is filling up with: 000134.107: D3D9ERROR: D:\a\orbiter\orbiter\OVP\D3D9Client\Scene.cpp Line:1249 Error:-2005530516 pDevice->Clear(0, NULL, D3DCLEAR_TARGET | D3DCLEAR_ZBUFFER | D3DCLEAR_STENCIL, 0, 1.0f, 0L) It usually keeps running but does...
  17. johnnymanly

    Question what does "vessel:get_rawstatus(1)" return?

    As asked. Does it return a table?
  18. johnnymanly

    Problem 'clbk_loadstateex' not working for me

    That looks good. I really appreciate the help and all the work you've done. :cheers:
  19. johnnymanly

    Problem Invisible Hud

    Sorry, I forgot to rename that. I'm glad you got it taken care of though. Thanks again for your help. (y)
  20. johnnymanly

    Problem 'clbk_loadstateex' not working for me

    I was going to leave this go and move my project to a DLL but I'd really like to know where I'm going wrong. The sim says that it's opening at the right configuration but it's not. It always starts at configuration 0 (clbk_setclasscaps). Attached is a simple script, meshes, and scenario if...
Back
Top