Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
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.
Just a quick guess: oapiGetFocusObject() does not return a valid value?
You should never assume things to go right, better assume things to go wrong and act accordingly.
Even if the code looks more bloated!
So:
auto vessel = oapiGetFocusObject();
if (vessel) {
// ...
}
...what to do if vessel...
I knew that term, but that's a bit to violent - so I didn't use that. If it was water-hammer I would be very concerned :D
I even built a "demonstrator" with plastic pipes once, to demonstrate that effect to youngsters that thought "close the valve as quickly as possible" was a smart idea :p
Funny how it sounds when the RCS fire.
Remindes my of the tubing of the central-heating at my home when a valve is closed to quick and causes "a backslash" (if that's the right term) :unsure:
...and Yes, there is some air-pockets in the system that should not be there :D (in my central-heating...
Hi,
as I've heard my name ;) here's what I have found so far:
1. The Lua callback functions so far (prestep, poststep, setclasscaps) are implemented by the ScriptVessel class (see Orbitersdk/samples/ScriptVessel and Config/Vessels/ScriptPB.cfg).
2. Adding similar code to call clbkDrawHud might...
I am pretty sure it is. In general it's just another Number used to identify the thruster group(s) - 0x40 to be exact.
And it's clearly handled in "\Module\LuaScript\LuaInterpreter\lua_vessel_mtd.cpp":
//...
int Interpreter::v_create_thrustergroup (lua_State *L)
{
static const char...
MAybe that was just a typo in your post, but shouldn't you call Elevator() on make_anim_module, when you've used require(...) ?
Like:
make_anim_module = require("make_anim")
...
make_anim_module.Elevator()
On the other hand, I am only slightly above noob-level when it comes to Lua ;)
Hmm, I have no experience with running D3D9Client on Windows 11, but I doubd that that migh be a no-go.
Do the logs (Orbiter.log in main folder and Modules\D3D9Client\D3D9ClientLog.html) show something?
Hi @johnnymanly ,
I am not sure what exactly you mean by "a lua vessel".
If the vessel (class) itself was written in lua, there should be something like these callback methods:
void SaveState (FILEHANDLE scn);
bool ParseScenarioLine (const char *line);
(these are the C++ API, but...
Beware of the localization nonsense! :p
You might be able to guess what "Select Case var Case 1 ..." might be in german locale ("Prüfe Fall var Fall 1 ..."),
but do you have the skills to guess it in Czech ;)
I hope your "VBA skills" don't have to be used in EXCEL 95
Seems like roscosmos is launching Luna 25 this week.
You'll find the information on the news-page of your choice ;)
https://en.wikipedia.org/wiki/Luna_25
Just a quick update: I am currently fighting some other (build/compile/whatever) issues.
But I will look into this - it just takes some more time, unfortunately ;)
I did not have time to look into this, but just to rule out other things:
Do you have noticed differences in the dynamic- (and or static-)pressure values when using D3D9Client vs. Inline Client?
Can you upload a scenario for a "stock" DeltaGlider that does the atmostheric skip (some short time...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.