Moon lander simulation

george7378

DON'T PANIC
Addon Developer
Donator
Joined
Jun 26, 2009
Messages
1,045
Reaction score
0
Points
36
I made a blog post about this, but it's better to talk about it here.

I've made a simple Moon lander sim which lets you control the main engine of an Apollo lander, with the aim of landing safely from 3000m altitude as quickly as possible, using as little fuel as possible. Here's a demo:


It's available from here:

http://sourceforge.net/projects/moonlander/

It's not much, but thanks for looking :)
 
The best I came up with out of about 20-25 attempts.

d3zOm.jpg
 
Last edited:
Haha, my best is only 40,000! And I thought I had it down to an art...
 
Awesome! All it needs is some sort of simple visual.
 
Downloaded it, nice project. Everything works OK. :thumbup:
 
Nice, thanks :) As for graphics, I need a lot more experience and patience before I delve into that again!! If I get to grips with a good graphics library, I'll give it a makeover.

---------- Post added 09-04-12 at 21:26 ---------- Previous post was 08-04-12 at 21:27 ----------

I made a little update and swapped the hover autopilot for a full autoland which I'm quite proud of XD

If you want to check it out, it's available at the same link:

https://sourceforge.net/projects/moonlander/

I just exchanged the old 'MoonlanderInstall.exe' with the new one.

Thanks again :)
 
Just wondering - did anyone with an XP computer try it out? I'm just wondering if it works OK on XP, because I've only tried it on windows 7. Thanks!
 
An IFR moon lander. Interesting, since you really can't see where you're going. What happens if you land on a crater's hill? :blink:
 
Well it's only IFR because I can't put any suitable graphics into it XD You have to trust the guidance computer to aim you at the right spot (try and Autoland button!) :)
 
Just wondering - did anyone with an XP computer try it out? I'm just wondering if it works OK on XP, because I've only tried it on windows 7. Thanks!

Doesn't work for me (WinXP 32 bit PL SP3). Very first version Worked though.
 
Just wondering - did anyone with an XP computer try it out?
Works just fine for me on Windows XP MCE SP3 x86_32.

Simulation also works great in Linux x86_64 w/ WINE 1.5.2 when running already installed in Windows instance, but the installer fails with "Unhandled exception: page fault on read access to 0x00413f5c in 32-bit code (0x00413f5c).", so Windows is required to install it first, and then it can be used in Linux.
 
Hi, thanks for your feedback! I really appreciate it! Wow, it's interesting that it runs on Linux too - I don't really know anything about cross-platform programming, so that's just a bonus XD

Loru - I made another version with some small changes - it would be really nice of you if you could test this one too. I really appreciate it. It might be an idea to uninstall any old versions too:

http://sourceforge.net/projects/moonlander/files/MoonlanderInstalltest.exe/download
 
Still doesn't work but I'll check it tommorow as I can reboot - I've got few processes I cannot stop right now :/
 
OK - I tried it on an XP computer too, and it doesn't work ... thanks for your help, I'll try and get back to you when I get a version that works on my XP.
 
the installer fails with "Unhandled exception: page fault on read access to 0x00413f5c in 32-bit code (0x00413f5c)."
The installer works fine now, after I copied it to Linux native filesystem (the previous try, which failed, was from FAT32 - MicroSD card, and NTFS - Windows partition - they are mounted with noexec flag). Strange that I didn't have to do the same to the installed application.
 
I made another version with some small changes - it would be really nice of you if you could test this one too.
The test version doesn't work in Linux/WINE, neither one installed by installer, nor run from the SD card (the previous version located in another directory on the SD card still works fine). No error is shown, the window just doesn't appear.
 
Hi - yes, that's the same problem my XP computer has. It installs OK, but just doesn't run. The debugger in Visual C++ says 'exited with code -1 (0xffffffff)." when I try to recompile it on the XP computer. Funny that this doesn't happen in Windows 7!

Oh well, I'll see what I can do. I will probably need to look over the whole thing.

Thanks again for your help :D

---------- Post added 22-04-12 at 10:02 ---------- Previous post was 21-04-12 at 22:31 ----------

Ah, I've found the problem! It's something to do with those progress bars that it uses for fuel, thrust and contact light. When I take those out, it loads fine.

Good news: It doesn't need a whole re-write!

Bad news: I don't know what to do XD I'll look around and find out.

---------- Post added at 12:34 ---------- Previous post was at 10:02 ----------

OK, I think I've fixed it. It works on my XP computer now anyway. You can get it by pressing the 'download' button here:

https://sourceforge.net/projects/moonlander/
 
Back
Top