[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

Narevek
Posts: 9
Joined: Mon, 22. Jun 09, 03:57
x4

Post by Narevek »

I was having similar issues. Stocks weren't updating, and bank wasn't providing interest (even after several hours, the countdown never updated once)

Then I happened to install and activate the Ejon-Tech/Marcon Ind "Trading Plugin"...and now everything magically works. The stock lists update consistently, and I'm enjoying the interest I'm getting from my bank account. :)

Not sure if this info will help at all...but for me at least, the Stock Exchange didn't start working completely (bank included) until the Trading Plugin was activated ingame.
mark_a_condren
Posts: 1468
Joined: Wed, 3. Aug 05, 05:05
x3tc

Post by mark_a_condren »

Narevek
Narevek wrote:Not sure if this info will help at all...
At this stage all and any info regarding "hinky" behaviour is helpfull.

How 'Ejon-Tech/Marcon Ind "Trading Plugin"...' is having an impact is absolutly :? :gruebel: There is no connection to each other at all, Ejon-Tech/Marcon Ind "Trading Plugin"... uses the AL engine for timing were as Stock Exchange uses wait loops. Why activating one would kick the other in the pants is a mistery to me, but for your sake i'm glad it did.

There is code in the scripts to try to catch any updates to array sizes due to updating and something going wrong, but i'm wondering if this in itself is causing some of the problem.

Was your install a fresh install or an update from a previous version of Stock Exchange?

Did you start in a fresh game or and existing game?

Thanks for the report and info.

MarCon
Alexfighter
Posts: 37
Joined: Wed, 22. Aug 07, 01:50

Post by Alexfighter »

mark_a_condren wrote:Alexfighter

Can i ask for your patience for just a little longer?
Sure. You're the one who knows what needs to be prioritized.
Narevek
Posts: 9
Joined: Mon, 22. Jun 09, 03:57
x4

Post by Narevek »

The plugin was a fresh install of the spk. I tried it in both an existing game and a new one, and neither worked until the Trading Plugin was activated and all the new stations were added.

I have no idea how one could've affected the other either, but I was definitely happy it did.

Here's a list of the other packages I have running...hopefully you'll be able to find a connection with the others having problems somewhere. I also have a few other mods and whatnot that weren't in spk form, but I don't remember them off the top of my head.

[ external image ]
Mutiny1
Posts: 27
Joined: Mon, 2. Aug 10, 17:55

Test

Post by Mutiny1 »

I am installing the same pluggin Ejon-Tech plugin as mentioned.. Testing now... flying from station to station while in background mode.
mark_a_condren
Posts: 1468
Joined: Wed, 3. Aug 05, 05:05
x3tc

Post by mark_a_condren »

Alexfighter

Mt priority today has been getting a debug version done, so as the people, like yourself, who are having problems can get some better help than i've been able to provide so far. That was the reason for my asking for you to be patient if you would so i could get it done and sent to you. Thank you for your understanding.


Narevek

Thanks for the screeny of your installed spk's. So far everyone that has had this problem has been running 'Cmod3' spk version. So i think my problem may have something to do with that. I gives me somewhere to start checking anyway.


Mutiny1

Just sent you a PM re debug testing.

Running the Ejon / MarCon plugin will be interesting, even moreso if it works to kick you Stock Exchange into gear.

I think the Ejon / MarCon plugin will have some interesting effects on the exchange as well, due to changing the economy in the universe.

MarCon
Mutiny1
Posts: 27
Joined: Mon, 2. Aug 10, 17:55

Post by Mutiny1 »

mark_a_condren

