[SCR] [07.02.11] Trade Overview 2.05 by ScRaT
Moderators: Moderators for English X Forum, Scripting / Modding Moderators
When buying Cargo Bay Extension, the unit bought with the total price, however 'Trade Overview' calc as unit * total price. Oh. ...
How about not to record the Cargo Bay Extension (enginning tunning, rudder ...) trade. Or only record one unit for extension buying if player want to know the ship real spend.
How about not to record the Cargo Bay Extension (enginning tunning, rudder ...) trade. Or only record one unit for extension buying if player want to know the ship real spend.
@wga
Thanks for your input. Unfortunately, because of my upcoming exams I don't have much time at the moment. Not recording specific wares is actually quite easy - you only have to filter them in the script "plugin.trov.sell" and "plugin.trov.buy", by putting the following lines at the top:
So if you want, simply put these lines in yourself - you really can't break anything.
Greetings,
ScRaT
Thanks for your input. Unfortunately, because of my upcoming exams I don't have much time at the moment. Not recording specific wares is actually quite easy - you only have to filter them in the script "plugin.trov.sell" and "plugin.trov.buy", by putting the following lines at the top:
Code: Select all
skip if not $ware == {Cargo Bay Extension}
return null
Greetings,
ScRaT
-
- Posts: 8
- Joined: Tue, 23. Feb 10, 23:29
Hi, i saw that someone was running this in AP but when i have tried to use it i cant see any of my ships.
Add new objects
Remove objects
settings
when i pick add new objects it asks me to input something, nothing comes up no matter what i type...
Edit: typing " " got me results, no idea why "your" for example didn't work.
Add new objects
Remove objects
settings
when i pick add new objects it asks me to input something, nothing comes up no matter what i type...
Edit: typing " " got me results, no idea why "your" for example didn't work.
I'm having a weird issue here. For some reason the Trade Overview shows a nice amount of profit from the last several hours that I've played (with seta on for a large part). I started around a million credits profit and it's now at 3.3 million credits. At least, according to the Trade Overview window. When I look at my account credits, it has gone up from around 200k to 600k.
As you can see, these numbers don't really fit together. Any idea how this is possible? (the only thing bought by the universe trader were some cheap fighter drones, so that doesn't really make up for the large difference) Thanks for your time.
As you can see, these numbers don't really fit together. Any idea how this is possible? (the only thing bought by the universe trader were some cheap fighter drones, so that doesn't really make up for the large difference) Thanks for your time.
Afaik, all extensions were already installed by me before I activated the universe trader.ScRaT_GER wrote:That's weird. Did your traders maybe buy that many extensions (speed and rudder)?
It is really weird. I tested it again (I cleared everything first) and even did some calculations. The values in the Trade Overview seem to be correct (profits per item seem correctly calculated and then added up for total profit), but the current total profit of 3.5M does not compare to the ~780k that was added to my wallet.
Mh, unfortunately I can't tell what's going on. You could try to reset all your traders and then observe the trades more closely. It's known that extensions aren't calculated properly, but that's only a problem when your ships buys them, which result in a huge deficit not in a profit...
EDIT:
Just to be sure: You are not talking about the profit/stazura, but the overall profit - right?
Greetings,
ScRaT
EDIT:
Just to be sure: You are not talking about the profit/stazura, but the overall profit - right?
Greetings,
ScRaT
Overall profit indeed.
I looked the logbook for my universe trader and found something interesting.
http://dl.dropbox.com/u/3206574/LogComparison.jpg
The above shows a comparison of log entries of Energy Cells. As you can see, all sell/trade values overlap. However, many buy values are wonky. For example, the second item for example shows as a buy order of 3517 units in the Energy Cells log, but as a buy order of only 190 units in the General log. This will mess with the profit calculation, because selling 3327 units when you have only bought 190 will give much more profit than selling when you have bought 3517. The same log shows many more of these oddities.
Am I missing something (it happens ) or is this a bug that has been overlooked by accident? Thanks in advance for the help!
Update: in addition, I also checked out some others items and found something else. Looking at my General log, there are no buy orders shown, except for Energy Cells. For all other items, only Trade orders appear.
I looked the logbook for my universe trader and found something interesting.
http://dl.dropbox.com/u/3206574/LogComparison.jpg
The above shows a comparison of log entries of Energy Cells. As you can see, all sell/trade values overlap. However, many buy values are wonky. For example, the second item for example shows as a buy order of 3517 units in the Energy Cells log, but as a buy order of only 190 units in the General log. This will mess with the profit calculation, because selling 3327 units when you have only bought 190 will give much more profit than selling when you have bought 3517. The same log shows many more of these oddities.
Am I missing something (it happens ) or is this a bug that has been overlooked by accident? Thanks in advance for the help!
Update: in addition, I also checked out some others items and found something else. Looking at my General log, there are no buy orders shown, except for Energy Cells. For all other items, only Trade orders appear.
Mh, it could very well be that there is a bug hidden in there.
However, concerning the first few trades, I actually think they are correct.
The thing is, that I try to unify any sell with a corresponding buy, resulting in a trade.
So, first your trader bought 370 EC (most likely jump energy) and then goes on to buy another 3517 EC. Then it sells 3327, resulting in having traded 3327 EC at a profit of 7 credits each.
The leftover at this point is 190 EC (not counting the jump energy).
Then the trader goes on to buy another 3427 EC and sells 3327 again, thus he traded 3327 EC with a profit of 7 credits each and 100 EC leftover.
I think it continues like that (correctly).
The reason why the other wares only have "trade" oders is due to the special role of EC as both jump energy and resource. When trading with EC, universe traders will always keep some of the EC as jump energy, which results in incomplete trades.
Greetings,
ScRaT
However, concerning the first few trades, I actually think they are correct.
The thing is, that I try to unify any sell with a corresponding buy, resulting in a trade.
So, first your trader bought 370 EC (most likely jump energy) and then goes on to buy another 3517 EC. Then it sells 3327, resulting in having traded 3327 EC at a profit of 7 credits each.
The leftover at this point is 190 EC (not counting the jump energy).
Then the trader goes on to buy another 3427 EC and sells 3327 again, thus he traded 3327 EC with a profit of 7 credits each and 100 EC leftover.
I think it continues like that (correctly).
The reason why the other wares only have "trade" oders is due to the special role of EC as both jump energy and resource. When trading with EC, universe traders will always keep some of the EC as jump energy, which results in incomplete trades.
Greetings,
ScRaT
Thank you for the explanation. I was not aware trade meant buy+sell. Together with the leftovers, that would indeed explain the results in the images.
Somehow there must still be a bug somewhere though. Even though all the calculation in the Trade Overview now seem to be correct (I did some more calculations as well), the amount of profit I am earning according to the Trade Overview is so much more than I really earned. My trader was attacked 15 minutes ago and I received a notification of that, which also included the total money that had been made by the trader. This was about 2.87M, while the Trade Overview indicated a profit of more than 6M credits.
I am going to reinstall the script to see if that works. I installed some other scripts afterwards that may or may not have changed something.
Somehow there must still be a bug somewhere though. Even though all the calculation in the Trade Overview now seem to be correct (I did some more calculations as well), the amount of profit I am earning according to the Trade Overview is so much more than I really earned. My trader was attacked 15 minutes ago and I received a notification of that, which also included the total money that had been made by the trader. This was about 2.87M, while the Trade Overview indicated a profit of more than 6M credits.
I am going to reinstall the script to see if that works. I installed some other scripts afterwards that may or may not have changed something.
discription on setting up
I have installed the Script and have set up the hot key but I do not know what todo next. I get a menu but nothing that looks like you show in your post. I know I will like this once it is set up. I have 10 complexes with ships do various jobs. Including stand alone SPPs.
Thank you for any help.
Thank you for any help.
Re: discription on setting up
You have to add stations or ships to watch. Once you've done that, buy/sell orders will start to show up.blue fox wrote:I have installed the Script and have set up the hot key but I do not know what todo next. I get a menu but nothing that looks like you show in your post. I know I will like this once it is set up. I have 10 complexes with ships do various jobs. Including stand alone SPPs.
Thank you for any help.
-
- Posts: 1114
- Joined: Mon, 13. Dec 04, 16:15
Just wanted to inform, that I tested this nice piece of code with my MK3 Improvement script and it works just fine!
So I'm happy to have a new script for my collection
And btw, I did recomment this script on my thread as an alternative to the MK3 Trading log, which I unfortunately had to remove the support for during the reprogramming.
Nevertheless, this seems to be far better (because completely ingame) anyway
So I'm happy to have a new script for my collection
And btw, I did recomment this script on my thread as an alternative to the MK3 Trading log, which I unfortunately had to remove the support for during the reprogramming.
Nevertheless, this seems to be far better (because completely ingame) anyway
Skripte:
- bluenog143
- Posts: 885
- Joined: Wed, 26. Oct 11, 23:35
Noob - script user. I have extracted this script into my X3TC (3.2) folder (Steam user) as illustrated. I verified the files and scripts were added/updated. I launch the game, but I do not see the new command in the controls? I also looked in the X3AP (2.0) game no command there either. This was such a simple install not sure how i messed this up. Any suggestions on what other steps I may have missed?