Fractal Softworks Forum

Starsector => Mods => Topic started by: Jaghaimo on November 11, 2020, 02:06:53 AM

Title: [0.9.1a] Galactic Markets 1.0.1 - economy services
Post by: Jaghaimo on November 11, 2020, 02:06:53 AM
Galactic Markets
Economy services for Starsector

(https://img.shields.io/github/v/release/jaghaimo/galmart?label=download%20mod&style=for-the-badge) (https://github.com/jaghaimo/galmart/releases/latest) (https://img.shields.io/github/license/jaghaimo/galacom?label=contribute&style=for-the-badge) (https://github.com/jaghaimo/galmart) (https://img.shields.io/codeclimate/maintainability-percentage/jaghaimo/galmart?style=for-the-badge) (https://codeclimate.com/github/jaghaimo/galmart)

Galactic Markets is a utility mod that allows to check shortages and surpluses, as well as low and high prices of any commodity. Additionally, it allows to track this information in the form of side intel.

(https://i.imgur.com/6rzWGiL.png)

Title: Re: [WIP] Galactic Commodities - economy services
Post by: Chairman Suryasari on November 11, 2020, 03:01:08 AM
Yes! My boy totally rework and adding more comprehensive 4X UI to Starsector!

Btw it is possible to make a makeshift industries menu for colony? You know that Starsector limit Industries and Structure greatly because the UI so many mod that add new building suffer for this, if you can make one it's gonna be great!

Thanks for your hard work mate  ;D
Title: Re: [WIP] Galactic Commodities - economy services
Post by: Thaago on November 11, 2020, 10:35:29 AM
[Edit]
Unfortunately I can't merge the requested posts here without making them the lead posts because we don't have the ability to change post order, sorry! Here are quotes of them at least:

Edit: I have thought more about this, and it will be a new mini-mod (like this or Stellar Logistics) - "Commodity Exchange - economy services for Starsector". Here are some ambitious ideas for the new mod:
Yes!  ;D  Sooo excited!! The names should probably sound more cohesive, tho. HyperNet Search / HyperNet Logistics / HyperNet ComEx

Quote from: Jaghaimo
Basic: Mod will let you view surplus / shortage of commodities.
Basic: Mod will let you check low/high for given commodities
This is it exactly! Don't forget to filter out markets that the player has no access to through the Comm Relays.

Quote from: Jaghaimo
Optional (certain): Mod will let you purchase and sell commodities remotely (e.g. buys to storage and sells from storage).
I trust that there would be a strict requirement? Perhaps a high rep with the Quartermaster? It seems almost OP if its too easy. Would you be able to purchase the storage remotely as well?

Quote from: Jaghaimo
Optional (unlikely): Allow short positions - sell commodities you don't have (so you are at -X), having to repurchase them back at a given time (to be at 0 again).
To me, that kind of power to the player is too much. I'm glad those are optional. I'd rather see the merchants declare short selling as illegal.

Yes!  ;D  Sooo excited!! The names should probably sound more cohesive, tho. HyperNet Search / HyperNet Logistics / HyperNet ComEx
One thing software developers consistently fail at is naming things. Jokes asides, I like my names :)

This is it exactly! Don't forget to filter out markets that the player has no access to through the Comm Relays.

This is going to be a pain to relay (badumtss) in a way that does not require additional explanation. E.g. market is in a system with no Comms Array - technically no info should be coming from it. There's also a second check where the player has to be within Comms Array range. There's a reason both are ignored in HyperNET (and Stellics), perhaps I should revisit this...

I trust that there would be a strict requirement? Perhaps a high rep with the Quartermaster? It seems almost OP if its too easy. Would you be able to purchase the storage remotely as well?

I dropped the priority on this to "likely". It's still a vague idea (whishlist) and everything is possible. Will revisit after 1.0.0 release. It would not be OP since:
  • You only trade on legal markets, thus you have to pay tariff, and
  • Your purchase ends in the storage, thus you have to pay monthly upkeep,
By the time the price on that market turned from low to high (say some unknown perpetrator disrupted Spaceport) you will have already lost money through above mentioned fees.

To me, that kind of power to the player is too much. I'm glad those are optional. I'd rather see the merchants declare short selling as illegal.

Welcome to futures contracts (https://en.wikipedia.org/wiki/Futures_contract). Honestly, this and modern stock exchanges feel like fraud to me. Still, if there's a demand for something, someone will sell it. It is so low on my to-do list that it will unlikely materialize (remember I have other mods to maintain / expand).
Title: Re: [WIP] Galactic Commodities - economy services
Post by: Jaghaimo on December 02, 2020, 07:13:52 AM
Here is an early preview of Galactic Commodities main board (yes, it looks like big brother of commodity F1 tooltip):
(https://i.imgur.com/QD4Cskn.png)

Many questions are still unanswered:

The UI and mod will get updated as those questions get answered and I build acceptable workflows.
Title: Re: [WIP] Galactic Commodities - economy services
Post by: IonDragonX on December 02, 2020, 10:57:37 AM
I drool with anticipation...
You are my hero, Jaghaimo
Title: Re: [WIP] Galactic Markets - economy services
Post by: Jaghaimo on December 19, 2020, 02:25:45 PM
Sorry for the delay, had to take some rest after a rather busy month at work.
The mod is expanding, still no public release though.
Reimplemented tabs behaviour (again, using buttons) and continue towards getting side list populated with desired intels (last item before release, few technical issues to iron out).
Should have a release by the end of this year, Jan at latest.

(https://i.imgur.com/21kNeXb.gif)
Title: Re: [WIP] Galactic Markets - economy services
Post by: IonDragonX on December 19, 2020, 02:52:43 PM
Looks great!
Title: Re: [WIP] Galactic Markets - economy services
Post by: PromethiumAddict on December 21, 2020, 11:05:19 PM
this will be usefull im doing a trader playthrough with the dynamic tariffs mod and need a better way to check proper prices
Title: Re: [WIP] Galactic Markets - economy services
Post by: Jaghaimo on December 29, 2020, 02:42:24 PM
Pre-release is available (release candidate - if there are no bugs I will release it as 1.0.0).
I have decided for pre-release as I am away for holidays and can't fully test it myself. Please report any bugs and usability issues here.

https://github.com/jaghaimo/galmart/releases/tag/0.9.9

(https://i.imgur.com/SV726A0.png)
Title: Re: [WIP] Galactic Markets - economy services
Post by: IonDragonX on December 29, 2020, 02:50:21 PM
I burble with anticipation. Into my list it goes. Thank you, Jaghaimo.
Title: Re: [0.9.1a] Galactic Markets 1.0.0 - economy services
Post by: Amoebka on December 31, 2020, 08:45:33 AM
Just looking at the screenshots, doesn't it spoil the locations of fringe pirate/pather bases? Or do they only get listed if the player has discovered them?
Title: Re: [0.9.1a] Galactic Markets 1.0.0 - economy services
Post by: Jaghaimo on December 31, 2020, 10:21:17 AM
You were right, I forgot my usual filter (remove hidden market, all my mods have them removed by default). Bug fixed in 1.0.1.
Title: Re: [0.9.1a] Galactic Markets 1.0.1 - economy services
Post by: ShpunkY on February 08, 2021, 09:14:29 PM
when installed with mods that add extra items the commodity market viewer starts bleeding into the rest of the menu
Title: Re: [0.9.1a] Galactic Markets 1.0.1 - economy services
Post by: Jaghaimo on March 05, 2021, 02:34:58 PM
when installed with mods that add extra items the commodity market viewer starts bleeding into the rest of the menu
I know, same problem with HyperNET when you have lots of results. It is unfixable in this Starsector version (fixing it breaks buttons). Alex has fixed it for 0.9.5, and I will fix my side when the next version is out.
Title: Re: [0.9.1a] Galactic Markets 1.0.1 - economy services
Post by: Morzord on April 02, 2021, 07:05:12 AM
I'm running this on the current version of the game with various faction, arsenal, misc, and Utility mods after changing the game version in the mod.info file to the current version. It seems to be working perfectly with no problem.
Title: Re: [0.9.1a] Galactic Markets 1.0.1 - economy services
Post by: Jaghaimo on April 10, 2021, 01:54:30 PM
There is only one bug (UI/buttons overflow when there's a lot of commodities) which needs to be fixed in Galmart, and it will be fixed in Stellar Networks (https://fractalsoftworks.com/forum/index.php?topic=20836) instead.
I am locking this thread as no further work on Galmart is planned. Please direct all feedback in Stellar Networks thread.