Introduction to Game Hosting/ja

From RPTools Wiki
Revision as of 03:54, 9 September 2009 by Fourwoods (talk | contribs)
Jump to navigation Jump to search

Languages:  English  • Deutsch  • español  • français  • italiano  • 日本語

{{#customtitle:はじめてのゲーム・ホスティング|はじめてのゲーム・ホスティング}}

BEGINNER
THIS IS A BEGINNER ARTICLE

はじめに

初めての地図作製で述べたように、マップツールは、RPGセッションで使用する仮想地図の作成機能と仮想『ミニチュア』(マップツールではトークンという用語が使われる)機能を提供する。この機能はテーブル上に広げた地図とミニチュアによく似ている。実のところ、マップツールが『仮想テーブル』、『VTT(訳注:virtual tabletopの略)』と呼ばれるゆえんだ。このガイドでは『インターネット上で他のプレイヤーとマップを共有する』ことの基礎を、手順を追って説明しよう。

注:マップツールが役立つのはオンライン上のプレイだけではない。実物のマップではできないことが仮想マップで実現できるので、多くの人がオフラインのセッションでもマップツールを使用している。おまけに、コーラをマップ上にぶちまける心配もなくなる。しかしここではオンラインで遊ぶことを前提に案内を進める。

『初めての地図作成』ではマップツールの入手、使い始め、マップと地図の配置の基礎を案内している。また、キャンペーン・ファイルの保存、マップの移動と拡大・縮小、トークンの移動についても説明している。これらはプログロラムの最も重要な機能であり、これなしでは残りの説明をよんでも役には立たないだろう。

ホストを立てても君のゲームに誰も接続しなければまったく楽しくないので、このガイドの最後のセクションではマップツール・サーバーへの接続方法を説明している。友人にその方法を伝える必要があるので、そのセクションを必ず読むように!

なお、このガイドではオンライン・セッションをホストすることを扱うので、『君』とは『サーバーを走らせている人』のことだ。

基本仕様

オンライン・セッションで使う場合、マップツールはクライアント・サーバーアーキテクチャを用いる。つまり、ある人物(通常GMだが、そうでなくても良い) がマップツールをサーバーとして開始させて、メンバーの他の人はそのサーバーにクライアントとして接続する。

サーバーを開始し参加者が接続したなら、キャンペーン・ファイル(全てのマップ、トークン、その他の情報を含む)はプレイヤー全員に共有されるので、同じマップを見て、仲間が動かしたトークンの移動を見る事ができ、チャット・ウィンドウにテキストを入力することができる。あとは大いに楽しむだけだ。

ネットワークに関する用語

『仮想ゲーム卓』プログラムを含む、多くのクライアント・サーバー型のアプリケーションと同じように、マップツール・セッションの準備における課題の一つとして、君のマップツール・サーバーに接続する友人を、君のホーム・ネットワークに接続できるように設定する事だ。

マップツールをインターネット上でホストできるように設定するにはいくつかの方法がある。UPnP、ポート・フォワーディング、外部仮想プライベート・ネットワーク(VPN)ソフトのパッケージ。君のPC、接続プロバイダ、ハードウェア(ケーブル・モデム、DSLモデム、ルーターなど)により、どの方法を選ぶか決まるだろう。ホーム・ネットワークやネットワーク機器にはたくさんの種類があるので、成功を得るための方法を一つにしぼる事はできない。

UPnP

ポート・フォワーディングに変わるものは(ルーターにその機能が備わっていれば)UPnPユニバーサル・プラグ・アンド・プレイの略)と呼ばれる。This feature, instead of permanently saying "Port XYZ traffic goes here!", will instead tell the router "for a little while - while we're playing - I'm gonna have to go ahead and ask you to open up Port XYZ for us. That would be greeaaaat."

言いかえれば、ポートとトラフィックの出入りをシームレスに、シンプルに扱う機能だ。もちろん、常にUPnPがサポートされているわけではないのが欠点であり、 君のネットワークが対応しているかどうか考えなればならないだろう。とはいえ、君のネットワーク機器がUPnPをサポートしているのであれば、それが君のマップツール・サーバーを立ち上げて稼働する方法として何にもまして最も簡単な方法である。

ポートフォワーディング

ルーターや物理ファイアウォールを使用しているホームネットワークでは、ポートフォワーディングの設定が必要となるだろう。これは君のネットワークに訪れ、特定のポートの上に到着する情報があなたのネットワークの中で適当な場所に送られるメカニズムである。これはマップツール・サーバーを立てている君にとって重要であり、仲間に正しい場所の情報を伝えなければならない。

ポートフォワーディングの設定の特定の部分は機器に依存するので説明書を確認しなければならないだろう。しかし、基本的な考え方はルーター/スイッチ/ファイアウォールに2つのことを示すということだ:

  1. どのポートをマップツールが使うのか(より多くのマップツールのポートは後ほど)。これはルーターに「情報は○○ポートからやって来るので注意せよ」と伝えることだ。
  2. その情報の行き先は、ネットワーク内のどのコンピューターなのか。つまり「情報が○○ポートへ到着したら、ここへ送れ」
    1. ついでながら、ポートフォワーディングの設定は、ルーターに、送信するデータがどこに到達できるかを伝える。

以上がポートフォワーディングの概要だ。ほとんどのルータ(特に、セキュアにかつ適切に構成されているものなら)では無作為に入って来る情報は到達できないため、上記の設定をしなければならない。

より多くの、より良いネットワークについての情報

Azhreiにより投稿された素晴らしいFAQMapTool Forums内)をしっかりと理解したので、ネットワークについての綿密なセクションを書き始める準備が整った。ポートフォワーディング、ルーターの設定、ネットワークに関する作業全般になじみがないなら、このFAQをぜひ読んでほしい。

