Orbiter BETA Lua development

Ripley

Tutorial translator
Donator
Joined
Sep 12, 2010
Messages
2,903
Reaction score
35
Points
63
Location
Rome
Website
www.tuttovola.org
Looking forward to your comeback BEEP.
Hope everything will work out for the best, Godspeed.
 

JMW

Aspiring Addon Developer
Joined
Aug 5, 2008
Messages
542
Reaction score
17
Points
18
Location
Marooned In Brazil
BEEP -
Very best wishes for things to resolve well.
Look forward to seeing you again soon!
 

kuddel

Donator
Donator
Joined
Apr 1, 2008
Messages
1,500
Reaction score
28
Points
48
No problem.
Handle your real life first; Orbiter comes 2nd.
 

Face

Addon Developer
Addon Developer
Beta Tester
Joined
Mar 18, 2008
Messages
4,116
Reaction score
58
Points
73
Location
Vienna
The pack of Post 45 should be self-contained.
Sorry for the long delay, somehow I've totally forgot that over the holidays and the stressy first weeks this year.

I've tried the pack referenced and it works as it should on beta r73 with MOGE. I.e. I see the building's chimney smoking.
 

BEEP

Addon Developer
Addon Developer
Joined
Apr 5, 2008
Messages
149
Reaction score
7
Points
18
Thanks everybody for the kind words. Things are developing exceptionally well and I expect to be home again next week. Orbiter comes in 2nd but is a close 2nd to me and I hope I'll have some time left to employ in this magnific mind adventure. Rate will be slower but it will go on.
 

Donamy

Addon Developer
Addon Developer
Donator
Beta Tester
Joined
Oct 16, 2007
Messages
6,769
Reaction score
12
Points
113
Location
Cape
Go take care of priorities in your life. We'll be here when you back.:thumbup:
 

kuddel

Donator
Donator
Joined
Apr 1, 2008
Messages
1,500
Reaction score
28
Points
48
LuaScriptPlus DLLs (for Orbiter 2016)

I've uploaded versions for Orbiter 2016 (see attachments in first post of this thread).
One ZIP containing the sources and the other the DLLs.

You may now try those Lua extensions for Orbiter 2016.
Note, that the contents of the ZIP will overwrite your files, so you might like to backup those before they get overwritten.
I've tried to link those statically with the runtime, so hopefully they work just by unzipping it.

The test scenario (\Scenarios\Tests\undock_test.scn) is a starting point to run the test script.
As Orbiter 2016 does not have the "automatic Lua script start from scenario" feature, you have to run/start that manually.
At the LuaConsole type:
Code:
run('test/undock_test')
Have fun (if it works for you, else please report back)
 
Last edited:

kuddel

Donator
Donator
Joined
Apr 1, 2008
Messages
1,500
Reaction score
28
Points
48
LuaScript 2019-07-11.zip

I've uploaded a new ZIP[1], that is functionality-wise basically the same as the previous ZIP[2] but the directory layout has been adopted to the latest Orbiter BETA (r85++) layout and some LDoc documentation fixes were added.

As no functional change is done, the DLL package [3] is still valid.

The ZIP contains only files that differ from the HEAD revision (r87) of Orbiter BETA repository, to make it easer to spot the changes.

This is mainly a way to provide Martin a small help while he's doing more important stuff :thumbup:


[1] LuaScript 2019-07-11.zip ...available at the first post.
[2] LuaScript 2017-12-08.zip
[3] LuaScript 2017-12-07(dlls).zip


Here's a detailed list of changes (against Orbiter BETA r87):

-------------------------------------------------------------------------------
term.clear() additions.
- LuaConsole\ConsoleInterpreter.cpp
- LuaConsole\ConsoleInterpreter.h
- LuaConsole\LuaConsole.cpp
- LuaConsole\LuaConsole.h
- LuaMFD\MfdInterpreter.cpp

unreachable code from ConsoleConfig::Description removed.
- LuaConsole\ConsoleCfg.cpp

[Del], [End] and [Pos1] key handling.
- LuaConsole\LuaConsole.cpp

Doc fix (missing full stop for LDoc).
- LuaInterpreter\Interpreter.cpp
- LuaInterpreter\lua_vessel_mtd.cpp

Doc fix (parameter names were missing).
- LuaInterpreter\lua_vessel_mtd.cpp
-------------------------------------------------------------------------------


or the other way around (what files have what changes):

-------------------------------------------------------------------------------
LuaConsole\ConsoleCfg.cpp
- unreachable code from ConsoleConfig::Description removed

LuaConsole\ConsoleInterpreter.cpp
- term.clear() additions.

LuaConsole\ConsoleInterpreter.h
- term.clear() additions.

LuaConsole\LuaConsole.cpp
- term.clear() additions.
- [Del], [End] and [Pos1] key handling.

LuaConsole\LuaConsole.h
- term.clear() additions.

LuaMFD\MfdInterpreter.cpp
- term.clear() additions.

LuaInterpreter\Interpreter.cpp
- doc fix for Interpreter::eek:api_set_tacc (missing full stop for LDoc)
- leaner loop iterator at Interpreter::eek:apiGetAnnotations (no functional change)

LuaInterpreter\lua_vessel_mtd.cpp
- doc fix for Interpreter::v_add_force (parameter names were missing)
- doc fix for Interpreter::v_register_animation (missing full stop for LDoc)
-------------------------------------------------------------------------------
 
Top