EnglishGermanFrenchRussianPolishItalianSpanish
Log inRegister
 
<RetVar/IF>find station sells: resource <Var/Ware> with min. jumps: max.price=<Var/Nu
Post new topic This topic is locked: you cannot edit posts or make replies.
View previous topic :: View next topic
Author Message
mark_a_condren





Joined: 03 Aug 2005
Posts: 1384 on topic
Location: Newcastle - Australia
Thank you for registering your game
PostPosted: Sun, 2. Jan 11, 09:19    Post subject: <RetVar/IF>find station sells: resource <Var/Ware> with min. jumps: max.price=<Var/Nu Reply with quote Print

[skip|else] if [not]|while [not]|<RetVar/IF> find station sells: resource <Var/Ware> with min jumps: max.price = <Var/Number>, amount = <Var/Number>, max.jumps = <Var/Number>, startsector = <Var/Sector>, trader = <Var/String>, exclude array = <Value>


[skip|else] if [not]|while [not]| = The possible 'Conditional' statements that can be used with this command.
<RetVar/IF> = If the command is to 'return' information. If a variable is used, this command will return the station here.
<Var/Ware> = The ware you are looking for.
<Var/Number> = Only stations that have the ware for this price or lower.
<Var/Number> = The minimum amount of the ware that the station has.
<Var/Number> = The maximum jump between the 'start' sector and the sector the station is in.
<Var/Sector> = Start the search from this sector.
<Var/String> = The trader involved (further investigation required for this variable)
<Value> = Any stations you don't want to include should be put into an array and put here.



This instruction is used to find stations that sell wares. The "min jumps" will prefer distance over price.

Finding a resource looks for stations selling a ware it requires as a resource – "min jumps" in this case means closest and “max price” means up to this price.
It will also check the station has the required amount of the ware, with amount =<Var/Number>.
The distance to search can also be set with, max.jumps =<Var/Number>, this will be determined from the, startsector =<Var/Sector>.

Stations can be excluded from the search using the, exclude array =<Value>. Stations need to be entered into an array, and the array set as this <Value>.


Example:

    No example available at this time.


Command Location:

    »» Trade Commands
    <RetVar/IF>find station sells: resource <Var/Ware> with min. jumps: max.price=<Var/Number>, amount=<Var/Number>, max.jumps=<Var/Number>, startsector=<Var/Sector>, trader=<Var/String>, exclude array=<Value>


Back to top
View user's profile Send private message Send e-mail
Alex Vanderbilt
Winner X3 Sektorquest


MEDALMEDAL

Joined: 04 May 2006
Posts: 2103 on topic

Thank you for registering your game
PostPosted: Thu, 6. Jan 11, 16:30    Post subject: [TiP][49] 294354 Reply with quote Print

[skip|else] if [not]|while [not]|<RetVar/IF> find station sells: resource <Var/Ware> with min jumps: max.price = <Var/Number>, amount = <Var/Number>, max.jumps = <Var/Number>, startsector = <Var/Sector>, trader = <Var/String>, exclude array = <Value>


[skip|else] if [not]|while [not]| = Mögliche Bedingung, die mit diesem Kommando verwendet werden kann.
<RetVar/IF> = If Verwendet, sofern das Kommando Informationen zu rückgeben soll. Wird diese Variable verwendet, so wird hier die Station zurückgegeben.
<Var/Ware> = Die gesuchte Ware.
<Var/Number> = Nur Stationen, die die Ware zum genannten Preis oder günstiger anbieten.
<Var/Number> = The Mindestbestand der Ware in der Station.
<Var/Number> = Maximale Sprunganzahl zwischen dem Startsektor und dem Sektor, in dem sich die Station befindet.
<Var/Sector> = Beginnt die Suche von diesem Sektor.
<Var/String> = Beteiligter Händler (Weitere Untersuchungen diese Variable betreffend notwendig)
<Value> = Stationen, die nicht berücksichtigt werden sollen, sollten in einem Array zusammengefasst und hier angeführt werden.


Dieses Kommando dient dazu, Stationen zu finden, die Waren verkaufen. "min jumps" bevorzugt dabei geringe Entfernung vor dem Preis.
Das Kommando sucht dabei nach Stationen, die Waren verkaufen, die als Ressource benötigt werden. "min jumps" sucht dabei die nächstgelegene Station heraus und "max price" legt die Obergrenze für den Einkaufspreis fest.
Es wird mit amount =<Var/Number> außerdem überprüft, ob eine Station über ausreichen Lagerbestände verfügt.
Die maximale Sprungreichweite wird mir max.jumps =<Var/Number> festgelegt. Sie wird vom Startsektor =<Var/Sector> aus bestimmt.

Stationen können auch von der Suche ausgenommen werden, indem man exclude array =<Value> nutzt. Auszuschließende Stationen müssen dabei in einem Array zusammengefasst sein und dieses als <Value> gesetzt werden.


Beispiel:

    Zur Zeit existiert noch kein Beispiel.



Zu finden unter:

    »» Trade Commands
    <RetVar/IF>find station sells: resource <Var/Ware> with min. jumps: max.price=<Var/Number>, amount=<Var/Number>, max.jumps=<Var/Number>, startsector=<Var/Sector>, trader=<Var/String>, exclude array=<Value>


Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic This topic is locked: you cannot edit posts or make replies.
 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum
Control Panel
Login Data
The time now is Thu, 20. Jun 13, 12:56

All times are GMT + 2 Hours


Board Security

Copyright © EGOSOFT 1989-2009
Powered by phpBB © 2001, 2005 phpBB Group
Template created by Avatar & BurnIt!
Debug: page generation = 0.82544 seconds, sql queries = 23