ネットワークの設定やホームネットワークの管理に慣れているなら(特にソフトをサーバーとして稼働させたり、ポートフォワーディングの設定をすることができるのなら)、マップツールをサーバーとして稼働させることは雑作もないことだろう。基本的にルーターにマップツールのネットワークトラフィックを通過させるためにルーターを設定しなければならない。

君のネットワーク機器に固有のポートフォワーディングの設定情報が必要なら、Portforward.comに大量にある特定のネットワーク機器、特定のソフトの操作手順の書かれた文書の中から探し出してくれ。

その他、上記のこと全てが意味不明なら、Networking FAQを読んでくれ!わからないことは全て解決するぞ!

それでは作業に取りかかろう。

マップツール・サーバーを開始する

前提

これ以降の説明では、君のネットワークがマップツールのトラフィックを(ポートフォワーディングやUPnPを通して)扱えるように設定済みであることを前提として書かれている。そうではないなら、君の仲間が使用可能なサーバーを立ち上げる前に、その方法を理解しなければならないだろう。

サーバー開始のダイアログ(Start Server ダイアログ)

File:mt-file-menu-startserv.jpg
FireメニューよりStart Serverを選択
File:mt-start-server.jpg
Start Server ダイアログ

1. File → Start Serverを選択。

2. Start Server ダイアログが表示される。ここにはたくさんのオプション項目がある。

サーバー・オプションと設定

サーバー構成の設定を行う

  • Username:この項目は、チャットやConnectionsウィンドウに表示される名称だ。君の好きな名前を設定できる。
  • Role:このドロップダウンの項目は、君がどの種類のユーザーであるかマップツールに伝えるものだ。君はGM(すなわち全宇宙の支配者)を担当するのか? それともプレイヤー(GMの気まぐれに付き合う者、またはプレイヤー機能のみ使える者)かな?セッションでは1名以上のGMを持つこともできる!
  • Port: A very important setting, this is where you tell MapTool what port you've configured your router to forward. If you give it the wrong port, MapTool traffic will be unable to enter or leave your network, and you will have no game!
  • RPTools Alias: this field allows you to set up an "alias" for your server to appear on the RPTools server registry. It basically lets you tell your players "look for the server named Awesome Server and connect to it," instead of "connect to the server at IP Address 123.45.678.9"
  • Passwords: you can protect access to your server by configuring passwords. Setting a password on the server is optional; however, if you leave it blank, anyone who can find your server can connect to it as a player. There are two password categories:
    • GM: the GM password is used to provide someone with full access to the campaign remotely, though there are a small number of features which cannot be done remotely, such as loading a campaign. The GM password is typically used for a secondary GM so that GM duties may be shared, but can also be used in cases where the GM may not be able to get hosting set up properly and has one of his players host the session.
    • Player: people connecting to the server in the "Player" role will use this password to connect.

Ownership, Vision, and Behavior

  • Strict Token Ownership: MapTool uses a concept called "token ownership" to control who can select, move, or look at the properties of a particular token. If you enable Strict Token Ownership, only the owner of a particular token may perform any actions on it - everyone else is confined to looking at the token.
  • Players can reveal vision: MapTool has a vision and fog-of-war system (where you can configure how tokens "see" the map). With this option enabled, players can reveal the area that is "visible" to their token without GM intervention (in other words, an area hidden to the token is covered by Fog of War, and appears opaque on the screen; when you reveal it, the opaque overlay is cleared, and the map underneath becomes visible). Otherwise, the GM must do all reveals.
  • Use Individual Views: in the vision system mentioned above, player tokens can either "share" their vision (i.e., everyone sees what one player character sees) or they can have individualized views.
  • Restricted Player Impersonation: This means that players can only impersonate tokens that they have ownership (see above) of
  • Players Receive Campaign Macros: MapTool lets you write macros, which are basically sequences of text, token, and dice rolling commands used to automate certain activities - basically, a short script that does something. The GM can create "Campaign Macros" which become available to all players if this option is checked.
  • Use Tooltip for [] rolls: Enabling this option makes any dice roll you enclose in square brackets show only the roll result, and display the full roll details if you hover your mouse over the result.

Testing the Connection

