sclientinfo

Last-modified: 2008-07-06 (日) 19:55:37

クライアントで接続する際に見るサーバセレクト画面。
このセレクト画面を変更してみましょう。

例:

<clientinfo>
<servicetype>japan</servicetype>
<servertype>primary</servertype>
<!-- <hideaccountlist></hideaccountlist> -->
<extendedslot></extendedslot>
<readfolder>./data</readfolder>
<connection>
<display>KafraOnline</display>
<desc>None</desc>
<balloon>カプラオンライン</balloon>
<address>127.0.0.1</address>
<port>6900</port>
<version>10</version>
<langtype>2</langtype>
<registrationweb>http~</registrationweb>
<aid>
<admin>100100</admin>
</aid>
</connection>
<connection>
<display>Debug</display>
<desc>None</desc>
<balloon>Debug coneect</balloon>
<address>127.0.0.1</address>
<port>6900</port>
<version>10</version>
<langtype>2</langtype>
<registrationweb>http~</registrationweb>
<aid>
<admin>100100</admin>
</aid>
</connection>
</clientinfo>

これはサーバが2つに分かれていて片方がオンライン。片方がデバックサーバにという設定です。
どちらも127.0.0.1なのは気にしないように [hatena]

ではさっそく1つずつ確認していきましょう (^_-
sclientinfoを書く上で最低限必要なのが

<clientinfo>
<servicetype>japan</servicetype>
<servertype>primary</servertype>
<!-- <hideaccountlist></hideaccountlist> -->
<extendedslot></extendedslot>
<readfolder>./data</readfolder>
</clientinfo>

この文章。上から順に
<servicetype>japan</servicetype> サービスを日本語に選択する。
<servertype>primary</servertype> 詳細は不明ですが必須と思われます。
<!-- <hideaccountlist></hideaccountlist> --> 詳細は不明ですがいりません。<!---->はコメントアウト文
<extendedslot></extendedslot> スロットを指定数に増加する。(現在のSakexeではいりません。)
<readfolder>./data</readfolder> dataフォルダを先読みする。
<clientinfo>~</clientinfo> この内容が表示される。

次にサーバの詳細を書きます。

<connection>
<display>KafraOnline</display>
<desc>None</desc>
<balloon>カプラオンライン</balloon>
<address>127.0.0.1</address>
<port>6900</port>
<version>10</version>
<langtype>2</langtype>
<registrationweb>http~</registrationweb>
<aid>
<admin>100100</admin>
</aid>
</connection>[/code]

image01.gif
<display>KafraOnline</display> デフォルトで表示される文字。
<balloon>カプラオンライン</balloon> カーソルが触れた際に表示される文字
<address>127.0.0.1</address> サーバの接続IP。オフラインは127.0.0.1。蔵がDNSに対応していればDNSを書き込む。
<port>6900</port> ログインサーバのポートの番号。
<version>10</version>
<langtype>2</langtype> この2つは不明だが必須と思われる。
<registrationweb>http~</registrationweb> サーバのHPアドレス。表示されることはない。
<aid>
<admin>100100</admin> この3つはセットでID番号100100をゲームマスターの姿に表示するという文。
</aid>
<connection>~</connection> サーバの内容。複数追加する場合は<connection>~</connection>を追記すれば良い。