EnglishGermanFrenchRussianPolishItalianSpanish
Log inRegister
 
[X3 Script] Company Assets script - Ver 1
Post new topic Reply to topic Goto page 1, 2  Next
View previous topic :: View next topic
Author Message
Birdman





Joined: 10 Jan 2004
Posts: 508 on topic
Location: Tacoma, Wa
Thank you for registering your game
modified
PostPosted: Fri, 13. Jan 06, 04:11    Post subject: [X3 Script] Company Assets script - Ver 1 Reply with quote Print

Extract to your X3 directory, keeping folder paths.

This script uses Text page 447878.xml and COMMAND_TYPE_SHIP_24.

Run this script from the additional command menu (after script editor is enabled) or "a.Birdman.Assets" from script editor.

This script will produce a comma separated logfile (log07878.txt) with information about the players assets.
This includes station and ships data. The header data is formatted as follows:

Player Name
Credits in players account
Playing Time
Script engine version . script version


The first field is coded in the text file to inform the user of the type of data, the last field is an index number. If there are multiple lines of data with same data type, it means there are over 3 different types in the cargo bay or installed. Data output is in groups of 3, if less than 3 different types are present, then output will show null.

Ship information data is formatted:

Ship, ships name (name player has assigned), ship type, current sector, homebase (null if not assigned), index
Upgrades, ships name, CargoBay size, Engine tuning installed, Rudder optimisation installed, Trade Command MkIII installed (Y/N), JumpDrive installed (Y/N), Fight Command 1 (Y/N), Fight command 2 (Y/N), Null, index
Shield, Quantity and Size Shield type 1, Quantity and Size Shield type 2, Quantity and Size Shield type 3, index
Laser, Quantity and type laser 1, Quantity and type laser 2, Quantity and type laser 3, index
Wares, Quantity and type ware 1, Quantity and type ware 2, Quantity and type ware 3, index



Station information data is formatted:

Station, station name (name player has assigned), station name type (including race purchased from), station funds, sector station is in, index
Product, station name, product, current amount on hand, maximum storage capacity, index
Primary, station name, primary resource, current amount on hand, maximum storage capacity, index
Intermediate, station name, Intermediate resource (for complexes), current amount on hand, maximum storage capacity, index


Note: Capacities (on hand and maximum) for stations in complexes are the TOTAL for the entire complex.


ftp://birdmanx2.homeip.net/Files/Assets.zip (Ver 1)

If this link does not work, check back later, it means I'm playing X3 Very Happy .

If anyone is willing to host in addition, please feel free to do so, and send me a PM with the link so I can update this post with additional links.

http://klaatu.dyndns.org/x3/Assets.zip (Ver 1) Thanks to klaatu


If anyone has any additional requests for modification of this script, please ask.



Last edited by Birdman on Sun, 22. Jan 06, 19:47; edited 1 time in total
Back to top
View user's profile Send private message Send e-mail
ajw2255





Joined: 08 Oct 2005
Posts: 218 on topic

Thank you for registering your game
PostPosted: Fri, 13. Jan 06, 19:28    Post subject: Reply with quote Print

Good work, I'ltry it later when i get home


_________________
Destroy the mothership and the cards will fall like a stack of dominoes. Checkmate
Back to top
View user's profile Send private message MSN Messenger
Kilrathi Avenger



MEDAL

Joined: 06 Feb 2004
Posts: 275 on topic
Location: Edwinstowe, UK
Thank you for registering your game
PostPosted: Sat, 28. Jan 06, 16:20    Post subject: Reply with quote Print

Birdman, how do you get the cool looking x3 details from the bottom of your post. Is it a program or done by hand Rolling Eyes

Cheers


_________________
"As I slide down the banister of life;
my job is just another splinter in the bum"
Back to top
View user's profile Send private message
Birdman





Joined: 10 Jan 2004
Posts: 508 on topic
Location: Tacoma, Wa
Thank you for registering your game
PostPosted: Sat, 28. Jan 06, 16:37    Post subject: Reply with quote Print

That's actually X2 stats. It's from Logaan's site http://www.logaans-site.co.uk/xustats/ , he set up a script to get your info, and he processes it, and has the info set up so you can get the display. The X3 version is being worked for the processing, the script is ready. So check his site periodically, and watch the main forum for news of the release.

Back to top
View user's profile Send private message Send e-mail
Skillers





Joined: 24 Apr 2005
Posts: 539 on topic
Location: Omicron Lyrae
Thank you for registering your game
PostPosted: Tue, 14. Feb 06, 15:13    Post subject: Reply with quote Print

Just tried it, very nice, though 2 things I would like;

1) seperate all the information, it's not the friendliest thing to look at.

2) Player race stats, i.e. show the detail about race relations between player and all races.

Thanks


_________________
"Warning, cargo bay now contains; Gate, Home of Light"
Back to top
View user's profile Send private message
arcana75





