[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: Scripting / Modding Moderators, Moderators for English X Forum

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

Post by ScRaT_GER »

What do you mean by flight info?
If you select this transaction of cahoonas and press [ENTER] another menu will open, which displays more detailed information on that transaction.
Another thing I noticed is that those inconsistent entries are not listed under all the transactions for Meatsteak Cahoonas either.
That's also a bit strange.
Would it help if I sent you the save game?
The problem with savegames is, that I can't really use them atm (no savegame is listed in the game). So the only possibility to maybe find that bug would be if you made a screenshot of the flight info.
I don't mind if you use the pictures.
Okay, thanks. I'll update the OP this weekend then.

Greetings,
ScRaT
sgtalex
Posts: 22
Joined: Wed, 18. Nov 09, 09:44

Post by sgtalex »

isnt working... i have pirate guilds & RRF race wars installed.
thought it would work with em but dosnt seem to. i got main menu button but it dosnt look anything like those pics its like an standard window with player money as topic :D and its mising lot of buttons i have add new object (witch asks for search string... i managed to add 1 trader and it seems to keep track of profit but it splurts it all on 1 line of text "ARRAY (25, argon trader1, 250, 00:00:00, 320, 0cr,520,0cr/st. and my message log is filled with ARRAY() messages ^^ any ideas? :?
User avatar
ScRaT_GER
Posts: 1962
Joined: Tue, 8. Jan 08, 18:19
x3tc

Post by ScRaT_GER »

I can only guess, that you are not using patch 2.5, as the problem you describe resembles the one described here.

The ARRAY() messages were present in previous versions, but the newest should not have it anylonger.
its mising lot of buttons
There are only three buttons, which are always displayed and followed by the ship-, stations- and warelists.
i managed to add 1 trader
The searching result depends on the string you input. As described here "TS" (uppercase letters) should display all TS-class ships you have. Does that not work?

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

Post by Hauger »

[ external image ]

Here's a screencap of the flight info you requested. Like I said the original ship (Universe Trader Gamma) was destroyed by pirates and I replaced it with another ship and renamed it to the same thing. If the time on the left is simply the flight time of the ship itself then I can understand the inconsistency of the log. It's basically mixing in the dead ships logs with the existing ships log with the existing ship? Or maybe I had 2 Traders running (gamma and beta) at the same time. One get's blown up (gamma), I rename beta to gamma and continue on. Would that cause the logs to mix like that?
User avatar
ScRaT_GER
Posts: 1962
Joined: Tue, 8. Jan 08, 18:19
x3tc

Post by ScRaT_GER »

It's basically mixing in the dead ships logs with the existing ships log with the existing ship?
It shouldn't, because these are still two different objects. However I am not sure and will do some tests this evening. Still a very interesting bug. :D

Greetings,
ScRaT
sgtalex
Posts: 22
Joined: Wed, 18. Nov 09, 09:44

Post by sgtalex »

np using 2.5 as base so its not that :? and the search did work
as i was able to add 1 ship and it does indeed show the profit but the window just looks wrong nothing like those smooth windows on front page
and only buttons i have is add object ,remove object and settings"
hmmm maby i should get meh an screen shot for y to wonder bout ^^
EDIT here you go http://i487.photobucket.com/albums/rr23 ... n00001.jpg
User avatar
ScRaT_GER
Posts: 1962
Joined: Tue, 8. Jan 08, 18:19
x3tc

Post by ScRaT_GER »

I am sure that you are not using patch 2.5, because this is exactly how it would look without the patch. Did you check the version number, which is displayed in the game's main menu?
If it says 2.5, try reinstalling the patch.

Greetings,
ScRaT
sgtalex
Posts: 22
Joined: Wed, 18. Nov 09, 09:44

Post by sgtalex »

well do i feel embarassed now :wink: u were right i rolled to my backup last week and apparently forgot to update :lol:
EDIT reinstalled and updated + installed all mods and now the script works like it should \o/
thank you for resolving my broblems :roll:
Harag
Posts: 223
Joined: Wed, 22. Sep 04, 11:00
x4

Post by Harag »

hi ScRaT_GER

I've just recently come back to TC (2.5) and really loving you overview mod. I have a problem with remembering what I buy goods at from one day to the next so find it very usefull, but I have spotted a slight BUG with it.

In the log book (for my one and only ship) it shows 2 entries for buying warheads as I bought them from 2 places, but when I sold them at a missile factory I only had one entry that said TRADE. which means the "profic" calculation is wrong.

BUY XXX warheads for -224
BUY XXX warheads for -216 << Was removed when sold
TRADE (XXX+XXX) warheads for 15 << full amount sold.

Looking at the log the 15 profit is on the 2nd buy value (-216) where I have only made 7 profit on the first ones I bought.


Hope this can be corrected as I'm really loving it.

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

Post by ScRaT_GER »

You're right.
The actual profit displayed in the main menu is correct, but in the logbook the values are not summarized correctly.
I'll look into it.

EDIT: Okay, I found the problem. I'll try to fix this problem as fast as possible.
I guess the reason why neither me nor my beta tester noticed the problem is, that normally traders buy a ware and sell it directly afterwards. They don't look for additional wares they could purchase cheaply.

Greetings,
ScRaT
Harag
Posts: 223
Joined: Wed, 22. Sep 04, 11:00
x4

Post by Harag »

Wow your on the ball, excellent. Looking forward to an update.

I can provide some screen shots of the numbers if you need them.
Harag
Posts: 223
Joined: Wed, 22. Sep 04, 11:00
x4

Post by Harag »

ScRaT_GER wrote: The actual profit displayed in the main menu is correct, but in the logbook the values are not summarized correctly.
I've just checked the main menu and calculated the profit, and it is as you say correct. It's the individual logbook for the ship that is incorrect.

Thanks again for a super mod!
User avatar
ScRaT_GER
Posts: 1962
Joined: Tue, 8. Jan 08, 18:19
x3tc

Post by ScRaT_GER »

I can provide some screen shots of the numbers if you need them.
Thanks, I could reproduce the bug, so I'm fine.
Thanks again for a super mod!
Glad you like it!

EDIT: Seems as if I need to rethink the logbook part of the script again in order to make it work. I'll try to work on this script during the week, but since my laptop cannot run X3:TC the update will be next weekend at the earliest.

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

Post by vampirecosmonaut »

I'm running the RC3 Hotfix 1 version of this script and I still getting "ARRAY()" messages in my player log.
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 »

Damn, there's still a debug line I forgot to delete.

It is line 21 in 'plugin.trov.config'. Simply highlight it and press {Del} and the ARRAY() messages should be gone.

I redirected the link in the download post to a new version, if you don't want to do it by yourself. The newest version is now called "Trade Overview 2.0 - Hotfix1" (first non-RC).

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

Post by vampirecosmonaut »

ScRaT_GER wrote:Damn, there's still a debug line I forgot to delete.

It is line 21 in 'plugin.trov.config'. Simply highlight it and press {Del} and the ARRAY() messages should be gone.

I redirected the link in the download post to a new version, if you don't want to do it by yourself. The newest version is now called "Trade Overview 2.0 - Hotfix1" (first non-RC).

Greetings,
ScRaT
Ok, I will take it out myself. I won't miss the message log spam. :)
Thanks for this great script.
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.
Harag
Posts: 223
Joined: Wed, 22. Sep 04, 11:00
x4

Post by Harag »

Slightly off topic...

How do I open the script editor? I've allready entered "Thereshallbewings" in the name and it's been acceptect and under the controls it says press "s" but that just moves my shop down. :)

Thanks

On topic. Any news on that bug fix yet?
User avatar
ScRaT_GER
Posts: 1962
Joined: Tue, 8. Jan 08, 18:19
x3tc

Post by ScRaT_GER »

You have to open the SE via the command menu of your ship.
Simply press CRTL+C to open it. Then press S and the script editor shows up. To open the list of scripts select the first entry and press Enter.
On topic. Any news on that bug fix yet?
Yes, I'm working on it. The problem is pretty clear, but I didn' find an effective (and elegant) way to solve it yet.

Greetings,
ScRaT
wolfmanpuck
Posts: 75
Joined: Sun, 13. Jul 08, 16:01
x3tc

Post by wolfmanpuck »

I see ReadText8303-1501 under the Profit heading. Anyone else get this? How can I fix it?
Thanks
User avatar
ScRaT_GER
Posts: 1962
Joined: Tue, 8. Jan 08, 18:19
x3tc

Post by ScRaT_GER »

Forgot some text entries, which I already added last version, but seem to have been lost during the update 2.0 Hotfix1.
Simply redownload the file (Hotfix2) and the texts should be there.

Sorry for the problems.
Greetings,
ScRaT

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