[Script] TC Stock Exchange "The Evolution of a Financial Revolution" v4 Full Release.

The place to discuss scripting and game modifications for X³: Terran Conflict and X³: Albion Prelude.

Moderators: Scripting / Modding Moderators, Moderators for English X Forum

Nho
Posts: 180
Joined: Fri, 24. Feb 06, 18:19
x3

Post by Nho »

Nice looking menus.

I had some problems after buying shares. I opened "my shares", refreshed it and when I want to go back to general menu, the game freeze indefinitely. I tried a second time and the same thing happened. And later I checked again, but I had no shares to be found. Which means that I hadn't to restart the game :) Yeah, that's from a former colleague of mine who used to say there is always good in a painful situation.

One more thing I noticed, I have some Boron station under Argon. Don't know if that is normal.

And about the presentation, I chose to hide undiscovered station in the options, but I still have access to the wares menu.

But overall it's very good looking and easy to use
mark_a_condren
Posts: 1468
Joined: Wed, 3. Aug 05, 05:05
x3tc

Post by mark_a_condren »

Nho

Thanks for the feedback, i'll look into the issues you have and see what i can work out.

I don't like the sound of the freeze issue, as you may expect, that is not supposed to happen.

Can you explain about the Boron station under Argon comment, i'm not following you there. Do you have Boron wares listed at an Argon Exchange? or a Boron Sector listed in it with Argon Sectors?
If its Boron wares listed you will pro find that it is because an Argon Trading Station or Equipment Dock is selling those items.

I am glad you are finding it easy to use and like the menus and layout.

EDIT:
To the other testers.
Can you confirm any of the issues that Nho is having or have found any of your own please.

EDIT 2:
BUG. Ok yes you can see wares for exchanges if you have 'only known sectors' or 'only known exchange stations' set as 'No' if you go in through the list of exchange stations cos it still shows the exchange when it shouldn't. Missed a check in the exchange list script. Will fix for next version.

MarCon
Nho
Posts: 180
Joined: Fri, 24. Feb 06, 18:19
x3

Post by Nho »

Heya MarCon

There is a Royal Boron trading station in Light of Hearth under the Argon Exchanges list. But there is no Boron station there, at least none that I can spot.

About the freezing problem, got this when I want to see the detailed summary of shares panel too. It's a clean X3 install, but I have many scripts running, maybe an incompatibility?

I'll try again when I'm back this afternoon
Nho
Posts: 180
Joined: Fri, 24. Feb 06, 18:19
x3

Post by Nho »

Ok I did a quick new start and tried it with "show unknown station" enabled. I could buy shares, view the detailed summary etc, everything fine. Then I unchequed "show unknown station" and saved and there I couldn't see my shares anymore, they had disapeared.

Maybe that's where the problem is from? Note that in this new start I didn't activate any of my AL plugins.

Now I really have to go :)
mark_a_condren
Posts: 1468
Joined: Wed, 3. Aug 05, 05:05
x3tc

Post by mark_a_condren »

Ok I did a quick new start and tried it with "show unknown station" enabled. I could buy shares, view the detailed summary etc, everything fine. Then I unchequed "show unknown station" and saved and there I couldn't see my shares anymore, they had disapeared.
Thats how its supposed to work. Switching between the show then not show options while in the same game is going to cause some problems that i just can't fix all of. I think if people choose to change these options while in the same game they do so at their own risk.

If you change the option back to show unknown station it should show your shares again.
Now I really have to go
:D Ok, bye

MarCon
Nho
Posts: 180
Joined: Fri, 24. Feb 06, 18:19
x3

Post by Nho »

So it works flawlessly if I choose to see unknown stock exchange
stations. When I formerly tried the opposite option, I got freezing problems. Not a big deal from my point of view actually, even if not knowing all exchange stations at the beginning could add a little bit to the exploration.

I haven't read in your description about index appearing in orange or red, what's their meaning? I believe I understand that when the stock is full and price at lowest, it's around 100 and the index appears in green, so what is an index of 200?? :o

Here is what should be the correct behaviour, if I understand well: Buy shares when stock is full, sell them when it is low (even if it means buying wares to lower it) and the benefice will be substantial. Did I miss something? If not, I would like to see some random elements added, in order to complicate the mechanisms. Anyhow, that's a player point of view, meaning I enjoy a nice menu and flawless mechanisms, but I am totally ignorant of the sweats and swears of the coder :P
mark_a_condren
Posts: 1468
Joined: Wed, 3. Aug 05, 05:05
x3tc

Post by mark_a_condren »

I've redone quite a bit of the code for the options to fix some things that were causing issues. Hopefully all will be a lot better.

As for the Index numbers, your understanding is correct.
If Stock is 0 and Required is 1000 - High demand for stock so expensive - Index = 0
If Stock is 500 and Required is 1000 - Average demand for stock so Avg price - Index = 50
If Stock is 1000 and Required is 1000 - No demand for stock so its cheap - Index = 100
If Stock is 1500 and Required is 1000 - No demand for stock as got to much so its cheap - Index = 150
If Stock is 2000 and Required is 1000 - No demand for stock as got Way to much so its cheap - Index = 200

