guest clothing

This commit is contained in:
Thomas G 2022-10-22 10:47:53 +11:00
parent 7a4c188b38
commit 5851021b0c
5 changed files with 31 additions and 10 deletions

BIN
public/asset/400 Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 201 KiB

View File

@ -1,5 +1,5 @@
<?php
// OLD JOIN SCRIPT DO NOT USE //
header("content-type:text/plain");
$username = addslashes($_GET["username"]);

View File

@ -1,12 +1,23 @@
@php
header("content-type:text/plain");
$userId = addslashes($_GET["userId"]);
$headcolor = 11;
if (userId == 0)
{
$headcolor = 2;
$leftarmcolor = 1003;
$leftlegcolor = 1003;
$rightarmcolor = 1003;
$rightlegcolor = 1003;
$torsocolor = 1003;
}
else {
$headcolor = 11;
$leftarmcolor = 11;
$leftlegcolor = 1003;
$rightarmcolor = 11;
$rightlegcolor = 1003;
$torsocolor = 1003;
}
//TODO: add avatar system
@endphp
<?xml version="1.0" encoding="utf-8" ?>

View File

@ -2,13 +2,23 @@
header("content-type:application/xml");
ob_start();
$userId = addslashes($_GET["userId"]);
$hat1 = 300;
$hat2 = 0;
$hat3 = 0;
$shirt = 0;
$pants = 0;
$shirtgraphic = 303;
$face = 0;
if ($userId == 0) {
$hat1 = 300;
$hat2 = 0;
$hat3 = 0;
$shirt = 400;
$pants = 0;
$shirtgraphic = 0;
$face = 0;
} else {
$hat1 = 300;
$hat2 = 0;
$hat3 = 0;
$shirt = 0;
$pants = 0;
$shirtgraphic = 303;
$face = 0;
}
//TODO: add catalog + avatar system
@endphp
http://morblox.us/Asset/BodyColors.ashx?userId=@php echo $userId @endphp;http://morblox.us/asset/?id=@php echo $hat1 @endphp;http://morblox.us/asset/?id=@php echo $hat2 @endphp;http://morblox.us/asset/?id=@php echo $hat3 @endphp;http://morblox.us/asset/?id=@php echo $shirt @endphp;http://morblox.us/asset/?id=@php echo $pants @endphp;http://morblox.us/asset/?id=@php echo $shirtgraphic @endphp;http://morblox.us/asset/?id=@php echo $face @endphp

View File

@ -30,4 +30,4 @@ echo "Copy failed.";
$textbox = ($id . "+" . $width[1] . "+" . $height[1] );
header("Location: http://www.morblox.us/stamper/icons/{$textbox}");
exit();
@endphp
@endphp