28 éve Veletek – 1998– PC Dome / 2012– PlayDome

FlatOut 2



Írd ide hozzászólásod:

Dark Archon
Dark Archon [11868]
Viszont találtam egy jó dolgot:

[5] COMMAND LINE OPTIONS

The following command line options added:

WARNING: These command line options are not officially supported.

[ { -join= { matchname | ip[ort] } } |

{ -host[=matchname [-num_players=number_of_initial_players] ]}

[-lan] ]

[-password=a_password]

[-profilenr=number_of_profile_to_select]

[-public_addr=ip[ort] ]

[-private_addr=ip]

[-join_timeout=timeout_in_seconds]

[-join_retry=search_retry_in_seconds]

[-exportstats=filename]

-join

Joins a game, either matching the matchname or the iport combination. If the game is a Gamespy game then the iport should be the public ports as registered on the Gamespy master server. If the game is a LAN game, then the iport combination could be any combination that would reach the host, preferably the private address on the same subnet. Matchname only works for Gamespy games.

-host

Creates a game on either the Gamespy master or on LAN, depending on whether the -lan parameter is specified. If a matchname is specified, the game will be joinable by a matching -join=matchname. Otherwise an iport combination has to be specified when joining. Matchname only works for Gamespy games.

-num_players

An optional parameter for -host=matchname. Normally when a game is created with that option it will not be publicly visible and joinable until one minute has expired. The only way to join it before that timeout is to specify -join=matchname. -num_players can make the timeout expire faster. If you specify this option, then the game will be publicly visible as soon as number_of_initial_players has joined the game.

-lan

Specifies that you will join or create a LAN game instead of a Gamespy one.

-password

If this is specified, then only games that are created by a matching password will be visible and joinable. Games created when this option is set will be created with the password. The password option can be specified both when joining and creating from command line or when creating and joining the game normally.

-profilenr

Automatically selects a profile at game start. If the profile doesn't exist or is invalid, then the user has to choose the profile manually.

-public_addr

Can be used if you know your public address and port. Normally it shouldn't be necessary to specify this explicitly, but it can be used when joining LAN games, and port forward is enabled on the router, so that you know your public address. This option should be specified on LAN games, if the host is on the same subnet as a joiner and someone outside wants to join. Without this parameter the joiner inside the LAN and the joiner outside the LAN might not be able to communicate directly. Another case where this might be needed is if you have more than three IP addresses on the machine. This option is most useful for LAN games, as Gamespy games most likely will be able to connect anyway, however it might speed up the joining.

-private_addr

Forces the game to report this private address to other players. The game will automatically detect up to four IP addresses, but if you have more than that, then you might not be able to communicate with players on a subnet of an IP that isn't detected. Specifying -private_addr will force the game to put that IP first in the list. This option is most useful for LAN games, as Gamespy games most likely will be able to connect anyway, however it might speed up the joining.

-join_timeout

Specifies the amount of time to try to join a game from command line. After this time expires, the user is given the option to retry or quit. The default is 30 seconds.

-join_retry

Specifies how often a new search will be done when joining a Gamespy game from the command line. The default is to do a search every 5 seconds. Don’t set this option too small or it might overload the Gamespy servers.

-exportstats

Writes the game results of every multiplayer game into an xml file in the savegame folder.

[...]

Itt főleg a password lehetősége az érdekes, meg hogy nem kell annyit szarakodni szerverindításkor.
Skorpió, főleg neked mondom, legközelebb akkor pcdome kóddal indítsunk játékot, és akkor nem lépnek be idióták. Valahogy így nézne ki a dolog szvsz:
fo2 -host=Skorpio -password=pcdome -profilenr=1
Persze a profilenr értelemszerűen a profil, amelyik számra csináltad azt. Ha csinálsz ennek így egy ikont, akkor elég gyorsan újra lehet húzni a szervert, ha lefagyunk. Gondolom a pályát meg ezeket ki kell választani menüből már, majd otthon kipróbálom.
A leírás szerint a belépés meg:
fo2 -join=Skorpio -password=pcdome -profilenr=1
Legalábbis remélem

(u.i.: a sok persze nem az én művem, hanem hülye a pcdome-os kódrendszer)

Dark Archon

Vissza

Fórumszabályzat