diff options
author | gareth | 2007-03-07 19:08:00 +0000 |
---|---|---|
committer | gareth | 2007-03-07 19:08:00 +0000 |
commit | f2ea796ba8d73c8f25310edfa04b6b58f43cd412 (patch) | |
tree | 058efa2859a6d3c5ee51d4ff8455202fbaf9d79a /ogs/assetserver | |
parent | fixed last screwup (diff) | |
download | opensim-SC-f2ea796ba8d73c8f25310edfa04b6b58f43cd412.zip opensim-SC-f2ea796ba8d73c8f25310edfa04b6b58f43cd412.tar.gz opensim-SC-f2ea796ba8d73c8f25310edfa04b6b58f43cd412.tar.bz2 opensim-SC-f2ea796ba8d73c8f25310edfa04b6b58f43cd412.tar.xz |
Added OGS
Diffstat (limited to 'ogs/assetserver')
-rw-r--r-- | ogs/assetserver/assets/00000000000000005005000000000005/data | bin | 0 -> 291 bytes | |||
-rw-r--r-- | ogs/assetserver/assets/00000000000000007007000000000006/data | bin | 0 -> 153 bytes | |||
-rw-r--r-- | ogs/assetserver/assets/00000000000000007009000000000008/data | bin | 0 -> 570 bytes | |||
-rw-r--r-- | ogs/assetserver/assets/66c41e3938f9f75a024e585989bfab73/data | 105 | ||||
-rw-r--r-- | ogs/assetserver/assets/e0ee49b5a4184df8d3c9a65361fe7f49/data | 52 | ||||
-rw-r--r-- | ogs/assetserver/assetserver_config.inc.php | 16 | ||||
-rw-r--r-- | ogs/assetserver/index.php | 25 |
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 @@ | |||
1 | LLWearable version 22 | ||
2 | Female Shape and Outfit 3 Shape | ||
3 | Created 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 | } | ||
21 | type 0 | ||
22 | parameters 82 | ||
23 | 1 .21 | ||
24 | 2 -.5 | ||
25 | 4 -.11 | ||
26 | 5 -.1 | ||
27 | 6 -.3 | ||
28 | 7 -.4 | ||
29 | 8 -.5 | ||
30 | 10 .7 | ||
31 | 11 .34 | ||
32 | 12 -.5 | ||
33 | 13 0 | ||
34 | 14 .04 | ||
35 | 15 .58 | ||
36 | 17 .56 | ||
37 | 18 -.26 | ||
38 | 19 -.73 | ||
39 | 20 -.34 | ||
40 | 21 -.01 | ||
41 | 22 1 | ||
42 | 23 -.5 | ||
43 | 24 -.63 | ||
44 | 25 .44 | ||
45 | 27 .05 | ||
46 | 33 -.24 | ||
47 | 34 -.7 | ||
48 | 35 -.16 | ||
49 | 36 -.2 | ||
50 | 37 -.98 | ||
51 | 38 -.5 | ||
52 | 80 0 | ||
53 | 105 .07 | ||
54 | 155 -.22 | ||
55 | 157 0 | ||
56 | 185 -1 | ||
57 | 193 .86 | ||
58 | 196 -.74 | ||
59 | 505 .65 | ||
60 | 506 .12 | ||
61 | 507 -1.5 | ||
62 | 515 0 | ||
63 | 517 .16 | ||
64 | 518 .8 | ||
65 | 629 0 | ||
66 | 637 0 | ||
67 | 646 .4 | ||
68 | 647 1 | ||
69 | 649 .36 | ||
70 | 650 .85 | ||
71 | 652 .49 | ||
72 | 653 -1 | ||
73 | 656 0 | ||
74 | 659 .65 | ||
75 | 662 .5 | ||
76 | 663 0 | ||
77 | 664 0 | ||
78 | 665 0 | ||
79 | 675 -.15 | ||
80 | 676 .26 | ||
81 | 678 .28 | ||
82 | 682 .27 | ||
83 | 683 -.19 | ||
84 | 684 -.09 | ||
85 | 685 0 | ||
86 | 690 .45 | ||
87 | 692 .4 | ||
88 | 693 -0 | ||
89 | 753 -.5 | ||
90 | 756 -.08 | ||
91 | 758 .24 | ||
92 | 759 .6 | ||
93 | 760 .11 | ||
94 | 764 -.38 | ||
95 | 765 -.3 | ||
96 | 769 .42 | ||
97 | 773 .51 | ||
98 | 795 .16 | ||
99 | 796 .11 | ||
100 | 799 .36 | ||
101 | 841 0 | ||
102 | 842 -.82 | ||
103 | 879 0 | ||
104 | 880 0 | ||
105 | textures 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 @@ | |||
1 | LLWearable version 22 | ||
2 | Sexy - 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 | } | ||
21 | type 1 | ||
22 | parameters 26 | ||
23 | 108 0 | ||
24 | 110 0 | ||
25 | 111 0 | ||
26 | 116 0 | ||
27 | 117 1 | ||
28 | 150 0 | ||
29 | 162 0 | ||
30 | 163 0 | ||
31 | 165 0 | ||
32 | 700 .01 | ||
33 | 701 .5 | ||
34 | 702 .26 | ||
35 | 703 0 | ||
36 | 704 0 | ||
37 | 705 .5 | ||
38 | 706 .6 | ||
39 | 707 0 | ||
40 | 708 0 | ||
41 | 709 0 | ||
42 | 710 0 | ||
43 | 711 .5 | ||
44 | 712 0 | ||
45 | 713 .7 | ||
46 | 714 0 | ||
47 | 715 0 | ||
48 | 775 0 | ||
49 | textures 3 | ||
50 | 0 f9261672-5058-9ef8-c0c4-48f43a0b16d4 | ||
51 | 5 b6ba53be-b5bf-9a1f-2e19-21daf998429c | ||
52 | 6 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 | <? | ||
2 | error_reporting(0); // Remember kids, PHP errors kill XML-RPC responses and REST too! will the slaughter ever end? | ||
3 | |||
4 | include("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 | ||
12 | if($params[1]!=$sim_recvkey) { | ||
13 | die(); | ||
14 | } | ||
15 | |||
16 | // Send requested data | ||
17 | switch($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 | ?> | ||