I reply-d to the PM. Also on the test machine I only had Stock Exchange installed. But had not used the Xplugin Mng beta 12 .. So my test from 2 days ago with only the one plugin was flawed. Also after installing Ejon plugin I finally got the RSS feed stating that Stock Exchange had been upgraded (had not gotten that with stage 2 v1_test or from stage 3 v1 you sent me earlier. Also FYI my test game is installed and patched to 2.6 waiting your install steps you wish me to take.
My OS is 7x64 Ultimate; X3TC is installed into "E:\Games\X3-TC -- Test" ; So you know it's not installed into a protected folder since that came up around pg16.
Narevek
Posts: 9
Joined: Mon, 22. Jun 09, 03:57
x4

Post by Narevek »

Just an fyi, I disabled then uninstalled the Trading Plugin to see what would happen, and the Stock Exchange is still working (bank included). So I only needed it as a jump start, and not to keep everything running. Oh yeah, and my game version is 2.7.1. :D
mark_a_condren
Posts: 1468
Joined: Wed, 3. Aug 05, 05:05
x3tc

Post by mark_a_condren »

Mutiny1

Email with debug version sent.

If it goes well i'll send it to the others that are having troubles as well to see if we can't get these problems fixed asap.


Narevek

That is good news indeed. now just have to find out why. Thanks very much for the update report.

MarCon
Mutiny1
Posts: 27
Joined: Mon, 2. Aug 10, 17:55

Post by Mutiny1 »

Specs - X3TC v2.6, PluginMng Lite beta 12 New Game start , Custom
Running Stock Exchange Script only

Menus are A lot Faster... no lags,
still did not update Corp. Indexes but did Local index.

Bank
Created "personal" account and deposited 500cr, the countdown interest timer never changed in game, but I think it did in the log.
Did not try loans, I will re-test and add to this post.
Ran logging for 7 min and its 25Kb in size (tiny).

On second run test I can try the Ejon Script to see if it jump starts the Stock Exchange.
**EDIT It did not seem to effect my stock exchange. I let it run for about an hour 15 min. Will upgrade to 2.7.1 and test again. With / Without Ejon script too.
EDIT - Another thing I have noticed is the player credits doesn't seem to update unless you completely exit the Command Menu and re-enter the Stock Exchange from Command...Custom...SE Example is I start with 1000cr, I deposit 500cr to bank but script now see's player having 1000cr and 500cr in bank. Not limited to bank but also can be seen with stock purchases and sales. Thought at first it was way to get free creds but alas the script upon reinit re-reads player data and the stocks you bought are there the money is in the bank and the player creds are correct., but only when you exit and re enter script.
mark_a_condren
Posts: 1468
Joined: Wed, 3. Aug 05, 05:05
x3tc

Post by mark_a_condren »

Mutiny1

After looking over your debug log, the bank updater ran twice then bailed. The Corp / company updater didn't run at all. I'm changinging how the updaters stop cycling to try something different than the method i've been using. Also including some more debug code and showing subtiles in debug mode for some updater menus for when they start and when they end.

Will be done shortly i hope.

MarCon
Mutiny1
Posts: 27
Joined: Mon, 2. Aug 10, 17:55

Post by Mutiny1 »

MarCon

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

Post by mark_a_condren »

Mutiny1 wrote:New Game start , Custom
Important Notice :

Stock Exchange Will NOT currently work with a Custom Game Start.
After noticing that Mutiny1 said they were using a Custom Game start, testing has revealed the Stock Exchange WILL NOT function.

Please DO NOT use Stock Exchange with a Custom Game Start

(I will bet that all who are having trouble are running a Custom Game Start)

MarCon
Requiemfang
Posts: 3206
Joined: Thu, 16. Jul 09, 12:24
x4

Post by Requiemfang »

interesting, though I am not using a custom start... maybe it's time I upgraded from version 2 to version 3
mark_a_condren
Posts: 1468
Joined: Wed, 3. Aug 05, 05:05
x3tc

Post by mark_a_condren »

Requiemfang

If you hold off for a couple of days i should have the next beta up with loans included.

Hopefully i will have the issuse with Custom Starts resolved as well.

MarCon
Requiemfang
Posts: 3206
Joined: Thu, 16. Jul 09, 12:24
x4

Post by Requiemfang »

too late lolz, no worries though :lol:
Mutiny1
Posts: 27
Joined: Mon, 2. Aug 10, 17:55

Post by Mutiny1 »

Marcon
Sorry to cause chaos and madness chasing down phantoms .. by using the custom start this whole time.

I sent you the debug output of Stage3 v2.1
I tried it with 2.7.1 ...... gonna try it again with first mission something... something... anyway.. but I will patch to 2.6 and try again.

EDIT
- Running fresh install of :
X3TC 2.6 (First Mission start)
Plugin Mgr BETA 12
Stock Script stage 3 v2.1
Never touch SETE

What Works (for me)
Local Stocks seems to work great (although I am loosing money - a mirror of real life)

What Does Not Work (for me):
Bank (Timer does not change - When RSS updates Timer script I notice a slight lag)
CoRP RSS notification I see a slight lag (I expect it is building arrays)
CoRP Indexes don't change (one usually does but never more than 2-3)
CoRP Indexes don't have a color variation like the local stocks unless I switch back and forth between buying and selling mode. (btw doing that seems to make stock trends update)
Loans (not sure) my level isn't high enough to get it but I get approved for a Zero cr loan (might work but can't fully test with a fresh start)

Please note I am by no means complaining about all the work you have done getting this far, and all the work you are putting into this future script. I / We are all grateful. I believe this script should have been in the game from the beginning.

EDIT - Sent logs.
This is mi syg.
Joubarbe
Posts: 4796
Joined: Tue, 31. Oct 06, 12:11
xr

Post by Joubarbe »

Mutiny1, it's not working at all with a non-custom new game ?
Mutiny1
Posts: 27
Joined: Mon, 2. Aug 10, 17:55

Post by Mutiny1 »

Joubarbe

Not for me... I am at a loss and couldn't read xml to save my life.
This is mi syg.
Narevek
Posts: 9
Joined: Mon, 22. Jun 09, 03:57
x4

Post by Narevek »

Nuts. I was hoping the Trading Plugin would magically kick start the Stock Exchange for others too. Oh well, was worth a shot, and I still recommend the Trading Plugin anyways. :D

Oh, just a bit more info. I've gone without issues for the past few days. All stocks and the bank are still working, even while SETA is active. My two tests were done with the Nostalgic Argon start, and the Yaki Grunt start (from the Pirate Starts spk).

The Yaki start is my main game currently, made money off the stocks, and am getting a steady 2% interest from the bank. Definitely awesome job on this plugin, and hopefully all the kinks will be worked out for everyone soon.

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