[SCR] [07.02.11] Trade Overview 2.05 by ScRaT

The place to discuss scripting and game modifications for X³: Terran Conflict and X³: Albion Prelude.

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

User avatar
vampirecosmonaut
Posts: 329
Joined: Thu, 17. Aug 06, 21:23
x4

Post by vampirecosmonaut »

I meant that the station's profit total never changes, it just remains as the cost of the station.
I was using the earlier version of the script, I will have to give this new version a try. I will let you know if I get it to work or not. :)

EDIT: Readtext errors, 1500-1503 are missing from the 044 language file.
I added them to my L044 file from the L049, they are just colors.

EDIT2: Using new version and it is logging station sales. This script works really good now. :wink:
The first documented attempt in human history to use a rocket for spaceflight
was made in the 16th century by a Chinese Ming dynasty official named Wan Hu.
The resultant explosion presumably killed him.
User avatar
ScRaT_GER
Posts: 1962
Joined: Tue, 8. Jan 08, 18:19
x3tc

Post by ScRaT_GER »

This script works really good now.
Good to know! :)
EDIT: Readtext errors, 1500-1503 are missing from the 044 language file.
I added them to my L044 file from the L049, they are just colors.
I'll reupload the correct files. Thanks for the hint!

EDIT: Here they are.

Greetings,
ScRaT
User avatar
vampirecosmonaut
Posts: 329
Joined: Thu, 17. Aug 06, 21:23
x4

Post by vampirecosmonaut »

I'm monitoring 15 EST universal traders and 5 trade docks.
So far, the script has a very low performance hit and the information is accurate.
Nice work.
The first documented attempt in human history to use a rocket for spaceflight
was made in the 16th century by a Chinese Ming dynasty official named Wan Hu.
The resultant explosion presumably killed him.
Life Bringer
Posts: 128
Joined: Mon, 24. Jul 06, 18:46

Post by Life Bringer »

Any chance to have the spk version?
Thank you
User avatar
ScRaT_GER
Posts: 1962
Joined: Tue, 8. Jan 08, 18:19
x3tc

Post by ScRaT_GER »

So far, the script has a very low performance hit and the information is accurate.
Nice work.
Thanks, that's always good to hear.
Any chance to have the spk version?
Actually I don't even know how to create an spk. :oops:
Is there a guide somewhere?
If so, I'll upload a spk version, when I upload the first non-RC.

Greetings,
ScRaT
Requiemfang
Posts: 3206
Joined: Thu, 16. Jul 09, 12:24
x4

Post by Requiemfang »

I've been wondering that myself :P
Life Bringer
Posts: 128
Joined: Mon, 24. Jul 06, 18:46

Post by Life Bringer »

ScRaT_GER wrote:

Actually I don't even know how to create an spk. :oops:
Is there a guide somewhere?
If so, I'll upload a spk version, when I upload the first non-RC.

Greetings,
ScRaT
I don't know if there is a guide, anwyay create the spk file is very easy, you just need the X package manager...
User avatar
ScRaT_GER
Posts: 1962
Joined: Tue, 8. Jan 08, 18:19
x3tc

Post by ScRaT_GER »

Okay, I'll see what I can do.

Greetings,
ScRaT
Hauger
Posts: 16
Joined: Sun, 5. Mar 06, 06:44
x3tc

Post by Hauger »

If you read the post I had hear before, just disregard it. Apparently the search is case sensitive and Complex needed to be capitalized. However I still couldn't find the link to the logbook in the CCP menu so I went digging. Apparently the hot fix released doesn't make a call to the CCP script to have itself added to the CCP menu nor does it add the hot key itself if CCP isn't installed.
User avatar
ScRaT_GER
Posts: 1962
Joined: Tue, 8. Jan 08, 18:19
x3tc

Post by ScRaT_GER »

If you read the post I had hear before, just disregard it.
I didn't. =)
Apparently the search is case sensitive and Complex needed to be capitalized.
Yeah, that's one problem I still need to solve. Apart from adding extra tokens, I need to remove the upper/lower-case differentiation.

Because of my RL I cannot give you a date, but I hope that I'll find some time this weekend to attack this problem.
However I still couldn't find the link to the logbook in the CCP menu so I went digging. Apparently the hot fix released doesn't make a call to the CCP script to have itself added to the CCP menu nor does it add the hot key itself if CCP isn't installed.
The starting post is not up to date. Currently I neither use the CCP, nor is there an extra hotkey for opening the ships logbook anylonger.
Actually I only integrated it in previous versions, because the menu was so slow, when many ships where monitored and some time had elapsed. Now all (sub-)menus will open almost instantly, so I didn't see the need to add another hotkey.

Greetings,
ScRaT
Hauger
Posts: 16
Joined: Sun, 5. Mar 06, 06:44
x3tc

