Servidor dedicado no TMN

Para que serve todo o hardware senão para uma bela sessão de XXX (inserir jogo preferido)

Moderadores: Administradores, Moderadores

Servidor dedicado no TMN

Mensagempor 4ndr3 » Quarta Set 13, 2006 20:14

Aguém sabe como criar um servidor dedicado no TrackManiaNations?
Eu já tirei o ServerMania mas aparece que dá erro no programa.
Desde já agradeço toda a ajuda possivel.
Cumprimentos. :D
4ndr3
Membro Dedicado
Membro Dedicado
 
Mensagens: 715
Registado: Sábado Jul 30, 2005 20:22
Localização: Madeira

Mensagempor CR9 » Quarta Set 13, 2006 21:17

Não percebi o promenor: 'Dedicado ao TMN' :?:

Explica-te.
Não sabe assinar
CR9
Membro Vitalício
Membro Vitalício
 
Mensagens: 2393
Registado: Sábado Ago 27, 2005 15:48

Mensagempor HidEaL » Quarta Set 13, 2006 23:49

Eu saquei um file do GamersHell (http://www.gamershell.com/download_12397.shtml) e pareceu-me bem. Mas ainda tenho de andar a mexer nas propriedades do shortcut, pelos vistos, e não tenho tido grande pachorra. Anyway, aqui fica:

Código: Seleccionar todos
2.LAUNCH:
---------

The dedicated server can be runned from a windows shortcut or from a command line prompt.

The format of the command line is:

(PATH)\TMDedicatedServer.exe /game={original | sunrise | nations} [/dedicated_cfg=config_file] [/game_settings=settings_file] [/internet] [/verbose_rpc_full | /verbose_rpc]

If you use a windows shorcut, you can modify its properties to configure the launch of the server on the same way.
The target of the shortcut properties (first field) shares the same format of the command line.
So it will eventually have to look like this:

"(PATH)\TMDedicatedServer.exe" /game=sunrise /dedicated_cfg=dedicated.cfg /game_settings=MatchSettings/settings.txt /internet

Warning: only the executable "(PATH)\TMDedicatedServer.exe" is between "'s , the options are outside them.
The working directory of the shortcut must also be set to the right directory.
It must correspond to the directory where TMDedicatedServer.exe has been installed.

The dedicated server must be launched with the '/game=' option to define the game type (TMOriginal, TMSunrise or TMNations) that it will support.
To launch the dedicated server to support connection from TMOriginal games, the '/game=original' must be specified, or '/game=sunrise' for TMSunrise, or '/game=nations' for TMNations

The dedicated server can be launched with or without a configuration file.
To pass the name of the configuration file to the dedicated server, the paramater '/dedicateg_cfg=' must be specified followed by the name of the file.
The filename can be defined by a relative or an absolute path.
The configuration file is an xml file which defines some basic parameters for the dedicated server.
See below for further details on configuration file.

A file containing game settings can also be specified to the dedicated server.
To do that the paramater '/game_settings=' must be defined followed by the name of the file.
This filename can be defined either by an absolute path or by a relative path to the '(PATH)\GameData\Tracks' directory.
The game settings file is an xml file which defines the match settings and a playlist of challenge that will be loaded.
See below for further details on game settings file.

If the server has been launched with a valid configuration file and a valid game settings file, it will directly start a new server on lan,
or on internet if the option '/internet' is specified.

TMDedicatedServer can be launched at the same time that the retail version of TMOriginal, TMSunrise Extreme or TMNations game, but they cannot share TCP and UDP ports.
It is recommended to launch the dedicated server before the game, so the dedicated server can use the expected ports.

In summary all the options, that can be specified to the dedicated server, are the followings:

- /dedicated_cfg=config_file            Specify a configuration file to use.
- /game_settings=settings_file          Specify a game settings file to use.
- /internet                             Specify to the server that it must connect to the master server, in order to be an internet server.
- /verbose_rpc                          Display the XmlRpc requests the dedicated server receives.
                                        The server will only display the name of the XmlRpc command and some parameters.
- /verbose_rpc_full                     Display the whole contents of the XmlRpc requests the dedicated server receives.
- /nodaemon                      (linux) Doesn't detach the process.
- /nologs                        disable the creation of "GameLog.txt" and "ConsoleLog.txt"
- /login=xxx                     Masterserver account (overrides the value from the config_file)
- /password=xxx                     Masterserver account (overrides the value from the config_file)
- /servername=xxx                  name of the server to create. (overrides the value from the config_file)
- /serverpassword=xxx               password to join the server. (overrides the value from the config_file)
- /loadcache                     loads the "checksum.txt" instead of recomputing it. *DO NOT USE* if you run several servers in the same directory!


Boa sorte.

Cumps.
HidEaL
Gurus
Gurus
 
Mensagens: 4217
Registado: Quarta Abr 14, 2004 10:05
Localização: Vale de Milhaços / Corroios / Almada

Mensagempor 4ndr3 » Quinta Set 14, 2006 14:29

CR9 Escreveu:Não percebi o promenor: 'Dedicado ao TMN' :?:

Explica-te.

Um servidor dedicado é um servidor que está sempre ligado (acho que é assim) e tem opções de boas-vindas, selecção de pistas, tipo o Gotr00t?.
Cumprimentos. :D
4ndr3
Membro Dedicado
Membro Dedicado
 
Mensagens: 715
Registado: Sábado Jul 30, 2005 20:22
Localização: Madeira

Mensagempor Speed Dragon » Quinta Set 14, 2006 14:38

Servidor dedicado não é bem estar sempre ligado, mas na mesma máquina nao estares a correr o jogo e o servidor, ou seja correr o servidor em modo texto.
... Then a japanese tuning company spend a 150.000£ on the engine ...
... so now develops a 1.000 Break Horse Power!
... Not to 60Mph, in 2.8 seconds, Not to 190Mph in 12 seconds ... Top Speed 234Mph!
... Semtex with a Steering Wheel!
Speed Dragon
Moderador
Moderador
 
Mensagens: 5186
Registado: Sexta Mai 23, 2003 15:36
Localização: Lobão - Sª Mª da Feira > FEUP

Mensagempor HidEaL » Quinta Set 14, 2006 21:47

Speed Dragon Escreveu:Servidor dedicado não é bem estar sempre ligado, mas na mesma máquina nao estares a correr o jogo e o servidor, ou seja correr o servidor em modo texto.


Exacto. Apesar de nao ser necessariamente em modo consola, a máquina em questão é simplesmente servidor, não jogador. Daí chamar-se dedicado.

Cumps.
HidEaL
Gurus
Gurus
 
Mensagens: 4217
Registado: Quarta Abr 14, 2004 10:05
Localização: Vale de Milhaços / Corroios / Almada

Mensagempor nosila » Sábado Set 30, 2006 0:30

fogo, nao sei qual era a dificuldade de meterem isso a funcionar no proprio jogo..... eu 1a vez acho que tentei, mas nao consegui, por isso nem seker peskisei noutro sitio..... :p

TY HidEaL, dps quando voltar a instalar isso tento fazer-lo ;)
Avatar do Utilizador
nosila
Aprendiz
Aprendiz
 
Mensagens: 46
Registado: Quarta Ago 23, 2006 19:48


Voltar para Jogos

Quem está ligado:

Utilizadores a ver este Fórum: Nenhum utilizador registado e 4 visitantes

cron