Ship price calculation
I am developing a trading to for the palm os, but am having an issue. I was hoping someone would know the answer to my question. I decided to make a trade tool for the palm os because i hate alt-tab'n . It makes my music go through the roof(which blows my drums with a headset on). I have it 75% complete, but could not determine the sale price calculation for ships.
Below is what I currently know about ship pricing. Followed by my flawed theory of how to obtain the ships price.
Ship Sale Locations (Linked by Package) = Market_Ships.ini
[BaseGood
base = Br01_01_base
marketgood = oe_package, 16, -1, 0, 0, 1, 1, 1
The first value in marketgood is the ship package.
The second value is level required to purchase.
The third value is the reputation needed to purchase.
The next three values allow the item to be sold at a base.
The next to the last is unknown.
The last is the price multiplier.
Goods.ini in realations to ships have 2 entries.
First is the package, Second is the hull
[Good
nickname=oe_package <-- Link for Market_Ships.ini
category=ship
hull=oe_hull <-- Link to hull entry in Goods.ini, hull entry contains the price of the ship (This is not the final sale price. )
addon=ge_oe_engine_01, internal, 1
addon=or_elite_power01, internal, 1
addon=ge_s_scanner_01, internal, 1
addon=ge_s_tractor_01, internal, 1
addon=order_shield, HpShield01, 1
..... <-- Removed excess information to save space
[Good
nickname=oe_hull <--- Link to package entry in Goods.ini
category=shiphull
ship=or_elite <-- Nickname of the ship
price=200000 <-- Price of the hull (ship ???) (This is not the final sale price. )
ids_name=12019
item_icon=Equipment\models\commodities\nn_icons\or_fighter.3db
Okay, so with all that out there.
I have this flawed formula.
GoodsINI.Hull_Price * Market_ShipsINI.Multiplier = Ship Price
Do the Addons prices have to be included also?
GoodsINI.Hull_Price * Market_ShipsINI.Multiplier = Ship Price + (GoodsINI.Package_Addon's Price's * Correct MarketINI)
Thank you for all your time. I believe I have the idea right, I was just hoping someone could point me the right way.
Giants are just babies that never stopped growing.
Edited by - The Bobby Jones on 5/3/2004 12:07:23 AM
Below is what I currently know about ship pricing. Followed by my flawed theory of how to obtain the ships price.
Ship Sale Locations (Linked by Package) = Market_Ships.ini
[BaseGood
base = Br01_01_base
marketgood = oe_package, 16, -1, 0, 0, 1, 1, 1
The first value in marketgood is the ship package.
The second value is level required to purchase.
The third value is the reputation needed to purchase.
The next three values allow the item to be sold at a base.
The next to the last is unknown.
The last is the price multiplier.
Goods.ini in realations to ships have 2 entries.
First is the package, Second is the hull
[Good
nickname=oe_package <-- Link for Market_Ships.ini
category=ship
hull=oe_hull <-- Link to hull entry in Goods.ini, hull entry contains the price of the ship (This is not the final sale price. )
addon=ge_oe_engine_01, internal, 1
addon=or_elite_power01, internal, 1
addon=ge_s_scanner_01, internal, 1
addon=ge_s_tractor_01, internal, 1
addon=order_shield, HpShield01, 1
..... <-- Removed excess information to save space
[Good
nickname=oe_hull <--- Link to package entry in Goods.ini
category=shiphull
ship=or_elite <-- Nickname of the ship
price=200000 <-- Price of the hull (ship ???) (This is not the final sale price. )
ids_name=12019
item_icon=Equipment\models\commodities\nn_icons\or_fighter.3db
Okay, so with all that out there.
I have this flawed formula.
GoodsINI.Hull_Price * Market_ShipsINI.Multiplier = Ship Price
Do the Addons prices have to be included also?
GoodsINI.Hull_Price * Market_ShipsINI.Multiplier = Ship Price + (GoodsINI.Package_Addon's Price's * Correct MarketINI)
Thank you for all your time. I believe I have the idea right, I was just hoping someone could point me the right way.
Giants are just babies that never stopped growing.
Edited by - The Bobby Jones on 5/3/2004 12:07:23 AM