Difference between revisions of "MarketObserver"

From Elite Wiki
(Feats)
(Feats)
Line 21: Line 21:
 
* User defineable variables (in Config/script.js file):
 
* User defineable variables (in Config/script.js file):
   
* resetMarketData (reset gathered market data on start)
+
-resetMarketData (reset gathered market data on start)
* this.$noteOxpPrices (include or exclude oxp station prices to min and max)
+
-this.$noteOxpPrices (include or exclude oxp station prices to min and max)
* this.$traderRankFeat (toggle trader rank feature on or off)
+
-this.$traderRankFeat (toggle trader rank feature on or off)
   
 
==Requirements==
 
==Requirements==

Revision as of 22:36, 7 February 2013

Overview

marketObserver

This oxp enhances the market screen with valuable data and gives the player a trader's ranking based on profit made from standard trading. To keep this enhancement free, ads from various advertisers are shown in the market screen.

What it does

This oxp monitors the prices of markets and keeps a list of minimum, maximum, average prices, purchases and profit made. Market screen is enhanced with this information and ads. Player is given a Trader's Rating based on profit made. Rating is shown in ships manifest.

Average price is calculated from main station's market and data is collected when exiting witchspace and docking. Only changed data is noted. Min and max prices from main station are collected at the same time. Min and max from oxp stations are collected when entering the market screen.

Purchase log is collected from purchaces in the standard market. Profit is calculated when selling a commodity that's purchase has been logged. When selling, the log is purged starting from the latest purchases. Profit is calculated only if there is something in the log. Meaning, no profit is calculated from salvaging or contracting etc, unless some purchased cargo is lost.

Feats

  • Min and max prices from all dockables.
  • Average from main stations.
  • Purchase log. Latest is seen, all are logged and stored.
  • Trader's rating based on profit made from trading in standard market. First rank at 1500 cr. Highest rank at 1000000 cr.
  • Ads from YAH are randomly shown in the market screen.
  • User defineable variables (in Config/script.js file):

-resetMarketData (reset gathered market data on start) -this.$noteOxpPrices (include or exclude oxp station prices to min and max) -this.$traderRankFeat (toggle trader rank feature on or off)

Requirements

Credits

  • All ads are selected, cropped and resized from Your Ad Here! oxp. Ads are made by different Oolite players.

Download

  • Download version 1.4 (for Oolite 1.77) from the box.

Quick Facts

Version Released License Features Category Author(s) Feedback
1.4 2013-01-17 CC BY-NC-SA 3.0 Statistics Mechanics OXPs Spara Oolite BB