[Script] DTS - Auction Stations and Wares [1.42 update 19.02.06]

The place to discuss scripting and game modifications for X³: Reunion.

Moderators: Moderators for English X Forum, Scripting / Modding Moderators

Post Reply
User avatar
al_main
Posts: 1379
Joined: Wed, 6. Oct 04, 10:26
x3

[Script] DTS - Auction Stations and Wares [1.42 update 19.02.06]

Post by al_main » Wed, 1. Feb 06, 21:04

Dynamic Trading System

Description : Allows universe-wide auctions to take place
Version : 1.42
Date : 19/02/06
Author : al_main

Using cycrows script installer:
Download DTS - Auctions here or mirror

Or extract to your x3 folder:
http://www.freewebs.com/x3scripts/Dynam ... m_1.42.zip <= for some strange reason might need to copy and paste this link into your browser


Any feedback is greatly appreciated! (Selling prices are too low/high?, how often NPC auctions should be held? or anything else!)

Thanks to alot of other scripters, without their previous scripts to look at for reference i wouldnt have got this far. Also thanks to Boron Ol Fh'art (M N Lawrence) for using/testing through this script and bringing a couple of errors to my attention. And thanks to arcana75 for hosting the mirror here.


----------------------------------------------------------------------

Advert:

What can you do with the 10,000 ore inside your industrial complex that produces ore faster than a fleet of freighters can remove it? Or do you have a station that just doesnt cut it?

Want the opportunity to buy discounted goods and stations?

Well the answer to your problems is here. Start trading with InterSteller Auction Services today!

-----------------------------------------------------------------------

Background Information:

Primarily a Teladi led field, Auctioneering is now a universal way to dipose of excess wares, an unprofitable station or even an ill-gotten ship! (ship trading coming soon) By taking a small commission the Teladi are happy to arrange an auction for whatever people are willing to sell. Alternatively this also allows the purchase of these items for possible discount prices to a skilled bidder.

Currently stations sold through the Auctioneering Services are melted down for scrap and dissasembled for their component parts - you should first remove any ships docked at your station. However given the rapid expansion of this growth industry it is expected that they may soon be kept in production or manually moved to another location by a TL from the purchasing company (coming soon!).

Their are currently up to 79 companies willing to bid for goods at auction including TerraCorp and The Profit Guild but more and more companies are starting to trade in this way all of the time. (either post here or personal message any company names operating in your universe to al_main to add extra depth to the purchasing database)

---------------------------------------------------------------------

Use (sell):

Select in the command menu of a station.

1. Choose the ware to trade
2. Choose the amount of ware to trade

Wait afew seconds for the bid to come in and the auction to take place and then recieve your money!

When selling a complex the hub and tubes will be auctioned off for scrap and the factories will remain. If the factories are also unwanted these will have to be auctioned off seperately afterwards.

TIP: When selling a factory, auction any wares it may contain first to obtain a better price


Use (buy):

1. Ensure that the 'Player bid in auctions' artificial life setting is set to 'yes' (Should be set to yes by default)
2. In the custom command menu of your ship select 'GalNet: Upload Preferences' and select your option of auctions to bid in: wares, stations, both or none
3. You will then get a message when an auction that you can bid in arises.
4. Won wares can then be picked up at your leisure from the Teladi Profit Guild Headquarters (added to Ianamus Zura as per the sector description).

(If the 'GalNet: Upload Preferences' command is not there then the 'Player bid in auctions' artificial life setting may be set to 'no' or alternatively set it 'no' (press enter) and then set it to 'yes' again)

The artificial life menu is accessed through the main options menu, gameplay, artificial life settings.

---------------------------------------------------------------------

Install:

Just extract the rar file to your main X3 directory or use cycrows script
installer.


Changelog

1.42
Text file fix
1.41
Improved decisions on station auctioning
Improved bidders name aquiring
1.40
Improved pricing system for auctions of stations
A small text file spelling fix
1.33
Removed testing code generating log messages
1.32
Changed script format slightly
Fixed problem when choosing high end products
Shipyards can not be bought at auction anymore
Fixed minor text file issues
Fixed grammar on auction reports slightly
Fixed problem transferring wares
Bulk transporter upgrade no longer added to Profit Guild HQ
1.30
Added auctions that the player can bid in for wares and stations
Added Teladi Profit Guild HQ
Added artificial life setting
Added Upload preferences command
1.20
Variable numbers of bidders dependent on demand
Major recoding of the auctioning system
Now asks for confirmation before auctioning station
Fixed check for docked ships before auctioning station
Initial implementation of demand on prices
Initial implementation of goods bought by relevant companies
(Bids from pirates for spaceweed, etc.)
Now recieve bids from individual traders
Temporary rename of station being auctioned until sold
1.10
Initial release after primary testing
-Can auction stations to highest bidder
-Can auction wares to highest bidder