Before you start your server, it is a good idea to hit the Test Connection button. This will send a message out to a server at RPTools.net asking that it attempt to connect to your computer - in other words, the RPTools connection testing server will find out if it can see your computer over the network!

What you want to see is Success!I can see your computer! If you get that, you can be pretty sure that your server will be visible when you start it up.

If you do not see a message proclaiming a successful connection test, you will need to investigate port forwarding and your network configuration to make sure you have the right ports configured and everything properly arranged.

Get your Connection Information and Tell Your Friends

File:mt-file-menu-cinfo.jpg
Opening Connection Information from the File menu
File:connection-info.jpg
The Connection Information dialog

Assuming that you had a successful connection test, and you clicked OK to start the server, you can then check out your Connection Information to double-check the settings. These settings will need to be passed on to your friends so that they can connect to the server.

1. Go to File > Connection Information.

This will display what MapTool currently knows about your computer. Since you haven't started a server quite yet, you'll just see your computers internal and external IP addresses (this is useful info, though, especially if you haven't quite set up port forwarding!).

When a server is started, you will also see the name of the server (if you give it one), and the network port that server traffic will use.

2. Provide this information to your friends: tell them the Server Name (a.k.a. the RPTools Alias, if you set one), the external IP address, and the port. They will need to put this into the Connect to Server dialog when they attempt to log in to your server.


Connecting to a MapTool Server

The steps leading up to this point walked you through setting up a MapTool server so that people can connect to it. Of course, if you don't have anyone connecting to your server, things are going to get pretty boring pretty quick. These steps are focused on your friends who will be connecting to the server you just created.

前提

The following information assumes that all of the following are true!Lacking any of these is going to make for a very short trip.

  • You have friends
  • You have a MapTool server running
  • Your friends know the following:
    • Either the server's Name OR the servers External Address is (or preferably, both!)
    • What the appropriate password is (either GM or Player password)
    • What Port the server is using
  • VERY IMPORTANT: Your friends are using the same version of MapTool that you are using!

Open the Connect to Server Dialog

File:mt-connect-to-server.jpg
The Connect to Server dialog

If the assumptions mentioned above are met, here's what you tell your friends:

1. Go to File > Connect to Server to see the Connect to Server dialog.

2. Enter a User name. This can be anything your friends wish.

3. Enter the password (which you set when you started the server).

4. Choose your Role. Your friends can connect as a GM, or as a Player. Make sure that they pick the right role for the password you're using!


Choose how You will Connect

The Connect to Server dialog presents three ways to connect to a running server.

RPTools.net

File:mt-connect-registry.jpg
The RPTools tab in Connect to Server

This tab (which is shown by default) lists all of the servers listed at the RPTools.net Server Registry. When you set up the server, you had the option to give it an alias, which is what appears in this list. The Server Registry stores the connection information for the server, so your friends can just select the server they want, and hit OK.


LAN

File:mt-connect-lan.jpg
The LAN tab in Connect to Server

This tab will show any servers that are currently running on the local network. This is for when you want to have a MapTool LAN Party, or when all your friends are inside the same network (like if everyone bringes their laptop to your house for game night).


Direct

File:mt-connect-direct.jpg
The Direct tab in Connect to Server

A direct connection is just that - your friends bypass the friendly RPTools.net tab, and simply type the External Address and port number for the server.


Verifying Connections

As your friends connect to your MapTool server, you will see notifications in the Chat Pane that people have connected to your server, which look like:

JQRandom has connected.

You can also check the Connections Pane to see a list of everyone who is connected to your server. If you do not see the Connections Pane, go to Window > Connections to have it pop into view.

Languages:  English  • Deutsch  • español  • français  • italiano  • 日本語

Tokens on your Map

When you're running MapTool by yourself, you've got access to every token and every item on a map, because MapTool assumes that you're the GM (and, therefore, the All-Powerful God of the tiny world represented by the Map). However, when you start hosting a game, MapTool has different roles (mentioned previously) for the different people connecting. The GM role retains it's all-powerful status, able to select and manipulate anything on the map; however, the Player role has a much more restricted set of options, able to control only those items that the player has ownership of.

Because of that, when you start a server, you will need to make sure that you give your players ownership of the Tokens they are supposed to control!This is a common oversight when starting up a new server - forgetting to set token ownership after your players have connected!

Token Ownership is explained in more detail in Introduction to Tokens, but for the purposes of this tutorial, once you've started a server and you've got your friends connected as players, do the following for each player connected to the game:

  1. Double click on the token that player will be controlling as their Player Character (see Note, below).
  2. Set the token type to PC.
  3. Go to the Ownership Tab
  4. Check the box next to the player's name, granting them ownership of the token.
  5. Click OK to save the changes.

Once you do this, the players will be able to move and edit their own tokens. You can also grant ownership of a token to All Players, if everyone needs to manipulate it.

NOTE: players can have ownership of NPC tokens if you wish (the process is the same, except you don't do Step #2); however, you'll at least need to make sure they own their own player token!