[SCRIPT] [2012.04.02] Universal Best Buys/Sells Locator v2.51a
Moderators: Moderators for English X Forum, Scripting / Modding Moderators
Those are some pretty useful fixes. alex2069 isnt on anymore really. If he doesnt respond I would love a copy of the changes you made. You can PM me for an address.dblade wrote:alex2069 I made changes to your script files, adding isbb checks and or title args as needed, so as to maintain a different title on the menu screens (titles according to respective hotkey command launched: 'Universal Buy Locator' or 'Universal Sell Locator') so it is easier for me to confirm whether I was in buy or sell mode.
If you are interested in these changes let me know.
I am also going to remove the ship ID from the ship select screen (will makes it easier for me to identify ships) as well as look into converting the ship command to display a more human readable form ie None instead of COMMAND_NONE. I may also color the word None to green or something so that the idle ships stand out more from the rest.
It also won't hurt to try to limit the overall length of the command text so it doesn't run into another columns data.
These are probably trivial changes to you. I am new to scripting and as I really like your script decided to use it as a basis to learn a little bit.
-
- Posts: 3206
- Joined: Thu, 16. Jul 09, 12:24
be nice if those changes could be released for everyone to use especially if its fixes.joelR wrote:Those are some pretty useful fixes. alex2069 isnt on anymore really. If he doesnt respond I would love a copy of the changes you made. You can PM me for an address.dblade wrote:alex2069 I made changes to your script files, adding isbb checks and or title args as needed, so as to maintain a different title on the menu screens (titles according to respective hotkey command launched: 'Universal Buy Locator' or 'Universal Sell Locator') so it is easier for me to confirm whether I was in buy or sell mode.
If you are interested in these changes let me know.
I am also going to remove the ship ID from the ship select screen (will makes it easier for me to identify ships) as well as look into converting the ship command to display a more human readable form ie None instead of COMMAND_NONE. I may also color the word None to green or something so that the idle ships stand out more from the rest.
It also won't hurt to try to limit the overall length of the command text so it doesn't run into another columns data.
These are probably trivial changes to you. I am new to scripting and as I really like your script decided to use it as a basis to learn a little bit.
It's all cosmetics and I only did like half of what I planned. The screenshot will show this: http://cloud.steampowered.com/ugc/59695 ... D8F91D418/
The rest of the 400+ hours was spent playing.
I sent alex2069 an email.
The rest of the 400+ hours was spent playing.
I sent alex2069 an email.
Gah - I've been meaning to reply to this for some time now, and kept forgetting or putting it off (Uni/study takes priority lol). I don't always respond to board-notifications so much; usually put it off and plan to "do it later" lol, but emails grab my attention pretty quickly.joelR wrote:Those are some pretty useful fixes. alex2069 isnt on anymore really. If he doesnt respond I would love a copy of the changes you made. You can PM me for an address.
So, the way I see it - we can put what you've done up now, or a little more polish and then put that up.dblade wrote:alex2069 I made changes to your script files, adding isbb checks and or title args as needed, so as to maintain a different title on the menu screens (titles according to respective hotkey command launched: 'Universal Buy Locator' or 'Universal Sell Locator') so it is easier for me to confirm whether I was in buy or sell mode.
If you are interested in these changes let me know.
I am also going to remove the ship ID from the ship select screen (will makes it easier for me to identify ships) as well as look into converting the ship command to display a more human readable form ie None instead of COMMAND_NONE. I may also color the word None to green or something so that the idle ships stand out more from the rest.
It also won't hurt to try to limit the overall length of the command text so it doesn't run into another columns data.
These are probably trivial changes to you. I am new to scripting and as I really like your script decided to use it as a basis to learn a little bit.
If possible, could you change the rest of the COMMAND_ fields to a nicer text - something I'd been planning to do for ages now (though as white still - very much like that Green for Idle highlighting).
Secondly, the ship IDs some people find useful (though primarily used in debugging, I did use them a bit during actual play as well) - depending on your scripting abilities, add in a switch to turn this on/off.
The former would be nice at least; the latter if you want to/can be bothered heh.
Feel free to not do it if you can't be bothered or something - I'm a bit of a perfectionist and like things done to completion, so please don't read this as a "you must do this" lol.
All I did was use hardcoded text. The idea of hardcoding everything didn't seem right so I stopped there. I am not sure if there is some way of deriving the text id so as to pull the text using 'read text', sprintf, or something.If possible, could you change the rest of the COMMAND_ fields to a nicer text
I'm sure I could copy what you did, but I recall that the switches you've already created as having a default and they reverted each time you pulled up the mod. My vote would be that this defaulted to OFF be it ever implemented
Secondly, the ship IDs some people find useful (though primarily used in debugging, I did use them a bit during actual play as well) - depending on your scripting abilities, add in a switch to turn this on/off.
Here's the thing, I'm not playing TC/AP right now and won't have time to do this any time soon. I've sent you my updates via email.
P.S. Thanks for creating this mod, it's one of the best.
Alrighty - update v2.51a has been added to first post, courtesy of dblade.
Maybe I'll do that at some point, though I wouldn't hold my breath x.x.
As much as I really want to run through X3AP, and get back and update all my scripts, I really don't have the time... It's on my "todo" list for now.
Ah, yea - definitely would want that using read-text stuff (the people that maintain the translated versions wouldn't be happy with me if it wasn't lol).dblade wrote: All I did was use hardcoded text. The idea of hardcoding everything didn't seem right so I stopped there. I am not sure if there is some way of deriving the text id so as to pull the text using 'read text', sprintf, or something.
Can't remember how I did it... Coming on a few years now lol.dblade wrote:I'm sure I could copy what you did, but I recall that the switches you've already created as having a default and they reverted each time you pulled up the mod. My vote would be that this defaulted to OFF be it ever implemented
Maybe I'll do that at some point, though I wouldn't hold my breath x.x.
As much as I really want to run through X3AP, and get back and update all my scripts, I really don't have the time... It's on my "todo" list for now.
-
- Posts: 56
- Joined: Fri, 6. Apr 12, 01:40
I apologize before hand if someone already did this since I didn't read the entire 10 page post. And hopefully this will be useful to someone.
There comes a time when you have so many ships that it is impossible to find the ship you want to send. This small change to a2069.uniloc.station does 2 things
1) show only TL if ware interested is dock or factory
2) if best sell show only the ships with ware to sell
Replace
at around line 47 of a2069.uniloc.station with
You will also need to pass arg.isbb from a2069.uniloc.main to a2069.uniloc.station for this to work.
There comes a time when you have so many ships that it is impossible to find the ship you want to send. This small change to a2069.uniloc.station does 2 things
1) show only TL if ware interested is dock or factory
2) if best sell show only the ships with ware to sell
Replace
Code: Select all
$ships = get ship array: of race {Player} class/type={Moveable Ship 2134}
Code: Select all
* 5:DOCK
* 6:FACTORY
* 7:SHIP
* 8:LASER
* 9:SHIELD
* 10:MISSILE
* 11:ENERGY
* 12:NATURAL
* 13:BIO
* 14:FOOD
* 15:MINERALS
* 16:TECH
* 17:ASTEROID
$ware.maintype = get maintype of ware $arg.ware
if $ware.maintype <= 6
$ships = get ship array: of race {Player} class/type={TL 2032}
else
$ships = get ship array: of race {Player} class/type={Moveable Ship 2134}
if not $arg.isbb
* Best sell
if $ware.maintype >= 8 AND $ware.maintype <= 16
$ships.size = size of array $ships
$shipswithware = array alloc: size=0
$ships.i = 0
while $ships.i < $ships.size
$ship = $ships[$ships.i]
* Ships with ware regardless whether it is equipped
$ship.wareamount = $ship->get amount of ware $arg.ware in cargo bay
if $ship.wareamount > 0
append $ship to array $shipswithware
end
inc $ships.i =
end
$ships = $shipswithware
end
end
end
-
- Posts: 56
- Joined: Fri, 6. Apr 12, 01:40
- DrBullwinkle
- Posts: 5715
- Joined: Sat, 17. Dec 11, 01:44
1) Press "Y" to select the player ship.Tyoi wrote:how i use the screens when docked?
2) Shift-C for the Command Console
3) Press "3" For Trade Menu
4) Choose Best Buy or Best Sell (near the bottom).
The hotkeys are unnecessary.
Peace through superior firepower
Bullwinkle's List | Marine Repairs and Training | Mobile Mining Mk2 | Drone Carrier Software 2 (DCS2) | Ship Tricks: Mini-Guides (with Video)
Bullwinkle's List | Marine Repairs and Training | Mobile Mining Mk2 | Drone Carrier Software 2 (DCS2) | Ship Tricks: Mini-Guides (with Video)
Is there a way to see best buys for all goods at one time, like in stantard buys locator, but for universe?
I mean, currently you select one type of good and receive sorted list like
Energy cells - some_station - some_sector - best price
Energy cells - some_other_station - some_other_sector - not so good price
and so on.
I want list like:
Energy cells - some_station - some_sector - best price
Meatsteaks - some_station - some_sector - best price
and so on, for every known good.
Or there is some built-in way to envoke standard locator from distant ship in distant sector and browse results?
I mean, currently you select one type of good and receive sorted list like
Energy cells - some_station - some_sector - best price
Energy cells - some_other_station - some_other_sector - not so good price
and so on.
I want list like:
Energy cells - some_station - some_sector - best price
Meatsteaks - some_station - some_sector - best price
and so on, for every known good.
Or there is some built-in way to envoke standard locator from distant ship in distant sector and browse results?
No. Considering the number of wares and the number of stations buying or selling each one, that list would be unmanageable.Anrock wrote:Is there a way to see best buys for all goods at one time, like in stantard buys locator, but for universe?
I mean, currently you select one type of good and receive sorted list like
Energy cells - some_station - some_sector - best price
Energy cells - some_other_station - some_other_sector - not so good price
and so on.
I want list like:
Energy cells - some_station - some_sector - best price
Meatsteaks - some_station - some_sector - best price
and so on, for every known good.
Yes, there are several ways.Anrock wrote:Or there is some built-in way to envoke standard locator from distant ship in distant sector and browse results
- If your personal ship has the Best Buys Locator (BBL) and/or Best Selling Price Locator (BSL) installed, you can choose one of your satellites in a remote sector (either from the Sector Map, or your Property List) and press 5 to summon the BSL or press 6 to summon the BBL for that sector.
- You can choose any of your ships in a remote sector (either from the Sector Map, or your Property List) and press 5 to summon the BSL or press 6 to summon the BBL for that sector -- provided the remote ship has the BBL and/or BSL installed (in which case, it doesn't matter if BSL/BBL is installed on your personal ship).
Universal Cargo Transfer (UCarT) -- Unleash the power of your Transporter Device!
I am unable to download either of the SPKs, recieving 403 - Forbidden error message, while the zip download gives me an error inside Chrome, "net::ERR_FILE_NOT_FOUND". Would the OP consider offering a mirror download site, and/or could someone provide me with a private link to follow via PM?
Thankyou in advance for the assistance!
Thankyou in advance for the assistance!
This is an excellent script, I ve got so used to it being part of my game I don't think I could play X without it.
I would like to make a couple of suggestions:
1 - When invoking the script from a specific ship command command console, whether it is the player ship or a remote one, it would be speedier to not have to select the ship again from the subsequent menu after having chosen a station.
Choosing any ship after the item search is very useful , but it could still be done by starting the command via the shortcut.
2 - It would be nice if the player could add/remove Favourite Items to the main selection screen. Like another entry after:
Main
...
...
...
Shipwares
...
...
...
Ship Objiects
...
...
...
Misc Wares
...
...
...
Favourite Wares add - remove
...
...
...
It would make the selecting of the most traded wares more accessible.
I hope you don't mind me making the suggestions.
I do thank you for making the script, it has surely saved me countless hours in my tradings.
I would like to make a couple of suggestions:
1 - When invoking the script from a specific ship command command console, whether it is the player ship or a remote one, it would be speedier to not have to select the ship again from the subsequent menu after having chosen a station.
Choosing any ship after the item search is very useful , but it could still be done by starting the command via the shortcut.
2 - It would be nice if the player could add/remove Favourite Items to the main selection screen. Like another entry after:
Main
...
...
...
Shipwares
...
...
...
Ship Objiects
...
...
...
Misc Wares
...
...
...
Favourite Wares add - remove
...
...
...
It would make the selecting of the most traded wares more accessible.
I hope you don't mind me making the suggestions.
I do thank you for making the script, it has surely saved me countless hours in my tradings.