| Author |
Message |
|
Muss
Veteran Op
Joined: Mon Jun 16, 2003 2:00 am Posts: 639 Location: USA
|
 Best way to find port data ?
Whats some good ways to find port data ??
Such as, I want to know the closest port to sector X that sells Ore
mombot? separate scripts? built into twx?
|
| Wed Jul 21, 2010 9:01 pm |
|
 |
|
Muss
Veteran Op
Joined: Mon Jun 16, 2003 2:00 am Posts: 639 Location: USA
|
 Re: Best way to find port data ?
mombot has this:
FIND - Search TWX-DBase for Fighter/Port data
find [f/nf/fp/p/de/ufde] [type] {sector} [port type]
- [type] - [de]ad-end or [f]igged or [nf] no-fig or [fp] figged port or [p]ort or [ufde] un-figged dead end - {sector} sector number that you need finder data on, default is current sector - [port type] port type (s)ell , (b)uy, or (x) either
but.. can I really find a specific type of port? like a SBB or even a Sxx
seems from directions it says I can find a (s)ell port... but.. selling what?
|
| Wed Jul 21, 2010 10:16 pm |
|
 |
|
scolfax
Gameop
Joined: Wed May 05, 2004 2:00 am Posts: 190 Location: Oklahoma City OK
|
 Re: Best way to find port data ?
SWATH http://swath.net might be what you're looking for its under Tools, Port Finder the screen looks like this:  If you're in the sector you want to find closest port to, you can select "max distance" and however many sectors out you want.
_________________ Scolfax's TradeWars telnet://twgs.mustangpc.net ICQ: 5342886
|
| Thu Jul 22, 2010 12:58 am |
|
 |
|
Mind Dagger
Chief Warrant Officer
Joined: Wed Jan 04, 2006 3:00 am Posts: 136 Location: USA
|
 Re: Best way to find port data ?
Muss wrote: mombot has this:
FIND - Search TWX-DBase for Fighter/Port data
find [f/nf/fp/p/de/ufde] [type] {sector} [port type]p
- [type] - [de]ad-end or [f]igged or [nf] no-fig or [fp] figged port or [p]ort or [ufde] un-figged dead end - {sector} sector number that you need finder data on, default is current sector - [port type] port type (s)ell , (b)uy, or (x) either
but.. can I really find a specific type of port? like a SBB or even a Sxx
seems from directions it says I can find a (s)ell port... but.. selling what? If I am remembering right the command is something like: >find f bbb to find a figged port that is buying all types and: >find nf sxx to find a non figged that is selling fuel and you don't care about the rest. I think also that the "find" part of that command MIGHT be optional, but it's been a while. MD
|
| Fri Jul 23, 2010 7:01 pm |
|
 |
|
Big D
Veteran Op
Joined: Tue Nov 28, 2006 4:04 pm Posts: 5025
|
 Re: Best way to find port data ?
I don't think the specific port finder is working MD. I've used all of those formats and still says it can't find the data or something to that extent.
|
| Fri Jul 23, 2010 9:01 pm |
|
 |
|
Muss
Veteran Op
Joined: Mon Jun 16, 2003 2:00 am Posts: 639 Location: USA
|
 Re: Best way to find port data ?
I experienced the same as Big D. also, just the >F (sector #) command finds a the nearest fighter to the sector (you enter) something a little wrong with the find command and ports... or I could be just a little stupid with the find command 
|
| Sat Jul 24, 2010 5:31 pm |
|
 |
|
Mind Dagger
Chief Warrant Officer
Joined: Wed Jan 04, 2006 3:00 am Posts: 136 Location: USA
|
 Re: Best way to find port data ?
Mind Dagger wrote: Muss wrote: mombot has this:
FIND - Search TWX-DBase for Fighter/Port data
find [f/nf/fp/p/de/ufde] [type] {sector} [port type]p
- [type] - [de]ad-end or [f]igged or [nf] no-fig or [fp] figged port or [p]ort or [ufde] un-figged dead end - {sector} sector number that you need finder data on, default is current sector - [port type] port type (s)ell , (b)uy, or (x) either
but.. can I really find a specific type of port? like a SBB or even a Sxx
seems from directions it says I can find a (s)ell port... but.. selling what? If I am remembering right the command is something like: >find f bbb to find a figged port that is buying all types and: >find nf sxx to find a non figged that is selling fuel and you don't care about the rest. I think also that the "find" part of that command MIGHT be optional, but it's been a while. MD Oops, I meant: >find fp bbb or >find p sxx Still untested, but I definitely had the wrong parameters, like Big D said >f finds the nearest fig, and nf finds the nearest non-figged sector. So give that a try.. Edit: Just looked at the source quick and found these are the find commands (and yes they can be used with or without "find" in front of them): f - figged sector nf - non-figged sector fp - figged port port - any port de - any dead end uf - unfigged sector (same as nf I think) fde - figged dead end nfup - non-figged upped port (port with more than 10k product without fig) fup - figged upped port (same thing but with fig) So appears that the documentation was behind the implementation when I put these in. I am not thrilled that the upped port commands have a hardcoded minimum, but that can be fixed easily enough.. MD
|
| Sat Jul 24, 2010 7:52 pm |
|
 |
|
Muss
Veteran Op
Joined: Mon Jun 16, 2003 2:00 am Posts: 639 Location: USA
|
 Re: Best way to find port data ?
ty MD
|
| Sun Jul 25, 2010 8:04 am |
|
 |
|
Muss
Veteran Op
Joined: Mon Jun 16, 2003 2:00 am Posts: 639 Location: USA
|
 Re: Best way to find port data ?
after testing a little.. heres what I came up with.
command:
>fp sxx
output:
{muss} S: - Nearest Figged SXX port(s) to 16528: 4749 (1 hops), 8653 (2 hops), S: and 13763 (3 hops) S: S: Note: 16528LA, has a SXX port that's figged.
......But.....
command:
>find fp sxx [gives a different output]
output:
{muss} S: - Nearest Figged XXX port(s) to 16528: 4749 (1 hops), 14123 (1 S: hops), and 8653 (2 hops) S: S: Note: 16528LA, has a XXX port that's figged.
Both commands taken from same sector.
Seems that using the "find" command in front of "fp sxx" returns a general/default 'xxx' port listing.. and not using find will return more of exactly what I was looking for to begin with.
|
| Sun Jul 25, 2010 8:13 am |
|
 |
|
Muss
Veteran Op
Joined: Mon Jun 16, 2003 2:00 am Posts: 639 Location: USA
|
 Re: Best way to find port data ?
either way... I learned how to use it better 
|
| Sun Jul 25, 2010 8:15 am |
|
 |
|