忍者ブログ
バーテン無事卒業しました。当面真面目に家具屋をやります。
[1]  [2]  [3]  [4]  [5]  [6]  [7]  [8]  [9]  [10
×

[PR]上記の広告は3ヶ月以上新規記事投稿のないブログに表示されています。新しい記事を書く事で広告が消えます。



NEO JAPAN TOKYOに、釣り&ダンスバー『T&T Twin's』がオープンしました。

Typer_20080831_1.jpg

1階は、7Seasの釣堀として開放されてます。

Typer_20080831_2.jpg

また、二階は、シャンパンダンスやポールダンス、ペアダンス、シングルダンス等の各種ダンスが勢揃い。

Typer_20080831_6.jpg

双子の美人姉妹が、様々なファッションでお出迎え。

Typer_20080831_3.jpg

しかし、俺が、ポールダンスしていると、猿が木登りしているようにしか、見えないねw

Typer_20080831_4.jpg

▼T&T Twin's@NEO JAPAN TOKYO
http://slurl.com/secondlife/NEOJAPAN%20TOKYO/216/206/22
PR


来週の土日にMagSL TOKYO Racewayにて、SL日本GP第7戦が開催されます。

TG_20080830_2.jpg

『TIGER GATE』チームパドックもできあがり、デコカー前で記念撮影です。

TG_20080830_3.jpg

パドック上空の観客席で、レースクィーンがお待ちしております。

▼【SLGP7パドック築造開始】Raceway - セカンドライフ(Second Life) | マグスル
http://magsl.net/archives/2008/08/22212232.php


地形編集は、OpenSimコマンドプロンプトで一括実行できます。
画像ファイルを元にロードして反映させたり、逆にビューアで編集した土地を画像ファイルに保存したりできます。
ファイルは、グレースケールの256*256ピクセルのpng形式ファイル等です。
上が南、下が北になります。

例えば、全リージョンに、このカエル画像を一括ロードして、土地を70m下げると、上記土地になります。
※リージョンを特定しなければ、全リージョンに反映されます。

■画像ファイル読み込み
Region# :
terrain load ファイル名

■土地を下げる
terrain lower メートル

kaeru.png

また、地形を保存すると、以下のファイルになります。
※一リージョンずつ保存なので、リージョンを特定します。

■リージョン特定
change-region リージョン名

■画像ファイル保存
terrain save ファイル名

kaeru_1.png

なぜか、上下逆・・・

画像をロードし直すときは、前の地形の一部が残ってしまう場合があるので、一旦、更地にしたほうがいいみたいです。

■ある高さで平らな更地にする
terrain fill メートル


▼OpenSim 日本語ドキュメント サーバコマンド
http://www33.atwiki.jp/opensimjp/pages/20.html

OpenSim ローカルグリッドモード設定手順

1)データベースの接続先設定

C:\opensimbin\mysql_connection.ini.exampleを元に、以下を変更し、「mysql_connection.ini」という名前で保存。

【mysql_connection.ini】
----------------------------------------------------------------------
; The IniConfig.cs that parses this file by just finding the first key={value} in the whole text so comments aren't really honoured.
; Also, this algorithm can probably lead to 'amusing' results in unfortunate cases.

[mysqlconnection]
hostname=localhost
database=opensim ★データベース名
username=opensim ★ユーザ名
password=XXXXXXX ★opensim接続用パスワード
pooling=false
port=3306

; These entries are only for if you, for some reason, wish to customize your user server table names.
; Do note that if you change the table names, you might have to change the sql resources too manually
; If ommitted, default values will be used.

userstablename=users
userfriendstablename=userfriends
agentstablename=agents
regionstablename=regions ★この行追加
----------------------------------------------------------------------


2)OpenSimローカルグリッドモード用設定ファイル作成

C:\opensimbin\OpenSim.ini.exampleを元に、以下を変更し、「OpenSim.ini」という名前で保存。

 ※スタンドアロン起動時に作成された設定ファイルを別名で保存しておくと、設定ファイルの置き換えでモードを切り替えられる。

【OpenSim.ini】
----------------------------------------------------------------------
;;;;;gridmode = false
gridmode = true


; --- To use sqlite as region storage:
;;;;;storage_plugin = "OpenSim.Data.SQLite.dll"
;;;;;storage_connection_string="URI=file:OpenSim.db,version=3";
storage_plugin="OpenSim.Data.MySQL.dll"
storage_connection_string="Data Source=localhost;Database=opensim;User ID=opensim;Password=opensim2008;";


;;;;;;asset_database = "local"
asset_database = "grid"


; Asset database provider
;;;;;asset_plugin = "OpenSim.Data.SQLite.dll"
asset_plugin = "OpenSim.Data.MySQL.dll" ; for mysql


