[Script] Dynamic Product Pricing
Moderators: Moderators for English X Forum, Scripting / Modding Moderators
-
- Posts: 80
- Joined: Sun, 23. Nov 08, 15:57
[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
Alternative download link (.spk) from xdownloads:
[ external image ]
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
Alternative download link (.spk) from xdownloads:
[ external image ]
Edit [1st December 2015]: added alternative download links from xdownloads. X2-Illuminatus
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
Alternative download link (.spk) from xdownloads:
[ external image ]
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
Alternative download link (.spk) from xdownloads:
[ external image ]
Edit [1st December 2015]: added alternative download links from xdownloads. X2-Illuminatus
Last edited by mtiffany71 on Sun, 1. Nov 09, 01:37, edited 3 times in total.
so its like automatically making your stations like an npc station nice
My Mods:
Sector Administration: A Tax Mod
Sector Administration: A Tax Mod
-
- Posts: 80
- Joined: Sun, 23. Nov 08, 15:57
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.
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.
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?
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.
-
- Posts: 80
- Joined: Sun, 23. Nov 08, 15:57
Oops, my bad. Fixed as of 1.0.3. Command "Dynamic Product Pricing" now appears in station command slot when running.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
-
- Posts: 80
- Joined: Sun, 23. Nov 08, 15:57
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).costi wrote:Will the sell price ever drop below the production cost with this?
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.
-
- Posts: 80
- Joined: Sun, 23. Nov 08, 15:57
-
- Posts: 80
- Joined: Sun, 23. Nov 08, 15:57
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.costi wrote:Thanks for all the info
DPP for single factories (SPK)
-
- Posts: 80
- Joined: Sun, 23. Nov 08, 15:57
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).scaseman wrote:Will both scripts wprk together? Or should I just use the one?
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
-
- Posts: 80
- Joined: Sun, 23. Nov 08, 15:57
(ZIP) Dynamic Product Pricing v1.0.3 is missing.
I Would say: It is a problem to click on three links to find out which file is missing? ...
the correct link: http://www.4shared.com/file/143312336/a ... -X3TC.html
I Would say: It is a problem to click on three links to find out which file is missing? ...
the correct link: http://www.4shared.com/file/143312336/a ... -X3TC.html
Die Kraft einer Kerze ist die Flamme, aber sie brennt nur so lange wie der Docht.
-
- Posts: 163
- Joined: Fri, 27. Jun 08, 18:47
After following the link try clicking the "Download Now" in the blue box, rather than the "Download" with the green arrow.Remenents wrote:The only problem I can see, is that this link wants me to install some program to be able to downloa the file, and honestly, I really dont want to. Is there another way to install this?