[BONUS Plug-In] Trade Command Software MK3

The place to discuss scripting and game modifications for X²: The Threat.

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

Guest

Post by Guest »

Two questions about the logging feature.

How is the logging information affected by the game ending (yes I died) and restarting from an earlier save (My restart was with a saved game about 3 real time hours before my ignoble death).

What is the effect to logging if I delete the log01500.txt file before I start a game. Is a new file created? (obviously the previous info will no longer exist)

The reason I ask is after my death and restart, when I looked at the stats at the end of day some of the figures did not make sense. I was wondering if maybe the log contained info from trades covering the same period after the restart.

I hope I managed to explain myself here.
frymaster
Posts: 3008
Joined: Wed, 6. Nov 02, 20:31
x4

Post by frymaster »

SilverK wrote:why would they sell to your own stations? that would be taking money from ya left pocket and putting it in ya right pocket
the money transfer part of it isn't ideal, but what IS good is that the traders will buy, say, GPPCs, from the far reaches of the universe, from the AI, then jump to my dock and sell them to it. As the dock's own trade ships can't use jumpdrive unless manually commanded, it saves on the mircomanagement.

Actually the money transfer bit is irrelevent, the money from the dock ends up in the AI's hands either way.
User avatar
M.Kessel
Posts: 1460
Joined: Wed, 13. Nov 02, 11:49
xr

Post by M.Kessel »

Aasvogel wrote:Two questions about the logging feature.

How is the logging information affected by the game ending (yes I died) and restarting from an earlier save (My restart was with a saved game about 3 real time hours before my ignoble death).

What is the effect to logging if I delete the log01500.txt file before I start a game. Is a new file created? (obviously the previous info will no longer exist)

The reason I ask is after my death and restart, when I looked at the stats at the end of day some of the figures did not make sense. I was wondering if maybe the log contained info from trades covering the same period after the restart.

I hope I managed to explain myself here.
With each Start or load of a savegame it will make an entry in the log. -> "Load game with gametime"

You have to "split" your logs at this point, I know its not entirely correct, but there was no better method, to do it. The log is not savegame consistent!

If proper method is, indeed, deleting the file, before loading a game. better, moving it to another directory. But, as I said befor, you acn split that file at the loadgame point later.

Maybe someone writes a little programm for that? Splitting the file, and making separates .XML files from the log! With a little more effort, you are able to make it consistant again!

Greetings Mike
I'm depressed
User avatar
M.Kessel
Posts: 1460
Joined: Wed, 13. Nov 02, 11:49
xr

Post by M.Kessel »

Carl Sumner wrote:
The Great Stonk wrote:read the readme, in order to use the universe trader you need to have at least 1 25mw shield installed, as well as fight comand software 1 and 2, pilot must be at level 8 also.
Does this mean that the Universe Trader needs guns on the ship? Or will that still cause them to attack and get killed?
:?
DO NOT USE GUNS! (even true in RL) :D
I'm depressed
Guest

Post by Guest »

M.Kessel wrote:
With each Start or load of a savegame it will make an entry in the log. -> "Load game with gametime"

You have to "split" your logs at this point, I know its not entirely correct, but there was no better method, to do it. The log is not savegame consistent!

If proper method is, indeed, deleting the file, before loading a game. better, moving it to another directory. But, as I said befor, you acn split that file at the loadgame point later.
....

Greetings Mike
Thanks for the info Mike. Will revisit the log now that I have a clearer idea on how it works :)
Kvaren
Posts: 10
Joined: Sat, 17. Jul 04, 00:29
x2

Post by Kvaren »

I've got a question about the home base of a sector/universe traveler. Right now I have a couple of sector traders running off the finances of my SPPs. These SPPs are set to transfer money to my account every 150000 credits.

When these sector traders are experienced enough, I plan to convert them to galaxy traders. Is it possible to change their home base back to my personal account? By the time they are ready to travel the galaxy, I hope to have substanially more funds in my account. I do not think the 150000 cutoff limit of the SPP plants will support high stakes galaxy trading.

I have not figured out how to revert the traders back to my account. Is this even possible?

Thanks.
frymaster
Posts: 3008
Joined: Wed, 6. Nov 02, 20:31
x4

Post by frymaster »

frymaster wrote:question about the updated script - I have found universe traders useful in stocking my (closed to AI races) equipment dock. Although the traders will no longer buy from closed stations, will they still sell to them?
bump :)
Carl Sumner
Posts: 5145
Joined: Mon, 23. Feb 04, 01:28
x4

Post by Carl Sumner »

Kvaren wrote:I've got a question about the home base of a sector/universe traveler. Right now I have a couple of sector traders running off the finances of my SPPs. These SPPs are set to transfer money to my account every 150000 credits.
-clip-
I have not figured out how to revert the traders back to my account. Is this even possible?

Thanks.
As far as I know, the only way to blank out the Home Base entry is to get in the ship. BUT, this effectivly fires the pilot and zero's the experience level! :(

If they are already leveled up, then I would leave them on the factory for now. :)
Tinker

"If engineers built buildings the way programmers write programs, the first woodpecker that came along would destroy civilization!"
Carl Sumner
Posts: 5145
Joined: Mon, 23. Feb 04, 01:28
x4

Post by Carl Sumner »

M.Kessel wrote:
Carl Sumner wrote:
The Great Stonk wrote:read the readme, in order to use the universe trader you need to have at least 1 25mw shield installed, as well as fight comand software 1 and 2, pilot must be at level 8 also.
Does this mean that the Universe Trader needs guns on the ship? Or will that still cause them to attack and get killed?
:?
DO NOT USE GUNS! (even true in RL) :D
Thanks. Wishful thinking, I guess. :wink:
Tinker