Files and wares used:

448112.xml

COMMAND_TYPE_STATION_22
COMMAND_TYPE_STATION_23
Last edited by al_main on Wed, 22. Mar 06, 18:31, edited 31 times in total.

User avatar
arcana75
Posts: 2158
Joined: Tue, 2. Dec 03, 10:28
x3tc

Post by arcana75 » Thu, 2. Feb 06, 05:12

Nice idea! Ur readme link is dead tho.

User avatar
arcana75
Posts: 2158
Joined: Tue, 2. Dec 03, 10:28
x3tc

Post by arcana75 » Thu, 2. Feb 06, 11:44

Works beautifully! One question tho, does the factory auction include ware stock? I did separate auctions and noticed the wares present don't affect station auction prices.

999-JAY-999
Posts: 610
Joined: Mon, 7. Apr 03, 16:29
x3tc

Post by 999-JAY-999 » Thu, 2. Feb 06, 15:07

Heeeyyyy its EBAY turned XBAY !!!



Good idea.
System Spec :-

AMD Athlon(tm) 64 Duel 6000+ (3.01GHz)
Windows XP Home Ed. SP 3
ATI Radeon HD 4850 (512)
Creative X-FI Soundard
2.00 GB of RAM
G9 RAZOR Mouse

User avatar
al_main
Posts: 1379
Joined: Wed, 6. Oct 04, 10:26
x3

Post by al_main » Thu, 2. Feb 06, 15:57

arcana75 wrote:Nice idea! Ur readme link is dead tho.
Sorry, slight file naming error - FIXED

999-JAY-999 wrote:Heeeyyyy its EBAY turned XBAY !!!

Good idea.
U have no idea how close i was to using that as a name for one of the auction companies.....

arcana75 wrote:Works beautifully! One question tho, does the factory auction include ware stock? I did separate auctions and noticed the wares present don't affect station auction prices.
Currently due to the way the bids are generated any stock in the station does not affect the bids. Hence the tip to auction any wares first. This may change in one of the next versions.

You think it Works beautifully now?..... Cheers! (This was very much a 'rough' version to see what I could do.) I'm glad people like it. I've got alot more planned for this yet tho, including anything with 'coming soon' stated above but also:

variable number of bidders depending on demand - NOW BETTER
improving on safety issues - NOW DONE
tweaking the bid generator - NOW BETTER
better interaction with companies
and working with my other scripts if they are installed (only Bulk Transporter released public so far), for consistency.

Dont get me wrong, it does work fine at the moment. These are mostly just aesthetic changes to make the game more immersive. (Plus the additional functions coming soon)
Last edited by al_main on Fri, 3. Feb 06, 01:44, edited 1 time in total.

User avatar
arcana75
Posts: 2158
Joined: Tue, 2. Dec 03, 10:28
x3tc

Post by arcana75 » Thu, 2. Feb 06, 18:11

Maybe for a later version u might want to consider not forcing a popup when the bid ends... leave it as an Incoming is better IMHO.

User avatar
al_main
Posts: 1379
Joined: Wed, 6. Oct 04, 10:26
x3

Post by al_main » Fri, 3. Feb 06, 01:37

arcana75 wrote:Maybe for a later version u might want to consider not forcing a popup when the bid ends... leave it as an Incoming is better IMHO.
Its certainly something that could be easily changed. I originally wrote it this way as the report was available as soon as you initiated the command. And so it made sense that u press the button to have the auction and then your looking at the report. The delay between ordering the auction and recieving the report was something i added in later, in effect you wait afew seconds for people to place their bids and the auction to take place, which is more realistic.

One of the next releases will have a command for wether to recieve invites to other companies holding auctions that you can bid in so i may make that more of a preferences menu and add it as an option in that. I believe that should be possible if i get round to it.

Is the general opinion that it would be better having it solely as an incoming message and not as a popup? If thats most peoples opinions i'll get that done. Also what do people think about the confirm before auction of station message? Put in as it would be annoying to sell your station if you only meant to auction a ware!

