 |
View previous topic :: View next topic |
 |
|
|
|
|
Author |
Message |
|
|
|
|
|
mtiffany71
Joined: 23 Nov 2008 Posts: 16 on topic

 |
Posted: Sat, 24. Oct 09, 00:50 Post subject: [Script] Dynamic Product Pricing |
|
|
Dynamic Product Pricing is a station command script that sets the price of a station's product (or a complex hub's products) based on the amount of the product the station has on hand. If the stations has little to none of its product, the product price will be at or near the maximum price for that product. If the station is filled to capacity with its product, the product price will be set to the minimum price for that product.
Please note: I wrote this script specifically for my closed-loop complexes. Being closed-loops, there is no possibility of losing money. However, on single stations or complexes dependent upon outside resources, it IS possible to lose money (ie, the selling price per unit is lower than the cost of production per unit).
Latest version 1.0.3 as of 24 Oct 2009 (Recommended for closed-loop complexes only)
(SPK) Dynamic Product Pricing v1.0.3
(ZIP) Dynamic Product Pricing v1.0.3
Update 31 Oct 2009
Happy Halloween!
It is my great pleasure to announce the release of Dynamic Product Pricing for single factories and single-product complexes. This version of DPP allows the user to set the minimum selling price of their product (as requested/suggested). Enjoy! Feedback is, as always, welcome and appreciated.
(SPK) Download Dynamic Product Pricing for Single Factories v1.0
Last edited by mtiffany71 on Sun, 1. Nov 09, 02:37; edited 3 times in total |
|
|
|
|
|
|
Back to top |
|
|
|
 |
|
|
|
|
|
Matterom
Joined: 20 Aug 2009 Posts: 287 on topic Location: my own little world

|
Posted: Sat, 24. Oct 09, 03:11 Post subject: |
|
|
so its like automatically making your stations like an npc station nice 
_________________ Geek is my name, gaming is ......? that wont rhyme o well you get the idea |
|
|
|
|
|
|
Back to top |
|
|
|
 |
|
|
|
|
|
mtiffany71
Joined: 23 Nov 2008 Posts: 16 on topic

|
Posted: Sat, 24. Oct 09, 04:29 Post subject: |
|
|
Yeah, I've got a framekiller of a complex in Antigone Memorial (who doesn't?) which produces HEPTs, PACs, Quantum Tubes, Microchips, and Teladianium. I manually set the selling prices on all goods to about 20% below their average selling price and I thought I was making a decent profit. But now that I've been running the DPP command on the complex, it turns out that microchips (and even quantum tubes) will still get snapped up by passing tech traders at as much as 10 to 20% above the supposed average selling price.
The nice thing about dynamic pricing is that your products will sell at as high a price as the market will bear so you make as much profit as possible, rather than setting your prices below market and not turning as much profit as you possibly could.
Egads, I sound like the bastard hybrid of a Teladi and a Ferengi.
|
|
|
|
|
|
|
Back to top |
|
|
|
 |
|
|
|
|
|
Catra
Joined: 12 Oct 2009
|
Posted: Sat, 24. Oct 09, 05:43 Post subject: |
|
|
kinda like...a telengi?! or maybe a...feradi?!
anyway, does sound useful, will DL and try when i got stations going (dying in a DiD cause of clever pirate ambush FTL)
|
|
|
|
|
|
|
Back to top |
|
|
|
 |
|
|
|
|
|
costi
Joined: 12 Sep 2009 Posts: 238 on topic

|
Posted: Sat, 24. Oct 09, 08:38 Post subject: |
|
|
Will the sell price ever drop below the production cost with this?
_________________ Friendly fire is not so friendly. |
|
|
|
|
|
|
Back to top |
|
|
|
 |
|
|
|
|
|
enenra

Joined: 08 Apr 2005 Posts: 5897 on topic Location: Japan

|
Posted: Sat, 24. Oct 09, 10:34 Post subject: |
|
|
| costi wrote: |
| Will the sell price ever drop below the production cost with this? |
That's not even possible. ^^
_________________
 |
|
|
|
|
|
|
Back to top |
|
|
|
 |
|
|
|
|
|
costi
Joined: 12 Sep 2009 Posts: 238 on topic

|
Posted: Sat, 24. Oct 09, 10:39 Post subject: |
|
|
Oh, it is... I have an SPP that produces e-cells for 13 Cr apiece. If I set the price to 12, I'll sell below cost
I'm asking since the station often is fully stocked for some time, Then it gets completely cleared and the cycle repeats.
BTW. how often are the prices updated?
_________________ Friendly fire is not so friendly. |
|
|
|
|
|
|
Back to top |
|
|
|
 |
