Thanks - fixed in tonight's build.spara wrote:The documentation says that a market with omitted market_definition key should have a zero capacity market. This does not seem to be so.
Trunk nightly
Moderators: winston, another_commander, Getafix
Re: Trunk nightly
Re: Trunk nightly
Found and fixed: would occur if the HUD had messages on it while it was changed - most common when switching HUDs on launch, of course.spara wrote:A thing that I have not been able to isolate, is the occasional message that stays in the view. It's often "Forward View" text right after load game and launch, but not always. And more rarely I've seen it in a longer sessions too.
- Norby
- ---- E L I T E ----
- Posts: 2577
- Joined: Mon May 20, 2013 9:53 pm
- Location: Budapest, Hungary (Mainly Agricultural Democracy, TL10)
- Contact:
Re: Trunk nightly
In the newest Large HUD I use
To make the last screenshots properly I must quit and switch to fullscreen (16:9) before I load a game due to I use the windowed mode for 4:3 shots and when I load a game in windowed mode and switch to fullscreen then the message boxes stays near the center regardless of x_origin.
x_origin=1;
in message_gui and x_origin=-1;
in comm_log_gui to attach these to the border of the screen but neither follow the window resizes nor changes to fullscreen, just stay in the same position.To make the last screenshots properly I must quit and switch to fullscreen (16:9) before I load a game due to I use the windowed mode for 4:3 shots and when I load a game in windowed mode and switch to fullscreen then the message boxes stays near the center regardless of x_origin.
Re: Trunk nightly
Because the GUIs aren't HUD dials, the position only gets recalculated if they're reset. You can force this as a workaround by monitoring the window height/width in a frame callback and resetting the HUD if it changes.
It should be fixable but probably not for 1.82 due to the risk of introducing more serious bugs - noted as issue #148 for future correction.
It should be fixable but probably not for 1.82 due to the risk of introducing more serious bugs - noted as issue #148 for future correction.
- Smivs
- Retired Assassin
- Posts: 8408
- Joined: Tue Feb 09, 2010 11:31 am
- Location: Lost in space
- Contact:
Re: Trunk nightly
Just out of interest, and if it's not too much trouble what are the other 147?cim wrote:- noted as issue #148 for future correction.
Commander Smivs, the friendliest Gourd this side of Riedquat.
-
- Quite Grand Sub-Admiral
- Posts: 6812
- Joined: Wed Feb 28, 2007 7:54 am
Re: Trunk nightly
https://github.com/OoliteProject/oolite/issues : 21 open, 83 closed.Smivs wrote:Just out of interest, and if it's not too much trouble what are the other 147?
https://github.com/OoliteProject/oolite/pulls : 3 open, 41 closed.
Total: 148. Follow the links to find out more.

- Cody
- Sharp Shooter Spam Assassin
- Posts: 16081
- Joined: Sat Jul 04, 2009 9:31 pm
- Location: The Lizard's Claw
- Contact:
Re: Trunk nightly
I was outraged to discover that my username was already in use on Github - the sheer effrontery of it!
I would advise stilts for the quagmires, and camels for the snowy hills
And any survivors, their debts I will certainly pay. There's always a way!
And any survivors, their debts I will certainly pay. There's always a way!
Re: Trunk nightly
The nerve! I quite sympathize: I didn't receive any royalties on the use of my username, myself.Cody wrote:I was outraged to discover that my username was already in use on Github - the sheer effrontery of it!
Re: Trunk nightly
Not sure if it's a bug or a missing feature, but commodity capacity seems to be unreachable via js. I can get price, quantity, quantity_average etc. without a problem, but capacity returns 'undefined'.
-
- ---- E L I T E ----
- Posts: 299
- Joined: Mon Apr 27, 2015 9:03 pm
Re: Trunk nightly
If the cargo hold is full, gold/platinum/gemstone cargo contracts display with "insufficient resources". If I sell just one container, I can accept them. Those cargo types do not require any cargo space I thought.
self compiled master@3b49de285d494de07fccf4021c4baa36f667aac4
self compiled master@3b49de285d494de07fccf4021c4baa36f667aac4
warning sound if a missile is inbound: Missile warning
Re: Trunk nightly
Depends how big the contract is - over 500kg of gold/platinum or 500,000g of gems will need a cargo pod. It should let you take smaller ones, though, provided you haven't already used that space.Anonymissimus wrote:If the cargo hold is full, gold/platinum/gemstone cargo contracts display with "insufficient resources". If I sell just one container, I can accept them. Those cargo types do not require any cargo space I thought.
self compiled master@3b49de285d494de07fccf4021c4baa36f667aac4
Re: Trunk nightly
It works at secondary stations, but only appears at the main station if the capacity is explicitly set by a market script. That will be fixed in tonight's build.spara wrote:Not sure if it's a bug or a missing feature, but commodity capacity seems to be unreachable via js. I can get price, quantity, quantity_average etc. without a problem, but capacity returns 'undefined'.
Note that 'price', 'quantity', 'capacity', 'key' and in practice 'name' are the only keys you can guarantee will appear - a heavily scripted good might not have a 'quantity_average', for instance.
Re: Trunk nightly
Thanks, your are blazingly fast.cim wrote:It works at secondary stations, but only appears at the main station if the capacity is explicitly set by a market script. That will be fixed in tonight's build.spara wrote:Not sure if it's a bug or a missing feature, but commodity capacity seems to be unreachable via js. I can get price, quantity, quantity_average etc. without a problem, but capacity returns 'undefined'.
Note that 'price', 'quantity', 'capacity', 'key' and in practice 'name' are the only keys you can guarantee will appear - a heavily scripted good might not have a 'quantity_average', for instance.

Is there some simple way of detecting what the player sees in the market screen? In the past it was simple, in-flight it was system market and when docked it was that station's market. Now, in-flight and targeting a station, it might be system market or station market depending on market_broadcast key. Could market_broadcast be readable from script?
And a bit confusing feature that would be nice to get fixed. Secondary station's market shows fine when targeted, but the headline of the market screen does not change, which is quite confusing.
Re: Trunk nightly
A proper property will have to wait until post-1.82, but you can as a workaround read its shipdata key, then read its raw shipdata, then check for a market_broadcast key in that (assuming true if not found)spara wrote:Is there some simple way of detecting what the player sees in the market screen? In the past it was simple, in-flight it was system market and when docked it was that station's market. Now, in-flight and targeting a station, it might be system market or station market depending on market_broadcast key. Could market_broadcast be readable from script?
Fixed in tonight's build. Thanks.spara wrote:And a bit confusing feature that would be nice to get fixed. Secondary station's market shows fine when targeted, but the headline of the market screen does not change, which is quite confusing.