Also what do people think about the current prices recieved and the guild fees charged?

Please post any feedback as it can only work to help make this script closer to what you would like it to be.

After getting my first 2 scripts and an update for each done in 3 days the next release/update will probably be on monday eve. Although I do aim to get a third script out soon. :)

(I've got a good weekend planned and post-pub scripting is a recipe for disaster!!! :wink: )

AL

argharg
Posts: 278
Joined: Thu, 11. Dec 03, 08:40
x3

your files are getting blocked by XP SP2

Post by argharg » Fri, 3. Feb 06, 07:56

They seem to have a 'security content issue', XP does say more. I can download all the other files from cycrow, AL, etc, so its on your side. Looking forward to install your scripts may you have to fix something (donno what).

User avatar
al_main
Posts: 1379
Joined: Wed, 6. Oct 04, 10:26
x3

Post by al_main » Fri, 3. Feb 06, 14:01

I'm not sure what the problem is here.

They're hosted on www.freewebs.com and whenever i try the link to check them they seem fine.

I'll get them hosted on a second site aswell at some point soon then.

In the mean time if anyone cant download them let me know and i'll e-mail you them.

argharg
Posts: 278
Joined: Thu, 11. Dec 03, 08:40
x3

Post by argharg » Sat, 4. Feb 06, 10:29

still have the same pb, your site is defined as 'restricted' never seen that before anywhere, anychnace you can post the 2 scripts elsewhere?

User avatar
al_main
Posts: 1379
Joined: Wed, 6. Oct 04, 10:26
x3

Post by al_main » Sat, 4. Feb 06, 14:46

Am going to soon, but not got much time this weekend at the mo.

Is anyone else having this problem???

In the meantime if you PM me your e-mail and i'll e-mail them to you.

User avatar
Dgn Master
Posts: 1228
Joined: Fri, 27. Feb 04, 11:36
x3tc

Post by Dgn Master » Sat, 4. Feb 06, 19:06

Possible Large Company Names:

TIPU: Teladi Industrilized Profits Union
BBFI: Boron Big Fish Investments
APSE: Argon Peaceful Space Empires
SHTA: Split Hostile Takeover Alliance
TPT: The Paranid Triad
SDI: Shady Deals Incorperated (pirate faction?)

May come up with more later :)
Could the parents of the little Argon girl, Suzie, please claim her sealed jar of remains?
She didn't mind the gap and ended up vapourized!

User avatar
al_main
Posts: 1379
Joined: Wed, 6. Oct 04, 10:26
x3

Post by al_main » Sun, 5. Feb 06, 23:04

Cheers Dgn Master

These'll be going in the t file me thinks.

Any more that you come up with will also be welcome

User avatar
Dgn Master
Posts: 1228
Joined: Fri, 27. Feb 04, 11:36
x3tc

Post by Dgn Master » Sun, 5. Feb 06, 23:41

Glad you liked the others.
Here's A few more for you.


SC: Shyster Corperation (over 99 million cheated..lol - Pirates)
OSH: Order of the Silken Glove (Pirate)
ARHT: Association for the Repopulation of Home Territories (Argon)
TMM: Teladi Muliti-Sector Megacorp (Teladi)
TTP: The Transgalactic Preservationists (Goner)
TCP: The Circle of Peace (Goner)
ECE: Empty Coffers Enterprises (Goner)
TFT: The Fellowship of the Three (Paranid)
MCL: Mass Conquest League (Split)
HMS: Hive Mind Securities (Split)
UF: Universal Freetraders (Teladi)
SPTP: Spawning Pool Trust Partnership (Boron)
Could the parents of the little Argon girl, Suzie, please claim her sealed jar of remains?
She didn't mind the gap and ended up vapourized!

User avatar
al_main
Posts: 1379
Joined: Wed, 6. Oct 04, 10:26
x3

Post by al_main » Wed, 8. Feb 06, 03:48

Cheers Dgn Master - afew are now in, more to follow when I double the size of the amount of companies soon (and hence need to check half the code for references to races and companies :( )

- version 1.30 is now available including auctions where you can bid for wares and stations :)

Can people let me know if they think that the auctions are too few/too many. I'm really not sure how frequent to make them. You get an incoming message when theres an auction you can bid at (can turn them off if you want to just use for selling your stuff) What do people think as to how fast you should get them???

Also please post any text errors you may come across, despite how minor they may be.

Post Reply

Return to “X³: Reunion - Scripts and Modding”