Post by Hauger »

BTW just wanted to say that I really do appreciate this script. I also appreciate how you comment your scripts so it's not like I'm reading Greek while looking through it. I was very curious to see how the traders and stations were making money nickel and dime at a time, and how you get it logged. Once I realized that I was making the mistake and not the script I realized it was working correctly. I then went back and read previous peoples posts and realized that this was still art in progress. I'll sit and wait patiently for the end result!
User avatar
ScRaT_GER
Posts: 1962
Joined: Tue, 8. Jan 08, 18:19
x3tc

Post by ScRaT_GER »

just wanted to say that I really do appreciate this script
Thanks, good to hear!
I also appreciate how you comment your scripts so it's not like I'm reading Greek while looking through it.
Commenting scripts is very helpful - not only for people, who try to understand how the code works, but also for me. Since I cannot write continiuously I often have to go back, to see how the different arrays are arranged, etc.

Greetings,
ScRaT
User avatar
ScRaT_GER
Posts: 1962
Joined: Tue, 8. Jan 08, 18:19
x3tc

Post by ScRaT_GER »

Actually I wanted to update the starting post this weekend, but due to problems with my "Documents" folder I can't save or load savegames anylonger.
Because of that I'm wondering, if someone could take some screenshots of the menus, so that I can use these in the starting post.
Of course you should already have monitored multiple objects for some time, because the numbers will be more interesting than '0's everywhere.

You can post the screens here or send them via pm, I'd appreciate both. =)

Apart from that I am currently redoing the add/remove - dialogue, so that it does not differ between upper- and lowercase letters. Additionally there will be more shortcuts and it will be possible to enter mutliple search parameters.
For example "ap, ts, ut" would return all TS class ships in Argon Prime, which have "ut" in their name.

Greetings,
ScRaT
Hauger
Posts: 16
Joined: Sun, 5. Mar 06, 06:44
x3tc

Post by Hauger »

[ external image ]
[ external image ]

Not sure why they all start out with the word ARRAY, and have the random numbers in them. That's why I went pilfering through the script trying to figure out what they are there for. Just decided not to say anything since you were still working on it.

BTW, you shouldn't use these as examples. :wink:
User avatar
ScRaT_GER
Posts: 1962
Joined: Tue, 8. Jan 08, 18:19
x3tc

Post by ScRaT_GER »

:o
Are you still using patch 2.1?
If so, that would explain this faulty display, because the arrays are not interpreted correctly.
Just decided not to say anything since you were still working on it.
You can be sure, that if there were problems of this magnitude, no one would release a script. ;)

Greetings,
ScRaT
Hauger
Posts: 16
Joined: Sun, 5. Mar 06, 06:44
x3tc

Post by Hauger »

:headbang:

So apparently I have the 2.0 version of X3:TC. I had registered X3 when I first bought it years ago, and I recently bought the TC expansion thinking it was new. Oh well same fun game, more content. I didn't register it. However now that it's registered it still says no updates available. So now I'm downloading the patches. Thanks for the heads up, I bet that will fix alot of problems!
User avatar
ScRaT_GER
Posts: 1962
Joined: Tue, 8. Jan 08, 18:19
x3tc

Post by ScRaT_GER »

:D
You're welcome.

Greetings,
ScRaT
Hauger
Posts: 16
Joined: Sun, 5. Mar 06, 06:44
x3tc

Post by Hauger »

[ external image ]
[ external image ]
[ external image ]
[ external image ]

Sorry it took so long. RL kicked in after the weekend was over. And the shock of running 2.5 had me busy for a bit. Not only does this script work better but a few others seem to work a little better now also! Once again great work Scrat!
User avatar
ScRaT_GER
Posts: 1962
Joined: Tue, 8. Jan 08, 18:19
x3tc

Post by ScRaT_GER »

Yes, that's how it's supposed to look.
I guess I can use these screens for the start post?

However I wonder about one entry in the following menu:
[ external image ]
How did the entry I marked red get there (timewise)?
Could you maybe make a screenshot of the flight info for that trade?

Greetings,
ScRaT
Hauger
Posts: 16
Joined: Sun, 5. Mar 06, 06:44
x3tc

Post by Hauger »

What do you mean by flight info? That Trader has eh...retired so to speak. It's logs are still there though if that's what you are interested in. That is the only one with inconsistencies like that in also. I have 2 other traders and all their entries are in the proper chronological order, along with the hub I have monitored. Would it help if I sent you the save game? That way you can dissect the variables yourself? Another thing I noticed is that those inconsistent entries are not listed under all the transactions for Meatsteak Cahoonas either. I don't mind if you use the pictures.

Return to “X³: Terran Conflict / Albion Prelude - Scripts and Modding”