Search found 5546 matches

by another_commander
Thu Jul 02, 2020 10:45 am
Forum: Expansion Pack
Topic: Out of memory: how to troubleshoot?
Replies: 12
Views: 259

Re: Out of memory: how to troubleshoot?

Quick heads-up: In order to maintain consistency with both the existing code references and current standards regarding MB vs MiB meaning, commit 91ad883 has been made. It just makes sure that all references to runtime size are in MiB. As a result, the .GNUstepDefaults key to use is changed to jsrun...
by another_commander
Thu Jul 02, 2020 8:51 am
Forum: Expansion Pack
Topic: Out of memory: how to troubleshoot?
Replies: 12
Views: 259

Re: Out of memory: how to troubleshoot?

I am very reluctant altering the defaults of the Javascript engine, because it may have side effects that are not immediately obvious. It is also uncertain what effect it may have on performance on other system configurations. Most of the JS stuff we have today was written by Jens a long time ago an...
by another_commander
Thu Jul 02, 2020 8:32 am
Forum: Expansion Pack
Topic: Out of memory: how to troubleshoot?
Replies: 12
Views: 259

Re: Out of memory: how to troubleshoot?

I have sent commit c7a7f0f to the repository. It should take care of the out of memory issue. As stated in the commit message: Use the key 'JSRunTime_size_mb' in .GNUstepDefaults. The value of this key is the requested size of the JS runtime in megabytes. If the key is missing, then the default valu...
by another_commander
Thu Jul 02, 2020 6:05 am
Forum: Expansion Pack
Topic: (WIP) Ship Repurchase
Replies: 31
Views: 9061

Re: (WIP) Ship Repurchase

The idiosyncrasy of the core game letting you keep all equipment after using the escape pod is by design. It was what the old Elite did. If this needs to be bypassed for any reason, I would prefer if it were done purely by OXP and not core changes.
by another_commander
Sun Jun 28, 2020 2:10 pm
Forum: Discussion
Topic: Introduce Yourself.
Replies: 1110
Views: 310987

Re: Introduce Yourself.

Welcome to our new players, hope you enjoy the game. PS Oh, one more thing I forgot to ask - when I recently dowloaded the game - I mentioned that the last version of it is from 2018! 2 years from now.. did the development of a game stop? No, it has just slowed down, the development team is not that...
by another_commander
Tue Jun 23, 2020 4:43 pm
Forum: Expansion Pack
Topic: [Release] Missile modification
Replies: 6
Views: 6369

Re: [Release] Missile modification

Note that shininess is not used in the current rendering engine. It makes no difference whether it exists in shipdata or not. It will be used only if the old rendering or the new Blinn-Phong code are used and they are both currently disabled in the shaders.
by another_commander
Mon Jun 22, 2020 7:03 pm
Forum: Discussion
Topic: Screenshots
Replies: 5619
Views: 1051239

Re: Screenshots

Image

Image
by another_commander
Sun Jun 21, 2020 7:10 pm
Forum: Testing and Bug reports
Topic: "Scoop Active" audio
Replies: 1
Views: 46

Re: "Scoop Active" audio

Fixed in commit 837d5cd.
by another_commander
Sat Jun 20, 2020 7:39 pm
Forum: Expansion Pack
Topic: Out of memory: how to troubleshoot?
Replies: 12
Views: 259

Re: Out of memory: how to troubleshoot?

If I can get the right makefiles for Spidermonkey from my dev environment, I'll upload them somewhere but I won't be able to provide any assistance with them; I don't remember what I did back then and why. Here are the files needed to compile Spidermonkey on Windows using Oolite's dev environment. ...
by another_commander
Sat Jun 20, 2020 7:32 am
Forum: Testing and Bug reports
Topic: AI jumping further than allowed? 3.2 LY with 3.8 LY fuel
Replies: 1
Views: 58

Re: AI jumping further than allowed? 3.2 LY with 3.8 LY fuel

Fixed in commit 8f3921 . It was an integer division issue. If fuel (an unsigned integer value) was 38 and distance was 3.2LY, then dividing 38/10 gives 3 in integer arithmetic and the second condition was becoming true, triggering the warning. Fixed by changing the 10 to 10.0f, promoting the operati...
by another_commander
Fri Jun 19, 2020 3:43 pm
Forum: Expansion Pack
Topic: Out of memory: how to troubleshoot?
Replies: 12
Views: 259

Re: Out of memory: how to troubleshoot?

Building the Spidermonkey DLL for Oolite on Windows has easily been one of the hardest tasks I've had to do since I got involved in the project. Back then when I compiled it with the set of features we needed for the game, MinGW was not a Spidermonkey target and I had to convert the MSVC project fil...
by another_commander
Fri Jun 19, 2020 8:19 am
Forum: Testing and Bug reports
Topic: I thought distanceTo needs vectors, not ships, but I was wrong
Replies: 3
Views: 148

Re: distanceTo needs vectors, not ships

However, it should be slightly more efficient to pass in vectors directly since that case is handled first, followed by the array check and then the entity check. I don't know how much impact it would have but perhaps it is worth incorporating the changes I made? As surprising as this may sound, th...
by another_commander
Thu Jun 18, 2020 9:33 pm
Forum: Testing and Bug reports
Topic: I thought distanceTo needs vectors, not ships, but I was wrong
Replies: 3
Views: 148

Re: distanceTo needs vectors, not ships

Although a position vector is required for the entity to which the distanceTo is applied, the argument of the distanceTo function can be a vector, an array or an entity. In the last case it uses the entity's position as argument. Check out OOJSVector.m, JSObjectGetVector function; there is a comment...
by another_commander
Mon Jun 15, 2020 5:51 am
Forum: Expansion Pack
Topic: Out of memory: how to troubleshoot?
Replies: 12
Views: 259

Re: Out of memory: how to troubleshoot?

You are running the 64-bit version of the game. There should be no limit to memory usage whatsoever., unless you exceed your physical RAM of course, which does not seem to be the case. Perplexing, indeed. What happens if you install all OXPs except phkb's populator? Does it run out of memory then? Y...
by another_commander
Thu Jun 11, 2020 10:10 am
Forum: Oolite-PC
Topic: Nordic Keyboard
Replies: 1
Views: 428

Re: Nordic Keyboard