Joined: 02 Dec 2003
Posts: 2156 on topic

Thank you for registering your game
PostPosted: Tue, 14. Feb 06, 15:35    Post subject: Reply with quote Print

I think the idea was to load it into a spreadsheet. Looks fine in that.

An enhancement to this is some way to reference all the assets to pricetags, so we have an idea of net worth Very Happy


_________________
Nanite Hull Repair, Resource-Free Factory, Collect Wares Mk 2, Remove Products from Docks, Hack Station
Back to top
View user's profile Send private message Visit poster's website
Skillers





Joined: 24 Apr 2005
Posts: 539 on topic
Location: Omicron Lyrae
Thank you for registering your game
PostPosted: Tue, 14. Feb 06, 16:07    Post subject: Reply with quote Print

It can be loaded into a spreadsheet?


_________________
"Warning, cargo bay now contains; Gate, Home of Light"
Back to top
View user's profile Send private message
arcana75





Joined: 02 Dec 2003
Posts: 2156 on topic

Thank you for registering your game
PostPosted: Tue, 14. Feb 06, 17:58    Post subject: Reply with quote Print

Why not? It's delimited and the 1st post tells u the column headers.


_________________
Nanite Hull Repair, Resource-Free Factory, Collect Wares Mk 2, Remove Products from Docks, Hack Station
Back to top
View user's profile Send private message Visit poster's website
Skillers





Joined: 24 Apr 2005
Posts: 539 on topic
Location: Omicron Lyrae
Thank you for registering your game
PostPosted: Tue, 14. Feb 06, 18:02    Post subject: Reply with quote Print

Oh, manually, I thought there was some cleaver trick I didn't know about Rolling Eyes.


_________________
"Warning, cargo bay now contains; Gate, Home of Light"
Back to top
View user's profile Send private message
Birdman





Joined: 10 Jan 2004
Posts: 508 on topic
Location: Tacoma, Wa
Thank you for registering your game
PostPosted: Wed, 15. Feb 06, 05:28    Post subject: Reply with quote Print

arcana75 wrote:
An enhancement to this is some way to reference all the assets to pricetags, so we have an idea of net worth Very Happy


Well, that's what XUStats is for. but Logaan is still getting the site ready. Sad He has to create a database in PHP to reference all the prices, he has the info to be verified, and he is working on it.

Back to top
View user's profile Send private message Send e-mail
Birdman





Joined: 10 Jan 2004
Posts: 508 on topic
Location: Tacoma, Wa
Thank you for registering your game
PostPosted: Wed, 15. Feb 06, 05:44    Post subject: Reply with quote Print

Skillers wrote:
Just tried it, very nice, though 2 things I would like;

1) seperate all the information, it's not the friendliest thing to look at.

2) Player race stats, i.e. show the detail about race relations between player and all races.

Thanks


1. The idea was to load it into a spreadsheet, thus the comma delimiting.
This is a manual procedure, start the spreadsheet program, open the file, and use comma delimiting to put into the spreadsheet columns.

2. I'll check into that, but may not have much success. There is a problem with getting the info due to script engine problems. If you are looking for just Friendly, Neutral, or Enemy, that is doable, but other than that, it could be a problem.

Back to top
View user's profile Send private message Send e-mail
pospi





Joined: 17 Jan 2006
Posts: 98 on topic

Thank you for registering your game
PostPosted: Wed, 15. Feb 06, 07:54    Post subject: Reply with quote Print

hey, very nice work!

does this mean the XML output is coming soon? Very Happy

Back to top
View user's profile Send private message
JungleBudz





Joined: 26 Jul 2006
Posts: 9 on topic

Thank you for registering your game
PostPosted: Tue, 1. Aug 06, 21:40    Post subject: Reply with quote Print

Does anyone know where I can get this script? None of the links work. Thanks.

Back to top
View user's profile Send private message
fud





Joined: 25 Jan 2006
Posts: 6990 on topic
Location: IN, USA
Thank you for registering your game
PostPosted: Tue, 1. Aug 06, 21:58    Post subject: Reply with quote Print

That might have something to do with the last post being 6 months ago.

Back to top
View user's profile Send private message
JungleBudz





Joined: 26 Jul 2006
Posts: 9 on topic

Thank you for registering your game
PostPosted: Tue, 1. Aug 06, 22:17    Post subject: Reply with quote Print

I understand that, doen't mean someone does not have it lying around somewhere.

Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic Reply to topic Goto page 1, 2  Next
 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum
Control Panel
Login Data
The time now is Thu, 20. Jun 13, 13:32

All times are GMT + 2 Hours


Board Security

Copyright © EGOSOFT 1989-2009
Powered by phpBB © 2001, 2005 phpBB Group
Template created by Avatar & BurnIt!
Debug: page generation = 0.17699 seconds, sql queries = 75