|
|
|
|
|
Gripen
Joined: 12 Jun 2009 Posts: 88 on topic

|
Posted: Sat, 24. Oct 09, 12:08 Post subject: |
|
|
I guess the script is ment to be activated in each station through the command-slots-thingy.... however when i click the Dynamic Product Pricing for Slot1 nothing seem to happen.. Still gives "none", dunno if its active or not ^^
Edit: oh and other commands work fine.. like auto transfer
|
|
|
|
|
|
|
Back to top |
|
|
|
 |
|
|
|
|
|
mtiffany71
Joined: 23 Nov 2008 Posts: 16 on topic

|
Posted: Sat, 24. Oct 09, 19:31 Post subject: |
|
|
| Gripen wrote: |
I guess the script is ment to be activated in each station through the command-slots-thingy.... however when i click the Dynamic Product Pricing for Slot1 nothing seem to happen.. Still gives "none", dunno if its active or not ^^
Edit: oh and other commands work fine.. like auto transfer |
Oops, my bad. Fixed as of 1.0.3. Command "Dynamic Product Pricing" now appears in station command slot when running.
|
|
|
|
|
|
|
Back to top |
|
|
|
 |
|
|
|
|
|
mtiffany71
Joined: 23 Nov 2008 Posts: 16 on topic

|
Posted: Sat, 24. Oct 09, 19:40 Post subject: |
|
|
| costi wrote: |
| Will the sell price ever drop below the production cost with this? |
Yes, that's entirely possible. Sorry I forgot to mention that. I wrote this script specifically for my closed-loop complexes. Being closed loops, they can't lose money even if they always sell all their products at the minimum all the time (unless they're destroyed before they earn back what I spent on building them).
So again, yeah, the selling price can drop below the production cost when you run this script on single factories or complexes which are not closed loops.
And again, sorry I forgot to mention it.
FWIF, next version I'm working on will allow you to set your own minimum/maximum selling prices (within the range already set by the game, of course). For instance, if the production cost of Energy Cells at your SPP is 13 Cr/EC, you'll be able to set the minimum selling price at 14Cr, instead of the game default of 12. That's what's slated for 1.1.
|
|
|
|
|
|
|
Back to top |
|
|
|
 |
|
|
|
|
|
mtiffany71
Joined: 23 Nov 2008 Posts: 16 on topic

|
Posted: Sat, 24. Oct 09, 19:47 Post subject: |
|
|
| costi wrote: |
| BTW. how often are the prices updated? |
Prices are updated every 15 to 30 real-time seconds.
|
|
|
|
|
|
|
Back to top |
|
|
|
 |
|
|
|
|
|
costi
Joined: 12 Sep 2009 Posts: 238 on topic

|
Posted: Sat, 24. Oct 09, 22:18 Post subject: |
|
|
Thanks for all the info 
_________________ Friendly fire is not so friendly. |
|
|
|
|
|
|
Back to top |
|
|
|
 |
|
|
|
|
|
mtiffany71
Joined: 23 Nov 2008 Posts: 16 on topic

|
Posted: Sun, 1. Nov 09, 02:42 Post subject: |
|
|
| costi wrote: |
Thanks for all the info  |
In case you're interested, this evening I released a version of DPP meant specifically to be used with single factories and single-product complexes. It allows the user to set the minimum selling price of their products.
DPP for single factories (SPK)
|
|
|
|
|
|
|
Back to top |
|
|
|
 |
|
|
|
|
|
scaseman
Joined: 13 Mar 2004 Posts: 76 on topic

|
Posted: Mon, 2. Nov 09, 19:38 Post subject: |
|
|
Will both scripts wprk together? Or should I just use the one?
|
|
|
|
|
|
|
Back to top |
|
|
|
 |
|
|
|
|
|
mtiffany71
Joined: 23 Nov 2008 Posts: 16 on topic

|
Posted: Mon, 2. Nov 09, 21:14 Post subject: |
|
|
| scaseman wrote: |
| Will both scripts wprk together? Or should I just use the one? |
The scripts shouldn't both be running on the same station, if that's what you're asking. One is meant to be run on closed-loop complexes (DPP) and the other is (SFDPP) meant to be run on single factories (or complexes which have only one product).
But if for example you have a closed-loop complex in Antigone Memorial which produces weapons and micro-chips and a Teladianium Foundry in CEO's Buckzoid, you would use DPP for the AM complex and SFDPP for the CB Teladianium Foundry.
HTH
|
|
|
|
|
|
|
Back to top |
|
|
|
 |
|
|
|
|
|
|
|