"If engineers built buildings the way programmers write programs, the first woodpecker that came along would destroy civilization!"
Tobias Reaper
Posts: 26
Joined: Wed, 23. Jun 04, 10:51
x2

Post by Tobias Reaper »

Carl Sumner wrote:
Kvaren wrote:I've got a question about the home base of a sector/universe traveler. Right now I have a couple of sector traders running off the finances of my SPPs. These SPPs are set to transfer money to my account every 150000 credits.
-clip-
I have not figured out how to revert the traders back to my account. Is this even possible?

Thanks.
As far as I know, the only way to blank out the Home Base entry is to get in the ship. BUT, this effectivly fires the pilot and zero's the experience level! :(

If they are already leveled up, then I would leave them on the factory for now. :)
as of yet, I have no experience with the new UTs, but with the 1.3 Sector Traders, the following solution worked fine:
I picked a safe wheatfarm (in herons nebula, in my case) and set it's money-transfer limit to 800.000 credits. Then I assigned all my traders to this wheat farm.
800k was plenty to make sure the traders would never run out of money, and all their profits were transfered to my account. (for multiple universe traders, i would maybe up the limit to 1-2 millions....)

Has the added benefit, than I can spend even the last credit of my personal account, without my empire grinding to a halt
Carl Sumner
Posts: 5145
Joined: Mon, 23. Feb 04, 01:28
x4

Post by Carl Sumner »

I picked a safe wheatfarm (in herons nebula, in my case) and set it's money-transfer limit to 800.000 credits. Then I assigned all my traders to this wheat farm.
800k was plenty to make sure the traders would never run out of money, and all their profits were transfered to my account. (for multiple universe traders, i would maybe up the limit to 1-2 millions....)

Has the added benefit, than I can spend even the last credit of my personal account, without my empire grinding to a halt
Thats a good point. :)

But if you assign the traders to a station somewhere else, don't use the Buy Ware commands that become active. The trader will take off across the universe, returning to the station!
:lol:
Tinker

"If engineers built buildings the way programmers write programs, the first woodpecker that came along would destroy civilization!"
LORDSATAN
Posts: 191
Joined: Tue, 11. Mar 03, 20:11
x3tc

Post by LORDSATAN »

I loaded mine up yesterday and feel a bit thick(considering how much I have played this game) asking where is this log in the menu as I cant find it anywhere.
I have copied the file from logging on folder to scripts but still cant find anything in the log apart from the message that you get when you start the trader.
:?
I will grow up one day....
One day
VincentTH
Posts: 6636
Joined: Wed, 6. Nov 02, 20:31
x4

Post by VincentTH »

Its not in the in-game log. Its in the the file 1250.txt (from memory, you can get the exact file name from the readme file). You can run the utility under the trader directory (again from memory txt2xml or something like that) to convert the text file into XML. Then you can open the XML from your browser to read it.
Read the Readme, it has all the infos you need. I am at work and don't have access to the game to give you the exact infos.
LORDSATAN
Posts: 191
Joined: Tue, 11. Mar 03, 20:11
x3tc

Post by LORDSATAN »

Whoops. :oops:

That will be why I cant find it then.

DOH!!!! :headbang:
I will grow up one day....
One day
kmiller1610
Posts: 701
Joined: Sat, 8. May 04, 03:49
x3tc

Moving your pilot to a new ship

Post by kmiller1610 »

I tried this for 3 hours with no luck.

The source ship had a level 10 trader, Mark 3 software, upgraded shields, the works.

The target ship (demeter) was brand spanking new. Just moved it into space a few km from the shipyard.

1) ordered the source ship to transfer pilot ( special menu item )

2) selected the source ship

3) selected the target ship

4) selected the station for them to meet

5) the source ship moved to the selected station and docked

6) the target ship just sat there .... forever. I finally ordered the ship to dock and after it did, nothing happened. I tried to manually move the pilot, but no go.

Finally I just gave up, left my level 10 on his old ship, activated universe trader and this morning, he's at level 25 (that was FAST).
jam3
Posts: 65
Joined: Tue, 20. Jul 04, 09:33
x3

Post by jam3 »

Hey guys check this out

http://www.egosoft.com/x2/forum/viewtop ... 820#641820

just wrote a little .NET app to help you read the log files better.
mike n
Posts: 20
Joined: Sun, 15. Feb 04, 00:20
x2

Post by mike n »

At wat level does a pilot have to be to start the Universe Trader, i have a couple of pilots over level 8 and the universe trader option is still in grey.

Mike n
Scarecrow
Posts: 5408
Joined: Wed, 6. Nov 02, 20:31
x4

Post by Scarecrow »

Do you have the hardware and software requirements?

.......shields, MK1&2 Fight software, jumpdrive(althought this one is not necessary).
mike n
Posts: 20
Joined: Sun, 15. Feb 04, 00:20
x2

Post by mike n »

Do you have to hav the MK 1 + 2? maybe thats why

Mike n
jam3
Posts: 65
Joined: Tue, 20. Jul 04, 09:33
x3

Post by jam3 »

Ok i now have 20 Demeter (full shields/cargo/rudder/cargo) universe traders.

There working out great but have an annoying habit of parking themselves when they "can't find energy in jump range". Of course everytime i look there's energy either in their current sector or in one within a few sectors (there all lvl 25 btw). SO I either have to manually go buy them the e-cells or simply move them on sector and restart the univ trader command.

It wouldn't be so bad if they would keep searching themselves but they just die until you manually intervene. My next step is to litter the galaxy with SPP's:) Maybe that'll help.

Return to “X²: The Threat - Scripts and Modding”