; Inventory database provider
;;;;;inventory_plugin = "OpenSim.Data.SQLite.dll"
inventory_plugin = "OpenSim.Data.MySQL.dll"


; User Data Database provider
;;;;;userDatabase_plugin = "OpenSim.Data.SQLite.dll"
userDatabase_plugin = "OpenSim.Data.MySQL.dll"
----------------------------------------------------------------------


3)各サービス起動

※以下の順で、C:\opensimbin\にあるアプリケーションを管理者として実行する。
 →いずれも、コマンドプロンプト画面が開く。

 OpenSim.Grid.UserServer.exe
 OpenSim.Grid.GridServer.exe
 OpenSim.Grid.AssetServer.exe
 OpenSim.Grid.InventoryServer.exe
 OpenSim.exe


※初回起動時のみ、「OpenSim.exe」以外は、途中でログ表示が止まって、設定入力がある。
 ★以外、デフォルト入力(リターン)でOK。(後で、作成されたXML設定ファイルを修正してもよい)

 →「C:\opensimbin\」フォルダにXML設定ファイルが自動作成される。
 →MySQLの「opensim」データベースにテーブルが自動作成される。

【UserServer】
----------------------------------------------------------------------

13:12:15 - [CONFIG]: Calling Configuration Load Function...
USER SERVER: Default Startup Message [Welcome to OGS]:
USER SERVER: Default Grid Server URI [http://127.0.0.1:8001/]:
USER SERVER: Key to send to grid server [null]:
USER SERVER: Key to expect from grid server [null]:
USER SERVER: Default Inventory Server URI [http://127.0.0.1:8004/]:
USER SERVER: DLL for database provider [OpenSim.Data.MySQL.dll]:
USER SERVER: Connection String for Database []:
USER SERVER: Http Listener port [8002]:
USER SERVER: Use SSL? true/false [False]:
USER SERVER: Known good region X [1000]:
USER SERVER: Known good region Y [1000]:
13:12:31 - [REGION]: Establishing data connection

13:12:33 - [SERVER]: Userserver 0.5 - Startup complete
Enter help for a list of commands

User# :
----------------------------------------------------------------------

→入力内容が、以下のファイルに反映されて作成される。

C:\opensimbin\UserServer_Config.xml
----------------------------------------------------------------------
<Root>
  <Config default_startup_message="Welcome to OGS" default_grid_server="http://127.0.0.1:8001/" grid_send_key="null" grid_recv_key="null" default_inventory_server="http://127.0.0.1:8004/" database_provider="OpenSim.Data.MySQL.dll" database_connect="" http_port="8002" http_ssl="False" default_X="1000" default_Y="1000" />
</Root>
----------------------------------------------------------------------


【GridServer】
----------------------------------------------------------------------
:
13:15:56 - [CONFIG]: Calling Configuration Load Function...
GRID SERVER: OGS Grid Owner [OGS development team]:
GRID SERVER: Default Asset Server URI [http://127.0.0.1:8003/]:
GRID SERVER: Key to send to asset server [null]:
GRID SERVER: Key to expect from asset server [null]:
GRID SERVER: Default User Server URI [http://127.0.0.1:8002/]:
GRID SERVER: Key to send to user server [null]:
GRID SERVER: Key to expect from user server [null]:
GRID SERVER: Key to send to a simulator [null]:
GRID SERVER: Key to expect from a simulator [null]:
GRID SERVER: DLL for database provider [OpenSim.Data.MySQL.dll]:
GRID SERVER: Database connect string []:
GRID SERVER: Http Listener port [8001]:
:
13:16:27 - [HTTPD]: Spawned main thread OK
Enter help for a list of commands

Grid# :
----------------------------------------------------------------------

→入力内容が、以下のファイルに反映されて作成される。

C:\opensimbin\GridServer_Config.xml
----------------------------------------------------------------------
<Root>
  <Config grid_owner="OGS development team" default_asset_server="http://127.0.0.1:8003/" asset_send_key="null" asset_recv_key="null" default_user_server="http://127.0.0.1:8002/" user_send_key="null" user_recv_key="null" sim_send_key="null" sim_recv_key="null" database_provider="OpenSim.Data.MySQL.dll" database_connect="" http_port="8001" allow_forceful_banlines="TRUE" />
</Root>
----------------------------------------------------------------------


【AssetServer】
----------------------------------------------------------------------

13:21:05 - [CONFIG]: Calling Configuration Load Function...
ASSET SERVER: Default Startup Message [Welcome to OGS]:
ASSET SERVER: DLL for database provider [OpenSim.Data.MySQL.dll]:
ASSET SERVER: Database connection string []:
ASSET SERVER: Http Listener port [8003]:

13:21:13 - [ASSET]: Setting up asset DB
:
13:21:16 - [HTTPD]: Spawned main thread OK
Enter help for a list of commands
Asset# :
----------------------------------------------------------------------

→入力内容が、以下のファイルに反映されて作成される。

C:\opensimbin\AssetServer_Config.xml
----------------------------------------------------------------------
<Root>
  <Config default_startup_message="Welcome to OGS" database_provider="OpenSim.Data.MySQL.dll" database_connect="" http_port="8003" />
</Root>
----------------------------------------------------------------------


【InventoryServer】
----------------------------------------------------------------------

13:31:15 - [CONFIG]: Calling Configuration Load Function...
INVENTORY: Default Startup Message [Welcome to OGS]:
INVENTORY: Default User Server URI [http://127.0.0.1:8002]:
INVENTORY: Key to send to user server [null]:
INVENTORY: Key to expect from user server [null]:
INVENTORY: DLL for database provider [OpenSim.Data.SQLite.dll]: ★
OpenSim.Data.MySQL.dll
INVENTORY: Database Connect String []:
INVENTORY: Http Listener port [8004]:

13:31:31 - [AGENT INVENTORY]: Inventory storage: Attempting to load OpenSim.Data
.MySQL.dll
:
13:31:31 - [INVENTORY]: Started HTTP server
Enter help for a list of commands

Inventory# :
----------------------------------------------------------------------

→入力内容が、以下のファイルに反映されて作成される。

C:\opensimbin\InventoryServer_Config.xml
----------------------------------------------------------------------
<Root>
  <Config default_startup_message="Welcome to OGS" default_user_server="http://127.0.0.1:8002" user_send_key="null" user_recv_key="null" database_provider="OpenSim.Data.MySQL.dll" database_connect="" http_port="8004" />
</Root>
----------------------------------------------------------------------


【OpenSim】
----------------------------------------------------------------------

13:39:03 - [!]:STARTUP COMPLETE
Region# :
----------------------------------------------------------------------

→起動後、以下のファイルに反映されて作成される。

C:\opensimbin\estate_settings.xml
----------------------------------------------------------------------
<Root>
  省略
</Root>
----------------------------------------------------------------------


4)OpenSimログインユーザを作成

UserServerのコマンドプロンプト画面で、ビューアからログインする時のユーザ「Test User」を作成。
※同じ要領で、自分の名前のユーザ等も作成できる。

【UserServer】
----------------------------------------------------------------------
User# :
create user;
First name:
Test
Last name:
User
Password:
test
Start Region X:
1000
Start Region Y:
1000
13:47:23 - [MySQLManager]: Fetching profile for b0035344-ea17-4c94-b341-e34cc40edf64
----------------------------------------------------------------------
 

■OpenSIM用MySQLデータベース作成

※スタートメニューから、「MySQL Command Line Client」を起動する。

【MySQL Command Line Client】
  ※rootのパスワード入力すると、以下の画面が表示される。
===================================
Enter password: *********
Welcome to the MySQL monitor.  Commands end with ; or \g.
Your MySQL connection id is 5
Server version: 5.0.67-community-nt MySQL Community Edition (GPL)

Type 'help;' or '\h' for help. Type '\c' to clear the buffer.

mysql>
===================================


1)データベース「opensim」を作成する。

mysql> CREATE DATABASE opensim;

mysql> show databases;
+--------------------+
| Database           |
+--------------------+
| information_schema |
| mysql              |
| opensim            |★追加された
| test               |
+--------------------+
4 rows in set (0.00 sec)

▼12.1.6. CREATE DATABASE 構文
http://dev.mysql.com/doc/refman/5.1/ja/create-database.html


2)ユーザ「opensim@localhost」を作成する。

mysql> CREATE USER opensim@localhost;

▼12.5.1.1. CREATE USER 構文
http://dev.mysql.com/doc/refman/5.1/ja/create-user.html


3)ユーザに「opensim@localhost」にアクセス権限を与える。
GRANT ALL PRIVILEGES ON opensim.* TO opensim@localhost IDENTIFIED BY 'パスワード';

▼12.5.1.3. GRANT 構文
http://dev.mysql.com/doc/refman/5.1/ja/grant.html
 

カレンダー
04 2024/05 06
S M T W T F S
1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30 31
最新トラックバック
アクセス解析
バーコード
Copyright © Second Life "~ goin' home furniture ~" All Rights Reserved.
Powered by NinjaBlog Graphics by 写真素材Kun * Material by Gingham * Template by Kaie 忍者ブログ [PR]