Imported Asset Server code
parent
a9a0839f0a
commit
2eaa3bff13
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
@ -0,0 +1,105 @@
|
|||
LLWearable version 22
|
||||
Female Shape and Outfit 3 Shape
|
||||
Created by system from avatar's appearance.
|
||||
permissions 0
|
||||
{
|
||||
base_mask 00082000
|
||||
owner_mask 00082000
|
||||
group_mask 00082000
|
||||
everyone_mask 00082000
|
||||
next_owner_mask 00082000
|
||||
creator_id 3d924400-038e-6ad9-920b-cfbb9b40585c
|
||||
owner_id 542ffb8e-8932-49b9-8664-58f53e442797
|
||||
last_owner_id 3d924400-038e-6ad9-920b-cfbb9b40585c
|
||||
group_id 00000000-0000-0000-0000-000000000000
|
||||
}
|
||||
sale_info 0
|
||||
{
|
||||
sale_type not
|
||||
sale_price 0
|
||||
}
|
||||
type 0
|
||||
parameters 82
|
||||
1 .21
|
||||
2 -.5
|
||||
4 -.11
|
||||
5 -.1
|
||||
6 -.3
|
||||
7 -.4
|
||||
8 -.5
|
||||
10 .7
|
||||
11 .34
|
||||
12 -.5
|
||||
13 0
|
||||
14 .04
|
||||
15 .58
|
||||
17 .56
|
||||
18 -.26
|
||||
19 -.73
|
||||
20 -.34
|
||||
21 -.01
|
||||
22 1
|
||||
23 -.5
|
||||
24 -.63
|
||||
25 .44
|
||||
27 .05
|
||||
33 -.24
|
||||
34 -.7
|
||||
35 -.16
|
||||
36 -.2
|
||||
37 -.98
|
||||
38 -.5
|
||||
80 0
|
||||
105 .07
|
||||
155 -.22
|
||||
157 0
|
||||
185 -1
|
||||
193 .86
|
||||
196 -.74
|
||||
505 .65
|
||||
506 .12
|
||||
507 -1.5
|
||||
515 0
|
||||
517 .16
|
||||
518 .8
|
||||
629 0
|
||||
637 0
|
||||
646 .4
|
||||
647 1
|
||||
649 .36
|
||||
650 .85
|
||||
652 .49
|
||||
653 -1
|
||||
656 0
|
||||
659 .65
|
||||
662 .5
|
||||
663 0
|
||||
664 0
|
||||
665 0
|
||||
675 -.15
|
||||
676 .26
|
||||
678 .28
|
||||
682 .27
|
||||
683 -.19
|
||||
684 -.09
|
||||
685 0
|
||||
690 .45
|
||||
692 .4
|
||||
693 -0
|
||||
753 -.5
|
||||
756 -.08
|
||||
758 .24
|
||||
759 .6
|
||||
760 .11
|
||||
764 -.38
|
||||
765 -.3
|
||||
769 .42
|
||||
773 .51
|
||||
795 .16
|
||||
796 .11
|
||||
799 .36
|
||||
841 0
|
||||
842 -.82
|
||||
879 0
|
||||
880 0
|
||||
textures 0
|
|
@ -0,0 +1,52 @@
|
|||
LLWearable version 22
|
||||
Sexy - Female Skin
|
||||
|
||||
permissions 0
|
||||
{
|
||||
base_mask 00086000
|
||||
owner_mask 00086000
|
||||
group_mask 00000000
|
||||
everyone_mask 00000000
|
||||
next_owner_mask 00086000
|
||||
creator_id 3b659a92-dbf0-4301-8fdc-208d78f00d77
|
||||
owner_id 3d924400-038e-6ad9-920b-cfbb9b40585c
|
||||
last_owner_id 101358d5-469d-4b24-9b85-4dc3c05e635d
|
||||
group_id 00000000-0000-0000-0000-000000000000
|
||||
}
|
||||
sale_info 0
|
||||
{
|
||||
sale_type not
|
||||
sale_price 10
|
||||
}
|
||||
type 1
|
||||
parameters 26
|
||||
108 0
|
||||
110 0
|
||||
111 0
|
||||
116 0
|
||||
117 1
|
||||
150 0
|
||||
162 0
|
||||
163 0
|
||||
165 0
|
||||
700 .01
|
||||
701 .5
|
||||
702 .26
|
||||
703 0
|
||||
704 0
|
||||
705 .5
|
||||
706 .6
|
||||
707 0
|
||||
708 0
|
||||
709 0
|
||||
710 0
|
||||
711 .5
|
||||
712 0
|
||||
713 .7
|
||||
714 0
|
||||
715 0
|
||||
775 0
|
||||
textures 3
|
||||
0 f9261672-5058-9ef8-c0c4-48f43a0b16d4
|
||||
5 b6ba53be-b5bf-9a1f-2e19-21daf998429c
|
||||
6 703f6e24-a1fb-1980-acaf-6ab8a99a5bd5
|
|
@ -0,0 +1,16 @@
|
|||
<?
|
||||
// All the asset server specific stuff lives here
|
||||
|
||||
// The asset server's relative URL to the root of the webserver
|
||||
// If you place this at http://servername/assets then this would be set to /assets/index.php
|
||||
// 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)
|
||||
$asset_home = "/ogs/assetserver/index.php/";
|
||||
|
||||
// The key we expect from sims
|
||||
$sim_recvkey = "rtrgrgrgrgr894898f998re98rf989fds";
|
||||
|
||||
// The path where the asset repository is stored, this should be readable by the webserver but NOT in the document root
|
||||
// The default below is BAD for production use and intended to be simply generic - change it or risk copyright theft
|
||||
// greater than you could ever imagine, alternatively use .htaccess or other mechanisms.
|
||||
$asset_repos = "/var/www/htdocs/ogs/assetserver/assets";
|
||||
?>
|
|
@ -0,0 +1,24 @@
|
|||
<?
|
||||
error_reporting(0); // Remember kids, PHP errors kill XML-RPC responses and REST too! will the slaughter ever end?
|
||||
|
||||
include("assetserver_config.inc.php");
|
||||
|
||||
// Parse out the parameters from the URL
|
||||
$params = str_replace($asset_home,'', $_SERVER['REQUEST_URI']);
|
||||
$params = split('/',$params);
|
||||
|
||||
// Die if the key doesn't match
|
||||
if($params[1]!=$sim_recvkey) {
|
||||
die();
|
||||
}
|
||||
|
||||
// Send requested data
|
||||
switch($params[0]) {
|
||||
case 'getasset':
|
||||
if($params[3]=="data") {
|
||||
Header("Content-Length: ". (string)filesize($asset_repos . "/" . $params[2] . "/data"));
|
||||
readfile($asset_repos . "/" . $params[2] . "/data");
|
||||
}
|
||||
break;
|
||||
}
|
||||
?>
|
Loading…
Reference in New Issue