[SCRIPT] [2012.04.02] Universal Best Buys/Sells Locator v2.51a

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

Post Reply
x3dt
Posts: 2
Joined: Sun, 17. May 09, 09:49
x3ap

Post by x3dt » Fri, 22. Mar 13, 15:20

I've been trying to make the script work with the Bulk Transporter Upgrade, so I can use it to supply and sell things from my complexes with a TL. But I'm hitting a wall... as in I am not very good with the X scripting language.

Has anyone else tried to do this? My basic idea was that within a2069.lib.moveto I could make an exception for when TL class with BTU is detected. It would then just pass the parameters (station, ware, buy or sell) to tnal.bulk.beam.trade and then that script would take it from there.

Seems really simple but I haven't gotten anywhere yet. Any pointers on how I can call the script and pass vars to it would be welcome.

Another problem I am facing is that a2069.lib.moveto does not really hold information on the transaction itself (what ware, and should it be bought or sold at the station?), and I can't find the script that does.

P.S.
@alex2069: I know you are not actively developing this script anymore, that's why I am trying to do it myself (with help from the community). However, if you are interested, then you can consider this a feature suggestion :)

mjl1966
Posts: 29
Joined: Fri, 2. Apr 10, 19:41

Post by mjl1966 » Tue, 9. Apr 13, 07:44

:x3:

TOTALLY INSANE AWESOME SAUCE!

OMG, this is a *GREAT* mod. I spent hours going throgh my satellite list, 5ing and 6ing over and over and over. Plus, if I wanted to find the best selling price, I had to actually own some of it. Sure, I bought it for under average, but then find out I have to beat the NPCs 8 hops away in the only sector that has the best price. For 5 units. This tool is exactly what I was wishing I had.

After all that, I got dead-ended with my cattle ranch because I just didn't realize how bad the prices were. Have to sell it all under cost, but CAG won't do that.

Then here comes this piece of magic and now I'm able to find the best price, send the guys out and say "sell it anyway

T H A N K Y O U !

cryptonite1
Posts: 90
Joined: Sat, 1. Jun 13, 20:06
x4

Post by cryptonite1 » Tue, 11. Jun 13, 16:10

hi, im tried it, its working but only for the sector ur in, similar to the original "best buy locator" any tips?

or do u have to have docked at that station once before it can be searched?

i tried to search for "fighter drone" beside a "drone production facility" that has 10 of them in stock, but the searcher gave me a result saying no "fighter drone" were found in the universe, there must be something wrong right?

lol

Brinnie
Posts: 800
Joined: Mon, 5. Jun 06, 08:26
x3tc

Post by Brinnie » Tue, 11. Jun 13, 16:48

As far as I know it will work anywhere as long as you have property/satellites around the universe.

If you can't find an item it could be cause there are none available in the sectors that you are currently monitoring.


ps. Any chance of this ever becoming an official script so that we wont need the game to be modified in order to use it?

cryptonite1
Posts: 90
Joined: Sat, 1. Jun 13, 20:06
x4

Post by cryptonite1 » Tue, 11. Jun 13, 17:35

oh...so you mean you have to be able to monitor the stations inorder for it to be searched?

but as i said, my personal ship is right next to the "drone produciton facility" abviously i can see it, i even have "trade extension software" but the searcher did not even find "fighter drones" even when there are 10 in stock of the station right next to me....strange

Brinnie
Posts: 800
Joined: Mon, 5. Jun 06, 08:26
x3tc

Post by Brinnie » Tue, 11. Jun 13, 18:42

cryptonite1 wrote:oh...so you mean you have to be able to monitor the stations inorder for it to be searched?
Yes, unless I am mistaken, that is how it should work. The way I think of it is that I must be able to check the prices for the items manually, If I cannot do that then the script can't either.

That is one of the reasons why I think this script (or something like it) should be part of the vanilla game as it is not a cheat but just a way to eliminate the need for tedious and time consuming searches.

In your case, as you say you are in the same sector, it should find the items in the search. Maybe it is a bug or perhaps I am overlooking something.

nap_rz
Posts: 1383
Joined: Sun, 25. Dec 05, 10:42
x3tc

Post by nap_rz » Thu, 20. Jun 13, 15:44

I run into a problem with this mod, how to actually use best buy locator? I've installed it into my player ship but I can't access the best buy option in the trade command? :?:

celludriel
Posts: 163
Joined: Thu, 12. Sep 13, 11:29
x4

Post by celludriel » Thu, 12. Sep 13, 11:41

Well this mod is a real time saver that makes X3 trading more enjoyable. However there is room for improvement.

For example I'm a trader and want to know what currently is the most cheapest product to buy in my satellite trade network. So I want to choose a category , lets pick food and then see all products with their lowest price easly navigatable. Think eve online.

Is there any way to enhance this script to do this ? Ideally in the detail screen where you select the sort by, you would have another panel with all the wares in the selected group , that you then can click on one by one, instead of always starting a new search.

If this script isn't being worked on, can anyone show me the right resources so I can teach myself to extend on this ?

User avatar
Barklight
Posts: 63
Joined: Wed, 19. Nov 08, 14:42
x4

