aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/ogs/assetserver
diff options
context:
space:
mode:
authorgareth2007-03-07 19:08:00 +0000
committergareth2007-03-07 19:08:00 +0000
commitf2ea796ba8d73c8f25310edfa04b6b58f43cd412 (patch)
tree058efa2859a6d3c5ee51d4ff8455202fbaf9d79a /ogs/assetserver
parentfixed last screwup (diff)
downloadopensim-SC_OLD-f2ea796ba8d73c8f25310edfa04b6b58f43cd412.zip
opensim-SC_OLD-f2ea796ba8d73c8f25310edfa04b6b58f43cd412.tar.gz
opensim-SC_OLD-f2ea796ba8d73c8f25310edfa04b6b58f43cd412.tar.bz2
opensim-SC_OLD-f2ea796ba8d73c8f25310edfa04b6b58f43cd412.tar.xz
Added OGS
Diffstat (limited to 'ogs/assetserver')
-rw-r--r--ogs/assetserver/assets/00000000000000005005000000000005/databin0 -> 291 bytes
-rw-r--r--ogs/assetserver/assets/00000000000000007007000000000006/databin0 -> 153 bytes
-rw-r--r--ogs/assetserver/assets/00000000000000007009000000000008/databin0 -> 570 bytes
-rw-r--r--ogs/assetserver/assets/66c41e3938f9f75a024e585989bfab73/data105
-rw-r--r--ogs/assetserver/assets/e0ee49b5a4184df8d3c9a65361fe7f49/data52
-rw-r--r--ogs/assetserver/assetserver_config.inc.php16
-rw-r--r--ogs/assetserver/index.php25
7 files changed, 198 insertions, 0 deletions
diff --git a/ogs/assetserver/assets/00000000000000005005000000000005/data b/ogs/assetserver/assets/00000000000000005005000000000005/data
new file mode 100644
index 0000000..e6840e2
--- /dev/null
+++ b/ogs/assetserver/assets/00000000000000005005000000000005/data
Binary files differ
diff --git a/ogs/assetserver/assets/00000000000000007007000000000006/data b/ogs/assetserver/assets/00000000000000007007000000000006/data
new file mode 100644
index 0000000..5ad1fd0
--- /dev/null
+++ b/ogs/assetserver/assets/00000000000000007007000000000006/data
Binary files differ
diff --git a/ogs/assetserver/assets/00000000000000007009000000000008/data b/ogs/assetserver/assets/00000000000000007009000000000008/data
new file mode 100644
index 0000000..cd2fd94
--- /dev/null
+++ b/ogs/assetserver/assets/00000000000000007009000000000008/data
Binary files differ
diff --git a/ogs/assetserver/assets/66c41e3938f9f75a024e585989bfab73/data b/ogs/assetserver/assets/66c41e3938f9f75a024e585989bfab73/data
new file mode 100644
index 0000000..920c775
--- /dev/null
+++ b/ogs/assetserver/assets/66c41e3938f9f75a024e585989bfab73/data
@@ -0,0 +1,105 @@
1LLWearable version 22
2Female Shape and Outfit 3 Shape
3Created by system from avatar's appearance.
4 permissions 0
5 {
6 base_mask 00082000
7 owner_mask 00082000
8 group_mask 00082000
9 everyone_mask 00082000
10 next_owner_mask 00082000
11 creator_id 3d924400-038e-6ad9-920b-cfbb9b40585c
12 owner_id 542ffb8e-8932-49b9-8664-58f53e442797
13 last_owner_id 3d924400-038e-6ad9-920b-cfbb9b40585c
14 group_id 00000000-0000-0000-0000-000000000000
15 }
16 sale_info 0
17 {
18 sale_type not
19 sale_price 0
20 }
21type 0
22parameters 82
231 .21
242 -.5
254 -.11
265 -.1
276 -.3
287 -.4
298 -.5
3010 .7
3111 .34
3212 -.5
3313 0
3414 .04
3515 .58
3617 .56
3718 -.26
3819 -.73
3920 -.34
4021 -.01
4122 1
4223 -.5
4324 -.63
4425 .44
4527 .05
4633 -.24
4734 -.7
4835 -.16
4936 -.2
5037 -.98
5138 -.5
5280 0
53105 .07
54155 -.22
55157 0
56185 -1
57193 .86
58196 -.74
59505 .65
60506 .12
61507 -1.5
62515 0
63517 .16
64518 .8
65629 0
66637 0
67646 .4
68647 1
69649 .36
70650 .85
71652 .49
72653 -1
73656 0
74659 .65
75662 .5
76663 0
77664 0
78665 0
79675 -.15
80676 .26
81678 .28
82682 .27
83683 -.19
84684 -.09
85685 0
86690 .45
87692 .4
88693 -0
89753 -.5
90756 -.08
91758 .24
92759 .6
93760 .11
94764 -.38
95765 -.3
96769 .42
97773 .51
98795 .16
99796 .11
100799 .36
101841 0
102842 -.82
103879 0
104880 0
105textures 0
diff --git a/ogs/assetserver/assets/e0ee49b5a4184df8d3c9a65361fe7f49/data b/ogs/assetserver/assets/e0ee49b5a4184df8d3c9a65361fe7f49/data
new file mode 100644
index 0000000..95cc683
--- /dev/null
+++ b/ogs/assetserver/assets/e0ee49b5a4184df8d3c9a65361fe7f49/data
@@ -0,0 +1,52 @@
1LLWearable version 22
2Sexy - Female Skin
3
4 permissions 0
5 {
6 base_mask 00086000
7 owner_mask 00086000
8 group_mask 00000000
9 everyone_mask 00000000
10 next_owner_mask 00086000
11 creator_id 3b659a92-dbf0-4301-8fdc-208d78f00d77
12 owner_id 3d924400-038e-6ad9-920b-cfbb9b40585c
13 last_owner_id 101358d5-469d-4b24-9b85-4dc3c05e635d
14 group_id 00000000-0000-0000-0000-000000000000
15 }
16 sale_info 0
17 {
18 sale_type not
19 sale_price 10
20 }
21type 1
22parameters 26
23108 0
24110 0
25111 0
26116 0
27117 1
28150 0
29162 0
30163 0
31165 0
32700 .01
33701 .5
34702 .26
35703 0
36704 0
37705 .5
38706 .6
39707 0
40708 0
41709 0
42710 0
43711 .5
44712 0
45713 .7
46714 0
47715 0
48775 0
49textures 3
500 f9261672-5058-9ef8-c0c4-48f43a0b16d4
515 b6ba53be-b5bf-9a1f-2e19-21daf998429c
526 703f6e24-a1fb-1980-acaf-6ab8a99a5bd5
diff --git a/ogs/assetserver/assetserver_config.inc.php b/ogs/assetserver/assetserver_config.inc.php
new file mode 100644
index 0000000..b2199f3
--- /dev/null
+++ b/ogs/assetserver/assetserver_config.inc.php
@@ -0,0 +1,16 @@
1<?
2// All the asset server specific stuff lives here
3
4// The asset server's relative URL to the root of the webserver
5// If you place this at http://servername/assets then this would be set to /assets/index.php
6// wikipedia style URLs need to be implemented - and will be (en.wikipedia.org/wiki/blabla rather than en.wikipedia.org/wiki/index.php?something=bla or en.wikipedia.org/wiki.php/bla)
7$asset_home = "/ogs/assetserver/";
8
9// The key we expect from sims
10$sim_recvkey = "1234";
11
12// The path where the asset repository is stored, this should be readable by the webserver but NOT in the document root
13// The default below is BAD for production use and intended to be simply generic - change it or risk copyright theft
14// greater than you could ever imagine, alternatively use .htaccess or other mechanisms.
15$asset_repos = "/usr/local/sites/osgrid.org/web/ogs/assetserver/assets";
16?>
diff --git a/ogs/assetserver/index.php b/ogs/assetserver/index.php
new file mode 100644
index 0000000..ee20229
--- /dev/null
+++ b/ogs/assetserver/index.php
@@ -0,0 +1,25 @@
1<?
2error_reporting(0); // Remember kids, PHP errors kill XML-RPC responses and REST too! will the slaughter ever end?
3
4include("assetserver_config.inc.php");
5
6// Parse out the parameters from the URL
7$params = str_replace($asset_home,'', $_SERVER['REQUEST_URI']);
8$params = str_replace("index.php/","",$params);
9$params = split('/',$params);
10
11// Die if the key doesn't match
12if($params[1]!=$sim_recvkey) {
13 die();
14}
15
16// Send requested data
17switch($params[0]) {
18 case 'getasset':
19 if($params[3]=="data") {
20 Header("Content-Length: ". (string)filesize($asset_repos . "/" . $params[2] . "/data"));
21 readfile($asset_repos . "/" . $params[2] . "/data");
22 }
23 break;
24}
25?>