The Index number is actually the percentage of the amount of stock available compared to the amount of stock required.

The best place to buy is between 50 and 100, with 100 being optimum.
The best place to sell is below 49.
If between 101 and 200, leave it alone until it comes down a bit.

I hope this helps explain a bit. The Stock and Required numbers are actual numbers from the stations in the exchange area. So this also helps show good places for the player to build stations and make credits. I don't want to change these from the actual figures, i'd rather the player change their universe to take advantage of it.

The Natural wares that will be in the next version are all artifical numbers and they go up and down a lot quicker but by not as much. So this will give a different way to invest. (from my testing you can become a Godzillionare or go broke very quickly investing in the new Naturals :o )
but I am totally ignorant of the sweats and swears of the coder
You don't want to know, if i had to put 5 cents into a jar every time i swore, i'd be wheeling it out of my computer room by the wheel barrow load. The hair just can't grow back as fast as i can pull it out.

Thanks for the feedback, hopefully will have updated version with fixes and additions in next 24 hrs.

MarCon
User avatar
Idea
Posts: 516
Joined: Fri, 24. Oct 08, 12:14
x4

Post by Idea »

You should change the title of this thread in something like 'X3 Financial Revolution' as that will show how huge is this project :D

Can't wait for the new version :D
mark_a_condren
Posts: 1468
Joined: Wed, 3. Aug 05, 05:05
x3tc

Post by mark_a_condren »

Idea,

STUDY !!!

MarCon
Nho
Posts: 180
Joined: Fri, 24. Feb 06, 18:19
x3

Post by Nho »

I'm having a lot of fun with this mod. I still have some questions/remarks tho

- How is the stock maximum calculated? Is it the maximum capacity for a ware of all stations in the stock exchange area? I've noticed that sometimes the number of wares can exceed the max stock for this ware... Bug, or is it I am just too dumb to understand? :mrgreen:

- Something that could be quite useful is a transaction log, somewhere we can see in very simple terms what have been bought/sold, and the benefice.

- I have a concern. Althought I have done nice credits playing with those shares, I am still not skilled at that. But then, when I will be skilled, wouldn't it become too easy to make credits, and a LOT of it? You spoke about those new wares you are planning to implement, which will be more complicated to deal with, that's a great idea. But there still will be the regular wares, and the possibility to make a lot of credits with very little risks. But maybe it's too early to speak about that

- I like the completo meter^^
User avatar
Idea
Posts: 516
Joined: Fri, 24. Oct 08, 12:14
x4

Post by Idea »

''TC Stock Exchange "The Evolution of a Financial Revolution"

:D AWESOME :D
mark_a_condren
Posts: 1468
Joined: Wed, 3. Aug 05, 05:05
x3tc

Post by mark_a_condren »

Nho,

- The Stock and Requiered are ca;culated from the values from all the stations in the exchange area. Stock is all the amounts from both products and resources at stations. Required is those same stations max storage amount of that ware if they use it as a resource, or how much they can hold if the station is a Trading Station or EQ Dock. So in short it how much they have and how much they can hold.

- The Max stock can exceed the required stock quite easily, it is not a bug. Example - If there are 5 stations producing Wheat and only 2 using it, if the 5 producing are full then there is going to be more stock than is required. This is when the Index number goes over 100 and into the red.

- Transaction log, had a couple of reqwsts for this one now, looks like i just might have to do something about it :D . However, you want simple terms :o i don't know if i can do simple terms, it always ends up complicated. :P

- As i've said, you can make lots of credits on the stck exchange, but that is because of how your game is, and everyones will be different. Without changing how your universe is, and i don't want to start doing that, i really can't change that. If you have ideas as to making it a bit harder, let me know. Not to hard mind you. ( I can already hear the next suggestion, difficulty settings of 'Easy', 'Normal' and 'Hard' :D )

- The Completo meter, thought it might be ok to show how things were progressing, glad you liked it.


@Idea
:thumb_up:

@All
I think i'll get this part of Stock Exchange done (Stage 1) and release it while im (we are) working on the next bit (Stage 2). This way people can be using this part while the rest is being done and then install the next stage as an upgrade / addon. Does anyone think this is a bad idea ?

MarCon
User avatar
Idea
Posts: 516
Joined: Fri, 24. Oct 08, 12:14
x4

Post by Idea »

mark_a_condren wrote: @All
I think i'll get this part of Stock Exchange done (Stage 1) and release it while im (we are) working on the next bit (Stage 2). This way people can be using this part while the rest is being done and then install the next stage as an upgrade / addon. Does anyone think this is a bad idea ?

MarCon
Your choise :wink:
Nho
Posts: 180
Joined: Fri, 24. Feb 06, 18:19
x3

Post by Nho »

