Islab Forums
Welcome to Islab Forums! Home World Current location Blog Current location Forum Directory Contact Sitemap Print this page Bookmark this page

Go Back   Islab Forums > Islab Forums > 居民帮助与交流
FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply Bookmark this page at del.icio.us
 
Thread Tools Display Modes
  #1  
Old 01-21-2008, 09:26 AM
zhaoke's Avatar
zhaoke zhaoke is offline
Ken March in SL
 
Join Date: Dec 2006
Location: Islab.org
Posts: 348
Default 物体发送的电邮来自sl主网格或测试网格?

赵珂(islab.org/cn), 易思社区
http://islab.org/forum/showthread.php?t=135

关键字:
Main Grid: 主网格
Beta Grid: 测试网格

什么是Grid(网格)?
一群sims(服务器主机, 一台主机可有2到16个区域, Second Life的土地都寄存在Linux服务器上, 一个区域的大小是256mx256m, 面积是65536平米).

什么是主网格?
我们通常大家登陆的Second Life服务器主机群, 大家可以创建物品, 交易物品.

什么是测试网格?
Second Life测试网格仅用于测试目的, 用户的信息是从主网格获取的, 但是用户所有资产包括林登币, 内容, 土地等都是临时的, 不能用到主网格. 每一个用户登陆到测试网格中后会获得5000林登币, 你可以用来上传图片, 动作等等物体. 你需要下载专门的测试网格客户端才能使用测试网格:
客户端下载地址:
http://secondlife.com/community/preview.php

物体可以通过发送电子邮件通知用户特定的消息. 前提是物体中已经包含了可以向用户发送电子邮件的脚本程序. 比如, 用户点击主网格中的一个物体, 然后物体会自动发送电子邮件到用户(物体所有者)的邮箱. 我们来看一个例子: 当你进入到Second Life中的易思社区, 在登陆口(http://islab.org/slurl)你可以看到下面的物体:

Name:  giveintro.gif
Views: 185
Size:  8.8 KB

用户点击上面物体后, 该物体向用户发送易思社区的介绍文本(notecard)和SL在线地址(landmark) , 另外电子邮件通知我们的管理人员谁点击了该物品, 在什么时候点击了该物品.

那么如何判断物体发送的电子邮件是来自主网格还是测试网格呢? 我们主要来看邮件的头部信息:

主网格:
Give Landmark and Introduction <xxxxxxxx@im.agni.lindenlab.com>
The object 'Give Landmark and Introduction' has sent you a message from Second Life:
China Islab@da Vinci has just been touched by Ken March!

测试网格
Give Landmark and Introduction <xxxxxxxx@im.aditi.lindenlab.com>
The object 'Give Landmark and Introduction' has sent you a message from Second Life:
China Islab@da Vinci has just been touched by Ken March!

比较上面结果后, 我们很容易发现主网格使用了agni代号, 测试网格使用了aditi代号.

另外我们也可以通过检查HTTP请求的X-SecondLife-Shard标头, 主网格数值为"Production", 测试网格数值为"Testing".
__________________
如果你有任何建议, 问题或想法, 欢迎发到论坛上.
If u have any comments, questions or ideas, please post here.
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT +8. The time now is 04:35 PM.   RSS Feed


Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.