[Script] TC Stock Exchange "The Evolution of a Financial Revolution" v4 Full Release.
Moderators: Scripting / Modding Moderators, Moderators for English X Forum
-
- Posts: 9378
- Joined: Mon, 29. Dec 08, 20:58
-
- Posts: 1468
- Joined: Wed, 3. Aug 05, 05:05
If you use the unistall 'Upgrade' option it will leave the global variables with the reporting arrays and text file page ID info.
If you use the 'Remove' option it removes these as well and should leave no Global variables, local variables or any other trace of Stock Exchange behind.
So if for some reason you need to restart the script the 'Upgrade' option is what you use as you can just go straight back and run the script and it will reload everything fresh. Do this after the 'Remove' option has been used and you will get read text errors.
MarCon
If you use the 'Remove' option it removes these as well and should leave no Global variables, local variables or any other trace of Stock Exchange behind.
So if for some reason you need to restart the script the 'Upgrade' option is what you use as you can just go straight back and run the script and it will reload everything fresh. Do this after the 'Remove' option has been used and you will get read text errors.
MarCon
-
- Posts: 27
- Joined: Mon, 2. Aug 10, 17:55
Marcon -
Let me clarify the bank and interest issue I had .... I made an account and deposited monies into the said account; the RSS feed said the Interest Update was running... but the interest timer never started counting down from 60min. So I got up made a pot of coffee 10 min later checked the timer.. again it never left 60min. 20min down at this point. Activated the Scripteditor. manually kicked the plugin.mc.st.ex.bank.int.upder and again the RSS feed alerted me that the script was running. This time upon checking the bank account timer. It had said 10min had passed. For the next two hours (I went to bed) it was running. I left it running all night and my son blue screened my computer and rebooted it. So I never had a chance to check it again before work. All that to say.
Created Account
Deposited Money
Timer ran for 20 min with no visible change
Activated Script manually (plugin.mc.st.ex.bank.int.upder)
Checked bank timer and it said it had been running for 10 min.
So I lost 10 min some how (but my point is that it did change
)
Patch Related? or Coincidence, and the script needed a kick in the pants?
Let me clarify the bank and interest issue I had .... I made an account and deposited monies into the said account; the RSS feed said the Interest Update was running... but the interest timer never started counting down from 60min. So I got up made a pot of coffee 10 min later checked the timer.. again it never left 60min. 20min down at this point. Activated the Scripteditor. manually kicked the plugin.mc.st.ex.bank.int.upder and again the RSS feed alerted me that the script was running. This time upon checking the bank account timer. It had said 10min had passed. For the next two hours (I went to bed) it was running. I left it running all night and my son blue screened my computer and rebooted it. So I never had a chance to check it again before work. All that to say.
Created Account
Deposited Money
Timer ran for 20 min with no visible change
Activated Script manually (plugin.mc.st.ex.bank.int.upder)
Checked bank timer and it said it had been running for 10 min.
So I lost 10 min some how (but my point is that it did change

Patch Related? or Coincidence, and the script needed a kick in the pants?
This is mi syg.
-
- Posts: 1468
- Joined: Wed, 3. Aug 05, 05:05
Honestly don't know.Patch Related? or Coincidence, and the script needed a kick in the pants?
But if it keeps giving us trouble it won't be the 'pants' i'm kicking it in

In your version that i sent you the RSS feed (subtitles) should let you know when the script starts and when it stops. I really am at a loss as to the 'Funky' behaviour you have been getting. If it's working, speak nicely to it and don't say anything to upset it, maybe it will keep working.

EDIT:
The olny time i was able to reproduce your problems was with a custom game start, which i have now been able to fix, but i'll keep looking.
/EDIT:
You don't by any chance live in or near the 'twilight zone' do you ?
MarCon
-
- Posts: 27
- Joined: Mon, 2. Aug 10, 17:55
-
- Posts: 9
- Joined: Mon, 22. Jun 09, 03:57
Glad my input was able to help out. I know all too well how easy it is to get stuck on one way of thinking about an idea and forgetting all the other ways. It's why I'm not the one developing this stuff. 


Lol, I used to live in Texas...it's definitely as close as you can get to the twilight zone without actually being there.Actually Texas..... It might be close enough... the US is likely trying out a new taxation system. And your script being foreign in origin is throwing it off.

-
- Posts: 1468
- Joined: Wed, 3. Aug 05, 05:05
I'd just like to point out that the script author has no idea what he is talking about and apparently has no idea how his own script works.mark_a_condren wrote:Mutiny1
The interest updater should start the instant you put credits into your first account. Note, it doesn't start when you create the account, but rather when you put credits into it. You don't get interest on a zero balance.If you close all accounts it will actually stop the int updater so the script is not running for nothing, it will start again if credits are deposited into an account.
MarCon

The interest updater actually starts as soon as the account is created, not when it has credits deposited into it.
Mutiny1 and everyone else, you have my appologies for misleading and inaccurate information.
Ooops:
[ external image ]
The 'Time to Next Interest Payment' is only updated every 60 seconds approx. So it should update in approx 1 minute intervals dependant on how busy your computer is. Interest is paid when the timer gets to between 30 and -30 seconds. So there is some leaway on when it's payed, the price you pay for no que's.


MarCon
-
- Posts: 1468
- Joined: Wed, 3. Aug 05, 05:05
Hi All,
I'm taking a leaf out of LA's book and throwing and idea out for comment and discussion.
At present, 'Stock Exchange' incorporates the 'Bank', so you can't have one without the other. There is however no links from the 'Stock Exchange' scripts to the 'Bank' scripts, except they are packaged together and any Options are set in the same options menu.
So getting to my point ....
What are peoples thoughts on breaking the 'Bank' out into its own stand alone script?
With the current updates and extras in progress the whole thing is becoming one big monster and is going to get bigger.
In progress and planned expantions : - Stock Exchange,
- Subtitle Reporting on Shares owned Price rise or fall. (selectable Option)
- 'Stock Exchange Agent', set upper and lower limits for auto share buy/sell for HEFTY commission.
- Dividends on Corporate and Company shares owned paid daily at 'as yet' underemined percentage of shares owned value.
- bla bla bla ... the list goes on ....
In progress and planned expantions : - Bank,
- Stage 3 'loans'
- Debt collection
(after making stupid comment to Logain Abler that the station credit management in game sucked, and him saying "Well Fix It, sounds like a job for your 'Bank' script")
- Auto Station fund manager (keeps station funds between defined upper and lower limits, checked every 1 minute)
- bla bla bla ... the list goes on ....
So, what are your thoughts and feedback people? any preferences, comments, ideas, yadda yadda yadda ...
MarCon
I'm taking a leaf out of LA's book and throwing and idea out for comment and discussion.
At present, 'Stock Exchange' incorporates the 'Bank', so you can't have one without the other. There is however no links from the 'Stock Exchange' scripts to the 'Bank' scripts, except they are packaged together and any Options are set in the same options menu.
So getting to my point ....
What are peoples thoughts on breaking the 'Bank' out into its own stand alone script?
With the current updates and extras in progress the whole thing is becoming one big monster and is going to get bigger.
In progress and planned expantions : - Stock Exchange,
- Subtitle Reporting on Shares owned Price rise or fall. (selectable Option)
- 'Stock Exchange Agent', set upper and lower limits for auto share buy/sell for HEFTY commission.
- Dividends on Corporate and Company shares owned paid daily at 'as yet' underemined percentage of shares owned value.
- bla bla bla ... the list goes on ....
In progress and planned expantions : - Bank,
- Stage 3 'loans'
- Debt collection
(after making stupid comment to Logain Abler that the station credit management in game sucked, and him saying "Well Fix It, sounds like a job for your 'Bank' script")
- Auto Station fund manager (keeps station funds between defined upper and lower limits, checked every 1 minute)
- bla bla bla ... the list goes on ....
So, what are your thoughts and feedback people? any preferences, comments, ideas, yadda yadda yadda ...
MarCon
-
- Posts: 2255
- Joined: Mon, 31. Oct 05, 08:44
-
- Posts: 1468
- Joined: Wed, 3. Aug 05, 05:05
I did kinda make it hard for you to say anything elseLogain Abler wrote:Auto Station fund transfer to the Bank accounts sounds an ideal addition to the Bank script![]()

I was sitting scripting away like a freighter train and thinking about how i was going to incorporate it into everying else and though,"it really doesn't need anything except the bank scripts updated" but, due to it all being one script it's a lot more involved than that for me and the user.
The Pros as i see it for seperation are,
- Easier for me to do updates.
- The user only has to update the package involved, instead of having to sell everything and clear all bank account, they will only have to manage the effected package. ie sell shares or empty accounts, not both.
- Minor bug fixes and patches will be easier to handle.
- Users can have one and not the other if they want with no loss of functionality, or can still have both.
- Updates to one aren't being held up by ongiong work on the other so users only have to update once to fix both, each update can be released when ready.
- Bugs in one not effecting the usability of the other.
- Can still be interlinked later if the functionality is required or usefull.
The Cons as i see it for seperation are,
- 2 Downloads for users
- 2 Threads to watch for updates
- 2 Packages for users to manage
- 2 Threads for me to manage!
And i've probably forgot some in both lists.
MarCon
-
- Posts: 9378
- Joined: Mon, 29. Dec 08, 20:58
-
- Posts: 27
- Joined: Mon, 2. Aug 10, 17:55
MarCon
I was going to ask you last week about breaking out the Bank scripts to be stand alone, or at least seeing if the Stock Exchange could be made in a modular fashion. But I thought I dare not ask with the amount of work you put into this already I/like others didn't want to appear thoughtless or ungratefull; but since your asking.
IE: Command Console [Shift+c].. Custom .. Money Market .. Stock Exchange
IE: Command Console [Shift+c].. Custom .. Money Market .. Banking
IE: Command Console [Shift+c].. Custom .. Money Market .. IRA (Like the bank but higher interest rate and you can't touch your money for 24 hours.) <-- How hard would this be?
So if ... Money Market heading detected Stock Exchange then it will display the menu option, likewise Money Market heading detected Banking then it will display it. Make Sense .. Clear as Mud right?
You are forgiven.Mutiny1 and everyone else, you have my appologies for misleading and inaccurate information.

I was going to ask you last week about breaking out the Bank scripts to be stand alone, or at least seeing if the Stock Exchange could be made in a modular fashion. But I thought I dare not ask with the amount of work you put into this already I/like others didn't want to appear thoughtless or ungratefull; but since your asking.

IE: Command Console [Shift+c].. Custom .. Money Market .. Stock Exchange
IE: Command Console [Shift+c].. Custom .. Money Market .. Banking
IE: Command Console [Shift+c].. Custom .. Money Market .. IRA (Like the bank but higher interest rate and you can't touch your money for 24 hours.) <-- How hard would this be?
So if ... Money Market heading detected Stock Exchange then it will display the menu option, likewise Money Market heading detected Banking then it will display it. Make Sense .. Clear as Mud right?
This is mi syg.
-
- Posts: 1468
- Joined: Wed, 3. Aug 05, 05:05
Oh scary ... i understand what your trying to say ...Mutiny1 wrote:So if ... Money Market heading detected Stock Exchange then it will display the menu option, likewise Money Market heading detected Banking then it will display it. Make Sense .. Clear as Mud right?
Comes under the heading of feedback if it's constructive.Mutiny1 wrote:I was going to ask you last week about breaking out the Bank scripts to be stand alone, or at least seeing if the Stock Exchange could be made in a modular fashion. But I thought I dare not ask with the amount of work you put into this already I/like others didn't want to appear thoughtless or ungratefull; but since your asking.![]()

But it will be more like,
IE: Command Console [Shift+c].. Custom .. Stock Exchange
IE: Command Console [Shift+c].. Custom .. Universal Banking
IE: Command Console [Shift+c].. Custom .. Universal Banking .. IRA (being part of banking menu)
Sppttzz zz zz "Engineering to Bridge" Sppttzz zz zz "Seperation Operation Commenced" Sppttzz zz zz .... "TC Universal Banking "The Evolution of a Financial Revolution" stand alone coming soon"
MarCon
-
- Posts: 27
- Joined: Mon, 2. Aug 10, 17:55
My menu system was a simple way I could wrap my head around my own explanation. I like yours better. My brain works like a system of BOXES ; So I hope the IRA won't be difficult or even making the script modular in design won't be out of the scope of your project.
This is mi syg.
-
- Posts: 9
- Joined: Mon, 22. Jun 09, 03:57
-
- Posts: 1468
- Joined: Wed, 3. Aug 05, 05:05
For those asking for the Subtitle Text For owned share price change,
How's this ?
[ external image ]
Only displayed if you own shares with Corporation or Company,
Only displayed if the share price has changed,
All entries that have changed are displayed in order of change,
Only diplayed once per change,
Displayed for 3 seconds.
Can be turned on or off at any time from the Stock Exchange Options menu.
Regarding the seperation of Stock Exchange from Universal Banking:
It's coming along now, doing some final testing that Stock Exchange is working properly after having all the banking code pulled out.
Banking is still a little bit off, maybe a day or 2 till it's at a point that i can release an equivalent version to what is currently available as part of Stock Exchange.
I'll be holding off any release of either script until both are ready for release so people can upgrade the scripts according to what they want.
It will however require a full removal of the current Stock Exchange script no matter what package(s) you are changing to.
If Stock Exchange and Universal Banking are both installed there will still be crossover functionality from one to the other. You can still access Banking and View Bank Report from the Stock Exchange menu. They will also be accessable from the Banking menu.
(next time i say that there is no crossover between scripts, kick me, there may not have been much in the way of crossover functionality, but the code for both was very heavily inter linked)
MarCon
How's this ?
[ external image ]
Only displayed if you own shares with Corporation or Company,
Only displayed if the share price has changed,
All entries that have changed are displayed in order of change,
Only diplayed once per change,
Displayed for 3 seconds.
Can be turned on or off at any time from the Stock Exchange Options menu.
Regarding the seperation of Stock Exchange from Universal Banking:
It's coming along now, doing some final testing that Stock Exchange is working properly after having all the banking code pulled out.
Banking is still a little bit off, maybe a day or 2 till it's at a point that i can release an equivalent version to what is currently available as part of Stock Exchange.
I'll be holding off any release of either script until both are ready for release so people can upgrade the scripts according to what they want.
It will however require a full removal of the current Stock Exchange script no matter what package(s) you are changing to.
If Stock Exchange and Universal Banking are both installed there will still be crossover functionality from one to the other. You can still access Banking and View Bank Report from the Stock Exchange menu. They will also be accessable from the Banking menu.
(next time i say that there is no crossover between scripts, kick me, there may not have been much in the way of crossover functionality, but the code for both was very heavily inter linked)
MarCon
-
- Posts: 516
- Joined: Fri, 24. Oct 08, 12:14
-
- Posts: 6
- Joined: Sun, 12. Apr 09, 16:11
Hi, excelent script, and an excelent idea.
I remember a game i used to play as a kid it was called war. inc
it's a rts game with a global stock exchange incorporated into the system. you could trade shares of different companies, and earn cash trough trading alone, or if you get more then 51% of any compay you controled them and all their assets, blueprnts, weapons.......
--is it posible to add to the stock exchange this funcionality, about ownership of different companies, and if you hit 51% you get controll off all their sips,stations.....
Anyway even if this is not possible it still a great scrip thaks for bringing it to all of us!
I remember a game i used to play as a kid it was called war. inc
it's a rts game with a global stock exchange incorporated into the system. you could trade shares of different companies, and earn cash trough trading alone, or if you get more then 51% of any compay you controled them and all their assets, blueprnts, weapons.......
--is it posible to add to the stock exchange this funcionality, about ownership of different companies, and if you hit 51% you get controll off all their sips,stations.....
Anyway even if this is not possible it still a great scrip thaks for bringing it to all of us!
-
- Posts: 1468
- Joined: Wed, 3. Aug 05, 05:05
Thanks for the kind words.filip.dulic wrote:Hi, excelent script, and an excelent idea.
I remember a game i used to play as a kid it was called war. inc
it's a rts game with a global stock exchange incorporated into the system. you could trade shares of different companies, and earn cash trough trading alone, or if you get more then 51% of any compay you controled them and all their assets, blueprnts, weapons.......
--is it posible to add to the stock exchange this funcionality, about ownership of different companies, and if you hit 51% you get controll off all their sips,stations.....
Anyway even if this is not possible it still a great scrip thaks for bringing it to all of us!
Things along the line of taking ownership have been mentioned before. Just not quite the way you suggest though i don't think.
As for possable, can't see why not. You would have to invest very heavily to get a 51% share as the value of these corporations can be upwards of 400,000,000 cr.
You would also need to have some mechanisim to determine if you still had a 51% share. If you owned the corporation and added ships etc to expand it, it's value would increase and thus you may not still have shares worth 51% of its new value.
If you loose majority share holding, what happens, all stations, ships revert back to previous owner, but what about the ones you added. Do you loose those too? All things to consider, but worth keeping in mind.
Consider it added to the consideration list.
MarCon