[SCRIPT] FyreByrd's Share Trading Index (FTSI) v1.0B
Posted: Sun, 3. Sep 06, 16:13
SCRIPTID = FyrePackA1
NAME: FyreByrd's Share Trading Index (FTSI)
VERSION: 1.0 BETA
LANGUAGES: English
COMPATABLE WITH: Vanilla x3/XFP Mod
LANGUAGE FILE: 447889
COMMANDS USED: 847, 848, 849 (General tab)
THIS IS A BETA VERSION IT HAS BEEN TESTED THOUROUGHLY ON TWO DIFFERENT MACHINES BUT THERE MAY STILL BE SOME ISSUES.
YOU NEED CYCROWS SCRIPT MANAGER and EMP FOR THIS SCRIPT TO WORK
DETAILS
-This script is a dynamic stockmarket for the X-verse enabling trading in the shares of a number of different companies, just like the FTSE100 (or Nasdaq or equivilant)
INSTALLATION
Choose either the XFP or vanilla X3 version of the script (the only difference is that the XFP version uses sectors only found in XFP) then using Cycrow's Script manager install the script.
HOW TO USE
-You must have the trading system extension installed on your ship once this is installed three new commands will appear in your "General" menu of the command console: Access FTSI, Buy Shares, Sell Shares
-ACCESS FTSI: this comand sends you an immediate message, which asks you which service you desire, there are two services: View Stockmarket and View Portfolio. The "View Stockmarket" option sends you a message with the details of all the current companies available, and the current price of a share. WARNING: this option will sometimes take between 1-2minutes for the message to appear because of the math involved...please be patient (or just use seta!) The "View Portfolio" option, deals with the shares you own, when selected it will send a message to you with all the companies listed, and the number of shares you own of each company also listed.
-BUY SHARES: this command allows you to purchase shares. When selected it will ask you to input the ID of ths company you wish to buy into (The three letter id is displayed on both the "View Portfolio" and "View Stockmarket" options above) type in the ID making sure it's all in CAPITAL LETTERS and is accurate. The command will then ask you to type in the amount of shares you wish to buy (Remember if you buy 10 shares at 100 credits a share you will be charged 1000 credits!) once done shortly afterwards you will recieve a message confirming your purchase.
-SELL SHARES: this command allows you to sell your shares. Like the buy shares command the sell shares command will ask you for the ID of the company and the number of shares you wish to sell. (YOu cannot sell more shares than you own!) shortly after entering these details you will recieve a confirmation message and the money will be added to your account.
THE STOCKMARKET
Each company on the market is assigned a home sector, the following is a description of all the factors that effect the share price:
-Sector Economy: number of stations/complexes, amount of wares available, price of wares
-Security of Sector: Kha'ak presence, Xenon presence, Pirate Presence.
For example, the more stations in a sector=the more wares being sold. The more wares being sold will drive up the price of the share. For instance if a sector has three stations (i.e. three wares being sold) and the stations are all full. The share price will be higher than if the stations were all empty.
If there is an enemy presence in the sector the share price drops drastically, as the company is in serious danger
HINTS AND TIPS
-watch the stockmarket for a while before investing...get to understand how the price fluctuates so you know what is cheap and what is expensive (Remember every sector is different for some 75 credits a share is expensive, for others 400 credits a share is cheap!)
-To drive the price up of a share you own, build stations in that sector - this will make the price of the share rise
-Find sectors that have Kha'ak or Xenon presence, making the companies share cheap...buy in bulk, then clean out the enemy from the sector pushing the share price back up!
COMPANY NAMES
If you would like your company name to be included in the index (instead of one of the crappy ones i made up!) please add it to this thread
KNOWN ISSUES
-Complexes not recognised some of the time
-Slow response for "View Stockmarket" option
~~~~~~~~~~~~~~~~~~~~~#
This is script A1 of FyreByrd's Script Pack A. Script A2 can be found here
NAME: FyreByrd's Share Trading Index (FTSI)
VERSION: 1.0 BETA
LANGUAGES: English
COMPATABLE WITH: Vanilla x3/XFP Mod
LANGUAGE FILE: 447889
COMMANDS USED: 847, 848, 849 (General tab)
THIS IS A BETA VERSION IT HAS BEEN TESTED THOUROUGHLY ON TWO DIFFERENT MACHINES BUT THERE MAY STILL BE SOME ISSUES.
YOU NEED CYCROWS SCRIPT MANAGER and EMP FOR THIS SCRIPT TO WORK
DETAILS
-This script is a dynamic stockmarket for the X-verse enabling trading in the shares of a number of different companies, just like the FTSE100 (or Nasdaq or equivilant)
INSTALLATION
Choose either the XFP or vanilla X3 version of the script (the only difference is that the XFP version uses sectors only found in XFP) then using Cycrow's Script manager install the script.
HOW TO USE
-You must have the trading system extension installed on your ship once this is installed three new commands will appear in your "General" menu of the command console: Access FTSI, Buy Shares, Sell Shares
-ACCESS FTSI: this comand sends you an immediate message, which asks you which service you desire, there are two services: View Stockmarket and View Portfolio. The "View Stockmarket" option sends you a message with the details of all the current companies available, and the current price of a share. WARNING: this option will sometimes take between 1-2minutes for the message to appear because of the math involved...please be patient (or just use seta!) The "View Portfolio" option, deals with the shares you own, when selected it will send a message to you with all the companies listed, and the number of shares you own of each company also listed.
-BUY SHARES: this command allows you to purchase shares. When selected it will ask you to input the ID of ths company you wish to buy into (The three letter id is displayed on both the "View Portfolio" and "View Stockmarket" options above) type in the ID making sure it's all in CAPITAL LETTERS and is accurate. The command will then ask you to type in the amount of shares you wish to buy (Remember if you buy 10 shares at 100 credits a share you will be charged 1000 credits!) once done shortly afterwards you will recieve a message confirming your purchase.
-SELL SHARES: this command allows you to sell your shares. Like the buy shares command the sell shares command will ask you for the ID of the company and the number of shares you wish to sell. (YOu cannot sell more shares than you own!) shortly after entering these details you will recieve a confirmation message and the money will be added to your account.
THE STOCKMARKET
Each company on the market is assigned a home sector, the following is a description of all the factors that effect the share price:
-Sector Economy: number of stations/complexes, amount of wares available, price of wares
-Security of Sector: Kha'ak presence, Xenon presence, Pirate Presence.
For example, the more stations in a sector=the more wares being sold. The more wares being sold will drive up the price of the share. For instance if a sector has three stations (i.e. three wares being sold) and the stations are all full. The share price will be higher than if the stations were all empty.
If there is an enemy presence in the sector the share price drops drastically, as the company is in serious danger
HINTS AND TIPS
-watch the stockmarket for a while before investing...get to understand how the price fluctuates so you know what is cheap and what is expensive (Remember every sector is different for some 75 credits a share is expensive, for others 400 credits a share is cheap!)
-To drive the price up of a share you own, build stations in that sector - this will make the price of the share rise
-Find sectors that have Kha'ak or Xenon presence, making the companies share cheap...buy in bulk, then clean out the enemy from the sector pushing the share price back up!
COMPANY NAMES
If you would like your company name to be included in the index (instead of one of the crappy ones i made up!) please add it to this thread
KNOWN ISSUES
-Complexes not recognised some of the time
-Slow response for "View Stockmarket" option
~~~~~~~~~~~~~~~~~~~~~#
This is script A1 of FyreByrd's Script Pack A. Script A2 can be found here