Post by Barklight » Mon, 23. Sep 13, 15:53

I'd also vouch for this script to be deemed officially supported in the bonus pack, or at least a slightly watered down version. I decided to go through the first unmodded game I've done in a long time so I can finally claim my steam achieves, and damn I miss this script. I started out as a merchant and it's a real pain hunting through stations on the satellite network for a good deal :P
Insert something witty here, some day...

menace_dk
Posts: 1
Joined: Sun, 29. Sep 13, 14:40

Post by menace_dk » Mon, 21. Oct 13, 21:56

hey all

just starting playing x3 alpion prelude...

I installed this mod with X-Universe Plugin Manager Lite but i can't get it to work...

can I get a step step for noobs on how to open the Universal Best Buys/Sells Locator???

firestorm79
Posts: 438
Joined: Mon, 22. Jul 13, 03:09
x4

Post by firestorm79 » Fri, 8. Nov 13, 16:36

does this work with XRM??

akruppa
Posts: 31
Joined: Fri, 25. Oct 13, 13:57
x3ap

Post by akruppa » Sun, 17. Nov 13, 19:38

Hi,

please could you host the .zip file on Google code as well? I'm playing under Linux for which no Plug-in Manager seems to be available. Thanks!

User avatar
Peanutcat
Posts: 296
Joined: Fri, 8. Jul 11, 23:56
x4

Post by Peanutcat » Mon, 18. Nov 13, 22:10

Edit: Nevermind
F signature

Bartic
Posts: 13
Joined: Thu, 23. Aug 12, 22:13
x3tc

Post by Bartic » Thu, 21. Nov 13, 23:18

Please, could you upload zip files somewhere else? I can't download from gamefront.

Thx

NoxMortem
Posts: 56
Joined: Mon, 23. Dec 13, 00:15
x3tc

Post by NoxMortem » Mon, 3. Feb 14, 21:37

This mod is incredible!

Would it be possible that the mod does not give you information without the proper ship extensions?

Currently it seems like a cheat as i can see prices for stations where i would not get prices for. I really really hope someone could limit the view to stations where you would get prices manually as well because the interface and the possibilities are extremely cool.

I mean at least as an option, i understand if others maybe want to use it the way it currently works!

Also would it be possible to make the best buy/sell addon required? I mean that would be really cool as this is actually exactly best buy/sell with a usable interface :)

I installed it after XRM, it seems to work so far but i have not really tested it :)

To clear things up: Maybe the requirement should be a ship with the trading extension instead of just any property in the sector?

ShadowPhantom
Posts: 17
Joined: Mon, 13. May 13, 18:14
x3tc

Post by ShadowPhantom » Fri, 7. Feb 14, 12:00

This is a very nice script, I've just started using it with X3AP 3.1 and it works flawlessly :)

There is just one thing that bothered me : when you use the Sell Locator, it shows you how many wares the stations already have in stock, which is not very useful (to my mind), I'd prefer much to see at once how many wares each station is ready to buy.

Anyway, I know nothing about X3 scripting (I've done some programming in different languages though), but I looked at the source code and after some research I modified the script so it now shows the quantity you can actually sell to each station, instead of the quantity the station has in stock.

Then I added a cosmetic change, I didn't like that all the station names were green, so now they are white, and if you can't dock then the name is red. It looks more readable to me :)

Have a look at these pictures, especially pay attention to the quantity column:

(when you're on imgur.com click on the pic again to see it full-size)

Before:
[ external image ]

After:
[ external image ]

If there is some interest I could upload the modified file (a2069.uniloc.main.xml) somewhere.

Anyway, thanks again to the OP for that script :)

Nicoman35
Posts: 681
Joined: Thu, 17. Nov 05, 13:12
x3tc

Post by Nicoman35 » Fri, 7. Feb 14, 21:18

ShadowPhantom wrote:If there is some interest I could upload the modified file (a2069.uniloc.main.xml) somewhere.
I am interested in your modification :). Could your please upload it somewhere?
I also made a little change to this mod, as it gave me wrong results when searching for wares produced by own complexes....

ShadowPhantom
Posts: 17
Joined: Mon, 13. May 13, 18:14
x3tc

Post by ShadowPhantom » Fri, 7. Feb 14, 22:23


albazeus
Posts: 76
Joined: Fri, 21. Feb 14, 17:21
x3ap

Post by albazeus » Fri, 21. Feb 14, 18:40

First of all: thaks for this fantastic script!!

I too find the ship selection a little bit confusing.
For now I'm using the fix made by xfir01 that I found here.

This skips the selection and will send the ship you call the script from.
I hope that this will be improved someday.

For people (like me) having problems downloading from gamefront: you have to use a proxy.
I don't know if I'm allowed to post links, so I won't do it.
But it's pretty easy to find one.

Darth_Wayner
Posts: 33
Joined: Sun, 20. Jan 13, 01:01

Post by Darth_Wayner » Sun, 23. Feb 14, 00:46

Omg, I've played X3 for hundreds of hours and yet I've not played at all until now! Downloaded this today for AP and it works like a charm. I. Love. This. Script.

That is all.

Post Reply

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