mark_a_condren wrote: - The Max stock can exceed the required stock quite easily, it is not a bug. Example - If there are 5 stations producing Wheat and only 2 using it, if the 5 producing are full then there is going to be more stock than is required. This is when the Index number goes over 100 and into the red.
MarCon
Got it!
mark_a_condren wrote: - Transaction log, had a couple of reqwsts for this one now, looks like i just might have to do something about it :D . However, you want simple terms :o i don't know if i can do simple terms, it always ends up complicated. :P
MarCon
Oh, you can make it as complicated as you want! I was just trying to appear humble in my request :D
mark_a_condren wrote: - As i've said, you can make lots of credits on the stck exchange, but that is because of how your game is, and everyones will be different. Without changing how your universe is, and i don't want to start doing that, i really can't change that. If you have ideas as to making it a bit harder, let me know. Not to hard mind you. ( I can already hear the next suggestion, difficulty settings of 'Easy', 'Normal' and 'Hard' :D )
MarCon
I have been giving some thoughts on that matter, and I don't have any idea yet.
mark_a_condren wrote: @All
I think i'll get this part of Stock Exchange done (Stage 1) and release it while im (we are) working on the next bit (Stage 2). This way people can be using this part while the rest is being done and then install the next stage as an upgrade / addon. Does anyone think this is a bad idea ?
MarCon
nope
mark_a_condren
Posts: 1468
Joined: Wed, 3. Aug 05, 05:05
x3tc

Post by mark_a_condren »

Just doing some final testing then sending next test version out. Should be in an hour or so.

With any luck we'll be getting close to a release shortly unless one or more of you can really break it.

MarCon
mark_a_condren
Posts: 1468
Joined: Wed, 3. Aug 05, 05:05
x3tc

Post by mark_a_condren »

Ok testers , you have the latest version sent to you.

One thing i didn't mention was if any of you are running other mods / scripts that add massive storage to Docks and Hq's etc, if you are finding that this is causing a problem with the 'Stocks', 'Required' numbers can you let me know. I have noticed that these extra large storage abilities are throwng Stock Exchanges calculations out the window.

What i'm thinking of doing is when it comes across a station that reports a storage capacity for a ware that exceeds 10,000 units, i might limit it to 10,000 units in the calculations and see if this fixes the problem. As i would like to make it compatable with as many mods / scripts as possable i think this might be the most compatable way of doing it.

If you find any other such issues please let me know.

MarCon
User avatar
Idea
Posts: 516
Joined: Fri, 24. Oct 08, 12:14
x4

Post by Idea »

Bug :cry:

In detailed summary of shares owned in place of index there is null values only insted of the pointers for the trend of shares.

[ external image ]

Edit:Those natural wares are super I lost over 6 mil :D
mark_a_condren
Posts: 1468
Joined: Wed, 3. Aug 05, 05:05
x3tc

Post by mark_a_condren »

Idea

If you refresh the menu twice, do the nulls go away or are they staying there ?

There should be a null on the right one then when you first buy shares in a ware and then open the detailed summary menu. Refresh once it should move to the left and be gone on the next refresh. If this is not happening, i have a problem with the values being written to the trend array. I can see you have it in all the fields so i have a problem to fix.

Thanks for the report.

I said the Naturals were a volitile bunch of shares :D but i can see from your credits that you can afford a few losses :P .

EDIT:
To all testers,
By the way, i forgot to put in the update info that all the wares lists are now listed alphabetically, just to try and make it look not so jumbled up.

MarCon
Last edited by mark_a_condren on Fri, 25. Jun 10, 20:33, edited 1 time in total.
Nho
Posts: 180
Joined: Fri, 24. Feb 06, 18:19
x3

Post by Nho »

The index indicators stick to "--" in my game since a few hours. Don't know if it is a bug or repercussion of war on trade...

An other thing: I bought shares in Yaki sector a while ago, but they have now disappeared. I guess the station has blown out. Now I see the random in action!

MarCon, where do I grab the latest version with the natural wares?

[Edit] When I open stock exchange from a ship OOS, it considers the sector I am currently in. Can be tricky then to know of which stock exchange station belongs the OOS sector.
mark_a_condren
Posts: 1468
Joined: Wed, 3. Aug 05, 05:05
x3tc

Post by mark_a_condren »

Nho,

I sent you the latest version via PM a couple of hours ago, check your PM's. If it's not there i'll send it again.

The trend indicators should change and a war on may have strange results.

If an Exchange Station is destroyed then all shares for that station are lost. The Teladi refuse to install multiple backups of data offsite, claiming excessive overhead costs are to blame. :D

EDIT:
[Edit] When I open stock exchange from a ship OOS, it considers the sector I am currently in. Can be tricky then to know of which stock exchange station belongs the OOS sector.
Good point, i'll look into that.

EDIT 2:
Nho,
I just resent you the latest version via PM, i must have mucked it up the first time, sorry.

MarCon
Last edited by mark_a_condren on Fri, 25. Jun 10, 20:51, edited 1 time in total.

Return to “X³: Terran Conflict / Albion Prelude - Scripts and Modding”